suppose i have 10 job steps and i want to execute only step
6.How to write?

Answers were Sorted based on User's Feedback



suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / aaki

for steps1-5 code cond=(0,LE) and after step06 put a //
(null).It will automatically stop execution when it finds a
null.

Is This Answer Correct ?    9 Yes 1 No

suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / ranjith

Use Restart=step6 in job card and at the end of step6 use //
(null statement).

Is This Answer Correct ?    5 Yes 1 No

suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / manish

code cond=only on first 5 steps, leave step no 6, and from step 7 to step10 code cond=(0,LE)

Is This Answer Correct ?    2 Yes 0 No

suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / anji

use Restate parameter in job card like Restart=(step 6)
And use cond parameter in 6'step like cond(4.le)
That means if successful exection 6 th step before going to
7th step it will check cond code if it is true remaning
steps not executed.

Is This Answer Correct ?    2 Yes 0 No

suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / anji

In the JOBCARD, code COND parameter. Then, when the Job is
executed , only
the Step mentioned in the RESTART parameter will get
executed.
e.g., RESTART=STEP06,COND=(0,LE)

if want more details check it in cool mainframe tips

Is This Answer Correct ?    2 Yes 1 No

suppose i have 10 job steps and i want to execute only step 6.How to write?..

Answer / rahul singh

code restart=step6, cond=(0,le) in job card and only step6
will be executed

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap

2 Answers   IBM, TetraSoft,


How do you create a temporary dataset?

0 Answers  


how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?

1 Answers  


IF WE GIVE COND on step3 then, What does the following mean ? And Just adding to that, All the below COND are VALID as per the specifications. (i) COND = (8,LT,step1,step2) ---(AND/OR ?) (ii) COND = (8,LT,step1,step2, ONLY), (iii) COND = (8,LT,step1,ONLY) will it execute only if this condition is true or only if step1 ABENDS ? (iv) COND = (8,LT,step1,step2,EVEN), (v) COND = (8,LT,step1,EVEN) ?

2 Answers   IBM,


What is NOTCAT ?

0 Answers  






A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?

2 Answers  


how to compress the data set

8 Answers   Keane India Ltd,


shall we concordinate two different length dataset in to a new date set.

6 Answers  


what is DSN parameter and DISP parameter is used for?

0 Answers  


How many days does a job remain in spool

7 Answers   Syntel,


How to pass the temp dataset form one JOB step to another?

6 Answers   IBM,


Categories