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 > SQL3022N An SQL error "-1" occurred while processing the SELECT

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-06-04, 19:43
Ramaraju_I Ramaraju_I is offline
Registered User
 
Join Date: Jul 2004
Posts: 2
SQL3022N An SQL error "-1" occurred while processing the SELECT

Hi All,

I was trying to import a file containing three columns with widths as Integer,Integer,Varchar(200) into a table through control center in DB2 UDB V 8.1. The options I used are Delimited ASCII format, Col delimiter |(pipe).
The Varchar Column is message column and contains dates with format mm-dd-yy. Is the -1 above in the message equal to hyphen&1(-1)(eg 7-10-81) in the date or some thing else? I looked at the message reference. It is as follows.

"In IMPORT or EXPORT, during processing of the SELECT string from
the Action String (e.g. "REPLACE into ...") structure, an SQL
error occurred.

The command cannot be processed.

User Response:

Look at the SQLCODE (message number) in the message for more
information. Make changes and resubmit the command."

But I could not make out of it.

Please suggest me how to overcome the issue.

Thanks a lot in advance.

Regards,
Ramaraju.
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