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 / 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 |
Post New Answer View All Answers
Is acct parameter mandatory?
When space is allocated for an output dataset, what units can be used?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what is a jcl?
What does a disposition of (new,catlg,keep) for a dsn mean?
What is the difference between the positional and keyword parameters? Give examples.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
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 is jcl in mainframe?
List the different jcl statements that are not permitted in the procedures?
Brief description of inline procedure of jcl.
what is the purpose of coding notify parameter in job statement?
Is condition checking possible in jcl? If yes, how?
Must tape dataset definitions include vol=ser specifications?