473,796 Members | 2,520 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to view the status of DB2 Load utility on Windows/Unix

Hi all,

Is there a tool or view to display the status of a Load utility job on
windows or Unix(say loading few million rows into a table)? I
understand in OS/390 there is a dis utility to show the status of the
utility. Is it also possible in UDB? I'm using UDB 8.1 on windows 2000.
Thanks for your time.

Nov 12 '05 #1
7 7586
Xie Qing wrote:
Hi all,

Is there a tool or view to display the status of a Load utility job on
windows or Unix(say loading few million rows into a table)? I
understand in OS/390 there is a dis utility to show the status of the
utility. Is it also possible in UDB? I'm using UDB 8.1 on windows 2000.
Thanks for your time.


What will happen if you visit product documentation available at
http://publib.boulder.ibm.com/infoce...help/index.jsp and search for LOAD?
Will you spot LOAD QUERY command?

Jan M. Nelken
Nov 12 '05 #2
Nelken,

Thanks for directing me to the correct place. Thanks a lot for your
help.

Jan M. Nelken wrote:
Xie Qing wrote:
Hi all,

Is there a tool or view to display the status of a Load utility job on windows or Unix(say loading few million rows into a table)? I
understand in OS/390 there is a dis utility to show the status of the utility. Is it also possible in UDB? I'm using UDB 8.1 on windows 2000.

Thanks for your time.

What will happen if you visit product documentation available at
http://publib.boulder.ibm.com/infoce...help/index.jsp and search

for LOAD? Will you spot LOAD QUERY command?

Jan M. Nelken


Nov 12 '05 #3
Jan M. Nelken wrote:
What will happen if you visit product documentation available at
http://publib.boulder.ibm.com/infoce...help/index.jsp and search for LOAD? Will you spot LOAD QUERY command?

Jan M. Nelken


Hi Jan;
I have been trying to use "LOAD QUERY table <tablename>" where
<tablename> is an existing table in current schema and am having some
trouble. Environment is DB2 AIX 8.1.5 Parallel Edition and I keep
getting one of two messages:
----------------------------------------------------------------------
SQL2306N The table or index <tablename> does not exist.
or
SQL6024E The table or index <tablename> is not defined on node "1".
----------------------------------------------------------------------

Do I need to connect to each node that is loading or the node on which
the table is defined or is something else going on? My hope was to use
the db2loadqry API and it seems that neither the API nor the command
will be of practical use if this is true... Any help appreciated.

Pete H

Nov 12 '05 #4
Ian
Hi Jan;
I have been trying to use "LOAD QUERY table <tablename>" where
<tablename> is an existing table in current schema and am having some
trouble. Environment is DB2 AIX 8.1.5 Parallel Edition and I keep
getting one of two messages:
No such thing as Parallel Edition any more. That was back in 96!
----------------------------------------------------------------------
SQL2306N The table or index <tablename> does not exist.
or
SQL6024E The table or index <tablename> is not defined on node "1".
----------------------------------------------------------------------

Do I need to connect to each node that is loading or the node on which
the table is defined or is something else going on? My hope was to use
the db2loadqry API and it seems that neither the API nor the command
will be of practical use if this is true... Any help appreciated.


A load happens independently on each partition in which the table is
defined, so to get a complete picture of the status you would need to
query each partition where the table is defined individually. This
restriction applies to the API call as well.
Nov 12 '05 #5
Thanks for the reply, Ian.
No such thing as Parallel Edition any more. That was back in 96!
Guess old habits die hard :-)
you would need to
query each partition where the table is defined individually. This
restriction applies to the API call as well.


Bummer - seems like it should be easier to monitor the status of a
load-in-progress. We do some big ones and it sometimes feels as though
we're "blind" till they complete (or fail).

Pete H

Nov 12 '05 #6
Ian
peteh wrote:
you would need to
query each partition where the table is defined individually. This
restriction applies to the API call as well.

Bummer - seems like it should be easier to monitor the status of a
load-in-progress. We do some big ones and it sometimes feels as though
we're "blind" till they complete (or fail).


Well, unless you have significant skew with in your data, you can just
query 1 partition and monitor its progress. Each partition should be
loading at roughly the same rate... If you know the total volume of
data that you're loading, and how many partitions it's loading on, it
shouldn't be too hard to monitor one partition and extrapolate.

Also, in 8.2, check out LIST UTILITIES.
Ian

Nov 12 '05 #7
> Also, in 8.2, check out LIST UTILITIES.

Many thanks Ian - this is just what the doctor ordered. We'll be
implementing 8.2 soon, so will wait for this feature.

Pete H

Nov 12 '05 #8

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

Similar topics

2
7075
by: Sami Viitanen | last post by:
Hello, Is there a way to check if a command executed in ms-dos returns 0 (success) or greater than 0 (fail) ? In Unix the module commands.getstatusoutput returns exit status.. Thanks in advance.
12
2645
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC and has been in place for several years without any performance problems. Recently I added a couple of fields to the output of the view, and it became very slow when scrolling. When just opened in the database window, the linked view takes about...
9
4319
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target data format is european DD.MM.YYYY (for days) and 01.MM.YYYY (for months). The input format is not recognizable as a DATE input to a DB2 LOAD for
2
2821
by: Janice | last post by:
How to obtain the lock status of a file held by other process? If I read the file that is locked by other process, the read would return -1. If the file is locked by other process, how to put the read to sleep for a second and try again after a period of time? Thanx
6
7848
by: adirajuv | last post by:
I wrote a program in C long time ago and I lost my code and all the intermediate files. All I have is the "exe" file that was generated when I executed it. Can the code be retrieved from this exe file? If not, is there a way I can atleast view the contents of the exe file? Thanks in Advance
6
2995
by: Ada | last post by:
i have a little bit of issue getting the status bar to work properly. this is what happens now. when the program loaded, the status is "READY..." the code is inside the FORM LOAD. i also added the same code in another CLICK METHOD. everytime i click, the status got updated but the old "READY..." got moved up one line above. so, if i click 10 times, i got a stack of 10 rows of status bar.
5
3329
by: Thomas | last post by:
Hi folks, is there any obvious reason why the java compiler cannot load jars from an NTFS filesystem under Linux (Debian) ? I know for sure that the path I specify is correct and I have read permit on that FS (not write though). I can actually list the content of the jar with any standard linux utility (cat, less...). If I copy the same jar on my ext2 fs with the same permissions (that is 444) the compilation runs just fine.
1
2533
by: nadarajanseetharaman | last post by:
Hi, Please let me know how the load utility of DB2 can be called using the unix script. Regards, Nadarajan.
0
1960
by: Eric Davidson | last post by:
I am try to find a way to get load to reject a record if the data is too large and not just truncate it. eg. c:\temp\fred3.txt ------ a23456789012345678901234567890 b23456789012345678901234567890b234567890
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10174
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7548
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.