Session manager

For all applications that use a session manager, you must ensure that the output data stream has no X'3F' values in it. The operating system uses X'3F' values to blank out a screen.

General sort sequence

The sort sequence used by a program might influence the program logic. The following figure shows an example of this.

Using the Latin 1 shared-weight sort sequence, character test 3 is equivalent to character test 4 (not all characters are shown). When using hexadecimal or unique sorting, they are completely different. The following example shows an RPG program using different sort sequences.

*  RPG Source   (Program created with Latin 1 sort sequence)
*
C* Test char 3
C*
C           FLD1      IFEQ 'a'
C                     ...
C* Test char 4
C*
C           FLD1      IFEQ 'a'
C           FLD1      OREQ 'A'

C FLD1 OREQ ' a acute character '

C FLD1 OREQ ' A acute character '

C                      ...
C*
C                     SETON                                   LR

If you compile the program with *JOBRUN specified for the SRTSEQ parameter and *JOBRUN specified for the LANGID parameter, the sort sequence table used at run time is not known at compile time.

ILE C/400® and DB2® Query Manager and SQL Development Kit for iSeries™ licensed programs have additional special considerations.

Related concepts
Language identifier (QLANGID) system value