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
Explain the purpose of dd * statement in jcl?
Does jcl support automatic restart?
Explain how can the attributes of one sms dataset be copied to another dataset?
How can an in-stream dataset be terminated?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the function of //jcllib statement?
in ways data can be passed to a COBOL program from JCL?
what is the JCL statement consists of?
which utility is used to run a cobol-db2 program?
is there any way to execute more than one proc in the same exec statement at the same time..?
how to do automated restart when a job abends?
What is notcat 2 - gs?
For what purpose steplib and joblib are used ?
How can unused space allocation be returned to the system when a dataset is closed?
Explain how can the disposition of sysout datasets be set for an entire jobstream?