How to delete generations of gdg without deleting gdg base?
Answer Posted / neha
//SYSIN DD *
DELETE (DM36A.PFB0004.EXTRACT.SHAKS) GDG FORCE
//*
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=D
//*
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is a jcl?
What is the syntax of JCL statement?
what is DSN parameter and DISP parameter is used for?
how JCL works?
What is the function of the dd avgrec keyword in sms datasets?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
how you can direct the data to spool using SYSOUT option?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
How can values be passed from the job stream to an executable program?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
Name a few IBM utility programs, and explain its function.
how can you check if a file is empty using jcl?
Why block size is multiple of lrecl in jcl?