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

Data Record<br />

The first word of each data record is the image control word. For data records written by<br />

SIR$, the format of the image control word is as follows:<br />

0<br />

0 1 11 12 17 18 23 24 29 30 35<br />

0<br />

image length<br />

(words)<br />

previous images<br />

deleted flag<br />

delete cycle<br />

number<br />

new images flag<br />

start cycle<br />

number<br />

S6 is the element cycle at which the image was added; S4 is the cycle at which it was<br />

deleted. If the image is added on the latest cycle (after cycle zero), the new flag is set.<br />

The calling processor marks the line as "NEW". If this is not a new image and any<br />

previous images were deleted on the cycle, S3 is nonzero.<br />

When the symbolic input is from a FURPUR-formatted element file, the tape label block<br />

is read prior to entering SIR$. SIR$ then treats it as a program-file element. After SIR$<br />

is closed, the tape is positioned in front of the new element label block.<br />

SIR$ contains its own D-bank; however, all D-bank references in SIR$ are made using<br />

index registers. This allows the SIR$ D-bank to be located above the 65K addressing<br />

boundary.<br />

23.1. SIR$–Control Options<br />

SIR$ uses options to control the input and output of the symbolic elements. Most of the<br />

Unisys language processors (FTN, MASM, ACOB, NUALG, etc.) and system processors<br />

(DATA, ELT, PDP, and Collector) use the SIR$ routine to obtain input. The following<br />

options are available in most language system processors:<br />

G<br />

H<br />

I<br />

Input is compressed symbolic in columns 1 through 80 of the symbolic images.<br />

Applies only with I option.<br />

Input contains sequence numbers in columns 73 through 80 of the images. Applies<br />

only with I option.<br />

Read images from the runstream and insert them into a new symbolic. If the I<br />

option is present without any source input (SI) specification, SIR$ reads images from<br />

the runstream and passes them to the caller. In this case, if the calling program is a<br />

multipass processor, a scratch file (usually PSF$) must be provided so that the<br />

source images can be processed on the second and subsequent passes.<br />

23–6 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!