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.

LINES_PER_INCH<br />

PLUS Attribute: 18-bit signed integer<br />

SAR$ WRITE<br />

The number of lines per inch; it may be 6, 8, or -1 (device standard value). This field<br />

is defined only for the CONTROL_FUNCTION S'Set_margins'.<br />

Returns<br />

SAR_WRITE_CONTROL returns the calling status in the WRITE packet field<br />

CALL_STATUS. If the status is S'Normal', then the write control operation was<br />

successful.<br />

If the status returned from SAR_WRITE_CONTROL is not S'Normal', then an error has<br />

occurred and CALL_STATUS contains the status code. See 18.1.4 for a list of WRITE<br />

function status codes.<br />

18.1.3.4. SAR_CLOSE_OUTPUT Procedure Call<br />

The SAR_CLOSE_OUTPUT procedure performs the necessary tasks to close the output<br />

operation. If the output type is an SDF element, the element is added to the program<br />

file table of contents.<br />

Initial Condition<br />

The calling program may set the following optional parameter in the WRITE packet to an<br />

appropriate value before calling SAR_CLOSE_OUTPUT:<br />

ELEMENT_CREATION_DATE_AND_TIME<br />

This parameter is described in 18.1.1.2.<br />

Calling Format<br />

PROCEDURE SAR_CLOSE_OUTPUT<br />

(WRITE_PACKET_ADDRESS: WORD MACHINE POINTER)<br />

IMPORTED ('SAR$CLOSO$PG');<br />

Returns<br />

SAR_CLOSE_OUTPUT returns the calling status in the WRITE packet field<br />

CALL_STATUS. If the status is S'Normal', then the close was successful.<br />

If the status returned from SAR_CLOSE_OUTPUT is not S'Normal', then an error has<br />

occurred and CALL_STATUS contains the status code. See 18.1.4 for a list of WRITE<br />

function status codes.<br />

7833 1733–004 18–17

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

Saved successfully!

Ooh no, something went wrong!