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 to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?
A dd statement consists of 4 fields. Name them?
How do you create a temporary dataset?
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?
what is a cataloged procedure ?
Can a PS file be read in reverse order?If so,how
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
In DCB, what is LRECL,BLKSIZE,DSORG