I I I I r
Macro
ABEND
ATTACH
BLDL BSP CHAP CHECK CHKPT CLOSE DCB
DCBD
DELETE
DEQ
DETACH DEVTYPE ENQ EXIT/RETURN EXTRACT FEOV FIND FREEDBUF FREEMAIN
FREEMAIN
FREE POOL GET
GETMAIN
GETMAIN GETPOOL IDENTIFY LINK LOAD NOTE OPEN OPENJ POINT POST PUT RDJFCB
READ RESTORE RETURN SAVE SNAP SPIE STAE STAX STIMER STOW SYNADAF SYNADRLS TCLEARQ TCLOSE TGET/TPUT TIME
TRKBAL
TTIMER WAIT WRITE WTO/WTOR XCTL XDAP SVC l!Q- 13
42
18
69
44
63 20 09 48 62
24
56 03 40 31
18
57 05 10 04 10 41 06 08 19
22 02 64 17
51 14 60 96 47 21 94 23
93
11
25
46 01 35 07 00 April 1, 1981
Function
Terminate processing
Effective LINK
Build a directory list for a PDS Back up a record on a tape or disk
Effective no-op Verify READ/WRITE macro completion
Effective no-op
Deactivate a data file
construct a data control block
Generate a DSECT for a data control block
Delete a loaded phase
Effective no-op
Effective no-op Obtain device-type cnaracteristics
Effective no-op
Return from called phase
Effective no-op Set forced EOV error code
Locate a member of a partitioned data set
Release a free storage buffer
Release user-acquired storage
Manipulate user free storage
Simulate as SVC 10 Read system-blocked data (QSAM) Conditionally acquire user storage
Manipulate user free storage
Simulate as S¥C 10 Add entry to loader table
Link control to another phase
Read a phase into storage
Manage data set positioning
Activate a data file
Activate a data file
Manage data set positioning Post the I/O completion write system-blocked data (QSAM) Obtain information from FILEDEF command
Access system-record data
Effective no-op
Return from a subroutine Save program registers
Dump specified areas of storage
Allow processing program to
handle program interrupts
Allow processing program to
decipher abend conditions
Create an attention exit block Set timer
Manipulate partitioned directories
Provide SYNAD analysis function
Release SYNADAF message and save areas
Clear terminal input queue
Temporarily deactivate a data file
Read or write a terminal line
Get the time of day
no-op
Access or cancel timer Wait for an I/O completion
write system-record data
Communicate with the terminal
Delete, then link control to another
load phase
Read or write direct access volumes Fiqure 14. OS !"'acros Simulated by 142 IBM eMS User's Guide
Page of GC20-1819-2 As Updated April 1, 1981 by TNL GN25-0826 Assembling Programs in eMS To assemble assembler language source programs into object module
format, you can use the ASSEMBLE command, and specify assembler options
on the command line; for example:
assemble myfile (print
assembles a source program named MYFILE ASSEMBLE and directs the output
listing to the printer. All of the ASSEMBLE command options are listed
in the !!L170 Commang and Reference. When you invoke the ASSEMBLE command specifying a file with the
filetype of ASSEMBLE, eMS searches all of your accessed disks, using the
standard search order, until it locates the specified file. When the
assembler creates its output listing and text deck, it creates files
with filetypes of LISTING and TEXT, gives these files the same filename
as the input ASSEMBLE file, and writes them onto disk according to the
following priorities:
1. If the source file is on a read/write disk, the TEXT and files are written onto that disk.
2. If the source file is on a read-only extension of a read/write
disk, the TEXT and LISTING files are written onto the parent disk.
3. If the source file is on any other read-only disk, the TEXT and
LISTING files are written onto the A-disk.
If none of the alternatives above is available, CMS will terminate the ASSEMBLE command.
The input and output files used by the assembler are assigned by
FILEDEF commands that CMS issues internally when the assembler is
invoked. If you issue a FILEDEF command using one of the assembler
ddnames before you issue the ASSEMBLE command, you can override the
default file definitions.
The ddname for the source input file (SYSIN) is ASSEMBLE. enter:
filedef assemble reader
assemble sample
If you
then the assembler reads your input file from your card reader, and
assigns the filename SAMPLE to the output TEXT and LISTING files. You could assemble a source file directly from an OS disk by
entering:
filedef assemble disk myfile assemble b4 dsn os source file
assemble myfile
In this example, the CMS file identifier MYFILE ASSEMBLE is assigned to
the data set OS. SOURCE. FILE and then assembled.
LISTING and TEXT are the ddnames assigned to the SYSPRINT and SYSLIN output of the assembler. You might assign file definitions to override
these defaults as follows:
filedef listing disk assemble listfile a
filedef text disk assemble text file a
assemble source
In this example, output from the assembly of the file, SOURCE ASSEMBLE, Section 8. Developing OS Programs Under eMS 143
Previous Page Next Page