How do you override a parameter in Positional parameters?
Answer Posted / mahesh
//STEP EXEC PGM=PRGM1
//DD01 DD DSN=DATA.SET.LIB,DISP=SHR
and if you want to override,then
you have to write like
//STEP.DD01 DD DSN=DATA.SET.OVERRIDE,DISP=SHR
This will override the dataset(data.set.lib)
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
How can the disposition of sysout datasets be set for an entire jobstream?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
I need exexution process for JCL programs
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.
How jcl work to handle various input output file operations?
How to pass data to a program that is coded in an exec statement?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Is it possible to define dd statements as you want?
In sms datasets, what is the function of the dd avgrec keyword?
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?
what is the purpose of coding class parameter in job statement?
How can a fb file convert to vb file using sort program?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What are some jcl statements that are not allowed in procedures?