IBM OS/390 Time Clock User Manual


 
28.3.3 Stopping the System
There are several ways to stop or halt the system, and important subsystems.
Here is a simple example of commands to stop the system:
$Pxxx Drain all active JES2 printers, initiators and so on
P TSO Stop Time-sharing
Z NET,QUICK Stop VTAM
C APPC Stop APPC (if active)
D A,L Display active jobs to see what else needs to be stopped
P RMF Stop RMF (and any other active subsystems)
$PJES2 Stop JES2 (see options below)
Z EOD Flush all SMF buffers, LOGREC, Caches and so on to external
DASD
Now you can safely power the processor off or re-IPL.
Stopping JES2
There are various flavors of the $PJES2 (stop JES2) command:
$P JES2 Stop JES2 after all available functions are complete.This
usually takes forever to drain all the devices, processes, jobs
and started tasks, that were started under JES.
$P JES2,TERM This is quick and the recommended way to stop JES2 if you
know you are going to re-IPL.
$P JES2,ABEND Stop JES2 immediately so you can hot-startit without an
intervening IPL.
28.4 Controlling Devices
Some devices such as the system volumes or work packs are permanently
resident, always mounted, and shared amongst users. Devices such as tape
drives are allocated to one job at a time as they are needed. Others, like
printers are managed by JES2 so they can be used by all jobs.
28.4.1 Displaying the Status of Devices
Use the D Ucommand to see the status of various devices by device address
or device type. For example, enter D U,DASD,ONLINEto display online DASD
units and their volume serial numbers.
Use the D Mcommand to see the paths to devices.
28.4.2 Understanding Device Allocation
Batch jobs and other users allocate devices for their work, and operators may be
prompted to mount or otherwise respond to these requests.
See section 1.8 Interacting with System Functionsin
MVS Commands
for a
description of Device allocation, Hot I/O detection, and Device boxing″. Section
1.9 describes the SWAP command to respond to Failing Devices.
448 VSE to OS/390 Migration Workbook