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 |
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
how to resolve soc-7 ? please tell me
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is the error code SOC01 indicate ?
How to release the Output HELD by using HOLD = YES on DD statement ?
What parameter directs the output of the job log dataset?
I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE ONE FIELD AS CUSTOMER IDENTITY NUMBER FIELD WHICH IS A SIGNED FIELD. HOW TO SEQUENTIALLY INCREMENT THIS FIELD USING OVERLAY PARAMETER?.
Name some of the JCL statements that are not allowed in procs.?
Explain the function of //cntl statement?
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?
which utility is used a dummy utility?