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 |
COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?
Can we give two user name in NOTIFY parameter in JOBCARD
What is jcl in mainframe, and how many types of jcl statements are there for a job?
I need exexution process for JCL programs
List the various advantages of using jcl language?
Why block size is multiple of lrecl in jcl?
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
How can the disposition of sysout datasets be set for an entire jobstream?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
How do you pass parameters to the program as the job is being executed ?
What is DSNDB06 ?
How to print data of sequential file to Spool..?