.DATA

Load data into a user data set field

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
.DATA field_number, data

field_number

Either the decimal value of the user data set field or one of the following options:

FIRST
LAST
NEXT
PREVIOUS
CURRENT

data

The data to be loaded into the user data set field. If data is longer than one word, it must be enclosed in quotation marks.

The .DATA command loads data into a user data set field. A user data set is a one-dimensional alpha array that is associated with a window (rather than your program) and is maintained within the window data area by the window system. Its parameters and contents are completely defined by the user.

Use the Synergy DBL W_FLDS subroutine to process user data sets.

This window has a copy of its text in another language. At runtime, the program can use either the English or the Spanish version.

.window nofile, 3, 30
.text nofile, pos(2,1)
Cannot find file.
.user_define 1, 30
.data 1, "No puedo encontrar el archivo."
.end