Before proceeding with any meaningful work - it is important for every systems programmer to have a complete map of the operating system landscape. There are many problems that can be avoided by having a complete audit of the environment.
On a configuration that's running on real hardware, there are directory mapping utilities which help paint that picture for the systems programmer. The robustness of these tools is insufficient for the emulated environment because the hardware environment is a composition of up to FOUR layers:
The configuration of HERCULES is contained in sixpack.conf
; the configuration of the
VM/370 Control Program is stored in 4 primary files:
SIXPACK DIRECT A1
← The DIRECTORYDMKSYS ASSEMBLE B1
← The SYSTEM ConfigurationDMKRIO ASSEMBLE B1
← The REAL I/O ConfigurationDMKSNT ASSEMBLE B1
← The SAVED NAME TABLE ConfigurationIt is an exercise for the user to refer to the associated documentation to get a full understanding of these files.
The 1.3 Version of the SixPack has preinstalled file transfer facilities through the CMS-side implementation of the IND$FILE
module and frequently, there is a need to transfer by other means. Moving data in and out of the VM Control Program using the virtual Reader, Punch and Print devices may be necessary. Refer to the brief article explaining use of the VM/370 CP System Unit-Record Devices.
ESC
ape on the 3270 emulator and issuing the following command at the wc3270 prompt: transfer host=vm “Direction=receive” “LocalFile=E:\Emulation\Vm370.6Pack.1.3.Orig\sixpack.direct.a.txt” “HostFile=SIXPACK DIRECT A1” host=vm exist=replace
Alt-2
(PA-2 Key) to clear the screen prior to invoking the transfer function.NOTE: The quotation marks are crucial for the correct operation of the transfer command
transfer host=vm “Direction=receive” “LocalFile=E:\Emulation\Vm370.6Pack.1.3.Orig\dmksys.assemble.b.txt” “HostFile=DMKSYS ASSEMBLE B1” host=vm exist=replace
transfer host=vm “Direction=receive” “LocalFile=E:\Emulation\Vm370.6Pack.1.3.Orig\dmksnt.assemble.b.txt” “HostFile=DMKSNT ASSEMBLE B1” host=vm exist=replace
transfer host=vm “Direction=receive” “LocalFile=E:\Emulation\Vm370.6Pack.1.3.Orig\dmkrio.assemble.b.txt” “HostFile=DMKRIO ASSEMBLE B1” host=vm exist=replace
Thetransfer
command invokes the moduleIND$FILE
on the mainframe session
To perform an automated audit of the system, it must be shutdown.
logoff
and press Enter
until you see the VM Logo screen (you may now close this session window)herc ====⇒
prompt, type /cp drain all
(press enter)herc ====⇒
prompt, type /cp shutdown
(press enter)herc ====⇒
prompt, type quit
(press enter)NOTE: the/
slash mark is important, it causes HERCULES to know that this command is intended to be transmitted to the operating system console.
Proceed to Running DIRMAP.