where
Establishing the Proper Linkage
directoryname
is the entry point of the auxiliary directory.
targetmode
is the mode of the disk containing the modules referenced in the auxil
iary directory. The letter is the mode of the disk containing the mod
ules at execution time, not the mode of the disk at the initialization of
the directory. At directory creation, all modules named in the directory
being generated must be on either the A-disk on a read-only extension
or on the disk specified in the sourcemode parameter. The default val
ue for targetmode is S, the system disk. It is your responsibility to
determine the usefulness of this operand at your installation and to
inform users of programs using auxiliary directories of the proper
methodes) of access.
sourcemode
is the mode of the disk that contains the modules or files when the
GENDIRT command is issued. If not specified, 'A' is the default.
The CMS module, DMSLAD, entry point DMSLADAD, must be called by a
user program or interface to initialize the directory search order. The subrou
tine, DMSLADAD, must be called via an SVC
the appropriate
directory must be accessed as the mode specified, or implied, by the GENDIRT
command before the call is issued. If the GENDIRT command has not been
used, the user receives the message:
LA
This call must be executed before the call to any module that is to be located
via an auxiliary directory.
The
DC
DC
V (directoryname)
Table (ADT) for the targetmode expressed or implied by the GENDIRT com
mand is found and its file directory address chain (ADTFDA) is modified to
include the nucleus copy of the auxiliary directory. A flag, ADTPSTM, in
ADTFLG2 is set to indicate that the directory chain has been modified.
The address of the nucleus copy of the auxiliary directory is saved in the third
word of the input parameter list and the high order byte of the third word is set
to
next call to DMSLADAD is a clear request.
Auxiliary Directories 459·