02.02.2013 Views

Software AG IDL Editor - Software AG Documentation

Software AG IDL Editor - Software AG Documentation

Software AG IDL Editor - Software AG Documentation

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.

■ ICU conversion, together with S<strong>AG</strong>TRPC as the conversion routine in the broker, takes care<br />

of data increase/decrease. This is the standard approach for multibyte (non-modal) and<br />

double-byte (modal) codepages. See ICU Conversion under Introduction to Internationalization.<br />

In environments where single-byte codepages are used:<br />

■ The amount of data (field length) neither increases nor descreases.<br />

■ ICU Conversion, together with S<strong>AG</strong>TCHA as the conversion routine in the broker, is the<br />

standard approach here. See ICU Conversion under Introduction to Internationalization.<br />

For more information, see What is the Best Internationalization Approach to Use? under Introduction<br />

to Internationalization.<br />

18. The <strong>IDL</strong> types K and KV fields allow for IBM modal codepages to transfer double-byte data<br />

without SO and SI bytes. This feature is designed for use in Asian countries.<br />

If S<strong>AG</strong>TRPC is used as the conversion routine in the broker:<br />

■ SO and SI bytes may not be contained in <strong>IDL</strong> type K and KV fields<br />

■ double-byte characters are allowed in <strong>IDL</strong> type K and KV fields only<br />

■ single-byte characters cannot be transferred in <strong>IDL</strong> type K and KV fields<br />

If S<strong>AG</strong>TRPC User Exit is used as the conversion routine in the broker:<br />

■ the handling of the different <strong>IDL</strong> type fields depends on the implementation of the S<strong>AG</strong>TRPC<br />

User Exit.<br />

■ This is the customer's responsibility. See Writing S<strong>AG</strong>TRPC User Exits in the platform-specific<br />

administration documentation.<br />

For more information see What is the Best Internationalization Approach to Use? under Introduction<br />

to Internationalization.<br />

19. The length is given in 2-byte Unicode code units following the Unicode standard. UTF-16. The<br />

maximum length is restricted to 805306367 2-byte code units.<br />

Depending on your target environment and target programming language, the mapping may<br />

follow a different Unicode standard, for example UTF-32.<br />

Rules for Coding <strong>IDL</strong> Files<br />

1. Statements and their lexical entities can begin in any column and are separated by any number<br />

of whitespace characters: blank, new line carriage return, horizontal tab, and form feed.<br />

2. The maximum line length allowed in an <strong>IDL</strong> file is 256 characters.<br />

3. Comments can be entered in the following ways:<br />

<strong>Software</strong> <strong>AG</strong> <strong>IDL</strong> <strong>Editor</strong><br />

The <strong>Software</strong> <strong>AG</strong> <strong>IDL</strong> File<br />

27

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

Saved successfully!

Ooh no, something went wrong!