in my jcl have 20 steps step1,step2,.... step20.and i have to
execute step1,step2,..and skip the step3 and remaing
step4,step5 are execute? i want skip step3 only? what code u
can write?
Answers were Sorted based on User's Feedback
Answer / piyush mani
most easy way to do it is to use "IEBEDIT" UTILITY LIKE BELOW
//JOBCARD
//STEPNAME EXEC PGM=IENEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=FSS345.PIYUSH.JOB1,DISP=SHR
//SYSIN DD *
EDIT START=JOBNAME OF DESIRED JOB, TYPE=EXCLUDE,
STEPNAME=(STEP3)
/*
//
GIVE UR FEEDBACK....
Is This Answer Correct ? | 13 Yes | 0 No |
What is the use of DSNDB07 ?
what is instream data
How do you submit JCL via a Cobol program?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
How do you find which GDG is using which dataset?
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
What is the difference between a symbolic and an override in executing a PROC?
How can you trap abends in the JCL?
In how ways you can pass the data from Jcl to cobol ?
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
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
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".