make sure the messages you are sending are going to the invocation
level of the program. In the joblog look at the "to program" of the
message. You can vary the TOPGMQ to see if that makes a difference.

here are dspf specs for a SFLPGMQ. The key is to load the "THSPGM"
variable with the name of the program.
A R MSGSFL SFL
A SFLMSGRCD(14)
A MSGKEY SFLMSGKEY
A PROG SFLPGMQ

A R MSGSFLCTL WINDOW(OKPROMPT)
A SFLCTL(MSGSFL)
A SFLSIZ(0040)
A SFLPAG(0001)
A OVERLAY
A SFLDSP
A SFLDSPCTL
A SFLINZ
A N99 SFLEND
A THSPGM SFLPGMQ


On Tue, Jun 28, 2011 at 12:03 PM, Billy Waters
<bwaters@xxxxxxxxxxxxxxxxxx> wrote:
I am attempting to create a data entry screen.  I am having problems displaying error messages to the user. My messages display in the job log and not on the screen. I am hoping it is something very simple I have missed.  I apologize for my ignorance and thanks in advance for any help!!

   1300 - SNDPGMMSG MSGID(MOP0001) MSGF(MOPSOURCE/MOPMSGF) MSGDTA('2')
   TOPGMQ(*PRV)
 Line 2: Invalid Option
        - RETURN        /* RETURN due to end of CL program */

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].