The RPG code:
*************************************************************
* A program to show a pick window for prompting: *
* 4/98 Booth M. *
* *
* *
*************************************************************
FSUBFLFM CF E WORKSTN
F RRNA KSFILE SFLA
FAPTERMS IF E DISK
C* ..................................................
C *ENTRY PLIST
C PARM APTERM 15
C**
C* Fill the subfile:
C Z-ADD1 RRN 40
C READ RAPTERMS 58
C *IN58 DOWEQ*OFF
C Z-ADDRRN RRNA
C WRITESFLA
C ADD 1 RRN
C READ RAPTERMS 58
C END
C RRNA IFGT 5
C MOVE *ON *IN91
C END
C EXFMTFMT01
C**
C* If a choice was made, save it to PARM for return:
C RRNA IFGT *ZEROS
C RRNA CHAINSFLA 54
C END
C MOVE *ON *INLR
C* ....................................................
|