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

define cond parameter in jcl?

0 Answers   IBM,


Can we write same stepname for one or more steps in on job ?

2 Answers  


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


Is their any limit for data sets?

0 Answers  


What is the max blocksize for a Tape file?

2 Answers  






How I sort the records in a file and copy the first 10 records to another file

5 Answers  


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


Explain the jcl exec statement?

0 Answers  


How to create delta file using JCL

1 Answers   CTC,


How can i execute 5th step without executing first 4 steps?

4 Answers  


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".

2 Answers  


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Categories