The dfhwosm macros, The dfhwosm tokens – IBM SC34-6814-04 User Manual

Page 717

Advertising
background image

2 The last three entries are for three related MRO regions that are identified by

the related system name of MROSYS. One of these is not allowed to restart in
place and is indicated by the letter N.

The DFHWOSM macros

The DFHWOSM macros invoke the CICS module DFHWOS to provide services to
the overseer program. The macros are the supported interface to the CAVM data
sets, and are supplied to perform the following functions:

DFHWOSM FUNC=BUILD

Open communication with DFHWOS

DFHWOSM FUNC=CLOSE

Terminate access to the CAVM data sets for a named generic applid

DFHWOSM FUNC=DSECT

Generate required DSECTs

DFHWOSM FUNC=JJC

Issue a JES cancel for a named job

DFHWOSM FUNC={JJS|QJJS}

Discover current JES JOB status

DFHWOSM FUNC=OPEN

Initialize access to the CAVM data sets for a named generic applid

DFHWOSM FUNC=OSCMD

Issue MVS commands

DFHWOSM FUNC=READ

Retrieve status information for a named generic applid from the CAVM data
sets

DFHWOSM FUNC=TERM

Close communication with DFHWOS.

The macros are described in detail in the following sections. For all the DFHWOSM
macros, the following rules apply:

v

The “label” field is optional.

v

If the macro has an input parameter list, the address of that parameter list must
be supplied as the value of the PARM operand. The address itself may be
specified as a register number or as a label. Register 1 is the default value.

v

If the macro has to supply either a BUILD TOKEN or an OPEN TOKEN to
DFHWOS (as described in “The DFHWOSM tokens”), the token must be
provided in the register specified in the TOKEN operand. Register 14 is the
default value.

The DFHWOSM tokens

When DFHWOS first invokes the overseer program, it passes a value in register 1
which is known as the ENTRY token. The ENTRY token value is stored by the
overseer program on entry and is passed back to DFHWOS as input to the BUILD,
OSCMD, JJS, and JJC macros.

The DFHWOSM FUNC=BUILD macro must be the first macro issued by the
overseer program and must complete successfully. The register 1 output from this
macro is a second token called the BUILD token. The BUILD token value is stored

Chapter 26. The extended recovery facility overseer program

695

Advertising