Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

MODTA: modify type attributes

MODTA defines type attributes.

LD specifies the library, TD the member type. TA sets the applicable (version) convention and the supertype. The storage mode allowed for members of the type can be defined and the borrowing mechanism can be activated. The type administration privilege determines the group of users with administration privileges for the type. Only users with this privilege are allowed to create, delete and rename members. These settings have priority over values set by MODLA.

PA defines presettings for member protection and the group of users with borrowing privileges for the type.

Notes

  • The definition of the SUPER-TYPE must be non-recursive (tree structure).

  • No supertypes can be declared for standard types (those one character long or beginning with $ or SYS).

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’18’

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

TD


TYP

Type descriptor

Member type

TA


CONVENTION

V-EXAMPLE


P-TIND-ADMI

P-ADMI-OWN

P-ADMI-GRP

P-ADMI-OTH

P-ADMI-PIND

P-ADMI-PSWD

STORE-FORM

WRITE-CTRL

SUPER-TYPE

Type attributes

Valid convention for the member type

Version example for the convention STD-SEQUENCE and
MULTI-SEQUENCE

Protection type input field for administration

Administration input field for owner

Administration input field for group

Administration input field for others

Administration password input field

Administration password

Storage mode for type

Write control for type

Supertype input field

PA


P-TIND-READ

...

Protection attributes

All PA fields ("PA (Protection Attributes)") can be preset.

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)