Response and reason values for acquire_program – IBM SC33-1683-02 User Manual

Page 358

Advertising
background image

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.

RESPONSE and REASON values for ACQUIRE_PROGRAM:

RESPONSE

REASON

OK

None

EXCEPTION

NO_STORAGE
PROGRAM_NOT_DEFINED
PROGRAM_NOT_FOUND

DISASTER

None

INVALID

None

KERNERROR

None

PURGED

None

Notes:

1. For more detail, refer to the explanation of RESPONSE and REASON in

“General form of an XPI call” on page 286.

loader functions

326

CICS TS for OS/390: CICS Customization Guide

Advertising