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...

can we write a proc with in a proc

Answer Posted / muttaiah

Jeetendra,

I'm not sure what you are going to say..But, it's possible
to code a proc(procedure) within a proc(procedure).

I mean proc can also be referred as procedure...vice-
versa.EX:

//job1 job Operands/Parameters
//Proclib JCLLIB order=(
proc1.library,
proc2.library,
proc3.library)
//Jstep1 exec pgm=
//step3 exec Proc=Proc1 or //step3 exec proc1

//Proc1 Proc
//pc1step1 exec pgm=
//pc1step2 exec proc2
//proc1 pend

//proc2 proc
//pc2step1 exec pgm=

Remember in proc1 i have not coded JCLLIB since job,
jcllib, joblib are not allowed here.

proc2 will be pulled from the library mentioned in the job.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one plzzzzzz tell the jcl code for creating ps using idcams

11661


How does the jcl specify the job to os?

1150


How can a stopped job be started again?

1189


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1276


What is the syntax of JCL statement?

1230


How is a type of file defined in the jcl that executes the cobol program?

1188


What is the purpose of dd * statement in jcl?

1285


Name what parameter directs the output of the job log dataset?

1049


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2557


How can the disposition of sysout datasets be set for an entire jobstream?

1336


For what purpose steplib and joblib are used ?

1138


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1190


What is use of restart and how to use it?

1313


what is the compile process of cobol program expalin with code

2574


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2228