RSERV
Authorization
General User
Purpose
Use the RSERV command in CMS/DOS to copy, display, print, or punch a VSE relocatable module from a private or system library.
Operands
- modname
- specifies the name of the module on the VSE private or system relocatable library. The private library, if any, is searched before the system library.
- ft
- specifies the file type of the file to be created on your disk or directory accessed as A. If a file type is not specified, ft defaults to TEXT. The file name is always the same as the module name.
Options
You may specify as many options as you choose on the RSERV command, depending on which functions you want to perform. If you specify more than one option, CMS uses the last option specified.
- DISK
- copies the relocatable module onto your disk or directory accessed as A. If no other options are specified, DISK is the default.
- prints the relocatable module on the virtual printer.
- PUNCH
- punches the relocatable module on the virtual punch.
- TERM
- displays the relocatable module at your terminal.
- TYPe
- displays the relocatable module at your terminal. (This option has the same function as the TERM option.)
Usage Notes
- If you want to copy modules from a private relocatable library, you must issue an ASSGN command
for the logical unit SYSRLB and identify the library on a DLBL command line using the ddname
IJSYSRL.
To copy modules from the system relocatable library, you must have entered the CMS/DOS environment specifying a mode letter on the SET DOS ON command line.
- The RSERV command ignores the assignment of logical units, and directs output to the devices specified on the option list.
Responses
If you use the TERM option, the relocatable module is displayed at the terminal.
Messages and Return Codes
- DMS003E Invalid option: option [RC=24]
- DMS004E Module module not found [RC=28]
- DMS006E No read/write A filemode accessed [RC=36]
- DMS070E Invalid parameter parameter [RC=24]
- DMS089E Open error code nn on SYSRLB [RC=36]
- DMS097E No SYSRES volume active [RC=36]
- DMS098E No module name specified [RC=24]
- DMS099E CMS/DOS environment not active [RC=40]
- DMS105S Error nn writing file fn ft fm on disk or directory [RC=100]
- DMS113S Disk(vdev) not attached [RC=100]
- DMS411S Input error code nn on SYSaaa [RC=rc]