RELOADING CMS INTO A VIRTUAL MACHINE When a job or jobs are finished in the DOS/VS virtual may return to the CMS environment by entering CP mode
command:
ipl cms
machine, a user
and issuing this
This IPL command closes the virtual printer. sFooled to the card reader or if the printer is aessage from VM/370 appears, such as:
If the printer is
in a hold status, a PRT FILE 4786 TO BILBO COpy 01 NOHOLD --or-- PRT FILE 4786 FOR BILBO COpy 01 HOLD This Frinter file contains the SYSLST output from the job that executed
in DOS/VS. If the file is spooled to the printer, it is queued for printing on
the system Frinter. If the printer is spooled to the card reader, it is
a reader file that is available to the user in the card reader. EXAMINING DOS/VS VIRTUAL MACHINE OUTPUT To examine a jeb's output executed under the DOS/VS virtual machine, sFool the Frinter to the card reader and read the reader file onto the CMS A-disk by using the READCARD command:
readcard dostest output
This command creates a file named DOSTEST OUTPUT, which contains the sFooled Frinter output. NoW, using the CMS editor, either examine the
centents of the file or use the TYPE command to display the whole file
at the terminal. Use the EDIT command to pass control to the CMS editor:
edit dostest output
Te examine assembly er compilation output, use a LOCATE subcommand to
lecate a keyword in the listing file. For example: To locate the beginning of the diagnostic messages produced by the assembler, enter
the locate /diagnostics
If no errors are in the assembly, modify the job control statements
in the file and resubmit the job. Otherwise, correct the source
statements and then start over. Starting over means that a user must
repeat the procedure for clearing files from the card punch and card
reader, punching the IPL decks and the job stream, and reinitializing DOS/VS. 98 IBM VM/370 Systems in a Virtual Machine
USING EXEC PROCEDURES When alternating extensively between CMS and DOS/VS in a virtual Flace in an EXEC procedure the commands necessary to spool unit
record devices, punch the IPL deck, and punch a job stream. Then, when
sending a jcb to the card reader and initializing DOS/VS, a user only
has to enter the EXEC name and, in some cases, a few additional control
commands.
For examFle: The co.mand sequence (previously mentioned) could be
ccntained in an EXEC procedure, such as: CP SPOOL PUNCH KOCOHT CP CLOSE PUNCH PURGE CP CLOSE C CP PURGE READER ALL PUNCH SUPER JCL (NOH PUNCH START JCL (NOH PUNCH DOSTEST JCL (NOH CP IPL 250 If this EXEC procedure is named DOSJOB, then to execute this procedure,
all a user has to enter is:
dosjob Once the IPL command in the EXEC is performed, the virtual machine is no
lenger under the control of CMS. To begin DOS/VS operation, enter
attention interruptions and CP co.mands, as necessary.
A user can make an EXEC procedure more generalized. For example: To
make this EXEC capable of sending any job to the card reader, use the EXEC symbol &1 in place of the DOSTEST filename, such as: CP SPOOL PUNCH NOCONT CP CLOSE PUNCH PURGE CP CLOSE C CP PURGE READER ALL PUNCH SUPER JCL (NOH PUNCH START JeL (NOB PUNCH &1 JCL (NOH CP IPL 250 With this EXEC, a user can send any job to the card reader that has a CMS filetype of JCL. For example: If a user enters:
dosjob prog3
The EXEC variable symbol &1 is replaced with the argument PROG3 and the
file PROG3 JCL is punched to the card reader for execution under DOS/VS. Section 3. DOS/VS in a Virtual 8achine 99
Previous Page Next Page