How to execute step2,step1, step3 if step1,2,3 are in order
Answers were Sorted based on User's Feedback
Answer / r
using IEBEDIT utility, in Job instream card,
//step001 exec pgm=iebedit
//dd1 dd dsn=<job-name>,disp=shr
//dd2 dd dsn=(*,intrdr)
//sysin dd *
Edit type=include, member=(step2,step1,step3)
//
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / venkatesh
BY USING THE CONDITON IN STEP1
STEP1 EXEC PGM=(SOMEPROGRAM),COND=(0,LE)
SURE IT DEFINITELY WORKS 100%
2
1
3
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amy
use DPRTY...
//step001 exec=pgm1,dprty=2
//step002 exec=pgm1,dprty=3
//step003 exec=pgm1,dprty=1
higher the dprty ,higher in execution...
so first step002,second step001 and in last step003 wil be
executed
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / shivanadri naveen kumar
I dont know the currect answer but based on my knowledge and
experience i think it is posible by using the "DPRTY"
parameter in EXEC statement in each and every statement means
we set the DPRTY=3 for step 2,DPRTY=2 for step 1,DPRTY=1 for
step 3.
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / tabbu
Then jobcard using restat parameter .given
restart=st.step2.then the execution starts in step2 and
another steps automatically executed
| Is This Answer Correct ? | 0 Yes | 11 No |
Answer / nag ganesh
in job card if we specify the restart parameter then step2
is execute.
then step1,3 can also executed automatically.
| Is This Answer Correct ? | 3 Yes | 15 No |
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?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
What is the function of the dd dcb keyword?
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
how to put a dependency on job in jcl using opc scheduler?
there are 10 steps in jcl how to execute the steps from step2 to step8 only
How to copy one PS file to multiple PS files with same data?
Explain about RECORDING MODE Clause
if we give two job cards in a single what happens
I need exexution process for JCL programs
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
how to resolve sb37,sd37 se37 abends