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.

SAR$ WRITE<br />

Table 18–6. SAR$: WRITE Procedure SW$CALLST Codes<br />

Octal Code Status<br />

0100 An unrecognized error has occurred in the SDFO routine. The SDFO error<br />

code is returned in the SUB_STATUS field.<br />

0101 An unrecognized error has occurred in an ACD subroutine. The ACD error<br />

code is returned in the SUB_STATUS field.<br />

0102 An unrecognized error has occurred in executing ER SYMB$. The SYMB$<br />

error code is returned in the SUB_STATUS field.<br />

0103 An incorrect SDFO packet version is being used. The correct SDFO packet<br />

version is returned in the SUB_STATUS field.<br />

0104 An incorrect ER SYMB$ packet version is being used. The correct SYMB$<br />

packet version is returned in the SUB_STATUS field.<br />

A SW$CALLST code of 0100 or greater is a SAR$ internal error.<br />

The WRITE procedure I/O status codes listed in Table 18–7 may be returned to the<br />

calling program in the SW$IOSTAT field of the WRITE packet.<br />

Table 18–7. SAR$: WRITE Procedure SW$IOSTAT Status List<br />

Octal Code Status<br />

0 Normal I/O status.<br />

01 to 040 See the Exec ER <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for an explanation of the<br />

I/O status codes.<br />

18.3. WRITE Function <strong>Support</strong>ed Character Set<br />

Types<br />

Table H–1 lists 64 character set types defined for the OS 2200 system. Forty of these<br />

are referred to as ASCII-like. This means that the character set is essentially identical to<br />

the ASCII/ISO character set in the octal range 000 through 0177, with any differences<br />

being minor. Table H–1 identifies the character set types that are ASCII-like.<br />

Throughout this section, wherever ASCII or ASCII/ISO is used, the SAR$ capabilities<br />

apply equally to all ASCII-like character sets.<br />

The following character set types may be written to output files:<br />

• ASCII-like characters, including ASCII/ISO 9-bit characters and ASCII/ISO 9-bit<br />

characters with embedded shift-coded kanji<br />

• Attributed character data (ACD)<br />

18–34 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!