473,382 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

help with db2image extender 8.2

hi
i've encountered a problem with db2image extender for db2 version 8.2

i inserted a record into table allegato_immagine:

insert into allegato_immagine values( '1',
mmdbsys.db2image(current server, 'c:\1.jpg','JPG',1,'immagine 1')
,current timestamp
,current timestamp
);

this execute is ok

when i try to use any UDF of DB2IMAGE i always have the same problem

example using UDF MMDBSYS.COMMENT
---
SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha
restituito un errore SQLSTATE con testo diagnostico "sqlcode=-204
clistate=S0002. ". SQLSTATE=38624

SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha restituito un errore SQLSTATE con testo
diagnostico "sqlcode=-204 clistate=S0002.
".
---
Nov 12 '05 #1
3 1883
ilmagowalter wrote:
hi
i've encountered a problem with db2image extender for db2 version 8.2

i inserted a record into table allegato_immagine:

insert into allegato_immagine values( '1',
mmdbsys.db2image(current server, 'c:\1.jpg','JPG',1,'immagine 1')
,current timestamp
,current timestamp
);

this execute is ok

when i try to use any UDF of DB2IMAGE i always have the same problem

example using UDF MMDBSYS.COMMENT
---
SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha
restituito un errore SQLSTATE con testo diagnostico "sqlcode=-204
clistate=S0002. ". SQLSTATE=38624

SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha restituito un errore SQLSTATE con testo
diagnostico "sqlcode=-204 clistate=S0002.
".


This message says that the logic inside the Image Extender could not find a
table (or some other object) that it needs. Hence, the SQLCODE=-204
information. Taking a CLI Trace might help to narrow down the issue.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2
but the table and the column exist!
and i stored image with the insert
what can i do?

Knut Stolze <st****@de.ibm.com> wrote in message news:<cu**********@fsuj29.rz.uni-jena.de>...
ilmagowalter wrote:
hi
i've encountered a problem with db2image extender for db2 version 8.2

i inserted a record into table allegato_immagine:

insert into allegato_immagine values( '1',
mmdbsys.db2image(current server, 'c:\1.jpg','JPG',1,'immagine 1')
,current timestamp
,current timestamp
);

this execute is ok

when i try to use any UDF of DB2IMAGE i always have the same problem

example using UDF MMDBSYS.COMMENT
---
SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha
restituito un errore SQLSTATE con testo diagnostico "sqlcode=-204
clistate=S0002. ". SQLSTATE=38624

SQL0443N La routine "MMDBSYS.COMMENT" (nome specifico
"COMMENTDB2IMAGE") ha restituito un errore SQLSTATE con testo
diagnostico "sqlcode=-204 clistate=S0002.
".


This message says that the logic inside the Image Extender could not find a
table (or some other object) that it needs. Hence, the SQLCODE=-204
information. Taking a CLI Trace might help to narrow down the issue.

Nov 12 '05 #3
ilmagowalter wrote:
but the table and the column exist!
and i stored image with the insert
what can i do?


As I said, a CLI trace might be very helpful.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Darren Guy | last post by:
Hello All I am trying to use the extender control from http://dotnetrix.co.uk/menus.html so that I can add a tag to MenuItem But I cant get it to work. This is the steps that I took ...
2
by: Greg | last post by:
Just wanted to post this solution because I could not find it anywhere on Google Groups. This solution applies to Windows only. Here's the scenario - you have done the following: - installed DB2...
16
by: Stanley Sinclair | last post by:
Bear with me. I am being very calm; took a Valium. I have waited two weeks to write this, because every time I wrote it before the message was, at best, nasty. I need to use the services of...
0
by: ilmagowalter | last post by:
hi i've encountered a problem with db2image extender for db2 version 8.2 i inserted a record into table allegato_immagine: insert into allegato_immagine values( '1', mmdbsys.db2image(current...
3
by: Nina via DBMonster.com | last post by:
Hi, I am trying to enable a database for use with aiv extender.The problem is that when i try to execute: enable database for db2image i get the following error: db2ext => enable database for...
2
by: Lan W via DBMonster.com | last post by:
Hi, I try to install Db2 Net Search Extender on my Db2 workgroup server edition on windows machine. When I verify the installation from command window as typed >nsesampla.bat sample, I received...
11
by: Brad | last post by:
To DB2 Personal Developer Edition GIS users: How do I acquire a spatial extender license key for the DB2 PDE? I expected to be able to use it right out of the box. Brad
4
by: satish mullapudi | last post by:
Hi Gurus, I am using DB2 UDB 8.2.I want to load/insert images into DB2 database.So I found out we need to enable DB2 Image extender .How to enable that extender? Please tell the complete process...
4
by: davehowey | last post by:
'Learning Python' by Lutz and Ascher (excellent book by the way) explains that a subclass can call its superclass constructor as follows: class Super: def method(self): # do stuff class...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.