3. Establish a private source statement library:
access 351 d
assgn sysslb d
dlbl ijsyssl d dsn ? (sysslb
test source. lib
4. Issue theSSERV command for a macro in the M sublibrary of TEST SOURCE.LIB: sserv II releas
5. create anESERV file to copy from the E sublibrary:
edit contrl eservNEW FILE
EDIT:
input punch contrl
file
6. Execute theESERV command:
assgn sysin a
eserv contrl
7. create aCMS macro library named MYDOSMAC from the files just
created, which are namedOPEN COPY, RELEAS COpy, and CONTRL MACRO: 8.
maclib gen mydosmac open releas contrl
To use these macros in an
indicate that thisMACLIB is
file:
global maclibIlydosaac assembler language program, you Blust accessible before assembling a source
THEMACLIB COMMAND The MACLIB command performs a variety of functions. You use it to: • Create the MACLIB (GEN function) • Add, delete, or replace members (ADD, DEL, and REP functions) • Compress the MACLIB (COMP function) • List the contents of the MAC LIB (MAP function)
Descriptions of theseMACLIB command functions follow. The GEN (generate) function creates a CMS macro library
from input files specified on the command line. The input filesmust have filetypes of either MACRO or COPY. For example:
maclib gen mymac get pdump put regequ
creates a macro librarywith the file identifier MYMAC MACLIB A1 from
macros existing in the files with the file identifiers:
GETf MACRO},PDUMP {MACRO},PUT {MACRO},and REGEQU {MACRO} ), COpy COpy COpy COpy If a file named MYMAC MACLIB A1 already exists, it is erased.
166IBM IM/370 CMS User's Guide
access 351 d
assgn sysslb d
dlbl ijsyssl d dsn ? (sysslb
test source. lib
4. Issue the
5. create an
edit contrl eserv
EDIT:
input punch contrl
file
6. Execute the
assgn sysin a
eserv contrl
7. create a
created, which are named
maclib gen mydosmac open releas contrl
To use these macros in an
indicate that this
file:
global maclib
THE
Descriptions of these
from input files specified on the command line. The input files
maclib gen mymac get pdump put regequ
creates a macro library
macros existing in the files with the file identifiers:
GET
166