×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
In my RPG program, I made an error essage subfile, which can
display the messages in my
program messages queue
t the line 24 of my screen. The DDS and RPG
are listed as follow.
My roblem is, every time the subfile is displayed, it displays at
FIFO order. That s, if I
want to see the latest message, I must press page down and find
he
last one. I hope I can load
the subfile in LIFO order, so the first
isplayed message is always
the newest message in my
program message queue.
Or, is there any other way to achieve this? Thanks.
subfile and subfile controll part of my DDS: FMT DP
.....AAN01N02N03T.Name++++++RLen++TDpBLinPosFunctions++++++++++++++++++
0024.00 R ERRMSG
0025.00 SFL
0026.00 SFLMSGRCD(24)
0027.00 MSGKEY SFLMSGKEY
0028.00 PGMQ SFLPGMQ
0029.00 R MSGCTL
0030.00 OVERLAY
0031.00 SFLCTL(ERRMSG)
0032.00 KEEP
0033.00 SFLSIZ(01)
0034.00 SFLPAG(01)
0035.00 40 SFLINZ
SFLEND
0037.00 SFLDSP SFLDSPCTL
0038.00 PGMQ SFLPGMQ
subfile display part of RPG:
FMT CX
CL0N01Factor1+++++++Opcode&ExtExtended-factor2++++++++++++++++++++++++
0026.00 C eval *in40=*on
0027.00 C exfmt MSGCTL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.