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 />

S$ARATREAD does not space-fill the input text buffer when the input character text<br />

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

greater than the length of the input text buffer, S$ARATREAD truncates the character<br />

text and returns an error status to the calling program.<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 S$ARRSATR (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.2.3.3. Reset ATREAD Procedure Call (S$ARRSATR)<br />

The S$ARRSATR PROC restores the caller's environment, if it was changed by<br />

S$ARATREAD. Specifically, if S$ARATREAD changed the print line width, S$ARRSATR<br />

will reset the print line width to the device default.<br />

There are no required packet parameters for the S$ARRSATR PROC call. However,<br />

S$ARRSATR expects that a prior call to the S$ARINITATR PROC was made.<br />

Calling format<br />

S$ARRSATR atrpkt<br />

error return<br />

normal return<br />

where atrpkt is a label identifying the start address of the ATREAD packet and data area.<br />

Returns<br />

If S$ARRSATR takes the normal return, the call was successful.<br />

If S$ARRSATR takes the error return, A1 contains the call status code. This status code<br />

is also returned in the packet field SA$CALLST. See 19.2.4 for an explanation of the<br />

status codes.<br />

19–22 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!