Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

10 Answers   iGate,


My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)

11 Answers   HCL, IBM, L&T, TCS,


How to ALTER the name of a GDG ?

2 Answers   IBM,


What does SYSIN * indicate?

2 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


Explain how can a stopped job be started again?

0 Answers  


what is mainframe?

4 Answers   CGI,


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

4 Answers   Mind Tree,


I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.

4 Answers   TCS,


I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


Categories