How to execute step2,step5,step7 of a proc of 10 steps?
You are not allowed to change in JCL.

Answers were Sorted based on User's Feedback



How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / adarsh

we can execute selected steps using iebedit utility..

//sysin dd *
edit type = include,stepname=(step2,step5,step7)
//

Is This Answer Correct ?    34 Yes 0 No

How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / muttiah

@Adarsh:

That will be useful when we want to copy steps from a JCL
directly, not from a PROC.

@ NaliniNayak:
Using restart you can point to step2 of a proc as below.
//RESTART=PROCSTEP.STEP2 in the job card.

Code Cond=(0,LE) for all the steps you want to skip..Say in
our case it's 3,4,6,8 and 9th step in proc.

Is This Answer Correct ?    2 Yes 0 No

How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / krish123

we can use COND code in order to execute this. Use condition
code in each step
//JOBNAME JOB ACCT, RESTART=PROCA.STEP2 ---> INORDER TO
EXECUTE THE PROGRAM FROM STEP2
//PROCA EXEC PROCA

//STEP1 EXEC PGM=PROGRAM1
//STEP2 EXEC PGM=PROGRAM2,COND=(0,LT,STEP1)
//STEP3 EXEC PGM=PROGRAM3,COND=(0,GT,STEP2)
//STEP4 EXEC PGM=PROGRAM4,COND=(0,GT,STEP3)
//STEP5 EXEC PGM=PROGRAM5,COND=(0,LT,STEP4)
//STEP6 EXEC PGM=PROGRAM6,COND=(0,GT,STEP4)
//STEP7 EXEC PGM=PROGRAM7,COND=(0,LT,STEP6)
//STEP8 EXEC PGM=PROGRAM8,COND=(0,GT,STEP7)
//STEP9 EXEC PGM=PROGRAM9,COND=(0,GT,STEP8)
//STEP10 EXEC PGM=PROGRAM10,COND=(O,GT,STEP9)

Is This Answer Correct ?    11 Yes 13 No

Post New Answer

More JCL Interview Questions

Explain about Cobol Subroutines

1 Answers  


JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?

2 Answers  


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?

1 Answers  






What is the function of the dd dcb keyword?

0 Answers  


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 Answers  


Explain the jcl exec statement?

0 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


what is force complete

2 Answers   IBM,


What do you understand by the term notcat 2 – gs?

0 Answers  


Categories