How to execute step2,step1,step3 when step1,2&3 are in order
Answers were Sorted based on User's Feedback
Answer / r
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY (TEST001), DISP=SHR
//SYSUT2 DD SYSOUT= (A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP2,STEP1,STEP3)
/*
in SYSUT1, we need to mentioned the job name , which having
these 3 steps.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / maruthi
PGM=IEBEDIT
DDNAME DD DSN=(DATA SET ALONG WITH PDS MEMBER(where we write
all the steps)
SYSOUT DD (*,INTRDR)
SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP1,STEP3)
/*
//
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sandy
We can execute step3, 1, 2 in order by using the DPRTY.
By setting the execution priority of setplib we can achieve
this.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nand
This cannot be achieved and cannot be run in that order.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / narayana
// JOB1 JOB 'H557467j', 'KAVITHA', RESTART = STEP02
//STEP01 ..... COND = (0,EQ,STEP03)
//STEP02 ........ COND = (0,EQ,STEP01)
//STEP03 ....
i think it works then
else use iebedit utility.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / kavithab
This is just a try... let me know the correct answer
// JOB1 JOB 'H557467j', 'KAVITHA', RESTART = STEP02
//STEP01 ..... COND = (0,EQ,STEP02)
//STEP02 ........
//STEP03 .... COND = (0,EQ,STEP01)
Is This Answer Correct ? | 4 Yes | 14 No |
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
How to pass the temp dataset form one JOB step to another?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
I had 100 steps in jcl i want to execute first 10 steps only?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
mainframe questions like basic&depth
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly