Will the following work?
"SNDPGMMSG *EXT *STATUS"
Any other ideas?
...F. Webster
2) You can put messages in the message subfile by using SNDPGMMSG. You
must send the program message to the appropriate program message queue.
Probably: TOPGMQ(*SAME *).
3) Within the CL program, before writing any formats, you need to
left-justify the PGMQ variable of the message subfile with an '*'. ChgVar
Var( &Pgmq) Value( '*' )
4) You can always do a SNDPGMMSG *EXT *STATUS. This doesn't require a
message subfile. However, you have very little control over how long these
messages will stay on the panel. These messages are better used to provide
feedback during a long running operation while the panel is Input
Inhibited. I sometime use this to provide a Windows like progress bar as
to the percent completion of a job.
Garth Webster <garth....@sympatico.ca> wrote in article
<33A8A9...@sympatico.ca>...
Garth:
Don't know if this will help, but have you tried the ERRSFL keyword at
the file level? It automatically creates a message subfile without
requiring any other subfile coding. The big advantages are: you get a
scrollable subfile to allow the user to roll through all
ERRMSGs/ERRMSGIDs for a display record, and the keyboard doesn't lock,
so second level help is available.
Good luck!
Dave Thomas
dg.t...@sympatico.ca