Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there any option to refer back in a JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Mukesh.py
Currently Banned

New User


Joined: 22 Sep 2008
Posts: 17
Location: Chennai, India.

PostPosted: Tue Nov 11, 2008 2:22 pm    Post subject: Is there any option to refer back in a JCL
Reply with quote

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
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Nov 11, 2008 2:26 pm    Post subject: Reply to: refere back in JCL
Reply with quote

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
View user's profile Send private message
Mukesh.py
Currently Banned

New User


Joined: 22 Sep 2008
Posts: 17
Location: Chennai, India.

PostPosted: Tue Nov 11, 2008 2:31 pm    Post subject:
Reply with quote

Aaru, can i have a sample peice of code so that it can be more clear to me.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Tue Nov 11, 2008 2:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Nov 11, 2008 3:12 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us