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
 

 

Refer Back Property in JCl

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

New User


Joined: 24 Aug 2005
Posts: 24
Location: Hyderabad

PostPosted: Wed Dec 21, 2005 5:26 pm    Post subject: Refer Back Property in JCl
Reply with quote

Hi,

Can anyone tell me the use of REFER BACK feature in JCL with any examples. Is it possible to refer back entire step(Previous)??

Thnks& rgrds
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Dec 22, 2005 9:17 pm    Post subject: Re: Refer Back Property in JCl
Reply with quote

There are two things ?refer back? may be addressing in JCL.

First I?ll give you the link to the IBM JCL Manual?

[url]

http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/iea2b650/CCONTENTS

[/url]

The first is in the COND= where you are referring back to a previous steps return code to make a determination whether you want to skip the current step, or execute it.

Look at topic ?16.5 COND Parameter? for an in depth discussion and other links.

The second is a refer back to a previously defined dataset that you can capture the DCB parameters without coding them. In this case, if the ?referred to? datasets DCB parameters change the DCB parameters will also change on the new dataset.

You can do a search for in the JCL manual for REFER BACK, REFDD, and LIKE for a detailed discussion of this option.

A detailed discussion is really to much to go into on the forum, But I?m sure you will fine the link useful

I hope this helps.. If you still don't understand, please come back
Back to top
View user's profile Send private message
appasi

New User


Joined: 12 Dec 2005
Posts: 20
Location: Bangalore

PostPosted: Mon Dec 26, 2005 7:00 pm    Post subject:
Reply with quote

Hi,

Refer back can be used in jcl to refer back
only, VOL=SER, DD names, PGM's,RECFM,LRECL,
BLKSIZE. Refer back technique is used to avoid
retyping the same fields and to avoid errors.

please correct me if i am wrong
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Dec 26, 2005 11:07 pm    Post subject:
Reply with quote

The problem w/referback is that it complicates step restarts. That's why you don't see it used much in prod environments. An important point to consider when deciding on its use.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Tue Dec 27, 2005 7:34 am    Post subject: Re: Refer Back Property in JCl
Reply with quote

Hi,


Please search our forum for more information. This topic has been come into picture already.


Let me know in case of any concerns.
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 CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Need a JCL to change the volume back ... Manikandesvaran D JCL & VSAM 10 Tue Oct 14, 2014 9:06 pm
No new posts Go Back (F3) has to be automized sakrat TSO/ISPF 7 Tue May 06, 2014 12:30 pm
No new posts Parse a String and divide it by 2 and... magesh23586 CLIST & REXX 6 Fri Feb 07, 2014 11:34 pm
No new posts Setting check pending status back for... gylbharat DB2 7 Wed Jul 17, 2013 2:30 pm


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