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.

Table 17–6. SAR$: READ Procedure SR$CALLST Status Codes<br />

Octal Code Status<br />

012 The value for SR$INPBUFL is too small; use the word length returned in<br />

SR$RECBUFL.<br />

013 The input file or element accessed is not SDF.<br />

014 An invalid value is specified in the FIP$ACTYP field of the file information<br />

packet.<br />

SAR$ READ<br />

015 An invalid address is specified in SR$ADDRSEC; either the word offset is<br />

greater than 27 or the sector address is greater than the highest mass storage<br />

sector address of the file.<br />

016 The input image is too long to fit in the image buffer. The image buffer word<br />

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

SR$RECBUFL. To reread the image, call SAR$ READ with a larger image<br />

buffer and image buffer word length (SR$IMGBUFL) and set the read address<br />

(SR$ADDRSEC and SR$ADDRWO) to the image address (SR$IMGSEC and<br />

SR$IMGWO) returned on the previous call.<br />

017 The character text is too long to fit in the text buffer and has been truncated.<br />

The text buffer byte length necessary to hold the character text is returned in<br />

the field SR$RECBUFL.<br />

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

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

SR$RECBUFL.<br />

021 A partial image was read by SYMB$; call S$ARREAD again to continue reading<br />

the image.<br />

022 An invalid SDF file or element label control record was read.<br />

023 An invalid SDF control read was read.<br />

024 The image read contains incorrectly formatted ACD or incorrectly formatted<br />

embedded shift-coded kanji.<br />

025 An invalid character set type was read.<br />

026 The READ packet is not initialized; a call to S$AROPENI must be made before<br />

calls to S$ARREAD or S$ARCLOSI.<br />

027 An incorrect ACD subroutine version is being used with SAR$.<br />

030 The file name buffer address in the FIP is zero; an address of an SDF file name<br />

must be specified.<br />

031 The file name buffer address in the FIP is zero; an address of a symbiont file<br />

name must be specified.<br />

032 An illegal value is specified for the file name buffer byte length; legal values are<br />

from 1 to 12.<br />

033 The input I/O buffer address is zero; this buffer must be provided when<br />

reading from an SDF file or element.<br />

7833 1733–004 17–31

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

Saved successfully!

Ooh no, something went wrong!