GDDM V3R2 System Customization and Administration
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


CGM code pages

GDDM V3R2 System Customization and Administration
SC33-0871-02



The CGLOAD and CGSAVE API calls, and the ADMUCG and ADMUGC utilities, allow interchange between Computer Graphics Metafile (CGM) and ADMGDF formats.

Generally, text strings in a CGM are in one of the ASCII code pages and so translation of character strings is necessary when GDDM imports (CGLOAD or ADMUCG) or exports (CGSAVE or ADMUGC) CGMs.

Limited support is provided for three ASCII-based CGM code pages, catering for the majority of CGM interchange situations:

  • Code page 437 - ASCII USA
  • Code page 850 - ASCII Multilingual
  • Code page 819 - ISO/ASCII Multilingual
    
    
These are shown in the following figures.

All these code pages use the same code points for the "core" characters (such as uppercase and lowercase Latin letters and numerics). They differ in both the quantity and code points of other characters. Only code page 819 contains all the 190 CECP characters (but not at the EBCDIC/CECP code points).

You can set the CGM code page to be used as a parameter of the API calls or utilities mentioned above, in the CGM conversion profile, or you can let it default to code page 850. Refer to the CGM information in the GDDM Base Application Programming Reference.

You may need to experiment to discover which CGM code page suits your non-GDDM application that generates or interprets CGM.


   PICTURE 21          

Figure 36. Code page 00437 (ASCII USA)



   PICTURE 22          

Figure 37. Code page 00850 (ASCII Multilingual)



   PICTURE 23          

Figure 38. Code page 00819 (ISO/ANSI Multilingual)


Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012