|
I group the indicators so I can check and clear them in one fell swoop.
D displayInd DS
D fKeys 26A
Function Keys
D exit N OverLay(fkeys : 3)
F3=Exit
D refresh N OverLay(fkeys : 5)
F5=Refresh
D add N OverLay(fkeys : 9)
F5=Refresh
D cancel N OverLay(fkeys : 12)
F12=Cancel
D pageDown N OverLay(fkeys : 25)
Page Down
D pageUp N OverLay(fkeys : 26)
Page Up
D recordAtr 13A
Special Rec. atribs.
D screenChanged...
D N Overlay(recordAtr : 1)
*IN27
D sflDsp N OverLay(recordAtr : 4)
*IN30
D sflDspCtl N OverLay(recordAtr : 5)
*IN31
D sflEnd N OverLay(recordAtr : 6)
*IN32
D msgSflEnd N OverLay(recordAtr : 7)
MsgSFL SFLEND *IN33
D sflNxtChg N OverLay(recordAtr : 12)
*IN38
D editError 20A
Field error indictor
D fieldError N Overlay(editError : 1)
*IN40 - *IN59
D Dim(20)
D optionError N OverLay(editError : 1)
*IN40
D fieldAtr 20A
Special field atribs
D sflHome N OverLay(fieldAtr : 1)
*IN60
D fileAtr 20A
Special file atribs.
D authority N OverLay(fileAtr : 1)
*IN80
/Free
DoU exit or cancel or
(Not screenChanged and
editError = *OFF);
ExSr prepareDisplay;
ExFmt WDVNDCOPY;
/Include QRPGCBSRC,CQMHRMVPM
Select;
When exit or cancel;
Leave;
When refresh;
ExSr refreshScreen;
Other;
ExSr editVendor;
EndSl;
EndDo;
If Not Exit and Not cancel;
ExSr copyVendor;
EndIf;
displayInd = saveDisplayInd;
Return;
/End-Free
NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named. Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.