How do you override a parameter in Positional parameters?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rajesh_m13
By providing Stepname.patameter name
i.e // exec procedurename,parameter.ddname with changed
parameters
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / pankaj
By Putting ', ,' in place pf positional parameters
| Is This Answer Correct ? | 0 Yes | 0 No |
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?
i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?
If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?
what are JCLLIB and STEPLIB in JCL?
List the different jcl statements that are not permitted in the procedures?
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
Explain how can a stopped job be started again?
If Region=0k means What Happen?
How to find the length of variable length copybook using fileaid ??