How do you pass parameters to the program as the job is
being executed ?
Answers were Sorted based on User's Feedback
Answer / guest
By using 'parm' parameter in exec statement. the value
mentioned here should be declared in linkage section in the
program and process thru procedure division. this technique
is very useful when you do not know the parameters at the
time of coding the programs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lakshmisudha
using PARM parameter we can pass the data from one step to
another step
using REFER BACK PARAMETER we can pass dd statments dsn, dcb
from one step to another step or with in step also
| Is This Answer Correct ? | 0 Yes | 1 No |
Can we use empty VSAM as input?
Suppose I have seven jobs to do, but I want to hold one than how can I do this?
i have a string of 80 chars i want to replace 4th char with "a"?
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.
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?
How to pass values in jcl to cobol?
In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?
What do you feel makes a good program?
What does the one advantange of using IEBUPDTE?????
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What are the difference between jcl and jes?