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.

ACCEPT (AX)<br />

Syntax<br />

ACCEPT (AX)<br />

The ACCEPT; command enables you to pass information to a running Report from the<br />

terminal that initiated the Report. ACCEPT; commands are usually preceded by an<br />

associated MESSAGE; command that prompts for input.<br />

When an ACCEPT; command is encountered, the Report suspends execution until it<br />

receives a reply input from the terminal.<br />

Kanji characters must be entered in Kanji (EDIT; K) fields. If you enter an invalid Kanji<br />

character, GLB.STATUS is set to five asterisks (*****). If you move a mixed alphanumeric<br />

and Hankaku-Katakana value into an EDIT; W data item, the value is moved character by<br />

character, and is truncated to the length of the data item. However, if you move a mixed<br />

alphanumeric and Hankaku-Katakana value into an EDIT; A data item, the value is moved<br />

byte by byte and is truncated to the length of the data item. If the truncation occurs after<br />

the first byte of a double-byte Hankaku-Katakana character, this will result in an invalid<br />

character.<br />

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

For full details of <strong>LINC</strong> Report operations, see your <strong>LINC</strong> Administration and Operations<br />

Guide for your target host type.<br />

DDDD DDD DDDDDDDDDDDDDDDDDDDDDDDDDD4<br />

DDDD DDD DDD DD DDDDDDDD <br />

DDDDDDDDDDDDDDBDDDDDDDDDDDDDDDDDDDDDDDDDDBDDDDDDDDDDD4<br />

3 3<br />

@DD DDY<br />

Note: For LDA only the first form is valid. A syntax error occurs if you use the<br />

second form of the ACCEPT; command in LDA.<br />

data item 1<br />

An existing Setup Data item, Global Setup Data item, or Report Data item that will receive<br />

the input.<br />

data item 2<br />

A Setup Data item created by the ACCEPT; command to receive the input.<br />

edit characteristics<br />

Edit attributes and settings for data item 2.<br />

Edit characteristics are not permitted for a previously defined data item.<br />

v 1-9

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

Saved successfully!

Ooh no, something went wrong!