Progress/400
Product Guide
Internationalization Startup Parameters
In order to run the native clients you must be familiar with the defaults for the
-cp*
startup parameters. The defaults in the AS/400 environment are different from the defaults in the Windows and UNIX environments, as Table 5–6 illustrates.
The main
-cp*
parameters are-cpinternal
and-cpstream
. Some guidelines on these and the other parameters follow:
- Do not change the value of
-cpinternal
. Progress/400 is built on an AS/400 using code page IBM037, and the product uses this internal code page value.- The
-cpstream
parameter tells Progress the code page of the source code (.p) and the output (to printer or file). Because both the source code and the output involve operating system objects, it is expected that-cpstream
matches the operating system code page used by the AS/400. If your program uses a different code page, you must specify it when you start up the native clients. See "Using the Progress/400 Native 4GL Client," for the syntax to start up the Native 4GL Client. See "Using the Progress/400 AppServer," for instructions on how to start up the AppServer.If you do not specify
-cpstream
and the source program contains characters that are not in the IBM037 code page, the compiler might not understand the source code, or some characters might be converted incorrectly in the output.- As noted, the
-cplog
,-cpprint
, and-cpterm
parameters obtain their values from the main-cp*
parameters.- The remaining parameters are not relevant in the AS/400 environment.
Observe that the native clients use IBM037 as the default code page value for the
-cpinternal
and-cpstream
parameters rather than the Progress default code page values of ISO8859-1 and IBM850, respectively.If you store procedures in the IFS in ASCII format (IBM850) directly from a Windows machine to a mapped drive, you must set
-cpstream
parameter appropriately. In this case, you must set it to either IBM850 or ISO8859-1. For example, the following command writes files into the IFS that can then be read by an ASCII client:
For more information about the -cpstream and -cpprint parameters, see the Progress Startup Command and Parameter Reference.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |