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

When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


What is jcl in mainframe?

1 Answers  


What is model dataset label(Model DSCB)?

1 Answers  


How can a jobs execution priority be modified?

1 Answers  


Which statement is used to identify the private libraries in job?

1 Answers  


What is the function of the steplib dd statement?

1 Answers  


For what purpose steplib and joblib are used ?

1 Answers  


A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


What is a COND parameter in JCL?

10 Answers   TCS,


Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

7 Answers   VS, Wipro,


i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it

1 Answers   L&T,


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

1 Answers  


Categories