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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SAR$ WRITE<br />

IMAGE_BYTE_LENGTH<br />

PLUS Attribute: 18-integer<br />

The length in bytes of the image written out by the SAR_WRITE procedure. For<br />

images written to SDF files or elements, the length does not include the image<br />

control word or the length of the line number records. For images written to<br />

symbiont files, the length is the number of bytes transferred by the SYMB$ request.<br />

IMAGE_ADDRESS_SECTOR<br />

PLUS Attribute: 24-bit integer<br />

The mass storage sector address to which the SDF image was written. This field is<br />

undefined if output file type is not an SDF file or element. If a line number control<br />

record (type 053) is written with the data record, this address is the sector address<br />

of the line number control record corresponding to the data record.<br />

IMAGE_ADDRESS_WORD_OFFSET<br />

PLUS Attribute: 6-bit integer<br />

The word offset into the mass storage sector address that the SDF image was<br />

written to. This field is undefined if output file type is not an SDF file or element.<br />

IMAGE_ADDRESS<br />

PLUS Attribute: word machine integer<br />

A one word combination of IMAGE_ADDRESS_SECTOR and<br />

IMAGE_ADDRESS_WORD_OFFSET, contained in bits 13 to 36 and in bits 1 to 6,<br />

respectively. (Bit 1 is the leftmost bit of the word.)<br />

18.1.2. Buffers and Tables for PLUS WRITE Procedures<br />

The SAR$ WRITE function requires that the following buffers and table be supplied by<br />

the calling program:<br />

• Output buffer<br />

The output buffer is used to write to mass storage files. The calling program never<br />

needs to access the output buffer, but it must provide it to SAR$. If the calling<br />

program is using both the READ and WRITE functions of SAR$, then it cannot use<br />

the same I/O buffer for both functions. The calling program must provide a separate<br />

input and output buffer for each function.<br />

18–10 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!