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


Please Help Members By Posting Answers For Below Questions

What is notcat 2 - gs?

939


what are JCLLIB and STEPLIB in JCL?

675


how you can direct the data to spool using SYSOUT option?

927


how can you check if a file is empty using jcl?

816


what JCL Procedures?

701






Can I share my data with other jobs? How?

670


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1986


i want to store 20 digits . how will u do it in cobol ?

860


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7601


How does jcl act on a cobol code?

659


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

938


What are some jcl statements that are not allowed in procedures?

728


define cond parameter in jcl?

776


Is automatic restart possible in jcl?

737


How can unused space allocation be returned to the system when a dataset is closed?

812