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
Explain how can an in-stream dataset be terminated?
What are the 2 types of parameters in dd statement?
Explain the function of //jcllib statement?
How does jcl act on code(if you take a cobol program)?
What is the purpose of the dd keylen parameter?
Which dd parameters are required?
What is the difference between the positional and keyword parameters? Give examples.
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Name a few IBM utility programs, and explain its function.
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what is use of disp parameter in dd statement?
How do you overcome this limitation ?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.