in a series of 10 steps, i need to run only 1,3,5,7 & 9th
steps only. how do u code?
Answers were Sorted based on User's Feedback
Answer / jagan mohan
by using iebedit utility and specifying required steps in controlcrds we can execute it.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / paray2x
You need to know what return codes Steps 1,3,5,7 and 9 will
give if they execute successfully. Based on that, you can
code COND parameter in STEPS 2,4,6,8 and 10 to bypass them.
This will help if you do not have IEBEDIT.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / swathi
//Jobname
//step1 exec pgm=iebedit
//s1
//s2
//s3
.
.
.
//s10
//sysin dd*
start jobname type = include(s1,s3,s5,s7,s9)
/*
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vinay sonar
//STEP1 EXEC PGM=IEBEDIT
//SYSIN DD*
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3,STEP5,STEP7,STEP9)
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How do you submit a JCL under CICS environment ?
What is S322 abend ?
Can we browse or edit the GDG dataset if it is a tape entry?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
What will happen if two JOB statements are mentioned in an JCL continuously.
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
If Region=0k means What Happen?
What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?
How to read records in reverse order in flat file?