At this Foint, use the CMS editor to check the program listings for
errcrs. There is no need to print out a hard copy. Spool the printer
output to the virtual reader, return to the CMS environment, create a CMS file from the reader data, and use the EDIT function to scan the listing. Before loading DOS/VS, include this CP co.mand in the previous
sequence of ccmmands:
cp spool printer to *
This command directs printer output to the virtual reader.
is already spooled to the reader.)
(The punch When precessing more than one job, keep the output of each job
separate by closing the printer and/or punch at the end of each job. When the EOJ ASMBLSU1 message appears and the virtual machine stops on
an ATTN OOC, close both the punch and printer files and also assign them spool filenames and filetypes by issuing the commands: tcp close punch name asmblsul deck tcp clese printer name asmblsul list
After issuing these commands, enter a null line to start the next
jeb. While spool files are automatically closed when issuing an IEL command, the CLOSE command can be used on the last job to name the
files.
To return to the CMS environment, enter: tcp ipl ems Use the CMS READCARD command to generate CMS files from the reader
files. Each READCARD command converts the first file in the reader to a CMS file with the filename and filetype specified in the READCABD command. That file is then deleted from the reader queue. To
determine which file is first in the reader, query the reader with:
cp query reader all
The respcnse itemizes all the files in the reader in sequence and
includes such information as file identification number, printer or
punch file, and filename.
If the response to the QUERY command was: 1502 1503 1541
1542 PUN PRT PUN PRT and the user then issued:
readcard supvsr1 text ASMBLSU1 ASMBLSU1 ASMBLSU2 ASMBLSU2 DECK LIST DECK LIST eMS reads file number 1502 and creates a CMS file with a filename of SUPVSRl and a filetype of TEXT. However, tc check the listing for errors, issue:
cp order reader 1503 Section 3. DOS/VS in a Virtual Machine 19
This command reorders the reader queue to bring the listing file first.
Then issue:
readcard supvsr listing
edit supvsr listing create a eMS file centaining the assembly listing and to access it
fer the EDIT By using EDIT subcommands, a user can now scan
the listing for errors. If there are no errors, create a ces file, SUPVSR TEXT, from file 1502, which is now the first file in the reader
queue. If there are errors, issue:
erase supvsr listing
te discard the assembly listing, and
cp purge reader 1502 te remove the correspondi ng a ssembl y te xt deck. NOW, use the CftS editor to correct the supervisor macro instructions
and pass the job stream over to DOS/VS for another assembly. When a supervisor text deck is ready for cataloging, insert it into
a LINKEDIT DJCL job stream that was created from the ces file, ZLIE BOOKS (previously punched out). To insert the supervisor text deck,
issue the following commands: (from the CMS environment)
edit linkedit djcl (access the job stream)
next (position current line pointer)
delete 2 (remove CATALs and BKEND entries)
locate /include (position current line pointer)
getfile supvsr1 text (insert supervisor text deck)
file (replace updated job stream)
The updated LINKEDIT job stream can now be passed to DOS/VS for
execution. Either execute this phase interactively as on a real machine
or again use the CMS editor to tailor the LINKEDIT job stream; that is, remove any unnecessary jobs and remove the PAUSE statements from the
jobs that are to be run. As an option, the user can link-edit the IBe-supplied library and
service routines by using the portion of the LINKEDIT file that follows
the new supervisor deck.
ADDING I/O MODULES TO DOS/VS (DOS/VS RELEASE 34 AND EARLIER ONLY) The CMS editor can help assemble and catalog any additional Ioes mcdules. In the CMS environment, create a job stream file containing
all the IOCS macros to be assembled and ensure that each macro statement
includes the SEPASMB=YES entry. The following series of commands can he
entered:
cp spocl punch to *
cp purge reader all
punch iocsmods djcl
cp spool punch hold
cp spool printer to *
cp ipl 250 clear 80 IBM VM/370 operating Systems in a Virtual Machine
Previous Page Next Page