In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?
Answer Posted / mchava
//PROC
//STEP1 EXEC PGM=PGM1
//dd1 DD dsn=file1
//dd2 DD dsn=fel2
//dd3 DD dsn=file3
//dd4 DD dsn=file4
//PROCSTEP1.dd3 DD dsn=file5
will override the dd3 file3 with file5
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to alter the parameters for the existing gdg?
What is the function of the dd avgrec keyword in sms datasets?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What is the function of the dd mgmtclas keyword in sms datasets?
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.
what is use of dcb parameter in dd statement?
Must tape dataset definitions include vol=ser specifications?
Differentiate between the joblib and the steplib statements?
Which dd parameters are required?
how you will the direct the data to spool using sysout option?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What are the 2 types of parameters in dd statement?