Is stepname is a MUST and should be unique also for each
JOBSTEP ? or system can supply the stepname for a step which
is not given a name by the programmer ?
Answers were Sorted based on User's Feedback
Answer / rikdeb
If u give the same step name in one JCL it will issue a
warning.No error message will be thrown.
Is This Answer Correct ? | 4 Yes | 0 No |
step name is not unique.we can take same stepname to
multiple jobs but at the time of debugging point of view
application prog is very easy while giving different
stepnames.
jcl execution is line by line,once it executed it wont mind
the what is the previous job.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vinay sonar
No,the step name need not to be unique.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 / aaa
No
JES will automatically execute it but o/p will be unpredictable.
and steps will be queued and o/p will be random in order
there will be no error and warning
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prachi
In JCL, two job steps with the same stepname will give an
error. You cannot have the jobstep with the same name in
the same JCL.
And also the stepname is must .Otherwise you will get an
error.
Is This Answer Correct ? | 2 Yes | 6 No |
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
How to send data from cobol program to jcl?
What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?
How to send notification to multiple users through jcl???
What is the difference between primary and secondary allocations for a dataset?
How is a type of file defined in the jcl that executes the cobol program?
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
Suppose I have five jobs to do. But I want to hold one?
describe the dd statement,its meaning,syntax and keywords?
What is Uncatalog dataset? How can we access/use them?
Is there any command to check wether the ps file is in sorted order?
Explain how can return codes be tested before execution of a job step?