Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

MODEA: modify member attributes

MODEA selects the member attributes for a specific member. ED determines the member and LD specifies the library containing this member. The complete type, name and version of the member must be specified.

The date and time can only be changed together. This means:

  • If the USER-DATE in the EA descriptor is a blank, the USER-TIME in EA is ignored and the old member attributes are retained.

  • If the USER-DATE in the EA descriptor is not a blank, the USER-TIME from EA is taken over unchanged.

MOD-DATE-IND controls whether the current time of day and the current date are recorded in the member as the time of last modification.

A member may be marked as borrowed or returned (see "EA (Element Attributes)").

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

LD-RETURN

Function control block

Interface version

Function code X’1A’

Subcode currently not used: UNUSE

Subroutine access identification

Full DMS file name in LD

LD


PASSWORD

LINK

MAX-NAME-LEN

NAME

Library descriptor

Password as per PASSWORD command

Link name

Maximum length of library name

Library name

ED


TYP

NAME

VERSION

Member descriptor

Member type

Member name

Member version

EA


USER-DATE

USER-TIME

CCS-NAME

HOLD-STATE

MOD-DATE-IND

Member attributes

- User date

- Time of day

- Coded Character Set name

- Hold flag: state assigned to the member

MODIFICATION DATE INDICATOR
controls updating of the modification date

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

LD


NAME

Library descriptor

Full DMS file name of library (dependent on LD-RETURN

field of CB)

ED


VERSION

Member descriptor

Member version (if call used *HIGH)