GDG Create syntax ?
Answers were Sorted based on User's Feedback
Answer / duraiece2001
//JOB1 JOB (A123),DURAI,NOTIFY=&SYSID,CLASS=A,
// MSGLEVEL=(1,1)
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE GDG(NAME(FINANCES.MONTHLY) -
LIMIT(5) -
NOEMPTY -
SCRATCH)
/*
//
| Is This Answer Correct ? | 26 Yes | 0 No |
Answer / ravichandra ch
//JOB1 JOB NOTIFY=&SYSID
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE GDG(NAME(FINANCES.MONTHLY) -
LIMIT(5) -
NOEMPTY/EMPTY -
SCRATCH/NOSCRATCH) -
/*
//
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / roman g.
Every answer here causes RC16 after run.
The reason is missing SYSPRINT DD in JCL.
...
//SYSPRINT DD SYSOUT=*
...
| Is This Answer Correct ? | 7 Yes | 2 No |
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
What is the function of job statement in jcl?
How many types we can give input to JCL
What is difference between Return Code, user completion code, Abend code and reason Code?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
what is the use of JCL?
if we give two job cards in a single what happens
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF DD DSN=ID.File1 DSN=ID.File2 DSN=ID.File3
Explain concatenating datasets?