Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / April 2008

Tip: Looking for answers? Try searching our database.

Commit Active

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kw.housing - 25 Apr 2008 15:30 GMT
hi I have a   "import from flatfile into table" command which takes 100
seconds to
finish by itself.

However, when I run this import under UR  concurrence mode, this import
hangs (but not waiting for lock) with status "Commit Active".

could this be a defect?   (i know it is the bug in my program, but seems db2
treats
this write-only operation using a concurrence level for read)
.

Another problem is that I try to use "db2 force application (appl-handle)"
to kill
some queries, but this command is not recognized.  I am using  v9.5 on AIX.
is this
a bug?  (see traces below)

$ db2 list application
Auth Id  Application    Appl.                      Application Id
DB       # of
               Name           Handle
Name    Agents
-------- -------------- ---------- --------------------------------------------------------------
-------- -----
user1 db2bp          65603      *N1.perfpol1.080425142549
TPCD     8
user1 db2batch       65601      *N1.perfpol1.080425142547
TPCD     2

$ db2 force application (65603)
ksh: 0403-057 Syntax error: `(' is not expected.
Lennart - 25 Apr 2008 15:52 GMT
> hi I have a   "import from flatfile into table" command which takes 100
> seconds to
[quoted text clipped - 28 lines]
> $ db2 force application (65603)
> ksh: 0403-057 Syntax error: `(' is not expected.

You need to quote the ( and ). Otherwise ksh tries to evaluate them,
either:

db2 force application \( 65603 \)

or

db2 force application "(65603)"

should work

/Lennart
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.