hi guys
what r the diff types of procs in jcl?
bye
ramya
Answers were Sorted based on User's Feedback
Answer / manjunath
Hi Ramya,
There are 2 kinds of PROC
Instream and Catalog
Instream is written in the JCL itself and will be ended
with Pend
Catalog PROC's is written in another Member of the PDS and
called by the JCL
The Catalog PROC is more advantage because it can be used
by more than one JCL. so Generally most of the Companies
used Catalog Procs.
Hope this helps you
Thanks
Manjunath
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / dhans
Instream and Catalog procedure
Catalog Procedures:
A cataloged procedure is a set of JCL statements that are stored as a member in a partitioned data set.
Multiple jobs can invoke and use the same catalog procedure.
The main reason for using catalog procedures is to avoid coding the same JCL again and again.
Pend statement is optional in catalog procedure. So you do not need to code it in your JCL.
Instream Procedures:
The EXEC statements between the PROC and PEND statements are not executed when they are first encountered in the job stream. Instead, they are saved as a procedure to be called later.
Refer the below link
https://youtu.be/vJF478anFvM
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohamed khan
PEND can also be coded for a cataloged Procedure, but it's
Optional.
Up to 15 In-stream Procedures can be included in a single
job.
| Is This Answer Correct ? | 1 Yes | 7 No |
Explain how can the attributes of one sms dataset be copied to another dataset?
Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???
Why do you use a control card?
In job processing, what happens in conversion stage?
What are the parameter in the job card wihtout which job won't run........
What is QSAM error usually when it is occurs?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
How can return codes be tested before execution of a job step?
What all are the changes to be made in JCL so as to do testing?
which utility is used to run a cobol-db2 program?
How do you restart a PROC from a particular step?
What is RESTART? How is it invoked?