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 |
In SPACE,what is directory,RLSE
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
How to send data from cobol program to jcl?
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
I have a File that has duplicate records. I need only those records that occur more than thrice.
i have a string of 80 chars i want to replace 4th char with "a"?
how to split a file
can we bowse or edit the GDG dataset if it is a tape entry?
How many days does a job remain in spool
Differentiate between the joblib and the steplib statements?
What are the difference between jcl and jes?
i want to avoid the positional parameter how to code it ?