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 |
what is DD statement is used in JCL?
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
can a job be submitted through jcl only? is there another way to submit a job?
What happens if both JOBLIB and STEPLIB is specified ?
can anyone explain me about sort in jcl with inrec and outrec ?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
The maximum number of steps in a job?
How to execute a set of JCL statements from a COBOL program ?
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
how do u send return code from cobol to jcl ?
can we modify the code in copy book? if it possible how to submit ofter the modification.
what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?