Defining a new hierarchical file system element entry with UCL
is very seldom required; generally, hierarchical file system element
entries are created from the information specified on the hierarchical
file system element MCSs contained in the SYSMODs when the SYSMODs
are installed. If, however, you want to use UCL in defining a new
hierarchical file system element entry, the following is an example
of the minimum information you should provide:
SET BDY(TGT1) /* Set to target zone. */.
UCLIN /* */.
ADD HFS(HFS01) /* Define new entry. */
DISTLIB(AHFSLIB) /* Define DLIB, */
SYSLIB(HFSLIB) /* target library. */
FMID(ZUSR001) /* Functional owner (in this
example a user function). */
RMID(ZUSR001) /* Same value as FMID. */
/* */.
ENDUCL /* */.
SET BDY(DLB1) /* Now do same to DLIB. */.
UCLIN /* */.
ADD HFS(HFS01) /* Define new HFS entry. */
DISTLIB(AHFSLIB) /* Define DLIB, */
SYSLIB(HFSLIB) /* target library. */
FMID(ZUSR001) /* Functional owner (in this
example a user function). */
RMID(ZUSR001) /* Same value as FMID. */
/* */.
ENDUCL /* */.
Note: If the RMID value had not been specified, it would
have defaulted to the FMID value.