nv-l
[Top] [All Lists]

Re: nvsniffer: how to delete fields?

To: nv-l@lists.tivoli.com
Subject: Re: nvsniffer: how to delete fields?
From: James_Shanks@tivoli.com
Date: Fri, 31 Mar 2000 09:04:44 -0500

You cannot "delete fields" of  any source without writing a C program to do it,
and furthermore you cannot delete a field if it is assigned to any object.  For
most fields, you would have to remove that via a C program as well.  To remove
the field from the object, the program would call OVwDbUnsetFieldValue() for
every object and every field to be unset, and then it could  call
OVwDbDeleteField to delete that field.   This is not a trivial process, and I
recommend that anyone attempting it look very carefully at the Programmer's
Guide (Chapter 7, Creating and Using Objects and Fields) and the Programmer's
Reference before beginning.  There is no external interface for removing a field
from the database, nor for removing one from an object.  nvdbimport will allow
you to change one, but not to remove it.

If you cannot live with these fields in the database, then your only other
option is to delete the object and re-discover it, or
clear the entire databases and rebuild or re-discover the entire network.
Before you start, make a backup.   This latter is the only simple way to remove
fields from the database.


James Shanks
Tivoli (NetView for UNIX and NT) L3 Support



"Kiyonobu Inayama" <INAYAMA@jp.ibm.com> on 03/31/2000 07:36:44 AM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

To:   IBM NetView Discussion <nv-l@tkg.com>
cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  [NV-L] nvsniffer: how to delete fields?






Hello

Does anyone know how to delete fields created by nvsniffer command?

Thank you!
Kiyonobu Inayama
IBM Japan Systems Engineering Co.,Ltd.
Tivoli Group , Sys/NW Mgmt Systems
E-MAIL ::    inayama@jp.ibm.com


_________________________________________________________________________

NV-L List information (unsubscribing, policies, posting, digest version,
searchable archives): http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web