Fil, Based on some other posts, I was able to get around the limitation by: set $piece(^DD(8989.3,.01,0),"^",5)=""
and then put limitation back by: set $piece(^DD(8989.3,.01,0),"^",5)="S DINUM=1" Thanks for your help. Kevin --- "Beza, Fil" <[EMAIL PROTECTED]> wrote: > First, the KERNEL SYSTEM PARAMETERS file is designed > to contain only ONE > entry so you did something to add more than one > record to the file. > > The deletion is being blocked by the > ^DD(8989.3,.01,"DEL",.01,0) node. > It is normally set to some M code that sets $T. If > $T evaluates to > TRUE, then you are not allowed to delete. In the > case of this file it > is simply set to "I 1" which always evaluates to > true. To allow > temporary deletion change it to "I 0", delete and > set the node back to > "I 1" > > VAH,ROU> S ^DD(8989.3,.01,"DEL",.01,0)="I 0" > > VAH,ROU> D Q^DI > > > VA FileMan 22.0 > > > Select OPTION: ENTER OR EDIT FILE ENTRIES > > > > INPUT TO WHAT FILE: OPTION// KERNEL SYSTEM > PARAMETERS > (1 entry) > EDIT WHICH FIELD: ALL// > > > Select KERNEL SYSTEM PARAMETERS DOMAIN NAME: `1 > FIL.VISTA.COM > DOMAIN NAME: FIL.VISTA.COM// @ > SURE YOU WANT TO DELETE THE ENTIRE KERNEL SYSTEM > PARAMETERS? Y (Yes) > > > Select KERNEL SYSTEM PARAMETERS DOMAIN NAME: > > > > > Select OPTION: > VAH,ROU> S ^DD(8989.3,.01,"DEL",.01,0)="I 1" > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Kevin > Toppenberg > Sent: Sunday, October 10, 2004 10:03 AM > To: Hardhats Sourceforge > Subject: [Hardhats-members] How to Delete a Record > > Hello all, > > In my playing around (in my practice system) with > KERNAL SYSTEM > PARAMETERS, I have added extra records that I now > want to delete. How > do I do this? > > I know that one way to delete a record in some file > is to enter a value > of "@" for field .01. Fileman takes this as a > signal to delete the > record. > > But because field .01 is "required", I can't seem to > delete a record in > this file. I have also tried to modify the file so > that field .01 is > not required, but it doesn't seem to make any > difference. > Any thoughts? > Also, how can this be done programatically? > > Thanks > Kevin > > Here is a screen log. > --------------- > > Select OPTION NAME: diedit Enter or Edit File > Entries > Enter or Edit File Entries > > > > INPUT TO WHAT FILE: KERNEL SYSTEM PARAMETERS// EDIT > WHICH FIELD: ALL// > > > Select KERNEL SYSTEM PARAMETERS DOMAIN NAME: ? > Answer with KERNEL SYSTEM PARAMETERS NUMBER, or > DOMAIN NAME > Choose from: > 1 TMG.TMGDOMAIN.COM > 2 KILLME.DOMAIN > 3 TMG.TMGDOMAIN.COM > > You may enter a new KERNEL SYSTEM > PARAMETERS, if you wish > > Answer with DOMAIN NAME > Choose from: > KILLME.DOMAIN > PACIFICHUI.OPENVISTA.NET > TMG.TMGDOMAIN.COM > > Select KERNEL SYSTEM PARAMETERS DOMAIN NAME: 2 > KILLME.DOMAIN DOMAIN > NAME: KILLME.DOMAIN// @?? Required DOMAIN NAME: > KILLME.DOMAIN// > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide > on ITManagersJournal > Use IT products in your business? Tell us what you > think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! > Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Hardhats-members mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide > on ITManagersJournal > Use IT products in your business? Tell us what you > think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! > Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Hardhats-members mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hardhats-members > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Hardhats-members mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hardhats-members
