If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Stored Procedure problem on an AS/400

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-03, 10:41
twedledum twedledum is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
DB2 Stored Procedure problem on an AS/400

I'm trying to call a stored procedure called CloseOrder on an AS/400 (running DB2) from a PowerBuilder app using ODBC.

The ODBC DSN has a library path specified, as follows, and I'm using SQL naming conventions:
NULLID,OPSENV,OPSJRN,OPSDTA,OPSOBJ,OPSGPL


This is the error I'm getting in the joblog on the AS/400:
Pointer not set for location referenced
Application errror. MCH3601 unmonitored by CloseOrder
Trigger program or external routine detected an error

If I remove the library path from the ODBC DSN then CloseOrder works (but some other part of the app breaks).

Any ideas?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On