|
New to using sub files and message sub files.
My sub file appears to be working correctly. I am display a list of ship to points for a customer entered by the user. I now need to validate the customer and display an error message when the customer is not found. Message is not displayed on the data entry screen. It is displayed in the job log:
CALL PKUP002R
700 - RMVMSG PGMQ(*PRV) CLEAR(*ALL)
- RETURN /* RETURN due to end of CL program */
700 - RMVMSG PGMQ(*PRV) CLEAR(*ALL)
- RETURN /* RETURN due to end of CL program */
1300 - SNDPGMMSG MSGID(MOP0007) MSGF(MOPSOURCE/MOPMSGF) MSGDTA('8')
TOPGMQ(*PRV)
Invalid Customer Number.....
- RETURN /* RETURN due to end of CL program */
Any help would be appreciated..
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.