describe the exec statement,its meaning ,syntax and
keywords?
Answer Posted / vish
Just an addition to the Hari's answer, EXEC is used to call
a PROC to, apart from calling a PROGRAM.
//step01 EXEC PGM=XYZ
//step02 EXEC XYZ
in first example (step01) it's calling a program XYZ
In second example (step02) it's calling a PROC XYZ
Do let me know if anyone have some other thoughts, enjoy!
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of disp parameter?
What are steplib and joblib? What for they are used?
Explain about LMFREE�free data set from its association with data ID
Explain the purpose of dd * statement in jcl?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Explain how can values be passed from the job stream to an executable program?
define cond parameter in jcl?
How to pass the parameter in parm using linkage section ? (syntax)?
Explain dd statement in jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
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?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what is use of dcb parameter in dd statement?