how GDGs are concatinated?
Answers were Sorted based on User's Feedback
Answer / nygrande
If we use the base of the GDG only, all generations will be
concatenated.
If we want to use specific GDG generations, we can code as:
//FILEA DD DSN=NAME.OF.FILE(-5),DISP=SHR
// DD DSN=NAME.OF.FILE(-2),DISP=SHR
// DD DSN=NAME.OF.FILE(-1),DISP=SHR
// DD DSN=NAME.OF.FILE(0),DISP=SHR
or use the GDG complete DSN, as G0000V00. For example:
//FILEA DD DSN=NAME.OF.FILE.G0001V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0003V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0004V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0005V00,DISP=SHR
| Is This Answer Correct ? | 2 Yes | 0 No |
i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
How can i execute 5th step without executing first 4 steps?
How can we see data in TEMPARARY DATA SET in JCL ?
In which table PLAN is registered in ?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Explain how can return codes be tested before execution of a job step?
lines(1,cancel)??What is meant by that??Plz explain it....
Explain the function of //cntl statement?
How much space OS allocates when you create a PS or PDS?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
can we give instream data in procedure