IBM SC34-6814-04 User Manual

Page 399

Advertising
background image

FULLAPI

CICS links to and runs the program without the API restrictions
of a remote DPL program. The program can use the full CICS
API.

PROGRAM_ATTRIBUTE(RELOAD|RESIDENT|REUSABLE|TRANSIENT)

specifies the residency status of the program—that is, when its storage is to be
released.

RELOAD

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

RESIDENT

At any one time there will be no more than a single copy of the
program in storage, and this will not be removed unless deleted.
RESIDENT programs must be at least quasireentrant. Any program of
PROGRAM_TYPE SHARED is RESIDENT by default.

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 user count drops to zero.

PROGRAM_NAME(name8 | string | 'string')

specifies the name of the program whose attributes are to be changed.

name8

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

string A string of characters naming the program.

'string'

A string of characters 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.

name4

The name of a location containing a 4-byte token obtained from a
previous INQUIRE_PROGRAM, INQUIRE_CURRENT_PROGRAM,
START_BROWSE_PROGRAM, or GET_NEXT_PROGRAM call.

PROGRAM_TYPE(PRIVATE|SHARED|TYPE_ANY)

specifies where the program is to be loaded from.

PRIVATE

The program is in the DFHRPL or dynamic LIBRARY concatenation. A
PRIVATE program need not be reentrant, and is given only limited
protection against unauthorized overwriting. The degree of protection
depends on the type of dynamic storage area into which the program is
loaded (see the description of the PROGRAM_TYPE option of the
DEFINE_PROGRAM call).

SHARED

The program is located in the link pack area (LPA), is reentrant, and is
protected.

Chapter 3. The user exit programming interface (XPI)

377

Advertising