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 |
how can we pass external data to instream procedures
5 Answers IBM, Infosys, Ocwen,
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
diff bw vsam and normal flat file?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
How jcl is used for testing batch programs?
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?
How do you handle empty files in a JCL ?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
How to pass data to a program that is coded in an exec statement?
using cursor how can you fetch more than one record into a variable