PRINT
If you code:
print one maclib (member examplel member *
only is printed.
None. The CMS ready message indicates the command completed without
error (that is, the file is written to the spooled printer). The file
is now under the control of CP spooling functions. If a CP SPOOL command option such as HOLD or COpy is in effect, you may receive a
message from CP. DMSPRT002E FILE 'fn ft fm' NOT FOUND RC=28 DMSPRT003E INVALID OPTION 'option' RC=24 DMSPRT008E DEVICE 'cuu' {INVALID OR NONEXISTENT1UNSUPPORTED DEVICE TYPE} RC=36 DMSPRT013E MEMBER 'name' NOT FOUND IN LIBRARY RC=32 DMSPRT029E INVALID PARAMETER 'parameter' IN THE OPTION 'option' FIELD
RC=24 DMSPRT033E FILE 'fn ft fm' IS NOT A LIBRARY RC=32 DMSPRT039E NO ENTRIES IN LIBRARY ;fn ft fm; RC=32 RECORD LENGTH EXCEEDS ALLOWABLE MAXIMUM RC=32 DMSPRT048E INVALID MODE 'mode' RC=24 DMSPRT054E INCOMPLETE FILEID SPECIFIED RC=24 DMSPRT062E INVALID * IN FILEID RC=20 DMSPRT010E INVALID PARAMETER 'parameter' RC=24 DMSPRT104S ERROR Inn' READING FILE Ifn ft fm' FROM DISK RC=100 DMSPRT123S ERROR PRINTING FILE 'fn ft fm' RC= 100 Section 2. CMS Commands 141
PSERV PSERV Use the PSERV command in CMS/DOS to copy, display, print, or punch a
procedure from the DOS/VS procedure library. The format of the PSERV command is: r 1 , r , IPSERV I procedure I ft I [( options. •• [) ]] I I , I L.J I [ [ PRINT] I I [ PUNCH] [ TERM] I , I I L-- J
procedure specifies the name of the procedure in the DOS procedure
library that you want to copy, print, punch, or display.
ft specifies the filetype of the file to be created on your
A-disk. ft defaults to PROC if a filetype is not specified;
the filename is always the same as the procedure name. You may enter as many options as you wish, depending on the
functions you want to perform. PRINT PUNCH TERM copies the procedure to a CMS file.
specified, DISK is the default.
If options are
spools a copy of the procedure to the virtual printer.
spools a copy of the procedure to the virtual punch.
displays the procedure on your terminal.
1. You cannot execute DOS/VS procedures in CMS/DOS. You can use the PSERV command to copy an existing DOS/VS procedure onto a CMS disk,
use the CMS Editor to change or add DOS/VS job control statements
to it, and then spool it to the reader of a DOS/VS virtual machine
for execution.
2. The PSERV command ignores current assignments of logical units, and
directs output according to the option list. When you issue the TERM option, the procedure is displayed at your
terminal. 142 IBM VM/370 CMS Command and Macro Reference
Previous Page Next Page