GDG Create syntax ?

Answers were Sorted based on User's Feedback



GDG Create syntax ?..

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

GDG Create syntax ?..

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

GDG Create syntax ?..

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

GDG Create syntax ?..

Answer / sharath

//jobname job &&sysuid
//gdg1 exec pgm=idcams
//sysin dd *
define GDG(Name(sharath.pds) -
limit(6) -
scratch -
empty/noempty
/*
//

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More JCL Interview Questions

Where can program checkpoints be stored for use in a restart?

0 Answers  


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


Max generations in GDG??

15 Answers   Xansa,


wht is step lib n job lib ? where can we code joblib n steplib ?

3 Answers   L&T,


if we give two job cards in a single what happens

3 Answers   IBM,






how can we pass external data to instream procedures

5 Answers   IBM, Infosys, Ocwen,


Can you delete the GDG base without deleting GDG generations ?

7 Answers   Cap Gemini,


How can we see data in TEMPARARY DATA SET in JCL ?

7 Answers   CSC, Polaris,


What is GDG?

1 Answers  


What is the function of dd disp parameter?

0 Answers  


In job processing, what happens in conversion stage?

0 Answers  


what is use of space parameter in dd statement?

0 Answers   IBM,


Categories