nv-l

Re: nvsniffer: how to delete fields?

2000-03-31 09:04:44
Subject: Re: nvsniffer: how to delete fields?
From: James_Shanks AT tivoli DOT com
To: nv-l AT lists.tivoli DOT 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 AT jp.ibm DOT com> on 03/31/2000 07:36:44 AM

Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>

To:   IBM NetView Discussion <nv-l AT tkg DOT 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 AT jp.ibm DOT 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>