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.

20.2.4. Status Lists for the MASM COM Procedure<br />

SAR$ COM<br />

The SAR$ COM procedure call status codes listed in Table 20–5 may be returned to the<br />

calling program in the SC$CALLST field of the COM packet. These call status codes are<br />

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

Table 20–5. SAR$: COM Procedure SC$CALLST Status Codes<br />

Octal Code Status<br />

0 Normal return from the SAR$ COM procedure.<br />

01 An outdated SAR$ COM packet version is being used.<br />

02 An invalid SAR$ COM packet version is being used.<br />

03 The value for SC$IMGBUF is zero; an address must be given for the<br />

image buffer.<br />

04 The value for SC$IMGBUFL is zero; a length must be given for the<br />

image buffer.<br />

05 An invalid value is specified for SC$REQTYPE.<br />

06 An illegal character set type is specified for SC$OCHART.<br />

07 An illegal address is specified for SC$OTEXTB.<br />

010 The value for SC$OTEXTBL is zero; a length must be given for the<br />

output text buffer.<br />

011 An illegal address is specified for SC$ITEXTB.<br />

012 There are no valid characters in the output image.<br />

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

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

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

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

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

character text is returned in the field SC$RECBUFL.<br />

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

table. The attribute table word length necessary to hold all the<br />

attributes is returned in the field SC$RECBUFL.<br />

016 An incorrect internal format to ACD translation routine version is<br />

being used.<br />

017 An incorrect ACD to internal format translation routine version is<br />

being used.<br />

020 The output attribute table contains an index that is either zero, not<br />

in sequential order, or greater than the output text length.<br />

021 The output attribute table contains an invalid attribute type or an<br />

invalid value for an attribute type.<br />

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

formatted embedded shift-coded kanji.<br />

7833 1733–004 20–19

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

Saved successfully!

Ooh no, something went wrong!