DOSLIB 3. In order to fetch a program phase from a DOSLIB for execution, you
must issue the GLOBAL command to identify the DOSLIB. When a FETCH
command or dynamic fetch from a program is issued, all current DOSLIBs are searched for the specified phases.
4. If DOSLIBs are very large, or there are many of them to search,
program execution is slowed down accordingly. To avoid excessive
execution time, you should keep your DOStIBs small and issue a GLOBAL command only those libraries that you need. When you use the TERM option on the DOSLIB aAP command line, the
following is displayed: PHASE namel BLOCKS loc size DMSDSL002E FILE 'fn DOSlIB' NOT FOUND RC=28 DMSDSL003E INVALID OPTION 'option' RC=24 DMSDSL013W PHASE 'phase' NOT FOUND IN LIBRARY 'fn DOSLIB fm' RC=4 DMSDSL014E INVALID FUNCTION 'function' RC=24 DMSDSL037E DISK 'mode' IS READ/ONLY RC=36 DMSDSL046E NO LIBRARY NAME SPECIFIED RC=24 DMSDSL047E NO FUNCTION SPECIFIED RC=24 DMSDSL069E DISK 'mode' NOT ACCESSED RC=36 DMSDSL070E INVALID PARAMETER 'parameter' RC=24 DMSDSLOqRE NO PHASE NAME SPECIFIED RC=24 DMSDSL104S ERROR Inn' BEADING FILE 'fn DOSLIB fm' FROM DISK RC=100 DMSDSL105S ERROR Inn' WBITING FILE 'fn DOSLIB fm' ON DISK RC=100 DMSDSL213W LIBRARY 'fn DOSLIB fm' NOT CREATED RC=4 Section 2. CMS Commands 73
DOSLKED DOSLKED Use the DOSLKED command in CMS/DOS to link-edit
disks or object modules from DOS/VS private or
libraries and place them in executable form in a (DOSLIB). The format of the DOSLKED command is: TEXT files from eMS system relocatable phase library
r -----, , r , , , DOSLKED , fn ,libna me, ((options ••• [) ]] Ifn , , , , I I , I I , I L- fn
L J
r , I , PRINT, , L J I , , , , , , , specifies the name of the source file or module to be
link-edited. CMS searches for:
1. A CMS file with a filetype of DOSLNK 2. A module in a private relocatable library (if IJSYSRL has
been defined)
3. A CMS file with a filetype of TEXT 4. A module in the system relocatable library (if a mode was specified on the SET DOS ON command line)
libname designates the name of the DOSLIB where the link-edited phase
is to be written. The filetype is DOSLIB. If libname is not
specified, the default is fn. The output filemode of the DOStIB is determined as follows: If libname DOSLIB exists on a read/write disk r that
filemode is used and the output is appended to it. If fn DOSLNK exists on a read/write disk, libname DOSLIB is
written to that disk. If fn DOSLNK exists on a read-only extension of a
read/write disk, libname DOStIB is written to the parent
disk. If none of the above apply, libname is written to
your A-disk. QQtiQn§: Only one of the following options should be specified. If
more than one is specified
r only the first entry is used. writes the DOS/VS linkage editor map produced by the DOSLKED command on your A-disk into a file with the filename of fn and
a filetype of MAP. This is the default option. spools the linkage editor map to the virtual printer.
74 Command and Macro Reference
Previous Page Next Page