Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
Once you have compiled your program, you are ready to launch it as a browser application. You can launch it as an anonymous program, or you can require users to sign in to establish a session before calling the program.
...
Note: Anonymous Programs can also be configured by directly editing a database file. This is useful for production and QA systems that do not have a visual designer. Details here.
Launching a Session
In order to have users sign in through a session, you must specify an initial program for them. This can be done individually for each user, or by providing a default program for all users. In the visual designer, select Launch → Maintain Initial Programs from the ribbon.
In the top section of the dialog, specify the default program for all users. You can override the initial program for each specific user, in the editable grid, at the bottom of the dialog.
...
Note: Initial programs can also be configured by directly editing database files. This is useful for production and QA systems that do not have a visual designer. Details here.
Passing Parameters to Initial Programs
To use the parameter interface, we’ve implemented query string parameters ‘px’ and ‘lx’ to indicate the parameter values and lengths. It’s very important that the order of the parameters and lengths match up exactly to the parameter list in your CL or RPG program or you’ll get “pointer or parameter” errors when trying to call them. You can pass as many parameters as you like by using p1, l1, p2, l2, etc as many times as you want.
...
Only data types that can be represented as characters can be passed. Primarily this is just *CHAR, but positive zoned decimals and dates can be used if needed.
Launching PHP
To launch a PHP script, you must specify a path to it using the controller query string parameter. For example: http://yourServer:8080/profoundui/start?controller=/php/profoundui/helloworld.php
PHP must be enabled (see here). If default settings are used, the above helloworld.php file would be stored in the /www/zendcore/htdocs/profoundui IFS directory.
Launching through Genie
Genie is a browser-based 5250 emulator that can run both Rich Display programs and green-screen programs (refaced on-the-fly). You can start a Genie session with the following URL: http://yourServer:8080/profoundui/genie. A simple CALL, just like you would call any other RPG prorgam, is all that's required to launch a Rich Display program from Genie. For more information about Genie, see here.