What is a Proc ? why do we go for a Proc ? What are the
types of procs?Can we have nesting in Procs ?

Answers were Sorted based on User's Feedback



What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / ram narayan

Hi, A Proc is nothing but it can be a set of Program which
is utilised by the Main JCL.It's basically used for
avoiding the number of lines of coding the JCL statements
in the main JCL and we can call the Proc's when ever needed
for performing a certain kind of action.

There are 2 types of Proc's and they are Instream & Catalog
proc.

The nesting in Procs are possible and the maximum number of
levels are 15 levels.

Is This Answer Correct ?    8 Yes 0 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / guest

when we want use some part of prog in many prog we store in
proc

Is This Answer Correct ?    1 Yes 0 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / shailendra

this is generaly avoided to use nesting proc , because it
make job complex to understand,and this use only in catalog
proc.if you want to use then nesting is possible up to 15
level.

Is This Answer Correct ?    1 Yes 0 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / pradeep

Hi Ram,

Could you please provide with some example of nesting in
Procs (both instream and cataloged)

Is This Answer Correct ?    0 Yes 0 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / amit barwa

In-stream procs can be nested upto a maximum of 15 levels
(we can not make a backward reference in nested procs).

Is This Answer Correct ?    0 Yes 0 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / anon

I have seen a person code a maximum of 209 levels of nesting in Catlg procs.. but the 210th nesting was unsuccessful

Is This Answer Correct ?    1 Yes 1 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / pradeep

There are basically 2 types of PROCS, a. Instream, b.
Cataloged.

The Nesting of procs is not possible.

Is This Answer Correct ?    0 Yes 1 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / pradeep

Can some one of u justify wid examples?

Is This Answer Correct ?    0 Yes 1 No

What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Proc..

Answer / sathya

Hi,
what they said is correct but nesting procs is not
possible in proc

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

Can we call instream to catalog and catalog to instream?

0 Answers  


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

0 Answers   IBM,


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

0 Answers  






Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE

4 Answers   Merrill Lynch,


in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?

3 Answers   Patni,


If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

4 Answers   UST,


Name the system library from which modules are retrieved at execution

2 Answers  


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


How many types of libraries are there in JCL ?

2 Answers   IBM,


Categories