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 |
how to split a file
I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )
What is a GDG
how can we pass external data to instream procedures
5 Answers IBM, Infosys, Ocwen,
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
What you mean by skeleton JCl?
How to concatenate different LRECL of files?
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
Explain how can a stopped job be started again?