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 columns of the table list the source input image type for image n or m, described<br />

above. The types are Fieldata, ASCII, or ASCII-like and other CCSs. The rows of the<br />

table list the runstream image type to be written to the source output. The types are<br />

Fieldata, ASCII, or ASCII-like and other legal CCSs. The intersection of the columns and<br />

rows is the SIR$ source output action with this combination of source input image CCS<br />

type and runstream image CCS type.<br />

Runstream<br />

Input Image<br />

Type<br />

Source Input<br />

Image is<br />

Fieldata<br />

Fieldata Unchanged<br />

Fieldata image<br />

ASCII or<br />

ASCII-like<br />

Translated to<br />

Fieldata image<br />

"Other CCS" Error; image not<br />

written<br />

Source Input<br />

Image is ASCII<br />

or ASCII-like<br />

Translated to<br />

ASCII_ISO<br />

image<br />

Unchanged<br />

ASCII,<br />

ASCII-like image<br />

Error; image not<br />

written<br />

Source Input<br />

Image is<br />

"Other" CCS<br />

Unchanged<br />

Fieldata image<br />

Unchanged<br />

ASCII,<br />

ASCII-like<br />

image<br />

Unchanged<br />

image in<br />

"other" CCS<br />

In summary, when the source input image is Fieldata the P option is assumed; when the<br />

source input image is ASCII or ASCII-like, the Q option is assumed; and when source<br />

input image is in another CCS, both the P and the Q options are assumed.<br />

Note that when the calling program is a multipass processor, the second and<br />

subsequent passes usually read the source output that is written by SIR$ during the first<br />

pass. This means that the CCS of an image processed during the first pass may be<br />

different when the same image is processed during the second and subsequent passes.<br />

For example, if the P option is specified, an ASCII-like source input image in decimal CCS<br />

41 is written to the source output in Fieldata. This means that on the second pass the<br />

image can no longer be identified as a CCS 41 image and, in fact, cannot be<br />

distinguished from images that were originally Fieldata, ASCII, or any of the 39 ASCII-like<br />

CCSs. A more extreme example is that if both the P and Q options are not either<br />

specified or assumed, source input images in the 22 “other” CCSs are not written to the<br />

source output. This means that on the second pass the images cannot be passed to the<br />

calling program since they were not written to the source output on the first pass.<br />

7833 1733–004 23–9

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

Saved successfully!

Ooh no, something went wrong!