the assembler assembles source statements from an eAisting CMS file
namedMYFILE ASSEMBLE and produces an output file containing object
code, as well as a listing. The files that are created are named:MYFILE TEXT MYFILE LISTING • Commands that load CMS files onto a disk from cards or tapes. These
commands are READCARD,TAPE LOAD, and DISK LOAD. • The LISTFILE and LISTIO commands with the EXEC option create files
namedCMS EXEC and $LISTIO EXEC which you can execute as EXEC procedures. • The TAPPDS and TAPE MAC commands create CMS disk files from OS data
sets on tape. If the data set is a partitioned data set, theTAPPDS command creates individual CMS files from each of the members; the TAPEMAC command creates a CMS macro library, called a MACLIB, from an
as macro library.• The MOVEFILE and FILEDEF commands, used together, can copy OS or DOS data sets or files into CMS files; they can also copy files from
cards or tapes.• CMS/DOS commands SSERV, ESERV, RSERV, and PSERV copy DOS files from
source statement, relocatable, and procedure libraries intoCMS files. • Some CMS commands produce maps, or lists of files, data sets, or
program entry points. For example, if you issue the command:
tape scan (disk
aCMS disk file named TAPE MAP is created that contains a list of the CMS files that exist on a tape atta.ched to your virtual machine at
virtual address 181.Some commands create new files from files that already exist on your
virtual disks. The creation may involve a simple copy operation, or it
may be a combining of many files of one type into a larger file of the
same or a different type:• The COPY FILE command, in its simplest form, copies a file from one
virtual disk to another:
copyfile yourprog assemble b myprog assemble a• The MACLIB and TXTLIB commands create libraries from MACRO or COpy files, or from TEXT (object) files. • The SORT command rearranges (in alphameric sequence) the records in a
file and creates a new file to contain the result.You have to
specify the name of the new file:
sort nonseq recs a seq recs a• The GENMOD command creates nonrelocatable modules from object modules
that you have loaded into your virtual storage area. For example,
the commands:
load test
genmod payroll
create a file namedPAYROLL MODULE, which you can then execute as a
user-writtenCMS command.
32 IBMVM/370 CMS User's Guide
named
code, as well as a listing. The files that are created are named:
commands are READCARD,
named
sets on tape. If the data set is a partitioned data set, the
as macro library.
cards or tapes.
source statement, relocatable, and procedure libraries into
program entry points. For example, if you issue the command:
tape scan (disk
a
virtual address 181.
virtual disks. The creation may involve a simple copy operation, or it
may be a combining of many files of one type into a larger file of the
same or a different type:
virtual disk to another:
copyfile yourprog assemble b myprog assemble a
file and creates a new file to contain the result.
specify the name of the new file:
sort nonseq recs a seq recs a
that you have loaded into your virtual storage area. For example,
the commands:
load test
genmod payroll
create a file named
user-written
32 IBM