What is a PROC? What is the difference between an instream and a catalogued PROC?

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.

Showing Answers 1 - 21 of 21 Answers

moncy

  • Mar 23rd, 2006
 

can we use instream proc in a catalog procedure

  Was this answer useful?  Yes

Nagaraj

  • Aug 16th, 2006
 

A PROC? is a pre coded JCL which are invoked as and when it is needed, three types of PROCEDURES Instream, Cataloged, User Defined Procedures.

  Was this answer useful?  Yes

Hervey

  • Oct 30th, 2006
 

An instream proc is used in JCL and it ends with the statement: //   PEND

And immediately after this, is the JCL that executes this in-stream proc. An in-stram proc CANNOT be in a proc

  Was this answer useful?  Yes

nitin sethi

  • Apr 10th, 2007
 

i didnt get this at all need to know abt "instream & catalog "funda plz help me witha good FAQs for the fresher i m a fresher



thanx & regards

Nitin sethi

  Was this answer useful?  Yes

uday

  • Apr 16th, 2007
 

as said already, proc is pre-definened program which isused for more than one times.
it is like functions in C,C++,..
instream proc means that it is coded in jcl itself,so we can use these codes as many times we want, but within that JCL.
whereas cataloged proc is defined outside, we can call to any times by any JCL

  Was this answer useful?  Yes

sandeep

  • Aug 30th, 2007
 

As per my knowledge PROC is a pre-written statement and can be used in more than one one program.Because as it is previously tested so when it is used in any program in gives minimun of error.

  Was this answer useful?  Yes

chandusudhakar

  • Sep 28th, 2007
 

PROC means its procedures in mainframes
We are normally using two types of procedures
Instream procedures only used for calling perticular procedure in a different steps in a particular job itself
But in the catalog procedure we will be able to call the perticular procedure in any location at any time unlike instream procedures
Also here normally in JCL we can use JOB statement first then EXEC last
but in catalog procedure it is reverse order.

  Was this answer useful?  Yes

bwbalaji

  • Jun 6th, 2008
 

PROC : It is nothing but a procedure that we used in the JCL . Instream procedure 
means it will be implicit with in the JCL statements  like PERFORM statements in COBOL (means) - > calling the same procedure for different inputs . Catalog procedure means defined explcitily defined as memeber of PDS and it is simalar to the CALL statements in COBOL we have to excute these procedures as in the same way in the JCL but for Catalog proc shld not end with PEND statements .   

  Was this answer useful?  Yes

dhs01

  • Apr 15th, 2009
 

I believe most give you the flavor of what it is. One of the main reasons for using a PROC is so that you can supply substitution variables. For example if you use a PROC to install software, you might supply a variable like &HLQ so that each person running it could put their high level qualifier on the job that invokes the PROC and that might be the only change required.  

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions