View previous topic :: View next topic
|
Author |
Message |
Mukesh.py Currently Banned New User
Joined: 22 Sep 2008 Posts: 17 Location: Chennai, India.
|
|
|
|
Hi members.
Is there any option to refer back in a JCL. what i suspected from the interview was like how to refer back to step1 from step3 . if there is any other thery for refer back in JCL then please let me know. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Mukesh,
Quote: |
Is there any option to refer back in a JCL. |
Yes.
Quote: |
what i suspected from the interview was like how to refer back to step1 from step3 |
Yes, this can be done. Referback is usually used for DCB parameters,DSN names etc.
Say if u want the same dataset used in step 1 in step2 then u can use the referback statememts. |
|
Back to top |
|
|
Mukesh.py Currently Banned New User
Joined: 22 Sep 2008 Posts: 17 Location: Chennai, India.
|
|
|
|
Aaru, can i have a sample peice of code so that it can be more clear to me. |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Mukesh,
Why don't you refer a book or manuals available in this forum before posting the question? This is a basic question and you will get answer any books or manuals. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Quote: |
can i have a sample peice of code so that it can be more clear to me.
|
Check below
Code: |
//STEP1 EXEC PGM=ABCD
//DD1 DD DCB=RECFM=FB,…
//DD2 DD DCB=*.DD1,…
//STEP2 EXEC PGM=WXYZ
//DD3 DD DCB=*.STEP1.DD1,…
|
|
|
Back to top |
|
|
|