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 do you overcome this limitation ?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Where can program checkpoints be stored for use in a restart?
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) ?
Is it possible to left uncode disp?
List the different components of jcl statement?
how to compare two datasets without using superce because output is limited to 133 bytes
Can we call instream to catalog and catalog to instream?
how do you access an uncataloged dataset in a jcl?
What are the jcl procedures?
For what purpose steplib and joblib are used ?
Describe the various parameters utilized in the creation of a gdg?
what are the types of abends that occur on job failure? And explain the possible causes of these
Must tape dataset definitions include vol=ser specifications?
Explain the function of job statement in jcl?