Interview question:
A job is executing 2 procs in its two steps.
Jobstep J1 exec P1 proc
Jobstep J2 exec P2 proc
In Proc P1, I am creating a GDG A.B.C(+1). In Proc P2, I want to refer to the same version. So In P2 do I refer to (+1) version or (0) version. And why.
Mainframe interview question on JCL and PROC.
-
- Registered Member
- Posts: 11
- Joined: Wed Mar 26, 2014 4:49 pm
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Mainframe interview question on JCL and PROC.
This is specifically addressed in the JCL reference manual. The answer is that all references to a GDG generation in a single job are the same -- if you use (+1) in one step, you will use (+1) in all subsequent steps in that job.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute