i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes
Answers were Sorted based on User's Feedback
Answer / uday bhaskar
if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / anjui
We can achieve it through if then else statement in jcl
along with the instream proc.
| Is This Answer Correct ? | 4 Yes | 0 No |
what is a null indicator in db2?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
What is difference between Return Code, user completion code, Abend code and reason Code?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
how to code instream data in procedure?
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
Hi, can any one tell about " How do u eliminate the duplicates "
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
Explain about User Information
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
how do you code a null statement?