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.

SIR$–Symbolic Input/Output Routine<br />

23.3. External Labels<br />

SIR$ contains a number of data areas that the calling program may access.<br />

• SIRIB$<br />

The start of the 1,792-word input buffer.<br />

• SIROB$<br />

The start of the 1,792-word output buffer.<br />

• SIRP2$<br />

Set to one in CLOSR$ to identify a second pass call to OPNSR$, INISR$,<br />

GETAS$, and GETNM$.<br />

• SIRSDFIFCT$<br />

The start of the SDFI file control table.<br />

• SIRSDFOFCT$<br />

The start of the SDFO file control table.<br />

The calling program may not use the SIRIB$ or SIROB$ buffers between calls to<br />

OPNSR$ or INISR$ and CLOSR$.<br />

23.4. SIR$–Multipass Capability<br />

SIR$ allows many passes to be made over the input element if a scratch file or output<br />

element is available in PARTBL+14,15. (For exceptions, see INISR$, 23.2.2.) For<br />

reusable processors, SIR$ must be told when to initialize itself to process the element<br />

designated on the next processor call statement that INFOR CLIST reads. The calling<br />

program must store zero into the externally defined cell SIRP2$ in SIR$. No other action<br />

is required.<br />

23.5. Compressed Symbolic Elements<br />

To minimize the number of cards required to contain a symbolic element, the FURPUR<br />

processor can compress strings of blanks in symbolic images before punching the<br />

element. SIR$ expands the compressed images on input.<br />

A compressed symbolic image card deck is produced when the appropriate options are<br />

used on the FURPUR @PCH control statement. (See the ECL and FURPUR <strong>Reference</strong><br />

<strong>Manual</strong>.) SIR$ converts compressed card image decks to SDF images upon initial input<br />

when the I and G or J options are specified on the processor call statement (see G.1).<br />

The first card punched is an @ELT or @PDP control statement with the appropriate<br />

options. Following the control statement are the cards that contain compressed<br />

symbolic images.<br />

The compressed image consists of a stream of characters in the following format:<br />

23–20 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!