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$ WRITE<br />

The default buffer and table lengths are listed in Table 18–1.<br />

Table 18–1. SAR$: PLUS WRITE Buffer and Table<br />

Length Defaults<br />

Identifier Value<br />

SAR_IO_BUFFER_WORD_LENGTH 448<br />

SAR_IMAGE_BUFFER_WORD_LENGTH 63<br />

SAR_TEXT_BUFFER_BYTE_LENGTH 132<br />

SAR_ATTRIBUTE_TABLE_WORD_LENGTH 40<br />

The buffer and table type definitions are listed in Table 18–2.<br />

Table 18–2. SAR$: PLUS WRITE Buffer and Table<br />

Type Definitions<br />

Identifier Type<br />

SAR_IO_BUFFER 448 words logical locatable<br />

SAR_IMAGE_BUFFER 63 words logical locatable<br />

SAR_TEXT_BUFFER 132 ASCII characters locatable<br />

SAR_ATTRIBUTE_TABLE 40 words logical locatable<br />

SAR_SELECT_LIST 4 bytes logical locatable<br />

The element SAR$DEFN also contains other definitions necessary to SAR$.<br />

18.1.3. WRITE Procedures Called from PLUS<br />

The procedures for the WRITE function are<br />

• SAR_OPEN_OUTPUT<br />

• SAR_WRITE<br />

• SAR_WRITE_CONTROL<br />

• SAR_CLOSE_OUTPUT<br />

The procedure declarations for SAR_OPEN_OUTPUT, SAR_WRITE,<br />

SAR_WRITE_CONTROL, and SAR_CLOSE_OUTPUT are contained in the element<br />

SAR$WRITE$DG in the <strong>SYSLIB</strong> file (SYS$LIB$*<strong>SYSLIB</strong>) or SYS$*RLIB$. This element is<br />

obtained with the COPY statement. SAR$WRITE$DG contains all four procedure<br />

declarations. All of the WRITE procedure modules are compiled with the G option using<br />

the IBJ$ calling sequence.<br />

18–12 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!