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
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Answer / sathya
Hi,
what they said is correct but nesting procs is not
possible in proc
| Is This Answer Correct ? | 0 Yes | 2 No |
how to run JCL thru COBOL.
Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
What is a GDG
How to alter the parameters for the existing gdg?
How many types we can give input to JCL
Can we delete the data using IEFBR14 , IEBGENER??
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.