Alternating Between eMS and OS/VS Under VM/370 When working in a program development environment (rather than a
producticn environment) and unable to test programs directlyunder CMS, a user can alternate between OS/VS and CMS in a single virtual
machine.Seme advantages of this technique (described in this topic)
are:• Reduced unit record output. Users can examine program output and
compiler listings online, check the results, and resubait the job
without producing any output on the system unit record devices.• Faster turnaround time (generally) than in a batch environment.
Before using this technique, users should be familiar with theeMS editor and CMS file manipulation commands found in the !M/3IQ LOADING CMS INTO A VIRTUAL MACHINE To load CMS into a virtual machine, use the CP IPL command and specify either a saved system name or a device address:
iplells -- or --
ipl190 When CMS responds with a message like this: CMS VERSION 3.0 Enter the CMS commands to create an OS/VS job stream. USING THE CMS EDITOR TO PREPARE JOB STREAMS The fcllowing CMS procedure creates an OS/VS job streaa that can be passed to the OS/VS virtual machine's reader. It shows how to compile a
PL/Iprogram under OS/VS, making the PL/I source file available as a CMS file called PLI27 DECK.
edit pli127 jcl
input
//pli 127 job cps,fred,lIsglevel=1
//cat exec plifc
Iisysin dd *
(null line)
getfile pli127 deck
input
/*
//
(null line)
file
open aCMS file by name
go into inputmode enter jcl entries I , return to edit .ode
copy over PL/I source file
go into inputmode enter jcl entries , to edit mode write the file to disk Section 4. OS/VS in a Virtual Machine 133
producticn environment) and unable to test programs directly
machine.
are:
compiler listings online, check the results, and resubait the job
without producing any output on the system unit record devices.
Before using this technique, users should be familiar with the
ipl
ipl
PL/I
edit pli127 jcl
input
//pli 127 job cps,fred,lIsglevel=1
//cat exec plifc
Iisysin dd *
(null line)
getfile pli127 deck
input
/*
//
(null line)
file
open a
go into input
copy over PL/I source file
go into input