Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SHOW-TYPE-ATTRIBUTES

This statement outputs all the attributes set for a given member type.

SHOW-TYPE-ATTRIBUTES

LIBRARY = *STD / <filename 1..54 without-vers> / *LINK(...)


*LINK(...)



|

LINK-NAME = <structured-name 1..8>

,TYPE = *LMS-DEF AULT / *ALL / <alphanum-name 1..8 with-wild(20)>

,TEXT-OUTPUT = *LOGGING-PAR AMETERS / *NONE / *SYSOUT / *SYSLST(...) / *EDT(...)


*SYSLST(...)



|

SYSLST-NUMBER = *STD / <INTEGER 1..99>


*EDT(...)



|

WRITE-MODE = *EXTEND / *REPLACE

,STRUCTURE-OUTPUT = *SYSINF / *NONE / <composed-name 1..255>(...)


<composed-name 1..255>(...)



|

WRITE-MODE = *REPLACE / *EXTEND

LIBRARY = *STD / <filename 1..54 without-vers> / *LINK(...)
Specifies the library containing the type whose attributes are to be displayed.

LIBRARY = *STD
The library opened globally is used.

LIBRARY = <filename 1..54 without-vers>
Name of the library whose type attributes are to be displayed.

LIBRARY = *LINK(...)
The type attributes of a library assigned via a link name are displayed.

LINK-NAME = <structured-name 1..8>
Link name of the library; this name was defined by means of a /ADD-FILE-LINK command prior to calling LMS.

TYPE = *LMS-DEFAULT / *ALL / <alphanum-name 1..8 with-wild(20)>
Member type whose attributes are to be output. If the LMS default value is set to *UNDEFINED, *LMS-DEFAULT has the same effect as *ALL.

TEXT-OUTPUT = *LOGGING-PARAMETERS / *NONE / *SYSOUT / *SYSLST(...) / *EDT(...)
Controls the log output.

TEXT-OUTPUT = *LOGGING-PARAMETERS

The log is output to the output medium specified with MODIFY-LOGGING-PARAMETERS TEXT-OUTPUT=.

TEXT-OUTPUT = *NONE
The log output is suppressed, apart from error messages.

TEXT-OUTPUT = *SYSOUT
The output is written to SYSOUT.

TEXT-OUTPUT = *SYSLST(...)
The output is written to SYSLST.

SYSLST-NUMBER = *STD / <integer 1..99>
Determines the SYSLST file to which the output is to be written.

SYSLST-NUMBER = *STD
The system file SYSLST is used.

SYSLST-NUMBER = <integer 1..99>
The system file with the specified number from the set SYSLST01 through SYSLST99 is used.

TEXT-OUTPUT = *EDT(...)
Output is to the work file 9 of EDT. If an error occurs during log output, then the system switches to the default output stream (SYSOUT).

WRITE-MODE = *EXTEND / *REPLACE
Write mode of the output in relation to the contents of work file 9.

WRITE-MODE = *EXTEND
If data exists in work file 9, the output will be added to this data. If there is no data in the file, the output will be written at the beginning of the file.

WRITE-MODE = *REPLACE
The output will be written at the beginning of work file 9. Any data that is already in the file will be replaced.

STRUCTURE-OUTPUT = *SYSINF / *NONE / <composed-name 1..255>(...)Structured output.

STRUCTURE-OUTPUT = *SYSINF
The structured output is placed in the SYSINF stream assigned by means of ASSIGN-STREAM (see the “SDF-P“ manual [12 (Related publications)]).

STRUCTURE-OUTPUT = *NONE
There is no structured output.

STRUCTURE-OUTPUT = <composed-name 1..255>(...)

Specifies the S variable in which the structured output is to be placed. This variable must be declared as a dynamic list variable.
(Command: DECLARE-VARIABLE NAME =...(TYPE=*STRUCTURE), MULTIPLE-ELEMENTS=*LIST)

WRITE-MODE = *REPLACE / *EXTEND
Specifies whether the structured output is to be appended to any existing data in the list variable or it to be written over it.

WRITE-MODE = *REPLACE
Overwrites any existing data in the list variable.

WRITE-MODE = *EXTEND
Appends the new list members to the existing list, if any.

The individual variable members are described in chapter "Format of LMS output in Svariables" (8 Format of LMS output in S variables)).

Statement return code

(SC2)

SC1

Maincode

Meaning


2

0
0
1
32
64
64
64
130

CMD0001
LMS0129
CMD0230
LMS1002
LMS0304
LMS1003
LMS1004
LMS0041

No error
Statement aborted by user
Syntax error
Internal error
Type not found
Error during wildcard processing with at least one member or file
Other error
System address space exhausted

Required access rights

Read authorization for LIBRARY.

Notes

  • If a certain type is specified, the values explicitly set using MODIFY-TYPE-ATTR, if any, will be output. Otherwise, the statement will output the implicit default values.

  • If TYPE=* is specified, the statement outputs the attributes for all explicitly declared types and for types which are embodied by existing members.

Example

The type attributes for member type S are set and then displayed. The library used is the globally set library.

//MODIFY-TYPE-ATTRIBUTES TYPE=S,CONVENTION=*STD-SEQUENCE(EXAMPLE=V001)
//SHOW-TYPE-ATTRIBUTES TYPE=S
INPUT  LIBRARY= :1OSQ:$USER.LIB.MODTYATT
TYPE       = S
SUPER-TYPE = *NONE
CONVENTION = *STD-SEQUENCE
EXAMPLE    = V001
INIT-ELEM-P= *NONE
ADMINISTRAT= *NONE
STORAGE    = *STD          WR-CONTROL = *NONE