467,189 Members | 1,379 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,189 developers. It's quick & easy.

DB2 function

Hi


I have a db2 function which is mapped to cobol db2 sp mpdntes1.

This cobol db2 sp is returning sqlcode to my function.

When I execute this function using below query , get -805 error

SELECT CURRENT DATE , dB2TDEV.MPDNTES1(10,10) FROM SYSIBM.SYSDUMMY1;

------------------------------------------------------------------------------------

CREATE function DB2TDEV.MPDNTES1(INTEGER,INTEGER)

RETURNS int

EXTERNAL NAME 'MPDNTES1'

PARAMETER STYLE DB2SQL

WLM ENVIRONMENT DB2TSP
COLLID TGTT1

LANGUAGE COBOL;

-------------------------------------------

How do I solve this -805 error
Aug 21 '07 #1
  • viewed: 988
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by phil_gg04@treefic.com | last post: by
2 posts views Thread by laredotornado@zipmail.com | last post: by
2 posts views Thread by sushil | last post: by
8 posts views Thread by Olov Johansson | last post: by
3 posts views Thread by Beta What | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.