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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MOVE.AUTO (MA), MOVE.AUTO.ARRAY (MAA)<br />

MOVE.AUTO (MA) and MOVE.AUTO.ARRAY (MAA)<br />

The MOVE.AUTO; command moves data from the Auto Entry buffer to a data item in the<br />

originating <strong>LINC</strong> System.<br />

The MOVE.AUTO; command is the converse of the AUTO; command. It is used with<br />

external Automatic Entries to retrieve data from the Auto Entry buffer.<br />

Following an external AUTO.ENTRY, if the Ispec in the receiving <strong>LINC</strong> System has a<br />

RECALL; command that is invoked by the receipt of data, the recall information is<br />

returned to the Auto Entry buffer of the sending <strong>LINC</strong> System. If the AUTO; WRITE<br />

command is successful, GLB.STATUS in the originating <strong>LINC</strong> System contains the value<br />

DATA. The data returned to the Auto Entry buffer can be retrieved by using the<br />

MOVE.AUTO; and MOVE.AUTO.ARRAY; commands.<br />

In LDA Run Time, external Automatic Entries are not supported. The MOVE.AUTO; and<br />

MOVE.AUTO.ARRAY; commands are ignored.<br />

An AUTO; WRITE&CLEAR command will not clear the buffer when data is being returned.<br />

Restrictions<br />

The same restrictions apply to MOVE.AUTO; command as to the AUTO; command. You<br />

cannot send an alphanumeric item to a numeric item with decimals or to a signed numeric<br />

item or vice versa.<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 into<br />

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

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

character, this will result in an invalid character. However truncation does not occur if you<br />

move such a value into an EDIT; W Setup Data array (or Global Setup Data array).<br />

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

Numeric Setup Data array items are implemented as COBOL COMPUTATIONAL fields. A<br />

move from a numeric array to anything other than an identically defined numeric array<br />

may result in data that is invalid for use in either computation or display.<br />

MOVE.AUTO.ARRAY;<br />

The MOVE.AUTO.ARRAY; command moves the value of a data item from the Auto Entry<br />

buffer to a Setup or Global Setup Data array. Otherwise, its function is the same as the<br />

MOVE.AUTO; command.<br />

OLTP<br />

For OLTP, the response in the AUTO buffer may use a different buffer description than the<br />

one in your original request. There is no validation that the data present matches the data<br />

format expected by your logic. To specify the correct format, use the AUTO.FORMAT;<br />

<strong>LINC</strong> logic command immediately before the relevant MOVE.AUTO commands.<br />

v 1-179

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

Saved successfully!

Ooh no, something went wrong!