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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SAR$ READ<br />

17.3.3. ASCII/ISO with Embedded Shift-Coded Kanji<br />

If the input images contain embedded shift-code bytes and REQUEST_TYPE is<br />

S'Translate_embedded_KANJI' (for PLUS) or SR$REQTYPE is 1 (for MASM), the READ<br />

procedures remove the embedded shift-code bytes and return the images in internal<br />

format. The character text is returned in the text buffer, and the attributes are returned<br />

in the attribute table. Subsection 16.2 describes internal format.<br />

If REQUEST_TYPE is S'Pass_embedded_KANJI' (for PLUS) or SR$REQTYPE is 0<br />

(for MASM), the READ procedures do not remove the embedded shift-code bytes.<br />

The entire image is returned untranslated in the text buffer.<br />

Multiple Block Sequence Indicator<br />

If the input images are from a card reader file created by the Nippon-go Preprocessors<br />

for ASCII COBOL (NCOB) and ASCII FORTRAN (NFTN), they may contain a logical record<br />

that is divided into two or more physical records. The record is divided because these<br />

processors run on EXEC level 38R5 or lower levels that do not allow more than 132<br />

characters in a record. To read one logical record rather than two or more physical<br />

records, the multiple block sequence indicator is set in the last shift code of a record.<br />

The records must reside in a symbiont file, and the text buffer must be at least 264<br />

characters long.<br />

17.3.4. Attributed Character Data<br />

If the input images are attributed character data (ACD), the READ procedures translate<br />

the images into internal format. The text part is returned in the text buffer, and the<br />

attributes are returned in the attribute table. Subsection 16.2 describes internal format.<br />

The Data Structures <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> describes ACD format.<br />

17–34 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!