What is a PROC? What is the difference between an instream
and a catalogued PROC?
Answers were Sorted based on User's Feedback
Answer / guest
PROC stands for procedure. It is 'canned' JCL invoked by a
PROC statement. An instream PROC is presented within the
JCL; a catalogued PROC is referenced from a proclib
partitioned dataset.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / sudheer
Proc is a set of JCL statements, which will be used to
execute the job steps. There are two types of procs
1. Instream
2. Catalog
Instream procedures are defined within a job and executed
within a job. To terminate Instream procedure we use PEND
keyword.
Catalgo Procedures are defined outside of the job as a
member of PDS and executed outside of the job. In this
there will be no PEND statement required
| Is This Answer Correct ? | 7 Yes | 1 No |
What is the exact difference between PRTY and DPRTY
what is the use of JCL?
i just need the first and last record from a sequencial file?how
how to resolve soc-7 ? please tell me
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
What are the kinds of job control statements?
How to do automated restart when a job abend?
delete rules in db2
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
what EXEC statement is and what is the syntax of EXEC statement used in JCL?