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
 

 

What is Referback in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rambabu
Currently Banned

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Tue Apr 19, 2005 5:27 pm    Post subject: What is Referback in JCL
Reply with quote

what is referback in jcl?where it is used?
Back to top
View user's profile Send private message

sribks2005

New User


Joined: 04 Apr 2005
Posts: 20
Location: Mysore

PostPosted: Tue Apr 19, 2005 6:42 pm    Post subject:
Reply with quote

hi,

Referback technic is used in jcl to refer the characteristics of predefined datasets used in the procedure/jcl thru their DD names.

Eg: you have 5 steps in a jcl. Say in step 3 you are using a dataset ABC and you have defined the required characteristics for it(Eg: DCB,space etc...parameters).
Now say in step 5 , you need to create a new dataset XYZ which has same characteristics as that of dataset ABC created in step 3. Without specifying those parameters again, you can use referback technique to refer the ABC dataset characteristics to create XYZ.

This referback technique can extend beyond a single jcl also. i.e, you can refer the dataset created in different procedure also.

hope it helps.
thank you
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Apr 20, 2005 10:10 am    Post subject: Re: referback in jcl
Reply with quote

Hi sribks2005,

Big help, If you can provide a code line on referback.

Thanks & Regards,

Priyesh.Agrawal
Back to top
View user's profile Send private message
vrch

New User


Joined: 21 Mar 2005
Posts: 20

PostPosted: Wed Apr 20, 2005 2:35 pm    Post subject: Re: referback in jcl
Reply with quote

Hello,

Here is a small example for how to use referback statement.
Code:

\\step1 exec pgm=iefbr14
\\dd1 dd dsn=dataset1,disp=(new,catlg,delete)
\\step2 exec .....
\\step3 exec pgm=iefbr14
\\dd1 dd dsn=dataset2,disp=*.step1.dd1


I think this will helpful to u and it will clarify u r doubt..

Bye
Back to top
View user's profile Send private message
somuprasanna

New User


Joined: 19 Feb 2005
Posts: 1

PostPosted: Mon Jan 09, 2006 4:56 pm    Post subject:
Reply with quote

can we use refer back a dataset created in a PROC into a JCL ?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEF645I INVALID REFERBACK IN THE RC ... abdulrafi JCL & VSAM 2 Mon Aug 29, 2016 10:57 am
No new posts Referback the DCB of SORTIN while usi... venksiv CLIST & REXX 7 Tue Mar 15, 2016 5:47 pm
No new posts COND referback in nested PROCS? Claes Norreen JCL & VSAM 11 Thu May 15, 2014 6:34 pm
No new posts Referback sysout=* to MSGCLASS and th... Bill Dennis JCL & VSAM 2 Wed Oct 28, 2009 11:54 pm
No new posts Is referback possible in temperory da... Ketan Varhade Mainframe Interview Questions 4 Mon Sep 14, 2009 12:49 pm


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