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 > Error while export from DB2 V7.1 on z/OS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-04, 15:10
akkm akkm is offline
Registered User
 
Join Date: Oct 2004
Posts: 7
Error while export from DB2 V7.1 on z/OS

I'm getting "SQL0501N", while exporting data from certain DB2 tables from a database at z/OS. Irrespective of schema, Only few records (not all) are exported each & every time.

I'm accessing 'DB2 V7.1 on z/OS' using 'DB2 ESE V8.1 FP3 on Win2K'.

************************************************** ***************************************

Database Connection Information

Database server = DB2 OS/390 7.1.1
SQL authorization ID = TEST_USR
Local database alias = TEST_DB


set current sqlid = 'TEST_DB'
DB20000I The SQL command completed successfully.

export to "exp_ixfdata\CO_ADDR_TBL.ixf" of ixf select * from CO_ADDR_TBL

SQL3104N The Export utility is beginning to export data to file "exp_ixfdata\CO_ADDR_TBL.ixf".

SQL3015N An SQL error "-501" occurred during processing.

SQL0501N The cursor specified in a FETCH or CLOSE statement is not open. SQLSTATE=24501

SQL3105N The Export utility has finished exporting "43" rows.
************************************************** ***************************************
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