RPG Coding for Universal Display Files
An RPG program can use the Universal Display File handler by declaring a Universal Display File in the program with HANDLER keyword, as shown here:
The Universal Display File Handler supports only the following operations:
Open
Close
Write
Read
Any other operation will result in an I/O error being received by the RPG program.
When a WRITE operation is performed, the record format’s static content will be combined with the current field data from RPG, and the content will be written to either HTTP or file output, depending on the “destination” property on the record format. A READ operation is only valid when running in the Web Connector, HTTP input parameters can be received.
RPG coding considerations are different for running in the Web Connector, vs. standard program call.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!