Thanks Roy,

That's what I ended up doing.  I got this working yesterday.

Thanks!
Kevin

On 5/18/06, Roy Gaber <[EMAIL PROTECTED]> wrote:




Then I would recommend doing a reverse $O



 ________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Steven McPhelan
 Sent: Thursday, May 18, 2006 9:00 AM

 To: hardhats-members@lists.sourceforge.net
 Subject: Re: [Hardhats-members] DINUM-ish question







That is correct.  One should never assume that the third piece of the file
header node is the last record in the file.  It may or may not be.  There
was a recent Fileman patch which stops Fileman reindexer from setting the
third piece of that header node to the last entry in the file as it used to
do.


On 5/17/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:

According to the Fileman reference manual, the 3rd piece is "most
 recently assigned internal entry number" and the 4th piece is the
 "current total number of entries"

 If there had been a deletion and addition into the middle of the file
 your method wouldn't work.

 For example, if the entries were:

 1,2,3,6,7,9,15

 and 6 was the last one added, then we would have

 ^^6^7

 Right?

 Kevin


 current total number of entries

 On 5/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
 > The 3rd piece of the zeroth node is equal to the last IEN of the file,
 > increment that number by 1 for the next IEN  ie,
 >
 > S (DINUM,X)=+$p(^psndf(50.67,0),U,3)+1,DIC="^PSNDF(50.67,",DIC(0)="L"
 > K DD,D0 D FILE^DICN Q:Y'>0
 >
 >
 >
 > ----- Original Message -----
 > From: Kevin Toppenberg < [EMAIL PROTECTED]>
 > Date: Wednesday, May 17, 2006 2:29 pm
 > Subject: Re: [Hardhats-members] DINUM-ish question
 > To: hardhats-members@lists.sourceforge.net
 >
 > > Actually, FILE^DICN also wants a value for .01 field, which we
 > > established is a request for the new records IEN.  And I don't know
 > > what that should be without looking it up.  So I don't see how this
 > > will help me.
 > >
 > > I am justing going to $order(^PSNDF(50.67,INDEX),-1) until I get a
 > > numeric value.  This will be the last record number, and I will
 > > increment this by one.
 > >
 > > Kevin
 > >
 > >
 > > On 5/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
 > > > Kevin, why not let Fileman creat the entry for you using FILE^DICN,
 > > > this way you get the IEN you need passed bay to you for use in your
 > > > DBS call(s).
 > > >
 > > > ----- Original Message -----
 > > > From: Gregory Woodhouse <[EMAIL PROTECTED]>
 > > > Date: Tuesday, May 16, 2006 12:40 pm
 > > > Subject: Re: [Hardhats-members] DINUM-ish question
 > > > To: hardhats-members@lists.sourceforge.net
 > > > Cc: [EMAIL PROTECTED]
 > > >
 > > > >
 > > > > On May 15, 2006, at 10:53 PM, chuck5566 wrote:
 > > > >
 > > > > > I don't think you have to do anything different - simply set
 > > > > that .
 > > > > > 01 node (of TMGFDA) to the number you wish to use.
 > > > > >
 > > > > > Are you getting an error?    If so, are you using the TMGIEN
 > > > > array
 > > > > > to define the IEN?
 > > > >
 > > > > Is the .01 field set to the IEN in the input transform? If so, I
 > > > > think it would be enough to give it a value. If not, a brute
 > force
 > > > >
 > > > > solution would be to get the IEN from the output array and then
 > > > > make
 > > > > a second call to set the .01 field to the IEN.
 > > > >
 > > > > Gregory Woodhouse
 > > > > [EMAIL PROTECTED]
 > > > >
 > > > > Metaphors be with you.
 > > > >
 > > > >
 > > > >
 > > >
 > > >
 > > >
-------------------------------------------------------
 > > > Using Tomcat but need to do more? Need to support web services,
 > > security?> Get stuff done quickly with pre-integrated technology
 > > to make your job easier
 > > > Download IBM WebSphere Application Server v.1.0.1 based on
 > > Apache Geronimo
 > > > http://sel.as-
 > >
us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
 > > _______________________________________________>
Hardhats-members
 > > mailing list
 > > > Hardhats-members@lists.sourceforge.net
 > > >
https://lists.sourceforge.net/lists/listinfo/hardhats-members
 > > >
 > >
 > >
 > >
-------------------------------------------------------
 > > Using Tomcat but need to do more? Need to support web services,
 > > security?Get stuff done quickly with pre-integrated technology to
 > > make your job easier
 > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
 > > Geronimohttp://sel.as-
 > > us.falkag.net/sel?
 >
cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________
 > ________________
 > > Hardhats-members mailing list
 > > Hardhats-members@lists.sourceforge.net
 > >
https://lists.sourceforge.net/lists/listinfo/hardhats-members
 > >
 >
 >
 > -------------------------------------------------------
 > Using Tomcat but need to do more? Need to support web services, security?
 > Get stuff done quickly with pre-integrated technology to make your job
easier
 > Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
 >
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
 > _______________________________________________
 > Hardhats-members mailing list
 > Hardhats-members@lists.sourceforge.net
 >
https://lists.sourceforge.net/lists/listinfo/hardhats-members
 >


 -------------------------------------------------------
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
 _______________________________________________
 Hardhats-members mailing list
 Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members




 --
 Steven McPhelan
 "Action springs not from thought, but from a readiness for responsibility."
- Dietrich Bohhoeffer



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to