Can we have a JOBSTEP without any EXEC ?

Answers were Sorted based on User's Feedback



Can we have a JOBSTEP without any EXEC ? ..

Answer / prachi

No... you need to have the EXEC for each JOB step.

Is This Answer Correct ?    10 Yes 2 No

Can we have a JOBSTEP without any EXEC ? ..

Answer / zerro

No, you can't. But you can use system program IEFBR14 to do
nothing on the sole step, e.g.
//MYJOB JOB
//MYSTE EXEC PGM=IEFBR14
p.s. what is the purpose to write a job without any real
work inside?

Is This Answer Correct ?    2 Yes 0 No

Can we have a JOBSTEP without any EXEC ? ..

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

Can we have a JOBSTEP without any EXEC ? ..

Answer / saisankar

for testing purpose it was ok.

job will submits but for executing there is no steps.

it gives

"IEFC607I JOB HAS NO STEPS"


any forother info:saisankar85@gmail.com

Is This Answer Correct ?    2 Yes 2 No

Can we have a JOBSTEP without any EXEC ? ..

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

Can we have a JOBSTEP without any EXEC ? ..

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

Post New Answer

More JCL Interview Questions

what JCL Procedures?

0 Answers  


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step

1 Answers  


Differentiate between addressing mode and run mode.

0 Answers  






How do you check the syntax of a JCL without running it?

17 Answers  


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


What is the error code SOC01 indicate ?

5 Answers   Microsoft,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


How many parameters are there to a DISP statement and what are their uses ?

3 Answers  


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


Categories