Tuesday 19 June 2012

what is Refer back in jcl

what is Refer back in jcl?



Mainframe interview questions and answers, jcl interview questions and answers
for what is Refer back in jcl, how  Refer back  done in jcl


we can done Refer back the data set in jcl. by using this Refer Back it possible to 
call the data set which is in another step to this step is called Refer Back.


For Example take fallowing jcl program


//Step 01 Exec pgm=p1
//DD1      DD   Dsn=02A92.ABC..data,disp=shr
//DD2      DD   Dsn=02A94.XYZ.data, disp=old
//Step02   Exec pgm=p2
//DD3      DD   Dsn=02A93.DFG.data,disp=shr
//Step03   Exec  pgm=p3
//DD3      DD    Dsn=*.Step01.DD1.(Refer Back)


in the above the data set in the step01 has reused by call in step03
this is called Refer Back .



No comments:

Post a Comment