Previous Topic: (MIA) TPCINIT Statement-Set TPCF Exit Routine OrderNext Topic: (MIA) VARY Command-Change Device Status


(MIA) USERDATA Command—Populate Device Data Field

The USERDATA command lets you put data into the user data field for a specific device. This command is used most often to pass information to the CA MIA application program interface (API). GTAF propagates the data to all systems. You can then retrieve the data by invoking the application program interface, or display it by issuing the DISPLAY GLOBALUNITS command.

Scope: Local

This command has the following format:

USERDATA	 device text
device

Specifies the local or global name of a GTAF-managed device.

text

Defines the one- to eight-byte character string that you want to put into the user data field associated with the device.

Notes:

Default: The user data field is initialized to nulls (X'00').

Usage Notes: USERDATA Command

Command

Updated User Data Field

USERDATA T123 X'1'

X'0100000000000000'

USERDATA T123 X'01'

X'0100000000000000'

USERDATA T123 X'123'

X'0123000000000000'

USERDATA T123 X'0123'

X'0123000000000000'

 

Examples: USERDATA Command