I'm not sure what you meant by fixing itself but just running ^DINIT
will recreate the basic DOPT. Everytime you run a part of Fileman say D
Q^DI it adds more nodes that it needs.
^DOPT is FileMan's stand alone "option" global and it used to be VistA's
(before it was known a VistA and before MenuMan) option global as well.
For example, if you D ^XM, it will build the MailMan options into
^DOPT("XM"
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Toppenberg
Sent: Monday, January 03, 2005 2:26 PM
To: [email protected]
Subject: Re: [Hardhats-members] Re: The mystery of global ~DOPT
P.S.
Here is what ^DOPT("DICR") looks like after it fixes itself, in case
anyone else has this problem...
^DOPT("DICR",0)="TYPE OF INDEXING^1.01^7^7"
^DOPT("DICR",1,0)="REGULAR"
^DOPT("DICR",2,0)="KWIC"
^DOPT("DICR",3,0)="MNEMONIC"
^DOPT("DICR",4,0)="MUMPS"
^DOPT("DICR",5,0)="SOUNDEX"
^DOPT("DICR",6,0)="TRIGGER"
^DOPT("DICR",7,0)="BULLETIN"
^DOPT("DICR","B","BULLETIN",7)=""
^DOPT("DICR","B","KWIC",2)=""
^DOPT("DICR","B","MNEMONIC",3)=""
^DOPT("DICR","B","MUMPS",4)=""
^DOPT("DICR","B","REGULAR",1)=""
^DOPT("DICR","B","SOUNDEX",5)=""
^DOPT("DICR","B","TRIGGER",6)=""
Kevin
--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> Jim,
>
> Thanks. That's a clever trick for searching the entire code base by
> using 'grep'. I'll have to remember that.
>
> Looking at the code, it first looks for ^DOPT("DIU",11). If that is
> ABSENT, then it will set up the ^DOPT("DICR") nodes. So all I had to
> do was to delete this ^DOPT("DIU",11) node, and it repaired itself.
>
> I'm not sure why my "DICR" node was missing, but it seems fixed now.
>
> Thanks!
> Kevin
>
>
> --- Jim Self <[EMAIL PROTECTED]> wrote:
>
> > Kevin,
> > This is defined in ^DIU. I found it using grep. It looks to me like
> > it will be defined if you simply "D ^DIU".
> >
> > >George,
> > >
> > >Thanks for your reply. The ^DOPT doesn't seem to
> > be a
> > >standard file. I can't look at file 1.01 with fileman. There is
> > >no ^DIC(1.01,*) entry, and the entry in ^DD(1.01) seems to indicate
> > >that the
> > filename
> > >is "OPTION" (i.e. ^DD(1.01,0,"NM","OPTION") is defined. But file
> > >OPTION is really something
> > entirely
> > >different...
> > >
> > >Anyway, I re-ran DINIT, and there is still no
> > >^DOPT("DICR") setup.
> > >
> > >I hacked around this problem in DICE.m by forcing
> > the
> > >Y value returned after a search for ^DOPT("DICR")
> > to
> > >be Y=1. This allowed me to create the cross-reference.
> > >
> > >So I guess I am temporarily past that problem,
> but
> > I
> > >don't have a good feeling that I did this the
> right
> > >way.
> > >
> > >Thanks
> > >Kevin
> > >
> > >
> > >--- George Timson <[EMAIL PROTECTED]>
> > wrote:
> > >
> > >> This global is mentioned in FileMan
> > documentation:
> > >> http://www.hardhats.org/fileman/pm/fr_or1.htm
> > >>
> > >> It is set up by ^DINIT. Re-run ^DINIT to fix
> > your
> > >> problem with
> > >> ^DOPT("DICR")
> > >>
> > >> This global is admittedly a little unusual, in
> > that
> > >> it contains many little
> > >> "files" that are all described by a single Data Dictionary,
> > >> number 1.01.
> > >>
> > >> --George Timson
> >
> > ---------------------------------------
> > Jim Self
> > Systems Architect, Lead Developer
> > VMTH Computer Services, UC Davis
> > (http://www.vmth.ucdavis.edu/us/jaself)
> >
> >
> >
>
-------------------------------------------------------
> > The SF.Net email is sponsored by: Beat the post-holiday blues Get a
> > FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> > It's fun and FREE -- well,
> > almost....http://www.thinkgeek.com/sfshirt
> > _______________________________________________
> > Hardhats-members mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Jazz up your holiday email with celebrity designs.
> Learn more.
> http://celebrity.mail.yahoo.com
>
>
>
-------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues Get a
> FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members