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.

AUTO (AU) and AUTO.ARRAY (AUA)<br />

AUTO (AU) and AUTO.ARRAY (AUA)<br />

The AUTO; command transfers the value of a data item to a data item in the Auto Entry<br />

buffer. Data items in the Auto Entry buffer must be contained in the Ispec specified by the<br />

associated AUTO.ENTRY; command.<br />

The AUTO.ARRAY; command transfers a Setup Data array or Global Setup Data array to<br />

the Auto Entry buffer. Otherwise, it functions as the AUTO; command does for a data item.<br />

The receiving item must be of sufficient size to store the array, and it must be<br />

alphanumeric.<br />

Rejection of data transfer<br />

A transfer using the AUTO; or AUTO.ARRAY; commands to an Event or a Memo<br />

Component is always valid, although the transfer may be rejected if it involves Profiles that<br />

do not allow duplicates. A transfer to a Standard, Table,orMultiple Ordinate Memo<br />

Component is rejected in the following cases:<br />

$ Where the value of MAINT is GLB.ADD and the record already exists<br />

$ Where the value of MAINT is GLB.CHG or GLB.DEL, and the record does not exist<br />

If an AUTO; command fails during Ispec logic execution, GLB.STATUS is set to *****.<br />

Transferring Values Using AUTO; and AUTO.ARRAY; Commands<br />

When transferring values using AUTO; and AUTO.ARRAY; commands:<br />

$ Do not transfer an alphanumeric value to an unsigned numeric data item with decimals<br />

(or vice versa).<br />

$ Do not transfer an alphanumeric value to a signed numeric data item (or vice versa).<br />

$ Do not transfer signed numerics if you are performing a transfer between different<br />

host types. The recommended method for transferring a signed field between systems<br />

on different host types is to have a separate field for the sign, and simply transfer the<br />

positive numeric.<br />

$ Perform the transfer of data explicitly for each data item required, including a value for<br />

the MAINT System Data item where appropriate. Use GLB.ADD, GLB.CHG, and<br />

GLB.DEL for the MAINT System Data item. FIR, LAS, BAC and NEX are also valid for<br />

external Automatic Entries.<br />

$ For new records, any data items not included in AUTO; commands are sent a zero or<br />

space value as appropriate.<br />

$ For records being changed, any items not included in AUTO; commands retain their<br />

existing values, unless CLW; (0) or CLW; ( ) are defined for those items.<br />

$ Use the AUTO.CLEAR; command to clear the value of a data item. However, if the<br />

CLEAR.WHEN; character is a space (or zero for a numeric item), the value will be set<br />

to spaces (or zero).<br />

v 1-23

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

Saved successfully!

Ooh no, something went wrong!