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
Why block size is multiple of lrecl in jcl?
//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 /*
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
What are the difference between jcl and jes?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What are the parameters that are used in creating a gdg?
Can I send output of job to my remote device careerride123?
How is the record format of an output dataset specified?
What is the function of the steplib dd statement?
Are there any set of rules for the names of the steps used in a job? What are they?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Explain the function of the dd dcb keyword?
what is use of dsn parameter in dd statement?
how you can access an uncataloged dataset in a JCL?