HP RPG/iX Utilities Reference Manual (30318-90006)
5- 285
16 Chapter 5 Using SIGEDITOR with RPG
Introduction
This chapter explains how to design SIGEDITOR forms for use with RPG. The chapter assumes you are
familiar with SIGEDITOR. For more information about SIGEDITOR functions, refer to chapters 1 through
3.
Sample RPG Program
The program in Figure 4-1 uses two forms, FORM21 and FORM22, in the forms file SAMPLIB. The
program adds, deletes, and updates records in a KSAM file.
___________________________________________________________________________________
| |
| 1 2 3 4 5 6 7 |
| 678901234567890123456789012345678901234567890123456789012345678901234|
| |
| |
| HDUMPFILE JF X B B N P1 1 |
| |
| 1 FWORKSTN UP V 90 WORKSTNR B |
| F KFORMS SAMPLIB |
| FCUSTMASTUC F 128R 9AI 1 DISK A |
| F KKEYFL KCUSTMST |
| F* |
| F* SAMPLE RSI PROGRAM USING THE WORK STATION AS A PRIMARY FILE |
| F* |
| |
| 2 IWORKSTN NS 01 1 C1 |
| I* FORM21 |
| I 1 1 FLD1 |
| I 2 100SSN |
| I NS 02 1 C2 |
| I* FORM22 |
| I 1 1 FLD1 |
| I 2 27 NAME |
| I 28 63 ADDR |
| I 64 720ZIP |
| I 73 82 PHONE# |
| I NS |
| 3 ICUSTMASTNS |
| I 1 90SSN |
| I 10 35 NAME |