DSERV DSERV Use the DSERV command in CMS/DOS to obtain information that is contained
in DOS/VS private or system libraries. The format of the DSERV command
is: r- I I r I r , , Innl I , DSERV \ CD !PHASE {name 1111 I I [d2 ••• dn] [ (options ••• [) ]] I I CD
RD SD PD TD
ALL
(
L L .J .J
RD SD ) r 1 PD , TD ITERM I ALL IPRINTI L J [SORT] specifies that information concerning one or more types of
directories is to be displayed or printed. The directory
types that can be specified are: CD (core imaqe library),
RD (relocatable library), SD (source statement library), PD (procedure library), TD (transient directory), and
ALL (all directories).
There is no default value. The private libraries take
precedence over system libraries. PHASE name
nn
specifies the name of the phase to be listed. If the
phasename ends with an asterisk, all phases that start with
the letters preceding the asterisk are listed. This operand
is valid only for CD.
is the displacement within the phase where the version and
level are to be found (the defaul t is 12) .. [ d 2 ••. dn ] indicates additional libraries whose directories are to be
listed. (See Usage Note 1.) writes the output on your CMS A-disk to a file named DSERV MAP A5. This is the default value if TERK or PRINT is not
specified. TERM displays the output at your terminal. PRINT spools the output to the system printer. SORT sorts the entries for each library alphamerically; otherwise,
the order is the order in which the entries were cataloged. Section 2. CMS Commands 77
DSERV 1. You may specify more than one directory on DSERV command line; for
example:
dserv rd sd cd phase $$bopen (term
displays the directories of the relocatable and source statement
libraries, as well as the entry for the phase $$BOPEN from the core
image directory. You can specify only one phasename or phasename* at a time,
however. If you specify more than one PHASE operand, only the last
one entered is listed. For example, if you enter:
dserv cd phase cor* phase idc*
the file DSERV MAP contains a list of all phases that begin with
the characters IDC. The first phasename specification is ignored.
2. If you want to obtain information from the directories of private
source statement library directories, relocatable library
directories, or core image library directories, the libraries must
be assigned and identified (via ASSGN and DLBL commands) when the' DSERV command is issued. Otherwise, the system library directories
are used. System directories are made available when you specify a
mode letter on the SET DOS ON command line.
3. The current assignments for logical units are ignored by the DSERV command; output is directed only to the output device indicated by
the option list. When you use the option of the DSERV command, the contents of the
specified directory are displayed at your terminal. DMSDSV003E INVALID OPTION 'option' RC=24 DMSDSV021W NO TRANSIENT DIRECTORY RC=4 DMSDSV022W NO CORE IMAGE DIRECTORY RC=4 DMSDSV023W NO RELOCATABLE DIRECTORY RC=4 DMSDSV024W NO PROCEDURE DIRECTORY RC=4 DMSDSV025W NO SOURCE STATEMENT DIRECTORY RC=4 DMSDSV026W 'phase' NOT IN LIBRARY RC=4 DMSDSV027E INVALID DEVICE 'nn' RC=24 DMSDSV027W NO PRIVATE CORE IMAGE LIBRARY RC=4 DMSDSV028W NO {PRIVATE1SYSTEM} TRANSIENT DIRECTORY ENTRIES RC=4 DMSDSV047E NO FUNCTION SPECIFIED RC=24 DMSDSV06SE 'option' OPTION SPECIFIED TWICE RC=24 DMSDSV066E 'option' AND 'option' ARE CONFLICTING OPTIONS RC=24 DMSDSV070E INVALID PARAMETER 'parameter' RC=24 DMSDSVOqSE INVALID ADDRESS 'address' RC=24 DMSDSV099E CMS/DOS ENVIRONMENT NOT ACTIVE RC=40 DMSDSV105S ERROR 'nn' WRITING FILE 'DSERV MAP AS' ON DISK RC=24 DMSDSV24SS ERROR 'nnn' ON PRINTER RC=100 78 IBM VM/370 eMS Command ann Macro Reference
Previous Page Next Page