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
List the different jcl statements that are not permitted in the procedures?
define cond parameter in jcl?
How can the submitting users racf authority be overridden in a job stream?
Explain the hierarchy levels in jcl?
I need exexution process for JCL programs
What is the function of //jcllib statement?
What is the function of the dd mgmtclas keyword in sms datasets?
Explain the function of dd disp parameter?
How can the attributes of one sms dataset be copied to another dataset?
what are the various stages of job processing?
When space is allocated for an output dataset, what units can be used?
what is the compile process of cobol program expalin with code
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.
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the purpose of dd dummy statement?