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 |
How does the jcl specify the job to os?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B
What is STEPLIB, JOBLIB? What is it used for?
How I sort the records in a file and copy the first 10 records to another file
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
how to run JCL thru COBOL.
which utility is used to sort a file in jcl?
How to do automated restart when a job abend?
How to DEBUG a JCL?
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.