Hello Kent,
Thanks for replying. I got it fixed. It seems Query Supervisor can only send a SQL7064 as long as you use QSYS/QSQLMSG which is the default *MSG file from IBM. But, if you create and use your own message file, then you can send any Message id which you define in your personal file. The send_message command takes library as one of the inputs.
I my case, I got my issue resolved by a different method. I still used SQL7064, but I changed my message_text that I was sending to the QSYSOPR queue. ABS had the feature to filter the text message and act accordingly and hence my issue got resolved. But, if ABS did not have that feature, then creating our own MSG file is the way to go I guess.
------------------------------
Santosh Yadav
------------------------------
Original Message:
Sent: Tue May 02, 2023 05:14 PM
From: Kent Milligan
Subject: Query Supervisor: SQL7064 Message ID
What type of error are you seeing? I don't believe there's any restrictions on which messages that the Query Supervisor can send.
------------------------------
Kent Milligan
------------------------------