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 |
what is a jcl?
can we maintain 2 generations with different Lengths in Same GDG ?
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
How is a new GDG coded?
What does the TIME parameter signify ? What does TIME=1440 mean ?
what are JCLLIB and STEPLIB in JCL?
what is use of space parameter in dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
can i sort packed decimal if i can tell the syntax
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)
What does the statements: typrun=scan and typrun=hold do in a JCL statement
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program anyone please answer me for above questions. it's very urgent