Pg. of GC20-1819-2 Rev March 30, 1979 by SD23-9024-1 for 5748-XX8 THE RSERV COMMAND In CMS/DOS, to manipulate relocatable modules that have been cataloged
either on the system or a private relocatable library you must first
copy them intoCMS files with the RSERV command. You can link-edit modules directly from DOS relocatable libraries, but if you want to add
or modify linkage editor control statements for a module, you must place
the control statements in aCMS file.
If you are copying a relocatable module from the system relocatable
library, then you should make sure that you have indicated the system
residence disk when you entered theCMS/DOS environment:
set dos on f
then you can issue theRSERV command specifying the name of the
relocatablemodule you want to copy:
rserv rtna
The execution of this command results in the creation of aCMS file named RTNA TEXT on your A-disk.
If you want to copy a relocatablemodule from
library, you must first use theASSGN and DLEL
private library known toCMS/DOS: assgn sysrlb d
dlbl ijsysrl d dsn reloc lib (sysrlb
a private relocatable
commands tomake the
Then, issue theRSERV command for a specific module in that library:
rserv testrtna
to create theCMS file TESTRTNA TEXT from the module named TESTRTNA. If
the moduleTESTRTNA is not found in RELOC.LIE, CMS searches the system
library, if it is available.
THEPSERV COMMAND If you want to copy DOS cataloged procedures into CMS files to use, for
example, in preparing job streams for aDOS/VS virtual machine, you can
use thePSERV command:
pserv prep job
This command creates aCMS file on your A-disk; the file is named PREPJOB PROC. To copy a procedure from the procedure library you must
have entered theCMS/DOS environment specifying a disk mode for the
system residence volume.You cannot execute DOS/VS procedures directly from the eMS/DOS However, if you modify a procedure, you can punch it to a
virtual machine that is running aDOS/VSE system, and execute it there.
162IBM VM/370 CMS Userts Guide
either on the system or a private relocatable library you must first
copy them into
or modify linkage editor control statements for a module, you must place
the control statements in a
If you are copying a relocatable module from the system relocatable
library, then you should make sure that you have indicated the system
residence disk when you entered the
set dos on f
then you can issue the
relocatable
rserv rtna
The execution of this command results in the creation of a
If you want to copy a relocatable
library, you must first use the
private library known to
dlbl ijsysrl d dsn reloc lib (sysrlb
a private relocatable
commands to
Then, issue the
rserv testrtna
to create the
the module
library, if it is available.
THE
example, in preparing job streams for a
use the
pserv prep job
This command creates a
have entered the
system residence volume.
virtual machine that is running a
162