I don't like one-liners. I would put this into a file and execute it from there. Call the file ZZZTEMP.m Call it by do Start^ZZZTEMP
The case of functions is not significant, but is significant for variable names. The merge is a "backup" Kevin On 6/23/06, Matthew King <[EMAIL PROTECTED]> wrote: > So 2 questions: should I write that into a routine or execute as one > line? 2) Are all of the cases correct (ei merge vs MERGE) > > Matthew M. King, MD > Medical Director > Clinica Adelante, Inc > Surprise, Arizona 85374 > [EMAIL PROTECTED] > > > -----Original Message----- > From: Kevin Toppenberg [mailto:[EMAIL PROTECTED] > Sent: Friday, June 23, 2006 4:56 PM > To: hardhats-members@lists.sourceforge.net > Subject: Re: [Hardhats-members] Pharmacy Patient file (55) > > Start > merge ^TMP("MATTHEWKING","^PS(55")=^PS(55) > new i > set i=$order(^PS(55,0)) > if +i>0 for do quit:(+i'>0) > . kill ^PS(55,i) > . set i=$order(^PS(55,i)) > > If this is a practice system, go for it. But otherwise I might be > handing you a loaded gun that might cause more harm that I am thinking > about right now. > > Kevin > > > On 6/23/06, Matthew King <[EMAIL PROTECTED]> wrote: > > I MIGHT BE ABLE TO DO THAT NEXT YEAR! :-) > > > > Matthew M. King, MD > > Medical Director > > Clinica Adelante, Inc > > Surprise, Arizona 85374 > > [EMAIL PROTECTED] > > > > > > -----Original Message----- > > From: Kevin Toppenberg [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 23, 2006 4:40 PM > > To: hardhats-members@lists.sourceforge.net > > Subject: Re: [Hardhats-members] Pharmacy Patient file (55) > > > > The error is occuring at PNTR+1^PSGAL5 > > The error is that ^DPT(119,0) doesn't exist (we know that, but the > > code apparently is not testing for that possibility.) ^DPT is the > > PATIENT file. > > > > If it were me, I would be tempted to programatically make my own loop > > and kill the globals directly, and then re-index. > > > > Kevin > > > > > > On 6/23/06, Matthew King <[EMAIL PROTECTED]> wrote: > > > INPUT TO WHAT FILE: PHARMACY PATIENT// > > > EDIT WHICH FIELD: ALL// NAME///@ > > > WARNING: THIS MEANS AUTOMATIC DELETION!! > > > THEN EDIT FIELD: > > > > > > > > > Select PHARMACY PATIENT NAME: 119 119 > > > GTM>W $ZSTATUS > > > 150372994,PNTR+1^PSGAL5,%GTM-E-GVUNDEF, Global variable undefined: > > > ^DPT(119,0) > > > GTM> > > > > > > I think there is a lot of garbage in that file. I will be bringing a > > > laptop with a connection. > > > > > > Matthew M. King, MD > > > Medical Director > > > Clinica Adelante, Inc > > > Surprise, Arizona 85374 > > > [EMAIL PROTECTED] > > > > > > > > > -----Original Message----- > > > From: Kevin Toppenberg [mailto:[EMAIL PROTECTED] > > > Sent: Friday, June 23, 2006 4:16 PM > > > To: hardhats-members@lists.sourceforge.net > > > Subject: Re: [Hardhats-members] Pharmacy Patient file (55) > > > > > > When you drop to the GTM prompt, do: > > > > > > w $ZSTATUS and report the error back here. A better way is to log > in > > > with ^XUS and then after an error, go to the show log of errors menu > > > (I think it is eve->operations->show error log). > > > > > > It sounds like you have some glitches in the indexes or something. > > > > > > Kevin > > > > > > P.S. Make sure that you can connect to your system remotely when > you > > > come to the conference, if you want any of us to try to help you > while > > > we are there. > > > > > > Kevin > > > > > > > > > On 6/23/06, Matthew King <[EMAIL PROTECTED]> wrote: > > > > I'm having trouble the ^LOOP every in 10 to 20 files there seems > to > > be > > > a > > > > file the causes the loop to terminate abnormally. These file will > > also > > > > drop me to the GTM prompt without deletion if I try to do it one > by > > > one. > > > > I've tried NAME////@ and at the GTM prompt: S DUZ(0)=@ (This > results > > > in > > > > an error) > > > > > > > > Matthew M. King, MD > > > > Medical Director > > > > Clinica Adelante, Inc > > > > Surprise, Arizona 85374 > > > > [EMAIL PROTECTED] > > > > > > > > > > > > -----Original Message----- > > > > From: Kevin Toppenberg [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, June 23, 2006 4:04 PM > > > > To: hardhats-members@lists.sourceforge.net > > > > Subject: Re: [Hardhats-members] Pharmacy Patient file (55) > > > > > > > > Good point. I just happen to like the format that VPE displays > the > > > > information in. > > > > > > > > Kevin > > > > > > > > > > > > On 6/23/06, George Timson <[EMAIL PROTECTED]> wrote: > > > > > Kevin said today: > > > > > > ...The only thing point[ing] TO the PHARMACY > > > > > > PATIENT file is file 59.7. I found this out by checking VPE's > > DD, > > > > and > > > > > > looking at pointers IN. .... > > > > > > > > > > Why do you need VPE to discover this? Just print the Standard > > Data > > > > > Dictionary for File 55, and read at the top: > > > > > > > > > > POINTED TO BY: LAST PATIENT CONVERTED TO V4 field (#20.8) of the > > > > PHARMACY > > > > > SYSTEM File (#59.7) > > > > > LAST PATIENT CONVERTED (IV) field (#30.2) of the > > > > PHARMACY > > > > > SYSTEM > > > > > File (#59.7) > > > > > > > > > > --George Timson > > > > > > > > > > > > > > > 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 > > > > > > > > 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 > > > > > > 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 > > > > 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 > > 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