Suppose there are 10 steps in a PROC, I want to execute
only step5. How do you give the condition in the JCL that
calls this PROC?
Answers were Sorted based on User's Feedback
Answer / siri
using restart parameter.....
//jobname job ,,,restart=proc.step5.....
and next given cond=(00,le) in step6 to step10..
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sk
Use IEBEDIT
//IEBEDITJ JOB ACCT,'',CLASS=P,MSGCLASS=T,MSGLEVEL=
(1,1),NOTIFY=&SYSUID
//STEP0001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=xxxxx.yyyyy.zzzzz,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP5)
/*
//
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / sk
Use IEBEDIT utility, It can be solved easly using this
utility.
| Is This Answer Correct ? | 3 Yes | 5 No |
i need some shortcuts and tso commands can any on ehelp me in these ?
how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths
can any one plzzzzzz tell the jcl code for creating ps using idcams
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
How do you check the syntax of a JCL without running it?
What are hierarchy levels in jcl?
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
How is a GDG base created?
Do we need to code DCB parameters when using DISP position as MOD?