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
List in order the hierarchical levels of jcl?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How does jcl specify the job to the operating system?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
How to run cobol program using jcl?
How jcl is used for testing batch programs?
What is the motivation behind coding class parameter in job statement?
Explain how can the submitting users racf authority be overridden in a job stream?
what is JCL?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Define concatenating?
Can we use DISP=SHR in output file in JCL
Is automatic restart possible in jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
what is the purpose of coding class parameter in job statement?