[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

518.0. "Reinitialising MCC's database" by SIEVAX::TMJ (Entropy eradicator) Wed Dec 05 1990 07:08

Assume a fresh (local) MCC database is needed (during AM development). Is the
following all that needs to be done, and in this order?


$!	Point MCC_SYSTEM to local database.
$!
$	DEFINE MCC_SYSTEM [MCC.DATABASE], MCC_SPECIFIC, MCC_COMMON
$	SET DEFAULT [MCC.DATABASE]
$!
$!	Get rid of the old database.
$!
$	DELETE MCC_DICTIONARY.DAT;*
$	DELETE MCC_DEFINITION.DAT;*
$	DELETE MCC_MIR_ATTRIBUTE.DAT;*
$	DELETE MCC_MIR_DIRECTORY.DAT;*
$	DELETE MCC_PTB_PARSER.BPT;*
$!	And the dispatch table.
$	DELETE MCC_COMMON:MCC_DISPATCH_TABLE.DAT;*
$!
$!	Copy basic database.
$!
$	COPY SYS$COMMON:[SYSHLP.EXAMPLES.MCC]MCC_DEV_DICTIONARY.DAT -
							[]MCC_DICTIONARY.DAT
$	COPY SYS$COMMON:[SYSHLP.EXAMPLES.MCC]MCC_DEV_DEFINITION.DAT -
							[]MCC_DEFINITION.DAT
$	COPY SYS$COMMON:[SYSHLP.EXAMPLES.MCC]MCC_DEV_MIR_ATTRIBUTE.DAT -
							[]MCC_MIR_ATTRIBUTE.DAT
$	COPY SYS$COMMON:[SYSHLP.EXAMPLES.MCC]MCC_DEV_MIR_DIRECTORY.DAT -
							[]MCC_MIR_DIRECTORY.DAT
$!
$!	Work from development directory. (Sources are here.)
$!
$	SET DEFAULT [MCC.DEV]
$	DAP
LOAD CLASS ...
...
EXIT
$	PTB MCC_SYSTEM:MCC_PTB_PARSER.BPT
$!
$!	Enroll MMs.
$!
$	MCC @MCC_COMMON:MCC_ENROLL_DIR
$	MCC @MCC_COMMON:MCC_ENROLL_BMS
$!
$!	Enroll development AM.
$!
$	MCC ENROLL MCC_xxx_AM
$!
$	EXIT


MCC_COMMON:MCC_META_DEFINITION.DAT and MCC_COMMON:MCC_META_DICTIONARY.DAT are
left alone.
T.RTitleUserPersonal
Name
DateLines
518.1this looks good to meWAKEME::ROBERTSKeith Roberts - DECmcc Alarms TeamWed Dec 05 1990 08:4611
This should do it...

I would suggest adding the disk name to your directory specifications...

>> $ SET DEFAULT [MCC.DATABASE]

   $ SET DEFAULT DISK1:[MCC.DATABASE]

But thats just me .. what you have written here looks correct.

/keith
518.2PTB == manage/tool/parseGOSTE::CALLANDERWed Dec 05 1990 15:585
    I also assume that you have a symbol or something defined for "PTB"
    since this is no longer the calling sequence.
    
    /jill
    
518.3?CSOADM::ROTHLight fuse and retire quicklyThu Jul 29 1993 19:166
Would it be possible to get a copy of this procedure, updated to work for
V1.3 SSB on VMS?

Thanks-

Lee