Re: [Hardhats-members] IO file designation for VistA printing to CUPS server
Thanks. The routine seems to store and use the name of file very well. I just modified it to include kprinter and the printing was fine. Regards Usha - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 10:11 PM Subject: Re: [Hardhats-members] IO file designation for VistA printing to CUPS server I like my method of calling a function that does the IO setup. It is not as concise as this method, but it allows debugging easier. Kevin --- Usha [EMAIL PROTECTED] wrote: Hi While configuring a printer on our VistA server, I tried to use this thread. This is the DEVICE file entry I have created and the Output that I see while printing. Select OPTION: 5 INQUIRE TO FILE ENTRIES OUTPUT FROM WHAT FILE: DEVICE// Select DEVICE NAME: LASER LASER-PRINTERHOME LAN /home/vista/tmp/LASER-P RINTER.TMP ROU ANOTHER ONE: STANDARD CAPTIONED OUTPUT? Yes// (Yes) Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and Record Number (IEN) NUMBER: 66 NAME: LASER-PRINTER $I: /home/vista/tmp/LASER-PRINTER.TMP ASK DEVICE: NOASK PARAMETERS: NO VOLUME SET(CPU): ROU SIGN-ON/SYSTEM DEVICE: NO QUEUING: ALLOWED LOCATION OF TERMINAL: HOME LAN ASK HOST FILE: NO ASK HFS I/O OPERATION: NO MNEMONIC: LASER POST-CLOSE EXECUTE: W *27,E U IO K IO(1,IO) C IO W IO_IO ZSYSTEM kprinter --nodialog --system cups -P LASER-PRINTER _IO PRE-OPEN EXECUTE: S TMPIO=$P(IO,.)_._$J_$P($H,,,2)_._$P(IO,.,2) W I O_TMPIO W IO_IO SUBTYPE: P-HPLASER12 USE TIMEOUT ON OPENS: NO TYPE: TERMINAL PRINT SERVER NAME OR ADDRESS: 172.16.23.100 REMOTE PRINTER NAME: hpLaserJ ASK DEVICE TYPE AT SIGN-ON: YES, ASK On printing Select OPTION: 2 PRINT FILE ENTRIES OUTPUT FROM WHAT FILE: DEVICE// SORT BY: NAME// START WITH NAME: FIRST// FIRST PRINT FIELD: name THEN PRINT FIELD: Heading (S/C): DEVICE LIST// DEVICE: HOME// laser HOME LANIO/home/vista/tmp/LASER-PRINTER.1152661674.TMPIO/h ome/vista/tmp/LASER-PRINTER.TMP [BUSY] ... RETRY? NO// Why is the IO value changed to /h ome/vista/tmp/LASER-PRINTER.TMP instead of remaining /home/vista/tmp/LASER-PRINTER.1152661674.TMP ? Regards Usha - Original Message - From: Ismet Kursunoglu, MD [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Monday, June 13, 2005 8:35 PM Subject: Re: [Hardhats-members] IO file designation for VistA printing to CUPS server I just tried to pass the print job off using kprinter http://printing.kde.org/overview/kprinter.php using in my terminal settings CLOSE EXECUTE: W *27,E U IO K IO(1,IO) C IO ZSYSTEM kprinter --nodialog --system cups -P HL1240 _ION_ _IO --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
RE: [Hardhats-members] How to do a fileman search for EMPTY field s?
There are several conditions to search for, one of which is Null. The condition list is brought up by typing ?? at the prompt, for example: -B- SEARCH FOR EQUIPMENT INV. FIELD: nxrn # -B- CONDITION: ?? Choose from: 1NULL 2CONTAINS 3MATCHES 4LESS THAN 5EQUALS 6GREATER THAN YOU CAN NEGATE ANY OF THESE CONDITIONS BY PRECEDING THEM WITH ' OR - SO THAT 'NULL' MEANS NOT NULL Null is the first of the conditions in the list, and indicates an empty field. It can be selected by typing in 1, N or NULL. So, using what you entered... -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY -A- CONDITION: NULL Good luck Paul Sherman, CCE Biomedical Engineer VHA Center for Engineering Occupational Safety and Health (CEOSH) Voice: (314) 543-6712 Fax: (314) 543-6749 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Toppenberg Sent: Sunday, June 19, 2005 10:00 PM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] How to do a fileman search for EMPTY fields? Oops, I just tried it and it doesn't work. Here is a screen log Kevin Select FM VA Filename Option: search File Entries OUTPUT FROM WHAT FILE: TIU DOCUMENT// -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY -A- CONDITION: = EQUALS -A- EQUALS NEW PERSON: NULL ?? NEW PERSON: NUll ?? NEW PERSON: NULL ?? NEW PERSON: Press RETURN to continue... --- Gregory Woodhouse [EMAIL PROTECTED] wrote: Just type NULL. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 19, 2005, at 7:03 PM, Kevin Toppenberg wrote: I want to do a field for all records for which a particular field holds no data. Can I do this with a fileman search? If so, what would the syntax be? Thanks Kevin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
RE: [Hardhats-members] GUIMail 2.2.1 available
Title: GUIMail 2.2.1 available I just wanted tosay that if anyone has any problems with version ID's there is a known problem with this build that is easily fixed. Just use Fileman and update the CURRENT VERSION Field of Package File entry of CW Mail to 2.2, and it should work. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bhaskar, KSSent: Sunday, June 19, 2005 10:05 PMTo: hardhats-members@lists.sourceforge.netSubject: [Hardhats-members] GUIMail 2.2.1 available Thanks to Richard Sowinski, GUIMail 2.2.1 is available for download at the WorldVistA page at Source Forge (http://sourceforge.net/projects/worldvista). I apologize for the delay in getting it posted.-- Bhaskar
Re: [Hardhats-members] How to do a fileman search for EMPTY fields?
I guess I wasn't especially clear in my response. Predicate is a fancy term for operator. In this case you want Select VA FileMan Option: SEarch File Entries OUTPUT FROM WHAT FILE: TIU DOCUMENT// 19 OPTION (13279 entries) -A- SEARCH FOR OPTION FIELD: 1 MENU TEXT -A- CONDITION: NULL -B- SEARCH FOR OPTION FIELD: IF: A// MENU TEXT NULL STORE RESULTS OF SEARCH IN TEMPLATE: --- Gregory Woodhouse [EMAIL PROTECTED] wrote: Don't use equals as the condition. You're actually using NULL as a predicate, not a value. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 19, 2005, at 8:00 PM, Kevin Toppenberg wrote: Oops, I just tried it and it doesn't work. Here is a screen log Kevin Select FM VA Filename Option: search File Entries OUTPUT FROM WHAT FILE: TIU DOCUMENT// -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY -A- CONDITION: = EQUALS -A- EQUALS NEW PERSON: NULL ?? NEW PERSON: NUll ?? NEW PERSON: NULL ?? NEW PERSON: Press RETURN to continue... --- Gregory Woodhouse [EMAIL PROTECTED] wrote: Just type NULL. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 19, 2005, at 7:03 PM, Kevin Toppenberg wrote: I want to do a field for all records for which a particular field holds no data. Can I do this with a fileman search? If so, what would the syntax be? Thanks Kevin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
Is it a link? Try ls -ld /home/vista/VistA --- Usha [EMAIL PROTECTED] wrote: I tried opening a file in /home/vista/VistA GTMS Y=$$GTF^%ZISH($NA(^DPT(1,0)),2,/home/vista/VistA/,MYFILE.DAT) GTM But the file is created in /home/vista/OpenVistA directory. I also tried /tmp GTMS Y=$$GTF^%ZISH($NA(^DPT(1,0)),2,/tmp,MYFILE.DAT) GTMh [EMAIL PROTECTED] tmp]$ ls -ld /tmp drwxrwxrwt 14 root root 4096 Jun 20 09:30 /tmp But there is no file in /tmp directory too. Regards Usha - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 10:13 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting I haven't recently tested the OPEN function, but I am using FTG and GTF^%ZISH -- which I think indirectly calls OPEN. It is working without any restrictions. Kevin --- smcphelan [EMAIL PROTECTED] wrote: The only thing that make sense to me is that you do not have read/write privileges to those other directories. All %ZISH is doing is issuing an OPEN command. Perhaps there is some peculiarities of the OPEN command syntax within GT.M that %ZISH is not honoring. But I do not believe that is the case. Can anyone else on this thread use OPEN^%ZISH on GT.M for any directory. especially any directory that is not part of the GT.M installation? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
[Hardhats-members] Links in Unix/Linux
Files in Linux don't actually have names. Instead directories are a special kind of file (but not a special file!) containing a list of names, and for each name, what is called the inode for that file. You can think of it as a list (i.e., a directory) of name/inode pairs. Anyway, every time a directory contains an entry like this, it is called a hard link. You can have as many links as you want to a file (you create them with ln), but you should have to be root to link to directories because of the danger of creating loops. There is another kind of link, called a symbolic (or soft) link, that is actually a file containing the name of the file it is a link to. In this sense, a link of this type is very much like a shortcut or .lnk file in Windows (though the file itself is hidden from you). You create these links with ln -S. The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Links in Unix/Linux
I should add that if a file is a symbolic link, you'll see an 'l' in the output of ls -l or ls -ld. However, since all hard links are equal, there is no such clue for the case of a hard link. What you CAN do is look at the number of links to a file (again in the output of ls) to see if it's larger than expected. --- Greg Woodhouse [EMAIL PROTECTED] wrote: Files in Linux don't actually have names. Instead directories are a special kind of file (but not a special file!) containing a list of names, and for each name, what is called the inode for that file. You can think of it as a list (i.e., a directory) of name/inode pairs. Anyway, every time a directory contains an entry like this, it is called a hard link. You can have as many links as you want to a file (you create them with ln), but you should have to be root to link to directories because of the danger of creating loops. There is another kind of link, called a symbolic (or soft) link, that is actually a file containing the name of the file it is a link to. In this sense, a link of this type is very much like a shortcut or .lnk file in Windows (though the file itself is hidden from you). You create these links with ln -S. The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
[Hardhats-members] Wireless in the enterprise?
This article from Queue may be of interest http://www.acmqueue.com/modules.php?name=Contentpa=showpagepid=301 I cannot help but wonder what benefits wireless PDAs have to offer in terms of the usability (and acceptance) of an EHR system. The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
RE: [Hardhats-members] Edit Template fields
Thought this answer would be worth getting back to everyone and getting it into the searchable archives. -Original Message- From: Robert DeWayne Sent: Saturday, June 18, 2005 8:46 AM To: Cameron Schlehuber Subject: RE: [Hardhats-members] Edit Template fields Here is the answer: XPAR MENU TOOLS EP Edit Parameter Values TIU FIELD EDITOR CLASSES 1 User USR [choose from NEW PERSON] 3 Service SRV [choose from SERVICE/SECTION] 4 Division DIV [SOFTWARE SERVICE] 5 System SYS [EHR.DAOU.COM] 6 Package PKG [TEXT INTEGRATION UTILITIES] (I used system) Sequence Number Value --- - 1 CLINICAL COORDINATOR 2 TEMPLATE FIELD CREATOR Then check the class membership: USR CLASS MANAGEMENT MENU List Membership by User Edit Change View Current User Classes Jun 18, [EMAIL PROTECTED]:45:16 Page: 1 of 1 DEWAYNE,ROBERT 2 Classes User Class Effective Expires 1 Clinical Coordinator 12/17/04 If the above steps are done and they are a clinical coordinator, the errorshould go away. I hope this helps. Robert DeWayne Technical Lead VOE (VistA Office EHR) Daou Systems, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Thurman Pedigo Sent: Thursday, June 16, 2005 7:05 PM To: hardhats-members@lists.sourceforge.net Subject: RE: [Hardhats-members] Edit Template fields Sorry to belabor this one, however, I have (maybe) some new information on the template edit problem. I tried importing a template, supplied by a VA friend, and got the following message: This template has one or more new fields, and you are not authorized to create new fields. If you continue, the program will import the new template without the new fields. Do you wish to do this? Does anyone have any idea where this comes from? Thanks/t -Original Message- From: [EMAIL PROTECTED] [mailto:hardhats- [EMAIL PROTECTED] On Behalf Of Thurman Pedigo Sent: Wednesday, June 15, 2005 10:25 AM To: hardhats-members@lists.sourceforge.net Subject: RE: [Hardhats-members] Edit Template fields The .jpg shows the bottom choice - Edit template field grayed out or not accessible. All the other options on that list are open to use. Below is the inquire of DOCUMENT DEFINITION EDIT. Note the OUT OF ORDER MESSAGE. NUMBER: 7758 NAME: TIU DOCUMENT DEFINITION EDIT MENU TEXT: Edit Document Definition OUT OF ORDER MESSAGE: tiu doc TYPE: edit CREATOR: PEDIGO,THURMAN L SR PACKAGE: TEXT INTEGRATION UTILITIES E ACTION PRESENT: YES X ACTION PRESENT: YES DESCRIPTION: This option allows editing of document definitions. Short Menu Text: Edit Document Definition EXIT ACTION: K TIUFPRIV ENTRY ACTION: S TIUFPRIV=1 DIC {DIC}: TIU(8925.1, DIC(0): AEMQL DIE: TIU(8925.1, DR {DIE}: [TIU EDIT DOCUMENT TYPE] TIMESTAMP OF PRIMARY MENU: 56132,47161 UPPERCASE MENU TEXT: EDIT DOCUMENT DEFINITION Thanks, thurman ts/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
I have a very crude debugger that allows stepping through code. I can get you the code if you want. Kevin --- Usha [EMAIL PROTECTED] wrote: Well how to do that? Usha - Original Message - From: Greg Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 9:35 PM Subject: RE: [Hardhats-members] Does not ask DEVICE while exporting At this point, I'd be inclined to try using a debugger to be sure that the pathname of the file you are trying to open is what you think it is. One possibility is that the path is being constructed in such a way that there is nothing to open. If there were a trappable error, you could also check the symbol table using ^XTER. --- Aylesworth Marc A Ctr AFRL/IFSE [EMAIL PROTECTED] wrote: Also try to write t o/tmp this usually has 777 permissions where other directories may be more restricted Thanks Marc Aylesworth C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team 525 Brooks Rd Rome, NY 13441-4505 Tel:315.330.2422 Fax:315.330.7009 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K.S. Bhaskar Sent: Friday, June 17, 2005 9:23 AM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- The information you sent, shell commands that I used to illustrate the use of ZSYstem, are probably not very helpful to anyone trying to debug why %ZISH is not accessing files in directories other than /home/vista/OpenVistA. You may want to post the output of the following commands: ZSY id ZSY ls -ld /home/vista/OpenVistA ZSY ls -ld XXX where XXX is a directory where %ZISH is unable to open a file. You can also just send the output of the commands executed at a Linux shell rather than the GT.M prompt: id ls -ld /home/vista/OpenVistA ls -ld XXX -- Bhaskar Usha wrote: I am able to open any file in /home/vista/OpenVistA directory only. No other file is opening using %ZISH. Following is a screenshot, with the help of Bhaskar GTMZSYstem echo $PWD /home/vista/OpenVistA GTMZSYstem uname -a Linux local.cmpio.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux GTMh [EMAIL PROTECTED] vista]$ echo $PWD /home/vista [EMAIL PROTECTED] vista]$ Regards Usha - Original Message - From: Gregory Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Thursday, June 16, 2005 5:28 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Can you OPEN the file? Can you open (with %ZISH) a file in a different directory (say /tmp)? === Gregory Woodhouse [EMAIL PROTECTED] Without the requirement of mathematical aesthetics a great many discoveries would not have been made. -- Albert Einstein On Jun 16, 2005, at 4:00 AM, Usha wrote: The difference between the previous and later open statements is that the latter open statement was executed after opening the file in WRITE mode (which I think, created a new file patmast.txt in /home/vista/ OpenVistA directory). After deleting the /home/vista/OpenVistA/patmast.txt file, when I try to run the open command with the trailing '/', the following is what I see GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA/,patmast.txt,R) GTMw POP 1 GTM Regards Usha --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click === message truncated === __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
Does it allow source level debugging? I know Bhaskar has said that Fidelity recommends Serenji, but obviously, GTM has to provide some level of support for debugging. I'm just not familiar with the approach it uses. --- Kevin Toppenberg [EMAIL PROTECTED] wrote: I have a very crude debugger that allows stepping through code. I can get you the code if you want. Kevin --- Usha [EMAIL PROTECTED] wrote: Well how to do that? Usha - Original Message - From: Greg Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 9:35 PM Subject: RE: [Hardhats-members] Does not ask DEVICE while exporting At this point, I'd be inclined to try using a debugger to be sure that the pathname of the file you are trying to open is what you think it is. One possibility is that the path is being constructed in such a way that there is nothing to open. If there were a trappable error, you could also check the symbol table using ^XTER. --- Aylesworth Marc A Ctr AFRL/IFSE [EMAIL PROTECTED] wrote: Also try to write t o/tmp this usually has 777 permissions where other directories may be more restricted Thanks Marc Aylesworth C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team 525 Brooks Rd Rome, NY 13441-4505 Tel:315.330.2422 Fax:315.330.7009 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K.S. Bhaskar Sent: Friday, June 17, 2005 9:23 AM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- The information you sent, shell commands that I used to illustrate the use of ZSYstem, are probably not very helpful to anyone trying to debug why %ZISH is not accessing files in directories other than /home/vista/OpenVistA. You may want to post the output of the following commands: ZSY id ZSY ls -ld /home/vista/OpenVistA ZSY ls -ld XXX where XXX is a directory where %ZISH is unable to open a file. You can also just send the output of the commands executed at a Linux shell rather than the GT.M prompt: id ls -ld /home/vista/OpenVistA ls -ld XXX -- Bhaskar Usha wrote: I am able to open any file in /home/vista/OpenVistA directory only. No other file is opening using %ZISH. Following is a screenshot, with the help of Bhaskar GTMZSYstem echo $PWD /home/vista/OpenVistA GTMZSYstem uname -a Linux local.cmpio.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux GTMh [EMAIL PROTECTED] vista]$ echo $PWD /home/vista [EMAIL PROTECTED] vista]$ Regards Usha - Original Message - From: Gregory Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Thursday, June 16, 2005 5:28 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Can you OPEN the file? Can you open (with %ZISH) a file in a different directory (say /tmp)? === Gregory Woodhouse [EMAIL PROTECTED] Without the requirement of mathematical aesthetics a great many discoveries would not have been made. -- Albert Einstein On Jun 16, 2005, at 4:00 AM, Usha wrote: The difference between the previous and later open statements is that the latter open statement was executed after opening the file in WRITE mode (which I think, created a new file patmast.txt in /home/vista/ OpenVistA directory). After deleting the /home/vista/OpenVistA/patmast.txt file, when I try to run the open command with the trailing '/', the following is what I see GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA/,patmast.txt,R) GTMw POP 1 GTM Regards Usha --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click === message truncated === __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html --- SF.Net email is
RE: [Hardhats-members] How to do a fileman search for EMPTY field s?
Now I understand. Thanks Kevin --- Sherman, Paul (CEOSH) [EMAIL PROTECTED] wrote: There are several conditions to search for, one of which is Null. The condition list is brought up by typing ?? at the prompt, for example: -B- SEARCH FOR EQUIPMENT INV. FIELD: nxrn # -B- CONDITION: ?? Choose from: 1NULL 2CONTAINS 3MATCHES 4LESS THAN 5EQUALS 6GREATER THAN YOU CAN NEGATE ANY OF THESE CONDITIONS BY PRECEDING THEM WITH ' OR - SO THAT 'NULL' MEANS NOT NULL Null is the first of the conditions in the list, and indicates an empty field. It can be selected by typing in 1, N or NULL. So, using what you entered... -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY -A- CONDITION: NULL Good luck Paul Sherman, CCE Biomedical Engineer VHA Center for Engineering Occupational Safety and Health (CEOSH) Voice: (314) 543-6712 Fax: (314) 543-6749 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Toppenberg Sent: Sunday, June 19, 2005 10:00 PM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] How to do a fileman search for EMPTY fields? Oops, I just tried it and it doesn't work. Here is a screen log Kevin Select FM VA Filename Option: search File Entries OUTPUT FROM WHAT FILE: TIU DOCUMENT// -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY -A- CONDITION: = EQUALS -A- EQUALS NEW PERSON: NULL ?? NEW PERSON: NUll ?? NEW PERSON: NULL ?? NEW PERSON: Press RETURN to continue... --- Gregory Woodhouse [EMAIL PROTECTED] wrote: Just type NULL. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 19, 2005, at 7:03 PM, Kevin Toppenberg wrote: I want to do a field for all records for which a particular field holds no data. Can I do this with a fileman search? If so, what would the syntax be? Thanks Kevin --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
Usha -- You didn't say, but I presume that you have a situation where ^%ZISH works for files in /home/vista/OpenVistA but not in /home/vista/VistA. Is this correct? If so, then it is not a permissions issue, but most likely something in the application, a typo in user input, etc. -- Bhaskar Usha wrote: Following is a screenshot of executing all the commands GTMZSY id uid=501(vista) gid=501(vista) groups=501(vista) GTMZSY ls -ld /home/vista/OpenVistA drwxrwxr-x7 vistavista8192 Jun 17 11:43 /home/vista/OpenVistA GTMZSY ls -ld XXX ls: XXX: No such file or directory GTMZSY ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/VistA GTMh [EMAIL PROTECTED] vista]$ id uid=501(vista) gid=501(vista) groups=501(vista) [EMAIL PROTECTED] vista]$ ls -ld /home/vista/OpenVistA drwxrwxr-x7 vistavista8192 Jun 17 11:43 /home/vista/OpenVistA [EMAIL PROTECTED] vista]$ ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/VistA [EMAIL PROTECTED] vista]$ --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
Yes, GT.M provides a fairly comprehensive set of functionality (hooks) for source level debugging down to the line level (i.e., not the ability to single step within a line), but does not provide any fancy packaging. or GUI. Serenji uses these hooks to create a much more visual packaging and GUI. -- Bhaskar Greg Woodhouse wrote: Does it allow source level debugging? I know Bhaskar has said that Fidelity recommends Serenji, but obviously, GTM has to provide some level of support for debugging. I'm just not familiar with the approach it uses. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Typing in RPC calls
I wonder what happens when values are passed back to Delphi/Pascal from an RPC call. Since Mumps uses contextual typing and all variable values are really ASCII strings and Pascal uses typed variables is everything passed back to Pascal as strings? Or are some of these return values already typed when Pascal first sees them? Does this make sense? James Gray If the VA RPC Broker mechanism was a standard remote procedure call mechanism used by compiled languages, I believe that it would include some way to mark values with their data types. As I recall, the ASN.1 system was developed for this kind of rpc mechanism. As you point out, the VA RPC broker, uses a specialised protocol for sending messages. Some of the values are in binary, but I believe the most common ones are using a simple string of character data type. The Delphi/Java/Visual Basic etc. client then converts the data into the type that it prefers. David Whitten (713) 870-3834 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Typing in RPC calls
I believe the Broker knows about numbers, strings and arrays. Of course, the protocol is completely non-standard, not relying on ASN.1, idl, or anything like it. --- [EMAIL PROTECTED] wrote: I wonder what happens when values are passed back to Delphi/Pascal from an RPC call. Since Mumps uses contextual typing and all variable values are really ASCII strings and Pascal uses typed variables is everything passed back to Pascal as strings? Or are some of these return values already typed when Pascal first sees them? Does this make sense? James Gray If the VA RPC Broker mechanism was a standard remote procedure call mechanism used by compiled languages, I believe that it would include some way to mark values with their data types. As I recall, the ASN.1 system was developed for this kind of rpc mechanism. As you point out, the VA RPC broker, uses a specialised protocol for sending messages. Some of the values are in binary, but I believe the most common ones are using a simple string of character data type. The Delphi/Java/Visual Basic etc. client then converts the data into the type that it prefers. David Whitten (713) 870-3834 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Links in Unix/Linux
I thought it was: Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke On Jun 20, 2005, at 10:28 AM, Greg Woodhouse wrote: Files in Linux don't actually have names. Instead directories are a special kind of file (but not a special file!) containing a list of names, and for each name, what is called the inode for that file. You can think of it as a list (i.e., a directory) of name/inode pairs. Anyway, every time a directory contains an entry like this, it is called a hard link. You can have as many links as you want to a file (you create them with ln), but you should have to be root to link to directories because of the danger of creating loops. There is another kind of link, called a symbolic (or soft) link, that is actually a file containing the name of the file it is a link to. In this sense, a link of this type is very much like a shortcut or .lnk file in Windows (though the file itself is hidden from you). You create these links with ln -S. The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Links in Unix/Linux
That too. --- chuck5566 [EMAIL PROTECTED] wrote: I thought it was: Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] GUIMail 2.2.1 available
On 6/19/05, Bhaskar, KS [EMAIL PROTECTED] wrote: Thanks to Richard Sowinski, GUIMail 2.2.1 is available for download at the WorldVistA page at Source Forge I'm not sure if this is an issue everyone is seeing, but when I open the .zip file from SF.net, some important files are missing (SETUP.EXE for example). I noticed the 5 following .htm files in the archive: 0_WARNING.HTM 1_WARNING.HTM 2_WARNING.HTM 3_WARNING.HTM 4_WARNING.HTM When I open these, I see a warning from FNF's IS team stating that 5 files (like SETUP.EXE) are not allowed. From my perspective, the files were stripped from the archive (probably as the file entered FNF network, which for obvious reasons is highly secured). Perhaps Richard could send the file to another account that allows these types of files... Thank you, Ben --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] GUIMail 2.2.1 available
Arrgh! Sorry. I will work with Richard to get the correct files posted. Apologies again, Ben. -- Bhaskar Ben Mehling wrote: On 6/19/05, Bhaskar, KS [EMAIL PROTECTED] wrote: Thanks to Richard Sowinski, GUIMail 2.2.1 is available for download at the WorldVistA page at Source Forge I'm not sure if this is an issue everyone is seeing, but when I open the .zip file from SF.net, some important files are missing (SETUP.EXE for example). I noticed the 5 following .htm files in the archive: 0_WARNING.HTM 1_WARNING.HTM 2_WARNING.HTM 3_WARNING.HTM 4_WARNING.HTM When I open these, I see a warning from FNF's IS team stating that 5 files (like SETUP.EXE) are not allowed. From my perspective, the files were stripped from the archive (probably as the file entered FNF network, which for obvious reasons is highly secured). Perhaps Richard could send the file to another account that allows these types of files... Thank you, Ben --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
Yes. It utilizes GTM ability to execute one line at a time. So between each source line, my code is called. I use $zpos to figure out where in the source code the execution point is. I then use the top of the screen to display the context code. So the bottom of the screen remains unchanged for the program output, while the top is used for debugging. It allows for step into and step over of functions. And it allows a user to enter a M code instruction at any time, so that variables can be queried etc. Kevin --- Greg Woodhouse [EMAIL PROTECTED] wrote: Does it allow source level debugging? I know Bhaskar has said that Fidelity recommends Serenji, but obviously, GTM has to provide some level of support for debugging. I'm just not familiar with the approach it uses. --- Kevin Toppenberg [EMAIL PROTECTED] wrote: I have a very crude debugger that allows stepping through code. I can get you the code if you want. Kevin --- Usha [EMAIL PROTECTED] wrote: Well how to do that? Usha - Original Message - From: Greg Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 9:35 PM Subject: RE: [Hardhats-members] Does not ask DEVICE while exporting At this point, I'd be inclined to try using a debugger to be sure that the pathname of the file you are trying to open is what you think it is. One possibility is that the path is being constructed in such a way that there is nothing to open. If there were a trappable error, you could also check the symbol table using ^XTER. --- Aylesworth Marc A Ctr AFRL/IFSE [EMAIL PROTECTED] wrote: Also try to write t o/tmp this usually has 777 permissions where other directories may be more restricted Thanks Marc Aylesworth C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team 525 Brooks Rd Rome, NY 13441-4505 Tel:315.330.2422 Fax:315.330.7009 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K.S. Bhaskar Sent: Friday, June 17, 2005 9:23 AM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- The information you sent, shell commands that I used to illustrate the use of ZSYstem, are probably not very helpful to anyone trying to debug why %ZISH is not accessing files in directories other than /home/vista/OpenVistA. You may want to post the output of the following commands: ZSY id ZSY ls -ld /home/vista/OpenVistA ZSY ls -ld XXX where XXX is a directory where %ZISH is unable to open a file. You can also just send the output of the commands executed at a Linux shell rather than the GT.M prompt: id ls -ld /home/vista/OpenVistA ls -ld XXX -- Bhaskar Usha wrote: I am able to open any file in /home/vista/OpenVistA directory only. No other file is opening using %ZISH. Following is a screenshot, with the help of Bhaskar GTMZSYstem echo $PWD /home/vista/OpenVistA GTMZSYstem uname -a Linux local.cmpio.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux GTMh [EMAIL PROTECTED] vista]$ echo $PWD /home/vista [EMAIL PROTECTED] vista]$ Regards Usha - Original Message - From: Gregory Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Thursday, June 16, 2005 5:28 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Can you OPEN the file? Can you open (with %ZISH) a file in a different directory (say /tmp)? === Gregory Woodhouse [EMAIL PROTECTED] Without the requirement of mathematical aesthetics a great many discoveries would not have been made. -- Albert Einstein On Jun 16, 2005, at 4:00 AM, Usha wrote: The difference between the previous and later open statements is that the latter open statement was executed after opening the file in WRITE mode (which I think, created a new file patmast.txt in /home/vista/ OpenVistA directory). After deleting the /home/vista/OpenVistA/patmast.txt file, when I try to run the open command with the trailing '/', the following is what I see === message truncated === Yahoo! Sports Rekindle the Rivalries. Sign
[Hardhats-members] How to save a nake reference?
Speaking of my debugger (in other thread), I am considering again a problem I had in creating it. Because my code is called between every line of the source code, I have to be careful not to change the environment, or the program running will be confused. One of the things to not be changed would be the naked reference. Thus, if I make any references to a global variable in my debugging code, it will change the naked reference for the next line of the source code. I would like to be able to store debugging data in a global (i.e. screen width etc) rather than hard coding it. So I need to save the nake reference, so I can restore it after my debugging code is done. I thought that I could perhaps save the name of the nake reference somehow, and then reference it again as I was leaving my code. But I'm hazy about how to do this. Any idea about how to save a nake reference? Thanks Kevin __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] How to save a nake reference?
I believe there's an entry point in %ZOSV to call the platform dependent method of getting the last global reference. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 20, 2005, at 3:13 PM, Kevin Toppenberg wrote: Speaking of my debugger (in other thread), I am considering again a problem I had in creating it. Because my code is called between every line of the source code, I have to be careful not to change the environment, or the program running will be confused. One of the things to not be changed would be the naked reference. Thus, if I make any references to a global variable in my debugging code, it will change the naked reference for the next line of the source code. I would like to be able to store debugging data in a global (i.e. screen width etc) rather than hard coding it. So I need to save the nake reference, so I can restore it after my debugging code is done. I thought that I could perhaps save the name of the nake reference somehow, and then reference it again as I was leaving my code. But I'm hazy about how to do this. Any idea about how to save a nake reference? Thanks Kevin __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
[Hardhats-members] Re: open source website
Last week I corresponded directly with KS Bhaskar about my wanting to convert my website http://countyresearch.com, to formats other than InterSystems and Microsoft. The website is 25 years of real estate data in FileMan with a Cache Server Pages shell. Bhaskar was generous and prompt with his advice. This followup to Bhaskar's counsel is presented here, not to second guess or seek other opinions, but to possibly resonate with someone else who might be pursuing a commercial, non-medical, application of M technology. In response to my question about GT.M and Linux, Bhaskar said: Since VistA currently runs on GT.M, current Fileman runs on GT.M, but I suspect you may be running an older version that won't run on GT.M. But your work should move over to the current Fileman. The only glitch will be that the latest Fileman has not been split off from the latest VistA, so you will get the whole nine yards. However, disk is cheap, and it should not affect your development efforts. The VistA community is interested in creating FIleman from the latest VistA, and this is expected later this summer. Which VistA might that be? There was a post just yesterday about a new version. Several years ago I got a version of VistA with a field that had the same name as one of mine and wouldn't submit to adjustment. Lloyd Milligan helped me sort things out. Since then, I've been using the latest version of FileMan from the Hardhats website. If that's not enough, please give a pointer. While at it, which Linux? Red Hat? Mine is a venture from which I hope to profit, and am not without a budget. I embrace the concept of for-pay support for open source software. Suggestions welcomed. Steve Elder TierraAmerica Information Services --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
[EMAIL PROTECTED] vista]$ ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/VistA [EMAIL PROTECTED] vista]$ Usha - Original Message - From: Greg Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Monday, June 20, 2005 8:50 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Is it a link? Try ls -ld /home/vista/VistA --- Usha [EMAIL PROTECTED] wrote: I tried opening a file in /home/vista/VistA GTMS Y=$$GTF^%ZISH($NA(^DPT(1,0)),2,/home/vista/VistA/,MYFILE.DAT) GTM But the file is created in /home/vista/OpenVistA directory. I also tried /tmp GTMS Y=$$GTF^%ZISH($NA(^DPT(1,0)),2,/tmp,MYFILE.DAT) GTMh [EMAIL PROTECTED] tmp]$ ls -ld /tmp drwxrwxrwt 14 root root 4096 Jun 20 09:30 /tmp But there is no file in /tmp directory too. Regards Usha - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 10:13 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting I haven't recently tested the OPEN function, but I am using FTG and GTF^%ZISH -- which I think indirectly calls OPEN. It is working without any restrictions. Kevin --- smcphelan [EMAIL PROTECTED] wrote: The only thing that make sense to me is that you do not have read/write privileges to those other directories. All %ZISH is doing is issuing an OPEN command. Perhaps there is some peculiarities of the OPEN command syntax within GT.M that %ZISH is not honoring. But I do not believe that is the case. Can anyone else on this thread use OPEN^%ZISH on GT.M for any directory. especially any directory that is not part of the GT.M installation? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members The most profound technologies are those that disappear. --Mark Weiser Greg Woodhouse [EMAIL PROTECTED] [EMAIL PROTECTED] --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
I would like to have it. Thanks Usha - Original Message - From: Kevin Toppenberg [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Monday, June 20, 2005 11:02 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting I have a very crude debugger that allows stepping through code. I can get you the code if you want. Kevin --- Usha [EMAIL PROTECTED] wrote: Well how to do that? Usha - Original Message - From: Greg Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Friday, June 17, 2005 9:35 PM Subject: RE: [Hardhats-members] Does not ask DEVICE while exporting At this point, I'd be inclined to try using a debugger to be sure that the pathname of the file you are trying to open is what you think it is. One possibility is that the path is being constructed in such a way that there is nothing to open. If there were a trappable error, you could also check the symbol table using ^XTER. --- Aylesworth Marc A Ctr AFRL/IFSE [EMAIL PROTECTED] wrote: Also try to write t o/tmp this usually has 777 permissions where other directories may be more restricted Thanks Marc Aylesworth C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team 525 Brooks Rd Rome, NY 13441-4505 Tel:315.330.2422 Fax:315.330.7009 Email: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K.S. Bhaskar Sent: Friday, June 17, 2005 9:23 AM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- The information you sent, shell commands that I used to illustrate the use of ZSYstem, are probably not very helpful to anyone trying to debug why %ZISH is not accessing files in directories other than /home/vista/OpenVistA. You may want to post the output of the following commands: ZSY id ZSY ls -ld /home/vista/OpenVistA ZSY ls -ld XXX where XXX is a directory where %ZISH is unable to open a file. You can also just send the output of the commands executed at a Linux shell rather than the GT.M prompt: id ls -ld /home/vista/OpenVistA ls -ld XXX -- Bhaskar Usha wrote: I am able to open any file in /home/vista/OpenVistA directory only. No other file is opening using %ZISH. Following is a screenshot, with the help of Bhaskar GTMZSYstem echo $PWD /home/vista/OpenVistA GTMZSYstem uname -a Linux local.cmpio.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux GTMh [EMAIL PROTECTED] vista]$ echo $PWD /home/vista [EMAIL PROTECTED] vista]$ Regards Usha - Original Message - From: Gregory Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Thursday, June 16, 2005 5:28 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Can you OPEN the file? Can you open (with %ZISH) a file in a different directory (say /tmp)? === Gregory Woodhouse [EMAIL PROTECTED] Without the requirement of mathematical aesthetics a great many discoveries would not have been made. -- Albert Einstein On Jun 16, 2005, at 4:00 AM, Usha wrote: The difference between the previous and later open statements is that the latter open statement was executed after opening the file in WRITE mode (which I think, created a new file patmast.txt in /home/vista/ OpenVistA directory). After deleting the /home/vista/OpenVistA/patmast.txt file, when I try to run the open command with the trailing '/', the following is what I see GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA/,patmast.txt,R) GTMw POP 1 GTM Regards Usha --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click === message truncated === __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast.
Re: [Hardhats-members] Does not ask DEVICE while exporting
You are correct. Usha - Original Message - From: K.S. Bhaskar [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Monday, June 20, 2005 11:28 PM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- You didn't say, but I presume that you have a situation where ^%ZISH works for files in /home/vista/OpenVistA but not in /home/vista/VistA. Is this correct? If so, then it is not a permissions issue, but most likely something in the application, a typo in user input, etc. -- Bhaskar Usha wrote: Following is a screenshot of executing all the commands GTMZSY id uid=501(vista) gid=501(vista) groups=501(vista) GTMZSY ls -ld /home/vista/OpenVistA drwxrwxr-x7 vistavista8192 Jun 17 11:43 /home/vista/OpenVistA GTMZSY ls -ld XXX ls: XXX: No such file or directory GTMZSY ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/VistA GTMh [EMAIL PROTECTED] vista]$ id uid=501(vista) gid=501(vista) groups=501(vista) [EMAIL PROTECTED] vista]$ ls -ld /home/vista/OpenVistA drwxrwxr-x7 vistavista8192 Jun 17 11:43 /home/vista/OpenVistA [EMAIL PROTECTED] vista]$ ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/VistA [EMAIL PROTECTED] vista]$ --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
So it's not a symbolic link. This is a long shot, but you could try displaying the inode numbers for the two files with the -i option ~:$ ls -id . 189997 . ~:$ You actually have to be root to create a hard link to a directory, so I don't think it's very likely that this is the source of the trouble. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. On Jun 20, 2005, at 8:46 PM, Usha wrote: [EMAIL PROTECTED] vista]$ ls -ld /home/vista/VistA drwxrwxrwx4 vistavista4096 Jun 17 11:40 /home/vista/ VistA [EMAIL PROTECTED] vista]$ Usha --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
[EMAIL PROTECTED] VistA]# ls -id /home/vista/VistA/patmast.txt 6291844 /home/vista/VistA/patmast.txt [EMAIL PROTECTED] VistA]# ls -id /home/vista/OpenVistA/patmast.txt 4112950 /home/vista/OpenVistA/patmast.txt [EMAIL PROTECTED] VistA]# Usha - Original Message - From: Gregory Woodhouse [EMAIL PROTECTED] To: hardhats-members@lists.sourceforge.net Sent: Tuesday, June 21, 2005 9:29 AM Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting So it's not a symbolic link. This is a long shot, but you could try displaying the inode numbers for the two files with the -i option ~:$ ls -id . 189997 . ~:$ You actually have to be root to create a hard link to a directory, so I don't think it's very likely that this is the source of the trouble. === Gregory Woodhouse [EMAIL PROTECTED] Better. Faster. Cheaper. Pick two. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
Re: [Hardhats-members] Does not ask DEVICE while exporting
That test shows that these are definitely two different files, not links to the same file. My hunch is that there is something in the device handling code that inserts OpenVistA, perhaps a workaround for something else, I don't know. You really need to look at the code to see how path names are constructed on your system. This is certainly a strange one. === Gregory Woodhouse [EMAIL PROTECTED] It is a capital mistake to theorize before one has data. --Sir Arthur Conan Doyle On Jun 20, 2005, at 9:46 PM, Usha wrote: [EMAIL PROTECTED] VistA]# ls -id /home/vista/VistA/patmast.txt 6291844 /home/vista/VistA/patmast.txt [EMAIL PROTECTED] VistA]# ls -id /home/vista/OpenVistA/patmast.txt 4112950 /home/vista/OpenVistA/patmast.txt [EMAIL PROTECTED] VistA]# Usha --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members