RE: How to kill LOAD Command

RE: How to kill LOAD Command

 

  

Well rajesh You can do

Db2 "terminate"
Also. :-)

-----Original Message-----
From: RAJESH CHANDRAMOHAN
[mailto:db2udbdba-ezmlmshield-x49321515.[Email address protected]
Sent: Wednesday, May 23, 2007 7:38 PM
To: LazyDBA Discussion
Subject: RE: How to kill LOAD Command


As an example

Terminate load pending state after load fail
---------------------------------------------------------------
db2 "load from
'/local/udb/PAULB073/databases/PALEADHI/archive/CHG000001037192/null' of
del terminate into llusage.F_WEBLOG_LL_INT_0607"

Use the above...

Regards
Rajesh

-----Original Message-----
From: Divakar Goel
[mailto:db2udbdba-ezmlmshield-x98630927.[Email address protected]
Sent: Wednesday, May 23, 2007 10:02 AM
To: LazyDBA Discussion
Subject: Re: How to kill LOAD Command


Thanks for your responses..

I actually tried using "FORCE APPLICATION"
But even after forcing that particular application, it was still running
after 5 min.

Is there any other way.

Regards,
Divakar

Wednesday, 23 May 2007 19:25
To: Divakar Goel
cc:
From: "cmcallister1"
Subject: Re: How to kill LOAD Command


**A LazyDBA.com subscriber has responded to your lazydba.com post**
**LazyDBA.com mail shield has forwarded you this email, **and removed
any attachments, and kept your email address secret **from this person,
and any viruses/trojans.
**If you reply to this email, the person will see your email address as
normal **Anything below this line is the original email text


db2 list application show detail see if you can find the "LOAD"
running, then try a db2 "force application (handle number) " That
should force off your load.
Example db2 "force application (123)"
----- Original Message -----
From: Divakar Goel
At: 5/23 9:47:57


I am on db2 v8.2 on AIX

We fired a LOAD Command. It was suppose to load some half-a-million
records from a delimited text file..

The command did not complete after 10 minutes.
When we checked the messages file, we found that the there was some
error with the input and it was logging errors..

We wanted to kill the LOAD but could not find a way to do it..

Can anyone tell how to do it..

We had run command from Command Line directly..

Divakar




---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html






---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a
dba job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -

This message is intended only for the personal and confidential use of
the designated recipient(s) named above. If you are not the intended
recipient of this message you are hereby notified that any review,
dissemination, distribution or copying of this message is strictly
prohibited. This communication is for information purposes only and
should not be regarded as an offer to sell or as a solicitation of an
offer to buy any financial product, an official confirmation of any
transaction, or as an official statement of Lehman Brothers. Email
transmission cannot be guaranteed to be secure or error-free.
Therefore, we do not represent that this information is complete or
accurate and it should not be relied upon as such. All information is
subject to change without notice.

--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained
within this communication (including any attachments) is not intended or
written to be used and cannot be used for the purpose of (i) avoiding
U.S. tax related penalties or (ii) promoting, marketing or recommending
to another party any transaction or matter addressed herein.




---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



DISCLAIMER:
This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

DB2 & UDB email list listserv db2-l LazyDBA home page