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


Please Help Members By Posting Answers For Below Questions

what are the types of abends that occur on job failure? And explain the possible causes of these

1107


Name the parameters which can be used to limit the number of records written to a sysout dataset?

643


What are the 2 types of parameters in dd statement?

635


how you can direct the data to spool using SYSOUT option?

906


What is one line to pass PARM from JCL to COBOL?

333






how to run batch program without jcl?

10037


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

619


Explain the function of //jcllib statement?

687


List the various advantages of using jcl language?

838


When output dataset space is required, what quantity categories are used?

808


Explain the function of //cntl statement?

639


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1973


What is the function of the dd mgmtclas keyword in sms datasets?

726


Explain how can values be passed from the job stream to an executable program?

603


Is condition checking possible in jcl?

702