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.

19.2.4. Status Lists for MASM ATREAD Procedures<br />

SAR$ ATREAD<br />

The ATREAD procedure call status codes listed in Table 19–6 may be returned to the<br />

calling program in the SA$CALLST field of the ATREAD packet. These call status codes<br />

are for SA$CURVER = 1 and above.<br />

Table 19–6. SAR$: ATREAD Procedure SA$CALLST Status Codes<br />

Octal Code Status<br />

0 Normal return from the ATREAD procedure.<br />

01 End-of-file condition reached by S$ARATREAD.<br />

02 An I/O error has occurred in an ATREAD procedure. See the SA$IOSTAT<br />

field and Table 19–7 for the status code.<br />

03 An outdated ATREAD packet version is being used.<br />

04 An invalid ATREAD packet version is being used.<br />

05 The ATREAD packet is not initialized; a call to S$ARINITATR must be made<br />

before calling S$ARATREAD.<br />

06 The value for SA$IMGBUF is zero; an address must be given for the image<br />

buffer.<br />

07 The value for SA$IMGBUFL is zero; a length must be given for the image<br />

buffer.<br />

010 The value for SA$OTEXTB is zero; an address must be given for the output<br />

text buffer.<br />

011 The value for SA$OTEXTBL is zero; a length must be given for the output<br />

text buffer.<br />

012 The value for SA$ITEXTB is zero; an address must be given for the input text<br />

buffer.<br />

013 The value for SA$ITEXTBL is zero; a length must be given for the input text<br />

buffer.<br />

014 An invalid value is specified for SA$REQTYPE.<br />

015 An illegal character set type is specified for SA$OCHART.<br />

016 The character set type of the input image is invalid.<br />

017 The input or output image is too long to fit in the image buffer. The image<br />

buffer word length necessary to hold the entire image is returned in the field<br />

SA$RECBUFL.<br />

020 The character text is too long to fit in the input text buffer and has been<br />

truncated. The text buffer byte length necessary to hold the character text is<br />

returned in the field SA$RECBUFL.<br />

021 The number of attributes is too large to fit in the input attribute table. The<br />

attribute table word length necessary to hold all the attributes is returned in<br />

the field SA$RECBUFL.<br />

022 An incorrect internal format to ACD translation routine version is being used.<br />

023 An incorrect ACD to internal format translation routine version is being used.<br />

7833 1733–004 19–23

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

Saved successfully!

Ooh no, something went wrong!