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.
Answers were Sorted based on User's Feedback
Answer / abhijit18in2002
Procedure library
ABC.XYZ.PROCLIB(PROC1)
//PROCA PROC
....
....
Job Library
ABC.XYZ.JOBLIB(JOBA)
//STEP01 EXEC PROCA
.....
.....
When JOBA is run it will Fail with
JCL error saying :Procedure PROCA not found
It is Compulsion that Member name of Procedure should have
Same name as the Procname.So When PROC1 is Changed to
PROCA .. Job will run fine
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / 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 |
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
i want to store 20 digits . how will u do it in cobol ?
Explain about CBL/PROCESS statement syntax
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?
in jcl you are having JCLLIB and STEPLIB what happens
How to pass data to a program that is coded in an exec statement?
Explain how can return codes be tested before execution of a job step?
Must tape dataset definitions include vol=ser specifications?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Explain how can the submitting users racf authority be overridden in a job stream?