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 />

Character Set Change Control Record<br />

When the source output contains images in more than one CCS, Character Set Change<br />

control records are written by SIR$ each time an image to be written is in a different<br />

CCS than the previously written image. The Character Set Change control record<br />

indicates the CCS of one or more images that follow. The control record format is as<br />

follows:<br />

0 5 6 11 30 35<br />

042<br />

Word 0<br />

0 CCS<br />

S1<br />

S2<br />

S6<br />

042 indicates that this is a Character Set Change control record.<br />

Zero.<br />

The CCS of the data records that follow.<br />

23.2. SIR$ Entry Points<br />

The SIR$ routine contains six entry points<br />

OPNSR$ Initialize SIR$ for symbolic input and output.<br />

INISR$ Initialize SIR$ with additional information.<br />

GETAS$ Read a symbolic image in ASCII.<br />

GETSR$ Read a symbolic image in Fieldata.<br />

GETNM$ Read a symbolic image without translation.<br />

CLOSR$ Close SIR$ input and output.<br />

Note: Either OPNSR$ or INISR$ may be called for initialization. Both routines cannot<br />

be called on the same pass.<br />

23.2.1. OPNSR$–Open SIR$ Input and Output<br />

OPNSR$ initializes SIR$ to allow input and output of symbolic data.<br />

OPNSR$ provides first or second pass initialization for the GETAS$, GETSR$, and<br />

GETNM$ read symbolic image routines. If the symbolic input is from a program file or<br />

tape, the System Data Format Input (SDFI) routine is opened. If the symbolic output is<br />

specified, the System Data Format Output (SDFO) routine is opened.<br />

23–10 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!