How can i execute 5th step without executing first 4 steps?
Answers were Sorted based on User's Feedback
Answer / vidhya
The above answer is correct if suppose you have some more
steps below and you dont want to execute them, then give
condition code like RESTART = STEP NAME, cond=(0,LE)in the
job card.
| Is This Answer Correct ? | 22 Yes | 3 No |
Answer / guest
We can execute the job from any step by skipping the
previous steps using restart condition.
for example:
To restart from 5th step we have to mention in the job card
as
RESTART=STEP5
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / satheesh
To Execute particular step, use IEBEDIT option.
Below Sample version
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=MYDSN.JCL(MEMBER),DISP=SHR
//SYSUT2 DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP5)
/*
//*
| Is This Answer Correct ? | 4 Yes | 0 No |
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
At what stage, operator can change the class and priority of a submitted job?
What is jcl in mainframe?
One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
When should DISP=MOD is used?
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
How do you access a file that had a disposition of KEEP?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job
Is their any limit for data sets?
Explain how can a stopped job be started again?