The Mainframe Pages: Reference Data – Image Termination Skeleton

about the background image...
Not intended to be a comprehensive set of termination commands, this is the skeleton I use and subsequently modify depending on the installations product mix.

Create a fixed window

K D,F

Stop automation

P AO

Stop submission of production jobs

P ESP (or other scheduler)

Stop all initiators

$PI(1-999)

Stop all lines

$PLNEn

Display active TSO users

$DA,T

Cancel TSO users

C U=xxxxxxx

Stop TSO address space

P TSO

Stop Resource Measurement Facility

P RMF

Stop Hierarchical Storage Manager

P DFHSM

Stop Candle sink address space

P KCNDLT

Stop TCPIP

P TCPIP

Stop CA ENF

P CAENF.ENF (Requires R nn,Y)

Stop Omegamon images

P OMEGAMNx

Stop Candle

P KCNDL

Drain VTAM

Z NET,QUICK

Stop Print Services Facility

$PPRTn

Stop SYSLOG

C SYSLOG

Terminate HFS

F BPXOINIT,SHUTDOWN=FORKINIT

Stop First Failure Support Technology

P FFST - - EPW0309I ENTER YES TO CONTINUE TERMINATION, NO TO KEEP FFST ACTIVE

Stop LLA

P LLA

Drain Data Lookaside Facility

F DLF,MODE=DRAIN

Stop Data Lookaside Facility

P DLF

Stop Virtual Lookaside Facility

P VLF

Stop JES2

$PJES2

If the message $HASP607 with RC=03 results, issue the command

$DPCE,ACTIVE>0. The response will appear as:

$HASP653 PCE(EXEC) COUNT=(1,1,0),ACTIVE=78,TRACE=NO

$HASP653 PCE(PRT) COUNT=(7,7,0),ACTIVE=1,TRACE=NO

$HASP653 PCE(MLLM) COUNT=(1,1,0),ACTIVE=62,TRACE=NO

$HASP653 PCE(SOM) COUNT=(1,1,0),ACTIVE=1,TRACE=NO

To determine what processes prevent stopping, enter $PCE for full information.

For elaboration on a specific (or all) PCE codes, enter $DPCE,’pce’,DETAILS

Stop ACF2

P ACF2

Stop VTAM

Z EOD

Stop Global Resource Serialization

V GRS(xxxx),QUIESCE (Issue from xxxx console)

V GRS(xxxx),PURGE (Issue from xxxx console)

Disconnect from Cross Coupling Fac

V XCF,yyyy,OFFLINE

R SYSNAME=yyyy