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 following table lists SIR$ source output operations in greater detail. The columns of<br />

the table list the P option, the Q option, and both the P and the Q options. Note that the<br />

"neither P nor Q option" case is discussed later in this section. There are separate rows<br />

in the table for input images in Fieldata, ASCII, ASCII-like CCSs, the 22 "other" CCSs, and<br />

the illegal CCS. The input image may originate in either the runstream or the source<br />

input. The intersection of the columns and rows is the SIR$ source output action with<br />

this combination of options and input image CCS type.<br />

Input Image Type<br />

P Option<br />

Fieldata Unchanged<br />

Fieldata image<br />

ASCII Translated to<br />

Fieldata image<br />

ASCII-like Translated to<br />

Fieldata image<br />

"Other CCS" Error; image<br />

not written<br />

Illegal CCS Error; image<br />

not written<br />

Q Option<br />

Translated to<br />

ASCII_ISO<br />

image<br />

Unchanged<br />

ASCII image<br />

Unchanged<br />

ASCII-like<br />

image<br />

Error; image<br />

not written<br />

Error; image<br />

not written<br />

P and Q<br />

Options<br />

Unchanged<br />

Fieldata image<br />

Unchanged<br />

ASCII image<br />

Unchanged<br />

ASCII-like<br />

image<br />

Unchanged<br />

image in<br />

"other" CCS<br />

Error; image<br />

not written<br />

In summary, when the P option is specified, the source output contains only Fieldata<br />

images; when the Q option is specified, the source output can contain images in ASCII<br />

and any of the 39 ASCII-like CCSs; and when both the P and the Q options are specified,<br />

the source output can contain images in any of the 63 legal CCSs.<br />

When neither the P nor the Q option is specified, the CCS of source output images<br />

depends on the presence of the I option.<br />

When the I option is specified, both the P and the Q option are assumed. Runstream<br />

images in all 63 legal CCSs can be written unchanged to the source output. The "P and<br />

Q options" column of the preceding table lists the SIR$ source output action for the<br />

runstream image types listed in the rows.<br />

When the I option is not specified, the CCS of the source output image is determined as<br />

follows:<br />

• When a source input image is written to the source output, it is written unchanged<br />

and retains its CCS.<br />

• When a runstream image following a -n line-change statement is written to the<br />

source output, the CCS of the output image is based on the CCS of source input<br />

image n, as shown in the table that follows.<br />

• When a runstream image following a -n,m line-change statement is written to the<br />

source output, the CCS of the output image is based on the CCS of source input<br />

image m, as shown in the table that follows.<br />

23–8 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!