Hello,
I'm using an error subfile to display screen errors, in a order entry system. I'm using the QMHSNDPM api and QMHRMVPM to send error messages to the subfile and clear the subfile, respectively. However, I have a situation where a screen error message was sent to the error subfile and then I chain to a file and receive record lock (on the chained to file), the "record in use by job" is also being loaded to the error subfile (not sure how this happens) and then the first error loaded and also the "record in use by job" message both display. Just wondering if there's a way to exclude the "record in use by job" message (or any other non screen related errors) from displaying in the error subfile.
Any ideas would be appreciated.
Thank you.
I'm using an error subfile to display screen errors, in a order entry system. I'm using the QMHSNDPM api and QMHRMVPM to send error messages to the subfile and clear the subfile, respectively. However, I have a situation where a screen error message was sent to the error subfile and then I chain to a file and receive record lock (on the chained to file), the "record in use by job" is also being loaded to the error subfile (not sure how this happens) and then the first error loaded and also the "record in use by job" message both display. Just wondering if there's a way to exclude the "record in use by job" message (or any other non screen related errors) from displaying in the error subfile.
Any ideas would be appreciated.
Thank you.
Comment