A procedure is a set of standard JOB step definitions that can be used repeatedly to perform a function.
Procedures are collection of executable Instruction.
Procedures are Invoded by EXEC Statements.
There are two types of Procedures, They are
1) Cataloged Procedure
Cataloged Procedure is a set of Job Control Statements that are grouped together, given a name, then recorded as a member of a partitioned data set.
2) Instream Procedure
Completely contained within a JCL JOB. String of JCL statements appearing between a PROC and PEND statement within a JOB. Available to only one JOB.
Upto 15 procedures can be defined within a JOB, can be invoked any number of times.
0 comments:
Post a Comment