Describe the EXEC statement, its meaning, syntax and keywords?
Answers were Sorted based on User's Feedback
Answer / mrunmaya
Guest I think in the syntax there should be stepname instead
of jobname.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guest
The EXEC statement identifies the program to be executed via
a PGM= program name keyword. Its format is //jobname EXEC
PGM= program name. The PARM= keyword can be used to pass
external values to the executing program.
| Is This Answer Correct ? | 3 Yes | 1 No |
hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.
In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?
Why do you want to specify the REGION parameter in a JCL step?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
How to ALTER the name of a GDG ?
how many max steps can we use in a job? pls answer to my question
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
what is a MODELDSCB?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
How to execute step2,step1, step3 if step1,2,3 are in order
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???