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 > Datalink problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-04, 01:45
cgprakash cgprakash is offline
Registered User
 
Join Date: Feb 2002
Posts: 96
Question Datalink problem

Platform : DB2 V8.1 (Win 2000)

I executed the following steps to create a datalink.
1.CREATE TABLE TEST2 (content DATALINK LINKTYPE URL no link control) in uSERSPACE1 ;

2.INSERT INTO test2(content) values(dlvalue('file C:\Test\BitMap_Filename\BJN.BMP'));

But when INSERT(2nd step), i am getting the following error.

SQL0358N Unable to access file referenced by a DATALINK value.
Reason code = "21 ".
Reason Code: 21 DATALINK value data location format is not valid.

I donot what is wrong with the data location format? Could you plse help me?

Regards
Prakash
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