Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > DB2 > DB2 UDB Loader

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-02, 13:55
RVenkatraman RVenkatraman is offline
Registered User
 
Join Date: Jan 2002
Posts: 10
DB2 UDB Loader

I have multiple loader scripts for loading data int DB2 UDB tables.

The first script ran fine.

The second scripts load just waits.

The scripts are loading to different Tables and the Table Spaces are in normal state after the load.

I am clueless as to what is happening in the second load.

This is the command I use to load the table
LOAD FROM f:\DB2\Loader\fcn\InData\dim_date.txt OF ASC MODIFIED BY dateformat="YYYYMMDD" pagefreespace=0 totalfreespace=0 nullindchar=Y DUMPFILE=f:\db2\loader\fcn\IOmsg\dim_date.err METHOD L ( 1 20, 21 90, 91 190, 191 198 ) NULL INDICATORS ( 0, 0, 0, 0 ) MESSAGES f:\DB2\Loader\fcn\IOmsg\dim_date.mes REPLACE INTO CIDAPP.dim_date ( DATE_KEY, DATE_BUS_KEY_TXT, DATE_BUS_KEY_DESC, DATE_BUS_DATE ) STATISTICS NO COPY YES TO C:\TEMP\ INDEXING MODE AUTOSELECT

and the second script is similar, pointing to different table and load file names.
Reply With Quote
  #2 (permalink)  
Old 06-01-06, 21:12
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 3,641
have db2 version info?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 06-02-06, 01:07
jthakrar jthakrar is offline
Registered User
 
Join Date: Mar 2004
Posts: 46
There could be several reasons for the apparent "hang". I would suggest running "db2 list applications show detail" and "db2 get snapshot for all applications on database <dbname>". This will give you some idea as to how/where to proceed with the next step of your troubleshooting.
Reply With Quote
  #4 (permalink)  
Old 06-02-06, 03:13
ajithnayak ajithnayak is offline
Registered User
 
Join Date: Feb 2004
Location: Bangalore
Posts: 21
Check out the db2 load query table <table name> option
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On