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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

636


what is DSN in JCL and what are the parameters to declare the DSN?

708


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

693


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

699


what is the difference between JES3 and JES2?

665






what is SOC4 error?

724


Which dd parameters are required?

673


How to alter the parameters for the existing gdg?

700


In sms datasets, what is the function of the dd avgrec keyword?

638


Explain the purpose of the dd keylen parameter?

658


List the various advantages of using jcl language?

838


when can a job time-out occur? How to overcome that?

736


What happens if both JOBLIB & STEPLIB is specified ?

594


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.

1720


what is use of space parameter in dd statement?

736