HP 3000 Manuals

DISPLAY ATTRIBUTE [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

DISPLAY ATTRIBUTE 

Displays one or more attributes.

Syntax 

     DIS[PLAY] A[TTRIBUTE] [attribute-name]
             [;T[YPE] = attribute-data-type]
             [;LEN[GTH] = attribute-length]
             [;S[COPE-]O[WNER] = scope-owner-name]
             [;NAME[-ONLY]]
             [;NO[SORT]]
             .

Parameters 

attribute-name        Name of the attribute to be displayed.

attribute-data-type   Type of the attribute to be displayed.  Valid data
                      types are:

                           alias
                           boolean
                           character
                           floating
                           integer
                           variable

attribute-length      Length of the attribute to be displayed.

scope-owner-name      Owner of the attribute to be displayed.  If the
                      current scope does not have secure capability, any
                      qualification other than the current scope causes
                      no attributes to be retrieved.

NAME-ONLY             If specified, only the name of the qualifying
                      attribute is displayed.  If not specified, the
                      name, owner, type, length, and edit values are
                      displayed.

NOSORT                Reports on the attributes in the unsorted order in
                      which they are retrieved from the dictionary.
                      Otherwise, the attributes are sorted alphabetically
                      by the attribute names.

Description 

When sorting is not required, the use of the NOSORT keyword speeds
processing time.

If the scope does not have secure capability, and the current scope is
not the owner, the scope owner is not displayed.

Open Mode:       Any

Scope:           Any

Example 

The following example displays all attributes with data type character.

     >DISPLAY ATTRIBUTE; 
     >>TYPE = CHARACTER. 
     ACCESS
        Scope-Owner : CORESET
        Type : CHARACTER
        Length : 2
        Edit-Values :
     CHAR-TYPE
        Scope-Owner : CORESET
        Type: CHARACTER
        Length : 10
        Edit-Values : ASCII, EBCDIC
            .                   .
            .                   .
            .                   .
     UNITS
        Scope-Owner : CORESET
        Type : CHARACTER
        Length : 10
        Edit-Values :

        10 Attribute(s) Retrieved
     >


MPE/iX 5.0 Documentation