[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4812.0. "TCPIP .MS Files Lost" by MAIL::CLAYTON (Merlin Clayton DTN 445-7217) Fri Apr 02 1993 17:03

In the MCC_TCPIP_MTU procedure there is a section of code that reads:

$ IF COPY_GETEVENT_FLAG .EQ. 1
$ THEN
$       DELETE/NOLOG MCC_TCPIP_AM_GETEVENT.MS;
$ ENDIF
$ IF COPY_INTERNET_FLAG .EQ. 1
$ THEN
$       DELETE/NOLOG MCC_TCPIP_AM_INTERNET_MIB_TYPES.MS;
$ ENDIF
$ IF COPY_REF_FLAG .EQ. 1
$ THEN
$       DELETE/NOLOG MCC_TCPIP_AM_REFERENCE.MS;
$ ENDIF
etc., etc.

I have lost all of my MCC_TCPIP*.MS files in MCC_COMMON after running the
MTU procedure.  Why might this have happend, and when and how do the above
flags get set?

Merlin

T.RTitleUserPersonal
Name
DateLines
4812.1MOLAR::YAHEY::BOSEMon Apr 05 1993 10:4413
	The MTU command procedure copies certain MS files to the current
	directory for temporary use. After the operation is complete, these
	files are deleted.

	If you are set default to MCC_COMMON, then these files are already
	present in the current working area and need not be copied. The
	question is which directory were you sitting in while running MTU ?
	If the command procedure did not copy any files, then it will not
	try deleting them. (Note that, in any case, only the highest version 
	is deleted). 

	Rahul.
4812.2More Info...MAIL::CLAYTONMerlin Clayton DTN 445-7217Mon Apr 05 1993 15:3339
Rahul

I was setting in a different directory using the "master" copy of the MCC
data dictionary in that directory.  I had a logical, "MCC_BACKUP" defined
to point to this directory, and upon running the "MCC_MIB_COMPILER" launched
appl from the ICMP, I redefined MCC_COMMON as a search string pointing to 
first MCC_BACKUP, then SYS$COMMON:[MCC].

The previously mentioned .MS files are gone from MCC_COMMON (SYS$COMMON:[MCC]).
So for some reason they must have been deleted because the flags were set.

I've been trying to come up with this procedure to compile MIBs and update 
the "master" copy of the data dictionary in a different directory (MCC_BACKUP)
and everything appeared to work on several iterations.  Now that this has 
happened, I have no clue why.

A copy of the command procedure that I wrote to do  the above follows:

$ set def mcc_common
$ DEFINE MCC_COMMON MCC_BACKUP,sys$common:[mcc]
$ on error then goto exit
$ @mcc_common:mcc_TCPIP_MTU
$ copy mcc_backup:*dictionary*.* sys$common:[mcc]*.*
$ copy mcc_backup:*definition*.* sys$common:[mcc]*.*
$ purge /keep=2
$ WRITE SYS$OUTPUT -
  "In order for MIB updates to take effect, you must stop and restart MCC."
$EXIT:
$ Deassign MCC_COMMON
$ INQUIRE PAUSE "o Press the RETURN to exit..."
$ set def mcc_common
$ exit

Is there something glaringly wrong with this concept?

Thanks

Merlin