18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FLAG.ARRAY (FLA)<br />

Syntax<br />

FLAG.ARRAY (FLA)<br />

The FLAG.ARRAY; command writes the contents of a Setup Data array or Global Setup<br />

Data array to the <strong>LINC</strong> database. It performs the same function for arrays as the FLAG;<br />

command does for data item values.<br />

Note: Numeric Setup Data array items are implemented as COBOL<br />

COMPUTATIONAL fields. A move from a numeric array to anything other<br />

than an identically defined numeric array may result in data that is invalid<br />

for use in either computation or display.<br />

Truncation of Data<br />

When moving an array into a data item:<br />

$ You must ensure that the receiving alphanumeric data item is of sufficient size to store<br />

the array.<br />

$ If you move a mixed alphanumeric and Hankaku-Katakana value into an EDIT; W data<br />

item, the value is moved character by character, and is truncated to the length of the<br />

data item. However, if you move a mixed alphanumeric and Hankaku-Katakana value<br />

into an EDIT; A data item, the value is moved byte by byte and is truncated to the<br />

length of the data item. If the truncation occurs after the first byte of a double-byte<br />

Hankaku-Katakana character, this will result in an invalid character.<br />

Note: EDIT; W data items are not implemented in LDA.<br />

DD DDDD DDDDD DDDDDDDDDDDDDD4<br />

array<br />

Examples<br />

A Setup or Global Setup Data array.<br />

data item<br />

An alphanumeric data item.<br />

In the following example, a Setup Data array is stored in the <strong>LINC</strong> database.<br />

<br />

<br />

<br />

v 1-133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!