Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to ..

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

There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to ..

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

Post New Answer

More JCL Interview Questions

how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


which utility is used to sort a file in jcl?

0 Answers   IBM,


how to modify the copy book?explain with examples

2 Answers   TCS,


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

0 Answers  


I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...

2 Answers   Satyam,


Explain about ISPFTTRC

1 Answers  


How do you pass parameters to the program as the job is being executed ?

2 Answers  


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?

7 Answers   Cognizant, IBM, IGT,


What is notcat 2 - gs?

0 Answers  


How to empty the records in jcl

1 Answers  


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

0 Answers  


Categories