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 > Adabas > ASP and ADABAS D

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-04, 20:27
renniebeach renniebeach is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
ASP and ADABAS D

I am trying to call a Stored proc using Microsoft ADO and the ADABAS ODBC driver.

But any call to any stored proc always returns the same
"Microsoft OLE DB Provider for ODBC Drivers" Error.

"[SOFTWARE AG][SQLOD32 DLL][ADABAS]Insert value list does not match column list;-1200 TOO FEW VALUES."

The Stored Proc is a simple test

---------------------------------------------
DBPROC ASP.maxentity (
OUT retVal FIXED(9));
/*
SQL (SELECT MAX(entity) into :retVal from "DBASYS"."ENTITY" );
-------------------------------------------------------------------------------

Any ideas on what is going on, or how to get around this would be greatly appreciated
Reply With Quote
  #2 (permalink)  
Old 02-08-04, 07:09
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Post your code.
__________________
If you do not have SQL Server Books Online (BOL) installed - please do so. The majority of questions asked in the SQL Server forum could be eliminated if people had access to bol. BOL
Reply With Quote
  #3 (permalink)  
Old 02-08-04, 17:58
renniebeach renniebeach is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Quote:
Originally posted by rnealejr
Post your code.
Set Conn = CreateObject("ADODB.Connection")
Set cmd = CreateObject("ADODB.Command")

Conn.Open "FILE Name=" & Server.MapPath(Application("VirtRoot") & "dbconfig/adabas.udl")

With cmd
.ActiveConnection = Conn
.CommandType = &H0001 'adCmdText
.CommandText = "PROC DBASYS.ASP.maxentity"
.Execute
End With

NOTE: the Error occurs on the Execute Call
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