Dfhwosm func=open macro – IBM SC34-6814-04 User Manual

Page 720

Advertising
background image

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

Nonzero

Return code from JES.

DFHWOSM FUNC=OPEN macro

The DFHWOSM FUNC=OPEN macro initializes access to the CAVM data sets for a
named generic applid.

Input

The PARM value is a pointer to three further addresses, and these are:

1. The address of the generic applid

2. The address of the ddname of the control data set

3. The address of the ddname of the message data set.

The TOKEN value is the BUILD token.

Output

Register 15

Contains one of the following completion codes:

0

Access initialized, active and alternate signed on

1

Access initialized, active signed on

2

Access initialized, alternate signed on

3

Access initialized, nothing signed on

4

Same SMF MVS name; IPL time of active earlier than MVS IPL
time

5

Same SMF MVS name; IPL time of alternate earlier than MVS
IPL time

6

Insufficient storage

7

Generic applid is not associated with the named CAVM data
sets

label

DFHWOSM FUNC=OPEN

[,PARM={parm address|1}]
[,TOKEN={token register|14}]

698

Customization Guide

Advertising