Download Print this page

HP 3000 Manual page 283

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

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
|
678901234567890123456789012345678901234567890123456789012345678901234|
|
|
|
HDUMPFILE JF
|
|
1
FWORKSTN UP
|
F
|
FCUSTMASTUC
|
F
|
F*
|
F* SAMPLE RSI PROGRAM USING THE WORK STATION AS A PRIMARY FILE
|
F*
|
|
2
IWORKSTN NS
|
I* FORM21
|
I
|
I
|
I
|
I* FORM22
|
I
|
I
|
I
|
I
|
I
|
I
|
3
ICUSTMASTNS
|
I
|
I
2
3
X
V
90
F
128R 9AI
01
1 C1
NS
02
1 C2
NS
4
5
B
B N
P1 1
WORKSTNR
B
1 DISK
1
1 FLD1
2
100SSN
1
1 FLD1
2
27 NAME
28
63 ADDR
64
720ZIP
73
82 PHONE#
1
90SSN
10
35 NAME
6
7
KFORMS SAMPLIB
A
KKEYFL KCUSTMST
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5- 285

Advertisement

loading