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 |
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.
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
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?
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 ?
What does SYSIN * indicate?
How to check empty file in jcl?
Explain how can a stopped job be started again?
what is mainframe?
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
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.
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