Nancy,
 

On Jul 9, 2006, at 11:26 PM, Nancy Anthracite wrote:

I tried playing with it:

GTM>S MYIO="home/nancy/testIO.txt"
 
I'm curious - (if you get time) would it make a difference if you started this file reference with a slash, as in "/home/nancy/testIO.txt"?


GTM>O MYIO W $T
%SYSTEM-E-ENO13, Permission denied

GTM>S MYIO="/tmp/TestIO.txt"
 
I'm curious because this file reference does start with the slash.  I know 'tmp' is a top-level folder; not sure if 'home' is.


GTM>O MYIO W $T
1
GTM>C MYIO

GTM>H

[EMAIL PROTECTED]:~$ ls /tmp/TestIO.txt
/tmp/TestIO.txt
[EMAIL PROTECTED]:~$ cat /tmp/TestIO.txt

So, what is $T ?

In case any of this is what you're asking:
1. The setting of $T[EST] is a side effect of the OPEN command.
2. If you want to write $T to the file, you need to USE MYIO after opening it.

Apologies if not.

Thanks,
Chuck




On Sunday 09 July 2006 23:25, Gregory Woodhouse wrote:
On Jul 9, 2006, at 4:40 PM, Ismet Kursunoglu wrote:
Thank you. Now I am getting somewhere - now it is complaining about
the device being busy..

That's good news because it almost certainly means the file couldn't
be opened. Why is that good news? Well, it sounds kind of
paradoxical, but is means we have most likely gotten past the VistA
layer and are now dealing with a MUMPS or Linux issue. Try this
(substitute the actual file name for /tmp/file.txt):

S MYIO="/tmp/file.txt"
O MYIO W $T
C MYIO

Gregory Woodhouse

"Judge a man by his questions not
his answers."   --Voltaire

-- 
Nancy Anthracite


-------------------------------------------------------------------------
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
_______________________________________________
Hardhats-members mailing list

-------------------------------------------------------------------------
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