IBM Support

UIM Example for QUHDSPH API - Display Help Panel in a Customized Window

Troubleshooting


Problem

This document explains how to use the QUHDSPH API to produce a customized window that contains Help information for a UIM display.

Resolving The Problem

The SAVF attached to this document contains an example program using the QUHDSPH API. The SAVF was created using SAVLIB UIMTESTLIB. To recover this SAVF, use FTP to upload the file from your PC to the IBM System i system. If necessary, additional instructions are provided below. Then, run the following command:

RSTLIB SAVLIB(UIMTESTLIB) DEV(*SAVF) SAVF(UIMTEST) MBROPT(*ALL) ALWOBJDIF(*ALL)

Once this is done, go into the QRPGLESRC file. You will see the source for program UIMHLPDSP which is the only program compiled in this SAVF. This program can be called at this time, and the help panel window should pop up on your screen. The additional source files and PF in the library contained within this SAVF come from the IBM-supplied ORDLIB library.

The SAVF UIMTESTLIB contains some additional source files that were part of the ORDLIB package. These included programs and display files take full advantage of the latest 5250 DDS capabilities.

Additional detailed instructions for FTPing Files from your PC to the System i System

To FTP files from your PC to the System i system, do the following:

1.Create the UIMTEST SAVF in your current library on the System i system.
2.On the Windows command prompt, use the DOS Change Directory (cd) command to go to the path where you saved the UIMTEST SAVF.
3.FTP <your SystemI system>, log in.
4.Type: bin (for binary transfer mode). (Your library should automatically be set up on your CURLIB).
5.Type: put UIMTEST

UIMTEST.SAVF

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

422883665

Document Information

Modified date:
18 December 2019

UID

nas8N1014836