18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

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.

SAR$ ATREAD<br />

• Attributes<br />

The address of the attribute table and the number of entries are returned in the<br />

fields INPUT_ATTRIBUTE_TABLE_ADDRESS and NUMBER_OF_INPUT<br />

ATTRIBUTES, respectively.<br />

SAR_ATREAD does not space-fill the input text buffer if the input character text length is<br />

less than the length of the input text buffer. If the input character text length is greater<br />

than the length of the input text buffer, then SAR_ATREAD truncates the character text<br />

and returns an error status to the calling program.<br />

If an end-of-file condition is encountered by SAR_ATREAD, the CALL_STATUS field of<br />

the ATREAD packet is set to status S'End_of_file'.<br />

If the status returned from SAR_ATREAD is not S'Normal' or S'End_of_file', then an<br />

error has occurred and CALL_STATUS contains the status code. See 19.1.4 for a list of<br />

ATREAD function status codes.<br />

Note: SAR$ may expand the line width if necessary. The line width may be reset to<br />

the print device default by calling the SAR_RESTORE_ATREAD procedure. The<br />

expansion of the line width is to allow for the additional bytes required in the ASCII/ISO<br />

with embedded shift-coded KANJI and ACD character types, and for transmitting large<br />

data records, such as a full screen of characters.<br />

19–10 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!