Can we have a JOBSTEP without any EXEC ?
Answers were Sorted based on User's Feedback
Answer / prachi
No... you need to have the EXEC for each JOB step.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / vinay sonar
No,the job will get abend and you will get JCL ERROR
as 'JOB HAS NO STEPS'
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saravanan
"why? I need the explanation in this. Can any one give why
the Jos is giving the JCL error. 'JOB HAS NO STEPS'
--because u would have missed
//* --Prior to the exec steps like
EXEC <Proclib>
Or u would have missed the keyword EXEC itself. Please
check.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / srikanth
why? I need the explanation in this. Can any one give why
the Jos is giving the JCL error. 'JOB HAS NO STEPS'
| Is This Answer Correct ? | 0 Yes | 1 No |
What are steplib and joblib?
How do you access a file that had a disposition of KEEP?
Where can program checkpoints be stored for use in a restart?
On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?
What is a GDG? Why do we go for a GDG ? utility used to create GDG?
what is a null indicator in db2?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
what is use of disp parameter in dd statement?
what are the various stages of job processing?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
How can i execute 5th step without executing first 4 steps?
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.