Previous Topic: DISPLAY ZAPS

Next Topic: GOALNET DEFINE

GLOBAL

Use the GLOBAL command to display the currently available global variables, along with the values and amount of storage associated with each variable.

Syntax

Use this format for the GLOBAL command:

GLobal [ALL [Sort {Name|Members|Storage}]
       [&name [Value] [Sort {Name|Value}]

Parameters

The GLOBAL command takes these parameters:

ALL

Displays all global variables. For stem variables, the stem name and a count of members is shown. Also shown is how much storage is being used for data and how much for both data and control structures.

&name

Name of a global variable (case-sensitive) or stem (with trailing period) that you are displaying.

Value

Displays the currently assigned values of each global variable.

Sort

Determines the sort order for output, as follows:

Name Ascending order by variable name.

Members Descending order by count of stem members. Where counts are identical, lines are listed in ascending order by variable name.

Storage Descending order by amount of total storage. Where total storage is identical, lines are listed in ascending order by variable name.

Value Ascending order by the value (first 20 characters). Where the first 20 characters of values are identical, lines are listed in ascending order by variable name.

Example

------------------------ CA‑GSS/ISERVE Control Panel ------- ROW 1 TO 19 OF 42 ==> global all sort storage => PAGE Target node: * ssid: * Host node: B1MAIN ssid ISRV ============================================================================= Name or Stem Members Storage Data Total &$gnet_xref. 38 189 4.9k &iset. 35 856 4.5k &$gnet_node. 19 113 2.5k &$gnet_appl. 18 131 2.4k &$gnet_conn. 18 106 2.4k &$gnet_count1. 18 76 2.4k &$gnet_count2. 18 76 2.4k &$gnet_count3. 18 76 2.4k &$gnet_count4. 18 76 2.4k &$gnet_count5. 18 76 2.4k &$gnet_count6. 18 76 2.4k &$gnet_mode. 18 130 2.4k &$gnet_pswd. 18 76 2.4k &$gnet_ssid. 18 76 2.4k &$gnet_status. 18 112 2.4k &$gnet_sysname. 18 115 2.4kk

Fields

Name or Stem

1- to 42-character name of a global variable or stem. Stems are identified by a trailing period.

Members

Number of variables sharing the stem.

Storage

Storage associated with this entry. If the value of the member is more than 1, storage values are cumulative. Values over 1024 bytes are displayed in kilobytes, with a k suffix.

Data

Storage required to store only the data assigned to the variable

Total

Storage used to store data and maintain all associated control structures.

Other Responses

"VALUE" not valid unless name specified

Some form of Value was specified, but your request was for ALL. Value is restricted to requests for a specified variable or stem.

Invalid sort type: "string"

The specified text string is not a valid sort type.

Invalid argument: "string"

The specified text string is not a valid parameter for this command.

No global variables

There are no global variables allocated.

No variables fit selection criteria

There are no global variables of the name that you specified.