Build/Run Menu


Compile

Compiles a .rpgsp file or an RPGLE source member.

.rpgsp files (i.e. RPG Smart Pages) are compiled into the CGI object library as specified in your iSeries sever profile under Tools -> Options. A CGI program object, along with a QCOMPILED source member to store the HTML code, is created. The compiler goes through the following process:

When the active document is an RPGLE source member, the compile option simply creates a program object with the use of the iSeries CRTBNDRPG command.

The compiler is intelligent enough to detect SQL statements within your code, and will automatically redirect the compile to the iSeries CRTSQLRPGI command when necessary.

If errors occur during the compile, they are reported into the compiler output window. You are able to click on any error message to go to the problem area. To view a more comprehensive compile listing, right-click the compiler output window.

Compile As xxxx

The Compile As option allows you redirect the compiler to another iSeries compile command. For example, by selecting Compile As Module, an RPGLE source member is compiled into a module, where as by default it compiles into a Program. This option also allows you to compile non-RPGLE source members, such as CL programs, display files and database files. Source members must be saved to the library file system before they can be compiled.

Compile All Pages

Compiles all open RPG Smart Page documents. Pages that have not been changed since their last compile are omitted.

Launch in Browser

Opens a browser window and points it to the URL of the current document. The URL is automatically derived based on the type of document (RPGSP or HTML) and document location, as well as Root IFS Folder, HTTP Root, and HTTP CGI Directory parameters as defined under Tools -> Options.

RPGSP documents must be compiled before they are launched, while HTML documents must simply be saved before they are launched.

Launch Home Page in Browser

Opens a browser window and points it to the Home Page of your RPGsp-based web or intranet site. The Home Page URL is retrieved from the HTTP Root parameter of the iSeries Web Server Profile under Tools -> Options.

 


Profound Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925