what is a cataloged procedure ?

Answer Posted / shakila vinayagam

A procedure that you catalog in a library is called a
cataloged procedure.



A cataloged procedure may consist of these JCL statements:
CNTL, command, DD, ENDCNTL, EXEC, IF/THEN/ELSE/ENDIF,
INCLUDE, OUTPUT JCL, and SET. Optionally, a cataloged
procedure can begin with a PROC statement and end with a
PEND statement. If coded, PROC must be the first statement
in the procedure.

The library containing cataloged procedures is a
partitioned data set (PDS) or a partitioned data set
extended (PDSE). The system procedure library is
SYS1.PROCLIB. The installation can have many more procedure
libraries with different names. You can also have
procedures in a private library. The name of a cataloged
procedure is its member name or alias in the library.



When a cataloged procedure is called, the calling step
receives a copy of the procedure; therefore, a cataloged
procedure can be used simultaneously by more than one job.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2038


Why include statement is used in a jcl?

676


How does jcl act on a cobol code?

643


Explain the purpose of the dd keylen parameter?

658


Matching Logic in Jcl not in cobol.Could any one please answer this question

3660






Does jcl support automatic restart?

734


What is the purpose of dd * statement in jcl?

784


What is the function of dd disp parameter?

646


Explain how can an in-stream dataset be terminated?

682


What statement can be used to send data to another mvs jes3 node?

789


what is the difference between JES3 and JES2?

665


How to run cobol program using jcl?

638


How would you understand error(execution phase)?

613


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

765


how would you create a temporary dataset? And where will you use them?

751