I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?

Answer Posted / zos13

One more Answer:

If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply

//step5r exec pgm=IDCAMS
//sysin dd *

SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).

It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****

You may also use RC in place of MAXCC.

Please reply here if it works for you or at: thespider390@hotmail.com

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of the dd keylen parameter?

677


when does a dataset go uncataloged?

840


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7613


Differentiate between the joblib and the steplib statements?

860


What does a disposition of (MOD,DELETE,DELETE) mean ?

668






What are the jcl procedures?

649


which utility is used a dummy utility?

798


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1357


Is condition checking possible in jcl?

722


What is the purpose of disp parameter?

647


define cond parameter in jcl?

779


what is the resolution for sb37 error

7716


Explain the function of //cntl statement?

661


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

725


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670