Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CLOSE: close a member

CLOSE explicitly closes a member opened via OPENGET, OPENPUT or OPENUPD. The corresponding resources are released at the same time. Field REC-ACC-ID of RD is set to 4 x X’FF’.

Two subcode entries, which are only interpreted after OPENPUT or OPENUPD, are possible for CLOSE:

SUBCODE=WRITE

The member state written last is declared valid. The member which existed in the library under this name is overwritten and can no longer be accessed.

SUBCODE=RESET

The member state written last is canceled. The member which existed in the library under this name is retained.

Call parameters

The parameter structures must be given in the following sequence in the subroutine call.

Parameter
structure

Field

Meaning

CB


SCBVERSION

FUNCTION

SUBCODE

ACC

Function control block

Interface version

Function code X'13'

Subcode (WRITE or RESET)

Subroutine access identification

RD


REC-ACC-ID

Record descriptor

Access path identification

Return parameters

Parameter
structure

Field

Meaning

CB


RETURNCODE

LMS-MSG

DMS-MSG

PLAM-MSG

Function control block

Return code

LMS message code

DMS message code

PLAM message code

RD


REC-ACC-ID

Record descriptor

Access path identification