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.

SOR–Symbolic Output Routine<br />

25.4. SORNM$ and SORNMA$–Output Specified<br />

Coded Character Set Image<br />

The SORNM$ and SORNMA$ routines write, without translation, an image from a<br />

location specified by the calling program to the symbolic output element. The coded<br />

character set (CCS) of the image is specified by the calling program.<br />

Calling Sequence<br />

L A0,(image-length,image-location)<br />

L,U A1,CCS-identifier<br />

LMJ X11,SORNM$ (or SORNMA$)<br />

error return<br />

normal return<br />

where:<br />

image-length<br />

The length in words of the symbolic image to output.<br />

image-location<br />

The address of the symbolic image to output.<br />

CCS-identifier<br />

The CCS of the symbolic image, as described in Table I–1. The calling program is<br />

responsible for assuring that the symbolic image has the correct format for the<br />

specified CCS. Note that CCS octal 076 is reserved for future use and is currently<br />

illegal.<br />

If this is the first call to output an image, SOR calls SDFO to write the SDF Label control<br />

record. If this is not the first call to output an image, SOR checks if the CCS identifier for<br />

the image to be written is the same as the CCS of the previous symbolic image. If it is<br />

not, SOR calls SDFO to write a Character Set Change control record, octal code 042.<br />

This control record indicates the CCS of one or more symbolic images that follow.<br />

The SORNM$ entry point is called to request space suppression at the end of the image.<br />

If this is a Fieldata image (CCS 0), SOR checks for and suppresses words of Fieldata<br />

spaces. If this is an ASCII image (CCS 1) or an image in one of the 39 CCSs listed in<br />

Table I–1 as “ASCII-like,” SOR checks for and suppresses words of ASCII spaces. If this<br />

is an image in one of the 22 CCSs that is not Fieldata, ASCII, or ASCII-like, SOR checks<br />

for and suppresses words of binary zeroes. If the SORNMA$ entry point is called, there<br />

is no space suppression.<br />

The SOR error returns described for SORASC$ and SORASCA$ in 25.2 also apply to<br />

SORNM$ and SORNMA$. The following error return is unique for SORNM$ and<br />

SORNMA$: If the CCS-identifier is not a legal CCS (A1 is negative, equal to octal 076 or<br />

over octal 077), SOR returns with A5 (H1) equal to 1 to indicate a CCS identifier error and<br />

A5 (H2) equal to the CCS identifier.<br />

7833 1733–004 25–5

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

Saved successfully!

Ooh no, something went wrong!