Page 1 of 1

Open Access vs precompiler

Posted: Mon Nov 14, 2011 1:40 pm
by RICHARD RUTA
How do you recommend that we work between 2 systems, only one of which has Open Access. The one without Open Access (V5.R4) is running on a deployment license. The one with Open Access (V6.R1 soon to be V7.R1) has both a deployment and a development license. Both systems are running the same programs.

Re: Open Access vs precompiler

Posted: Tue Nov 15, 2011 12:31 pm
by Rob
Make sure the RPG source has the HANDLER keyword added to all display files. This keyword is not mandatory for the pre-processor, but it is mandatory for Open Access.

Make sure the H/DEFINE PROFOUNDUI line is also added to all RPG source. This line is mandatory for the pre-processor but will be ignored by Open Access.

The pre-processor at compile time will still operate on a V6 or V7 box so the program objects destined for the V5R4 box need to be compiled with the pre-processor.

The program objects destined for the Open Access environment need to be compiled using the normal RPG compile commands.

Essentially you will need two compile/distribution processes.