MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Online abend: SQLcode -723 for Insert operation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
csk
Beginner


Joined: 20 Sep 2006
Posts: 11
Topics: 5

PostPosted: Thu Aug 02, 2007 3:49 am    Post subject: Online abend: SQLcode -723 for Insert operation Reply with quote

Hi,

I am having a situation wherein, our online program is processing an INSERT query into a table say TALTAPN.
During a related online transaction, the sqlcode for the above insert query operation is being thrown as -723.

(Note - Triggers have been defined for this table )
Error type - DB2, Error code = -723,
The description available is - "An Error occurred in a triggered sql statement in trigger WW.GPLAPN3, section number. Information returned: sqlcode -443, sqlstate 38H01 and message tokens MQSEND, MQSND4,rc=110:amSesOpen

And when looked into the trigger, it had the following details -

CREATE TRIGGER WW.GPLAPN3 AFTER INSERT ON WW.TALTAPN
REFERENCING NEW AS NEW FOR EACH ROW MODE DB2SQL
SELECT DB2MQ2C.MQSEND ('CNNCL_ITEM',
'DB2.TRIGGER.POLICY', 'I' ||'TALTAPN '
||NEW.REF_NO||NEW.ALT_APN , NEW.REF_NO ) FROM
SYSIBM.SYSDUMMY1

Can someone help in finding what could have caused this abend ?

Thanks,
csk
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Thu Aug 02, 2007 4:04 am    Post subject: Reply with quote

The manual says Programmer Response: Contact your Database Administrator to determine why the trigger named in the message received the error.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Aug 02, 2007 7:20 am    Post subject: Reply with quote

I believe the Create Trigger that you posted is incomplete.
Where is the SQL terminator ';' and an END keyword?

But then again, what vsn of db2 are you using?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group