I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?
Answers were Sorted based on User's Feedback
Answer / harsih
there 2 ways for this
FIRST METHOD is use ibm utility called "IEBEDIT" and in
sysin in the include statement , give he steps u want to
execute..........
SECOND METHOD = and the steps whicc u dowant to excute code
COND{O,LE} ON THOSE STEPS
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / lokesh
1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.
2) To execute remaining steps, use cond code as (4,LT)
| Is This Answer Correct ? | 5 Yes | 7 No |
What do you know about jcl?
How jcl is used for testing batch programs?
What are s0c1, s0c4, s0c5, s0c7 and socb?
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
How can a stopped job be started again?
can any one plzzzzzz tell the jcl code for creating ps using idcams
What is the significance of addrspc parameter in exec statement?
Please give me the coding for converting VB to FB and FB to VB
What will happen if two JOB statements are mentioned in an JCL continuously.
My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.
What is the use of the utility DFSRRC00 in the JCL?