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

SR$SDFICW<br />

The image control word for the SDF record read. This field is defined only if input is<br />

from an SDF file or element. If bit 1 of SR$SDFICW is set, the image is a control<br />

record. If bit 1 of SR$SDFICW is clear, the image is a data record. Bit 1 is the<br />

leftmost bit of the field. See the Data Structures <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong><br />

for further information on System Data Format (SDF) image control words.<br />

SR$ICWTYPE<br />

If the image is a control record, this field contains the control record type. If the<br />

image is a data record, this field is undefined.<br />

SR$ICWLEN<br />

If the image is a control record, this field contains the length in words of the control<br />

record. If the image is a data record, this field is undefined.<br />

SR$ICWCHAR<br />

This field contains the image character set type, if applicable for this control record<br />

or data record.<br />

17.2.1.4. READ Packet Definition PROC<br />

The PROC S$ARRPDEF generates the EQUFs to define the READ packet. The calling<br />

program may optionally attach an X-register and a B-register to these EQUFs. This<br />

allows the calling program to allocate storage space for the READ packet either statically<br />

at assembly time or dynamically at execution time. The calling program may display the<br />

EQUF labels by setting the display-flag parameter on the PROC call. This PROC also<br />

generates EQUs defining the READ packet current version and word length at labels<br />

SR$CURVER and SR$PKTWLEN, respectively.<br />

Calling Format<br />

S$ARRPDEF x-reg,b-reg,dispflg<br />

Parameters<br />

x-reg<br />

b-reg<br />

The X-register to be attached to the READ packet EQUFs. If x-reg is omitted, no<br />

X register is attached to the EQUFs.<br />

The B-register to be attached to the READ packet EQUFs. If it is omitted, no<br />

B register is attached to the EQUFs.<br />

17–26 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!