You will find below the conditions to comply with in order to ensure compatibility between the C and the RPG generators for ADELIA programs.

Important note: If you are working with an AS/400 database and if the CLP files contain commands (CLRPFM, OVRDBF, etc.) affecting the files, you can rewrite the CLPs in Adelia language as a set of EXECUTE_CMD instructions containing the AS/400 commands.

Note: You can use an EXECUTE_CMD instruction to call an "*.EXE" program.

Example:

The number -234 returns the string "23M" (the EBCDIC code for "M" is D4).

Warning: This is particularly important when programs are called dynamically. In this case, you must assign the layout code to the variable instead of the IBM name.

 

Restrictions

 

 

↑ Top of page