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
what is the compile process of cobol program expalin with code
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What is the difference between the positional and keyword parameters? Give examples.
Explain the function of dd disp parameter?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Explain the hierarchy levels in jcl?
What happens if both JOBLIB & STEPLIB is specified ?
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 jcl in mainframe, and how many types of jcl statements are there for a job?
What is the use of disp parameter?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain how can return codes be tested before execution of a job step?
What are the difference between jcl and jes?
How would you understand error(execution phase)?
What are the parameters that are used in creating a gdg?