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

Is there any command to check wether the ps file is in sorted order?

2952


When output dataset space is required, what quantity categories are used?

1418


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1129


Differentiate between the joblib and the steplib statements?

1512


Name the statement which can be used to send data to another mvs jes3 node?

1219


What are the jcl procedures?

1163


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

1559


how to do automated restart when a job abends?

1422


What is the function of dd disp parameter?

1174


when does a dataset go uncataloged?

1354


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

2405


how you can access an uncataloged dataset in a JCL?

1191


Explain the function of dd name parameter with a 2 part structure; audit.report?

1516


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2505


what JCL Procedures?

1302