Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

Program Calls

Profound.js allows you to call any existing IBM i programs, including programs written in CL, RPG, COBOL, and C. You can even call interactive programs, such as programs that use a green-screen interface or programs that use RPG Open Access to display a Rich User Interface. When a green-screen program is called, the green-screen interface is converted to HTML5 on-the-fly. This capability is provided by Genie.

...

Code Block
languagejavascript
pjs.call("PROGRAM");

...


Parameters

Passing parameters is very simple with Profound.js because of support for Strongly typed fields. You can simply define a parameter field using the IBM i data type expected by the program you are calling. For example:

...