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 |
Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
what is use of dcb parameter in dd statement?
If your job fails at particular step then what would be the return code for next steps
How can you execute a COBOL program via SYSIN in JCL?
How do you check the syntax of a JCL without running it?
Which is the most widely used batch performance monitor for DB2?
What are the parameter in the job card wihtout which job won't run........
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
What is the function of the steplib dd statement?
How do you submit a job for execution?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?