IF we are calling a PROC from Jcl...This Proc have 3 steps
in it and we want to execute only the second step using the
JCL, How to do it??
Please give the answer ASAP:)
Answer Posted / biswajit
Sorry there is little modification on JOB CARD to my
earlier answer.
In Job card RESTART = Proc stepname.stepname ie
STEP2.Stepname of job that invokes the proc This will result
to start at STEP2 of proc.
In Exec statement of the job that invoking the proc u can
code COND.STEP3 = (0,LE),The result of this is the STEP3
of proc will have COND=(0,LE).Whcih is allways true so this
step will be always bypassed.As a result of both only STEP2
of proc will be excuted.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Name a few IBM utility programs, and explain its function.
How do you submit a job for execution?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
How does jcl act on a cobol code?
What is the syntax of JCL statement?
What is the maximum length of a single line of jcl?
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?
Explain about ISPF/TSO Commands
Is automatic restart possible in jcl? If yes, how?
What are the jcl procedures?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What are the 2 types of parameters in dd statement?
What is the purpose of dd dummy statement?
Explain the function of the dd dcb keyword?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat