GDG Create syntax ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can an in-stream dataset be terminated?

686


Explain the function of the dd dcb keyword?

689


In sms datasets, what is the function of the dd mgmtclas keyword?

851


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1955


How would you understand error(execution phase)?

617






in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2045


How to pass data to a program that is coded in an exec statement?

811


What do you understand by the terms: joblib and steplib?

615


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

920


i want to store 20 digits . how will u do it in cobol ?

851


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1742


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1609


What is Cataloged Procedures?

702


What is job control language?

603


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

638