what is a cataloged procedure ?



what is a cataloged procedure ?..

Answer / 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

More JCL Interview Questions

what is the use of temporary files?

5 Answers   Hexaware,


I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.

1 Answers  


AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 Answers  


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


Explain about LMCLOSE�close a data set

1 Answers  






Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

2 Answers   IBM,


wht is sysudump n sysout,sysprint ?

1 Answers   L&T,


Explain the purpose of dd dummy statement?

0 Answers  


Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?

13 Answers   CGI, DSRC, IBM,


What is timing concept in mainframe?

0 Answers  


Can you execute a PROC from another PROC?

8 Answers   Keane India Ltd,


Categories