I have an job having three job steps.Suppose i want to call
a pgm in step2 and aproc in step3.How to write the code?
Answers were Sorted based on User's Feedback
Answer / siva
//jobname JOB ---------
//PROCLIB DD DSN=MYPROCLIB,DISP=SHR
//step1 EXEC PGM=PGM1
//
****END OF step1********
//step2 EXEC PGM=PGM2
//
//
*****END OF step2********
//step3 EXEC <PROC NAME SPECIFIED>
//
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / kiran
//jobname job ---------------
//proclib dd dsn=procAddress,disp=shr
//step1 exec pgm=pgmA
//step2 exec pgm=pgmB
//step3 exec peocNAme
//
| Is This Answer Correct ? | 1 Yes | 1 No |
how many members can be created inside a single pds?
What is MOD and when would you use it?
what is the meaning of 'sysin dd dummy'
Explain the function of the steplib dd statement?
when does a dataset go uncataloged?
How to see the COMP3 value(packd decimal)
describe the job statement, its meaning,syntax and significant keywords?
What is the purpose of dd * statement in jcl?
What is the difference between the positional and keyword parameters? Give examples.
which utility is used to update pds?
Explain the hierarchy levels in jcl?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?