There is a procedure in A.B.PROCS(PROC1) (member name is
PROC1)
//PROCA...
There is a call to a procedure PROCA from a JOB.
//STEP01 EXEC PROCA
...
Here "PROCA" in JOB refers to the actual PROC name or the
member name of the PDS where this PROCA is stored.
Answer Posted / sj@iy
In this case the job will fail because there is no member
by the name PROCA in the library.
However, there is no compulsion that the name with which
the proc is saved(member name) and the name inside the proc
(procname) needs to match In the sense, in the above case,
if proc is saved as PROCA and inside PROCA the procname
is //PROC1...there will be no issues while making a call as
given by the JCL (i.e. //STEP01 EXEC PROCA)
To conclude, a search is done based on member name and not
based on proc name.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can I share my data with other jobs? How?
What do you understand by the terms: joblib and steplib?
What is concatenating?
Does jcl support automatic restart?
what is the use of JCL?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What do you understand by jcl?
Explain the function of the steplib dd statement?
Is there any command to check wether the ps file is in sorted order?
how to do automated restart when a job abends?
what is the difference between JES3 and JES2?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what is use of space parameter in dd statement?
How does jcl specify the job to the operating system?
How to pass data to a program that is coded in an exec statement?