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.3. Output Fieldata Image<br />

The SOR$ and SORA$ routines translate into ASCII a Fieldata image from a location<br />

specified by the calling program and write it to the symbolic output element.<br />

Calling Sequence<br />

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

LMJ X11,SOR$ (or SORA$)<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 />

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

record. If the SOR$ entry point is called, SOR checks for and suppresses words of<br />

Fieldata spaces at the end of the image. If the SORA$ entry point is called, there is no<br />

space suppression. If this is the first call to SOR$ or SORA$, SOR prints the following<br />

informational message:<br />

SOR: Fieldata symbolic output in not allowed; output is in ASCII.<br />

SOR then translates the Fieldata image to ASCII. The buffer that SOR uses for the<br />

translation is 63 words long, so if the Fieldata image is 42 words or less, SOR translates<br />

the image and then calls SDFO to write it. If the Fieldata image is more than 42 words,<br />

the entire image cannot be translated and written at once. In this case, SOR calls SDFO<br />

to write the first 63 words of the translated image; then continues by translating the next<br />

part of the Fieldata image and calling SDFO to write it as an SDF Continuation control<br />

record, octal code 051. SOR continues writing Continuation control records until the<br />

entire Fieldata image has been translated and written.<br />

To write a Fieldata image to the symbolic output element in Fieldata, the calling program<br />

can use the SORNM$ or SORNMA$ calls described in 25.4. Note also that SOR can be<br />

configured so that the SOR$ and SORA$ entry points write Fieldata images with no<br />

translation to ASCII.<br />

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

SOR$ and SORA$.<br />

25–4 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!