Previous Topic: Example 1Next Topic: Example 3


Example 2

LIBGET EJCLB11,PASSWORD(MSJK),READONLY,CNTL,INCLUDE(RESEQ)
TSODSN(JCLMAST(EFILE))

The module specified in this example, EJCL011, is copied into a member of a partitioned data set named user-prefix.JCLMAST.CNTL. The member is named EFILE. You must use the TSODSN option since the member name does not match the module name. Since the READONLY option is specified, an entry is not made on the TLICD and you do not have to return this module to the master file through a subsequent LIBSAVE. The type option entry, CNTL, identifies this module as a JCL module. Any generated comments identifying included modules are formatted accordingly.