340 pts.
 Unmonitored Exception QWM2701 occurred at statement xxx(STRQMQRY)
Dear All, Iam getting this error"Unmonitored exception QWM2701 occurred at statement xxx", once i encounter the STRQMQRY command in my CL program. When i run it directly using the command STRQMQRY QMQRY(LIBXX/QRYXX) & gives the result also. It (the CL-pgm)also has ran in development env. But I promoted it to UIT env; all the trouble started; it blows-up here(STRQMQRY-command) & doens't work. I double checked for all the sources in UIT env; everything is correct. But iam puzzled & clueless as to why it is throwing this exception. Please help. Thanks in advance. Svanky

Software/Hardware used:
RPG/400, RPGLE, CL/400, AS/400
ASKED: October 24, 2011  3:44 PM
UPDATED: March 17, 2012  7:14 AM

Answer Wiki:
Please check your joblog for detail messages. Sounds like it is failing becasue of a different library list. You could have objects not found, level checks, or authority problems.
Last Wiki Answer Submitted:  October 24, 2011  5:36 pm  by  CharlieBrowne   32,945 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,945 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

A QWM2701 message is a notification that a QM query encountered an error. It is a generic message that indicates that you need to look at previous joblog messages for the specific error.

Also, there might be an additional spooled file in the job that has more detailed information.

We need to see the message from the error itself.

Tom

 108,330 pts.