Following is a screenshot of executing all the commands GTM>ZSY "id" uid=501(vista) gid=501(vista) groups=501(vista)
GTM>ZSY "ls -ld /home/vista/OpenVistA" drwxrwxr-x 7 vista vista 8192 Jun 17 11:43 /home/vista/OpenVistA GTM>ZSY "ls -ld XXX" ls: XXX: No such file or directory GTM>ZSY "ls -ld /home/vista/VistA" drwxrwxrwx 4 vista vista 4096 Jun 17 11:40 /home/vista/VistA GTM>h [EMAIL PROTECTED] vista]$ id uid=501(vista) gid=501(vista) groups=501(vista) [EMAIL PROTECTED] vista]$ ls -ld /home/vista/OpenVistA drwxrwxr-x 7 vista vista 8192 Jun 17 11:43 /home/vista/OpenVistA [EMAIL PROTECTED] vista]$ ls -ld /home/vista/VistA drwxrwxrwx 4 vista vista 4096 Jun 17 11:40 /home/vista/VistA [EMAIL PROTECTED] vista]$ ----- Original Message ----- From: "K.S. Bhaskar" <[EMAIL PROTECTED]> To: <hardhats-members@lists.sourceforge.net> Sent: Friday, June 17, 2005 6:52 PM 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 > > > > GTM>ZSYstem "echo $PWD" > > /home/vista/OpenVistA > > > > GTM>ZSYstem "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 > > > > GTM>h > > [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 > > > > > > > > GTM>D OPEN^%ZISH("PATFILE","/home/vista/VistA/","patmast.txt","R") > > > > > > > > GTM>w 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=7477&alloc_id=16492&op=click > > <http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=click > > <http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=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=7477&alloc_id=16492&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members