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 > SQL1096N The command is not valid for this node type

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 06:06
winwinxp winwinxp is offline
Registered User
 
Join Date: Sep 2003
Posts: 13
Question SQL1096N The command is not valid for this node type

Hi,

As I want to kill all connections to the database, I got the following error message when I run the command "db2 force application all" in a client machine. However, the command is running successfully in the server machine. Would anyone tell me how can I solve this problem or any other ways to kill user connections by a client machine rather than a server machine?

db2 => force application all
SQL1096N The command is not valid for this node type.
db2 =>

Thank you!
Vincent
Reply With Quote
  #2 (permalink)  
Old 10-07-03, 07:13
Norbert B. Norbert B. is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
try ATTACH TO Instance

Greetings
Norbert
Reply With Quote
  #3 (permalink)  
Old 10-07-03, 08:25
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Norbert B., can you please write full sintax.

Grofaty
Reply With Quote
  #4 (permalink)  
Old 10-07-03, 08:49
Norbert B. Norbert B. is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
see DB2 Command-Reference:

ATTACH Command
Enables an application to specify the instance at which instance-level commands (CREATE DATABASE and FORCE APPLICATION, for example) are to be executed. This instance may be the current instance, another instance on the same workstation, or an instance on a remote workstation.

Authorization

None

Required connection

None. This command establishes an instance attachment.

Command syntax

>>-ATTACH--+--------------+------------------------------------->
'-TO--nodename-'

>--+---------------------------------------------------------------------------+-><
'-USER--username--+-------------------------------------------------------+-'
+-USING--password--+----------------------------------+-+
| '-NEW--password--CONFIRM--password-' |
'-CHANGE PASSWORD---------------------------------------
Reply With Quote
  #5 (permalink)  
Old 10-07-03, 10:07
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
If you don't have a database on the client then I don't understand why you want to run force applications on the client. If you are trying to force of users connected to a database from a client then you require an instance attachment and then use the command above (attach) before you issue the force. Otherwise, just issue it on the server.
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