Progress/400
Product Guide


Compiling P-code on the AS/400

For improved performance, execute r-code stream files instead of p-code. Compile p-code into r-code using a Progress 4GL procedure. The Progress 4GL procedure to create r-code must include the following syntax:

COMPILE p-code SAVE. 

When compiling p-code, Progress/400 lists any compilation errors in the job log with the word “note” and an error number.

Follow these steps to compile code on the AS/400:

  1. Execute your Progress 4GL compile procedure.
  2. Check the job log on the AS/400 for any errors beginning with the word “note.”
  3. Fix any Progress code errors on the remote client, check syntax, and repeat the code transfer.
  4. Repeat these steps until you have a clean compile.

See "Using the Progress/400 Native 4GL Client," or "Using the Progress/400 AppServer," for specific client details.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095