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

The information for symbolic input and output elements or files (for example, their<br />

names) is obtained from the entries in PARTBL. The information in PARTBL is usually<br />

produced by the PREPRM and PREPRO (see 14.1.1) or PREPF$ (see 14.2) routines from<br />

information specified on the processor call statement.<br />

Some options placed on a processor call statement affect the SIR$ routine. These<br />

options are listed in 23.1.<br />

Depending on which options are specified, SIR$ is directed to<br />

• Write images in Fieldata, ASCII, or without translation.<br />

• Read and check sequence numbers.<br />

• Create symbolic elements from the runstream.<br />

• Update and produce new element cycles.<br />

• List runstream line change statements and change images.<br />

SIR$ reads, processes and writes system data format (SDF) images.<br />

SDF data images from the source input element or file have implicit, sequential line<br />

numbers, beginning with 1. The numbers on runstream correction images refer to the<br />

source input line numbers.<br />

SDF control images in the source input may be passed to the calling program, but the<br />

control images do not have line numbers and do not affect the line numbering of the<br />

source input data images.<br />

See the Data Structures <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for a description of SDF data<br />

images and control images. See the ECL and FURPUR <strong>Reference</strong> <strong>Manual</strong> for a<br />

description of runstream correction images.<br />

Note the following CCS-related restrictions on runstream correction images:<br />

• Runstream line change statements (-n and -n,m), partial line change statements<br />

(-n- and -n,m-) and partial line change editing statements (c/new-data, c,d/new-data/,<br />

/old-data/new-data and /old-data/new-data/) must be Fieldata, ASCII, or ASCII-like<br />

images.<br />

• Runstream partial line change statements (-n- and -n,m-) can only be used to edit<br />

source input images that are Fieldata, ASCII or ASCII-like. That is, source input line n<br />

(first format) or lines n through m (second format) must be Fieldata, ASCII, or<br />

ASCII-like images.<br />

• The CCS of a source input image does not change when it is edited by a partial line<br />

change statement and partial line change editing statements.<br />

• When the partial line change editing statements (c/new-data, c,d/new-data/,<br />

/old-data/new-data, and /old-data/new-data/) are in a different ASCII-like CCS than the<br />

source input image being edited, differences in the graphic representation of<br />

characters may affect the results of SIR$ editing operations.<br />

23–2 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!