Dfhwosm func={jjs|qjjs} macro – IBM SC33-1683-02 User Manual

Page 649

Advertising
background image

v

An 8-byte JES job ID

v

A 256-byte SSOB return area.

The TOKEN value is the ENTRY token.

Output

Register 15

Contains the following completion codes:

0

JES cancel completed; SSOB and status array returned from
JES

Nonzero

Return code from JES.

DFHWOSM FUNC={JJS|QJJS} macro

Supplied with a job name and JES job identifier, both versions of the DFHWOSM
FUNC={JJS|QJJS} macro return the current JES job status into a copy of the JES
subsystem options block (SSOB).

The FUNC=JJS macro returns control when the JES call has completed
successfully or unsuccessfully. The FUNC=QJJS macro returns control immediately
and posts an event control block (ECB) once the JES request has completed.

Input

For FUNC=JJS, the PARM value is a pointer to the addresses of the following:

v

An 8-byte job name

v

An 8-byte JES job ID

v

A 256-byte SSOB return area.

The TOKEN value is the ENTRY token.

For FUNC=QJJS, the PARM value is a pointer to the addresses of the
following:

v

An 8-byte job name

v

An 8-byte JES job ID

v

A 256-byte SSOB return area

v

A doubleword area to hold two ECBs.

The FUNC=QJJS macro requires 2 ECBs: the first is posted when the JES call
completes; the second is posted if a time-out occurs before JES returns.

The TOKEN value is the BUILD token.

Output

Register 15

Contains the following completion codes:

0

JES status returned as requested in the SSOB return area

label

DFHWOSM FUNC={JJS|QJJS}

[,PARM={parm address|1}]

[,TOKEN={token register|14}]

DFHWOSM macros

Chapter 22. The extended recovery facility overseer program

617

Advertising