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.

18.1.1.3. Information Returned by WRITE Procedures<br />

SAR$ WRITE<br />

The following fields of the WRITE packet contain values returned by the SAR$ WRITE<br />

procedures to the calling program:<br />

CALL_STATUS<br />

PLUS Attribute: 18-bit status<br />

The status of the current call to SAR_OPEN_OUTPUT, SAR_WRITE,<br />

SAR_WRITE_CONTROL, or SAR_CLOSE_OUTPUT. See Table 18–3 for an<br />

explanation of the WRITE procedure status codes. This field may be referenced as<br />

an 18-bit logical field with the label CALL_STATUS_CODE.<br />

SUB_STATUS_CODE<br />

PLUS Attribute: 12-bit logical<br />

This field contains additional information for particular CALL_STATUS codes.<br />

IO_STATUS<br />

PLUS Attribute: 6-bit status<br />

The status of any I/O operations performed by SAR$. See Table 18–4 for the I/O<br />

status codes. This field may be referenced as a 6-bit logical field with the label<br />

IO_STATUS_CODE.<br />

WRITE_STATUS_WORD<br />

PLUS Attribute: word logical<br />

A one-word combination of CALL_STATUS, SUB_STATUS, and IO_STATUS<br />

contained in H2, T1, and S3, respectively.<br />

SYMB_STATUS_WORD<br />

PLUS Attribute: word logical<br />

The status word returned from an ER SYMB$ request. See SYMB$ section, OS<br />

2200 Exec ER <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for further details on the ER SYMB$<br />

status word.<br />

RECOMMENDED_BUFFER_LENGTH<br />

PLUS Attribute: 18-bit integer<br />

The recommended buffer or table length when an invalid length is specified or when<br />

an overflow occurs.<br />

7833 1733–004 18–9

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

Saved successfully!

Ooh no, something went wrong!