IBM SC34-6814-04 User Manual

Page 379

Advertising
background image

name1

The name of a 1-byte location to receive the program attribute.

(Rn)

A register in which the low-order byte receives the program attribute
and the other bytes are set to zero. It can have the values RELOAD,
RESIDENT, REUSABLE, or TRANSIENT.

RELOAD

The program is not reusable, and therefore several copies of
the program may be loaded. A copy is removed from storage
when a RELEASE_PROGRAM call (for that copy) is issued.

RESIDENT

There is a single copy of the program that is not removed from
storage unless deleted. RESIDENT programs must be at least
quasireentrant. Any program of PROGRAM_TYPE SHARED
has the RESIDENT attribute by default. The
DELETE_PROGRAM call has no effect on this type of
RESIDENT program.

REUSABLE

Similar to RESIDENT, except that a REUSABLE program that is
not in use can be removed from storage by CICS, for storage
optimization reasons.

TRANSIENT

Similar to RESIDENT, except that a TRANSIENT program is
removed from storage as soon as its use count drops to zero.

PROGRAM_LENGTH(name4 | (Rn))

returns the length of the named program.

name4

The name of a 4-byte location that is to receive the length in bytes,
expressed in binary

(Rn)

A register to contain the length in bytes, expressed in binary.

PROGRAM_NAME(name8 | string | "string")

specifies the name of the program to be acquired.

name8

The name of a location containing an 8-byte program name.

string A string of characters naming the program.

"string"

A string in quotation marks. The string length is set to 8 by padding with
blanks or truncating.

PROGRAM_TOKEN(name4),

specifies a token identifying the program whose details are to be acquired.

name4

The name of a location containing a 4-byte token obtained by a
previous DEFINE_PROGRAM or ACQUIRE_PROGRAM call.

SUSPEND(NO|YES)

specifies whether execution is to be suspended until the request can be
granted.

Chapter 3. The user exit programming interface (XPI)

357

Advertising