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
DMSPRV003E INVALID OPTION 'option' RC=24 DMSPRV004E PROCEDURE 'procedure' NOT FOUND RC=28 DMSPRV006E NO READ/WRITE 'A' DISK ACCESSED RC=36 DMSPRV037E DISK 'A' IS READ/ONLY RC=36 DMSPRV070E INVALID PARAMETER 'parameter' RC=24 DMSPRV097E NO 'SYSRES' VOLUME ACTIVE RC=36 DMSPRV09AE NO PROCEDURE NAME SPECIFIED RC=24 DMSPRV099E CMS/DOS ENVIRONMENT NOT ACTIVE RC=40 DMSPRV105S ERROR 'nnw WRITING FILE 'fn ft fm' TO DISK RC=100 DMSPRV113S DISK (cuu) NOT ATTACHED RC=100 DMSPRV411S INPUT ERROR CODE 'nn' ON 'SYSRES' RC=100 PSERV Section 2. CMS Commands 143
Previous Page Next Page