.DATA
Load data into a user data set field
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
.DATA field_number, data
Arguments
field_number
Either the decimal value of the user data set field or one of the following options:
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.
Discussion
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.
Examples
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