AOFRSD0G

Purpose

You can use the AOFRSD0G automation routine to drain JES2 resources prior to JES2 shutdown. AOFRSD0G issues commands to drain the initiators, offloader tasks, lines, printers, punches and readers, depending on which resources are listed and enabled in the automation policy item JES2 DRAIN of application JES2.

AOFRSD0G is used by the DRAINJES command.

Syntax

Read syntax diagramSkip visual syntax diagram AOFRSD0G subsystem

Parameters

subsystem
The subsystem name of JES2.

Restrictions

Processing in AOFRSD0G is only done if the subsystem is of type JES2.

Usage

For all resources enabled to initial drain in automation policy item JES2 DRAIN of application JES2 the JES2 command P is issued.

Example

Call AOFRSD0G JES2 to stop all resources enabled in JES2 DRAIN for init drain.

These resources can be listed with command DISPACF JES2 INITDRAIN.

Figure 1. DISPACF JES2 INITDRAIN Panel
 Command = ACF ENTRY=JES2,TYPE=INITDRAIN,REQ=DISP                               
 SYSTEM = AOC1      AUTOMATION CONFIGURATION DISPLAY - ENTRY= JES2              
 -------------------------------------------------------------------------------
 AUTOMATION CONFIGURATION DISPLAY - ENTRY= JES2                                 
  TYPE IS INITDRAIN                                                             
  LIN             = ""YES""                                                     
  LOG             = ""YES""                                                     
  OFF             = ""NO""                                                     
  PRT             = ""YES""                                                     
  RDR             = ""YES""                                                     
  PUN             = ""YES""                                                     
 END OF MULTI-LINE MESSAGE GROUP