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.

AUTO; WRITE and AUTO; WRITE&CLEAR<br />

Syntax<br />

Examples<br />

DDDDD DDDDDDBDDDDD DDDDDBDDDDDDDDDDDDDDDDDDDD4<br />

3 3<br />

@DD DDY<br />

The following example adds a record for the component CUST to the database.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

In the following example, a Component PROD, designated AUTO.ENTRY, has an Ordinate<br />

PRODUCT (with a length of 10), and a numeric data item SELLPRICE (with Data<br />

Attributes LENGTH; 8 and DECIMALS; 2). PROD resides in the <strong>LINC</strong> System DBASE1 and<br />

has the following logic.<br />

<br />

<br />

<br />

<br />

PROD is defined identically in the <strong>LINC</strong> System DBASE2.<br />

In the following example, DBASE2 has an Ispec which is used for product maintenance<br />

and inquiry against DBASE1. It has a data item IN-MAINT (with a length of 3), a data item<br />

FINDPROD (length 10), and a data item SELLPRICE (as defined in DBASE1).<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

1-36 v

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

Saved successfully!

Ooh no, something went wrong!