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

Explain the function of dd disp parameter?

1063


I need exexution process for JCL programs

2239


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9710


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2657


Mention the types of job control statements?

1131


Explain dfsort utility?

1295


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1154


Explain the purpose of dd dummy statement?

1173


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) ?

2356


what happens in conversion stage in job processing?

1185


What do you understand by the term job time – out and how can you overcome that?

988


What is NOTCAT ?

1285


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4854


What are the difference between jcl and jes?

1556


how can the same proc be re-used and called by many jobs?

1455