Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-23 Thread whitten
Elaborating on what Koivulehto said, the field DEFAULT DIRECTORY FOR HFS
is available through the MUMPS language level as 
^XTV(8989.3,1,DEV)= (#320) DEFAULT DIRECTORY FOR HFS [1F] 
ie: field number #320 in entry #1 of File #8989.3

This file is restricted to a single entry, hence the 1 after the root of
^XTV(8989.3,  and apparently does not allow an ^ in the path name
(because it is the first FREETEXT piece, rather than a $EXTRACT location)
the code uses ^XTV(8989.3,1,DEV), primarily in the ZISH* routines, at
about label DEFDIR+2 ie: DEFDIR+2^ZISHGTM, or DEFDIR+2^ZISHUNT, or
DEFDIR+4^ZISHONT etc. in each case, the code looks like:
S:DF= DF=$G(^XTV(8989.3,1,DEV))  although curiously, at
DEFDIR+2^ZISHMSM,(ie: for Micronetics) there is code to translate the 
forward slashes of unix type systems into backslashes of MS Windows. 
ie: S DF=$TR(DF,/,\)

This is curious because I believe Micronetics had a version running on VMS.

The Input Transform of field #320 does limit the default directory 
to 40 characters in length, which hopefully isn't too restrictive.
This could be changed, as apparently nothing else is stored in the DEV node.

Best Regards,
David Whitten



Koivulehto Heikki said: 
 
 There should be file #8989.3 (KERNEL SYSTEM PARAMETERS) and there
 is sub file VOLUME SET and there you'll find the field
 DEFAULT DIRECTORY FOR HFS. Give it a try! 
 
   hjk
 
 -Original message-
 Sender: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Puolesta Kevin
 Toppenberg
 Sent: 22nd June 2005 17:34
 To: hardhats-members@lists.sourceforge.net
 Subj: Re: [Hardhats-members] Does not ask DEVICE while exporting
 
 
 Regarding default directory, I don't think you can do that on a system
 wide basis.  Just supply the directory where you want the file to go
 when you call the OPEN or writing files.


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

2005-06-22 Thread Kevin Toppenberg
Usha,

I'm glad to hear the debugger worked for you. I hate
the colors, and am having trouble getting it to behave
the way I want it to. But it gets the job done.

I hate when I remember late that I put something in
the code that was messing me up.  Sounds like that
line you added was doing that to you too.

Regarding default directory, I don't think you can do
that on a system wide basis.  Just supply the
directory where you want the file to go when you call
the OPEN or writing files.

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 
 Kevin,
 Thanks for the debugger. It's really nice.
 
 I got to know where the problem is. This is my %ZISH
 routine's OPEN portion.
 Here I had included the command S
 X2=/home/vista/OpenVistA to restrain
 the system from creating an HFS file in the /
 directory by default. As
 soon as I rmoved this command everything is woking
 fine.
 
 OPEN(X1,X2,X3,X4,X5,X6) ;SR. Open file
 9;D

OPEN^%ZISH([handlename],[directory],filename,[accessmode],[recsize
  ])
 10   ;X1=handle name
 11   ;X2=directory, X3=filename, X4=access mode
 12   ;X5=new file max record size, X6=Subtype
 13   ;
 14   N %,%1,%2,%IO,%I2,%P,%T,X,Y,$ETRAP
 15   S $ETRAP=D OPNERR^%ZISH
 16   S X2=/home/vista/OpenVistA
 17   S
 U=^,X2=$$DEFDIR($G(X2)),X4=$$UP^XLFSTR(X4)
 18   S

Y=$S(X4[A:append,X4[R:readonly,X4[W:newversion,1:reado
  nly)
 
 
 But is there no way of defining the default
 directory to create the HFS
 files in?
 
 Regards
 Usha
 
 
 - Original Message -
 From: Kevin Toppenberg [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Tuesday, June 21, 2005 10:25 PM
 Subject: Re: [Hardhats-members] Does not ask DEVICE
 while exporting
 
 
 You can download the three files from the top of
 this
 page.  Let me know if you need help.
 

http://openforum.worldvista.org/~forum/index.php?title=Debugging_with_GT.M
 
 Kevin
 
 
 --- Usha [EMAIL PROTECTED] wrote:
 
  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
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-21 Thread Kevin Toppenberg
You can download the three files from the top of this
page.  Let me know if you need help.

http://openforum.worldvista.org/~forum/index.php?title=Debugging_with_GT.M

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 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)
  
 
=== message truncated ===




 
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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-21 Thread Mark Street
I followed this thread to the end and thought I would jump in at this point.

It seems to me that we are dealing with an environment issue.  What does 
vista's .bash_profile say for gtm_vista and vista_home variables?

It may not allow you to create files outside of vista_home if vista_home 
= /home/vista/OpenVistA

It was difficult to follow this thread as it was an offshoot of another 
thread.

On Monday 20 June 2005 20:46, Usha wrote:
 [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

-- 
Mark Street, RHCE
http://www.oswizards.com
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.oswizards.com/pubkey.asc


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

2005-06-21 Thread Greg Woodhouse
SlappingForehead/

Good grief...it didn't even occur to me that absolute pathnames would
be munged like this depending on your environment variables. I don't
know why not.

--- Mark Street [EMAIL PROTECTED] wrote:

 I followed this thread to the end and thought I would jump in at this
 point.
 
 It seems to me that we are dealing with an environment issue.  What
 does 
 vista's .bash_profile say for gtm_vista and vista_home variables?
 
 It may not allow you to create files outside of vista_home if
 vista_home 
 = /home/vista/OpenVistA
 
 It was difficult to follow this thread as it was an offshoot of
 another 
 thread.
 
 On Monday 20 June 2005 20:46, Usha wrote:
  [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
 
 -- 
 Mark Street, RHCE
 http://www.oswizards.com
 --
 Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
 GPG key http://www.oswizards.com/pubkey.asc
 
 
 ---
 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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-21 Thread Usha

Kevin,
Thanks for the debugger. It's really nice.

I got to know where the problem is. This is my %ZISH routine's OPEN portion.
Here I had included the command S X2=/home/vista/OpenVistA to restrain
the system from creating an HFS file in the / directory by default. As
soon as I rmoved this command everything is woking fine.

OPEN(X1,X2,X3,X4,X5,X6) ;SR. Open file
9;D
OPEN^%ZISH([handlename],[directory],filename,[accessmode],[recsize
 ])
10   ;X1=handle name
11   ;X2=directory, X3=filename, X4=access mode
12   ;X5=new file max record size, X6=Subtype
13   ;
14   N %,%1,%2,%IO,%I2,%P,%T,X,Y,$ETRAP
15   S $ETRAP=D OPNERR^%ZISH
16   S X2=/home/vista/OpenVistA
17   S U=^,X2=$$DEFDIR($G(X2)),X4=$$UP^XLFSTR(X4)
18   S
Y=$S(X4[A:append,X4[R:readonly,X4[W:newversion,1:reado
 nly)


But is there no way of defining the default directory to create the HFS
files in?

Regards
Usha


- Original Message -
From: Kevin Toppenberg [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Tuesday, June 21, 2005 10:25 PM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


You can download the three files from the top of this
page.  Let me know if you need help.

http://openforum.worldvista.org/~forum/index.php?title=Debugging_with_GT.M

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-20 Thread Greg Woodhouse
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


Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-20 Thread Kevin Toppenberg
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

2005-06-20 Thread Greg Woodhouse
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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-20 Thread K.S. Bhaskar

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

2005-06-20 Thread K.S. Bhaskar
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] Does not ask DEVICE while exporting

2005-06-20 Thread Kevin Toppenberg
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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-20 Thread Usha


[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

2005-06-20 Thread Usha
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. http://ads.osdn.com/?ad_id=7477alloc_id

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-20 Thread Usha
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

2005-06-20 Thread Gregory Woodhouse
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

2005-06-20 Thread Usha
[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

2005-06-20 Thread Gregory Woodhouse
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


Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-19 Thread Usha

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

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





---
SF.Net

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-19 Thread Usha
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


Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-19 Thread Usha
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
___
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 
  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

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-17 Thread smcphelan
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?

- Original Message - 
From: Usha [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Friday, June 17, 2005 1:02 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


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





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

2005-06-17 Thread K.S. Bhaskar

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

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

2005-06-17 Thread Aylesworth Marc A Ctr AFRL/IFSE
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
   ___
   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 
 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


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

2005-06-17 Thread Greg Woodhouse
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
___
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 
  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

2005-06-17 Thread Kevin Toppenberg
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?
 
 - Original Message - 
 From: Usha [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Friday, June 17, 2005 1:02 AM
 Subject: Re: [Hardhats-members] Does not ask DEVICE
 while exporting
 
 
  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
   ___
   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
 
 
 
 
 

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

2005-06-16 Thread Gregory Woodhouse
I don't know how you run a shell command in GTM (like ^%CLI in  
Cache), but can you read from the file (e.g., using head -1)? Are you  
sure of your user/group (try whoami).


What about the permissions on the directories (try ls -ld).?

===
Gregory Woodhouse
[EMAIL PROTECTED]

And the end of all our exploring
will be to arrive where we started
And know the place for the first time -- T.S. Eliot



On Jun 15, 2005, at 10:04 PM, Usha wrote:

While trying to open the file using OPEN^%ZISH, I realised that the  
file was

accessible to owner only (vista).

But even after changing the rights of the file, following is the  
output.


GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)

GTMW POP
1

Usha
- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 9:52 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting




In that case, I'd try loading the file into a global using GATF^%
ZISH. For that matter, it's even simpler to open the file with OPEN^%
ZISH and try to read from it.
===
Gregory Woodhouse
[EMAIL PROTECTED]

The most profound technologies are those that disappear.
--Mark Weiser



On Jun 15, 2005, at 9:15 PM, Usha wrote:



It gives the same error.

Usha

- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 9:10 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting





Did you try importing the data into a different file?

===
Gregory Woodhouse
[EMAIL PROTECTED]

The most incomprehensible thing about the world is that it
is at all comprehensible. --Albert Einstein (1879-1955)


On Jun 15, 2005, at 8:22 PM, Usha wrote:




I have tried that too
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








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







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

2005-06-16 Thread steven mcphelan
I do not see the difference between your two open statements.  I do not see
the open statement that shows the successful opening of the file when it was
in the OpenVistA folder.  Anyway, your original problem is improper path (or
directory) syntax.  The path must include all trailing punctuation
characters required by the OS that separates the pathname from the filename.
I believe this should work if all permissions allow for it:
D OPEN^%ZISH(PATFILE,/home/vista/VistA/,patmast.txt,R)
not
D OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)


- Original Message - 
From: Usha [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 1:44 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 Hi

 The following is a screenshot of what I did to find out the problem.

 GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,W)

 GTMW POP
 0
 GTMW IO
 /home/vista/OpenVistA/patmast.txt
 GTMD CLOSE^%ZISH(PATFILE)
 GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)

 GTMW POP
 0
 GTMW IO
 /home/vista/OpenVistA/patmast.txt
 GTMD CLOSE^%ZISH(PATFILE)

 GTM

 I copied the data file to /home/vista/OpenVistA directory and all the
 records have been successfully imported into the PATIENT file. But it
leaves
 one question unanswered : Why was VistA looking for the file in
 /home/vista/OpenVistA directory when I had specified the PATH of the file
as
 /home/vista/VistA?

 And thanks Greg for your help.

 Usha
 - Original Message -
 From: Usha [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Thursday, June 16, 2005 10:34 AM
 Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


  While trying to open the file using OPEN^%ZISH, I realised that the file
 was
  accessible to owner only (vista).
 
  But even after changing the rights of the file, following is the output.
 
  GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)
 
  GTMW POP
  1
 
  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




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

2005-06-16 Thread Usha
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

- Original Message -
From: steven mcphelan [EMAIL PROTECTED]
To: hardhats hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 4:11 PM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 I do not see the difference between your two open statements.  I do not
see
 the open statement that shows the successful opening of the file when it
was
 in the OpenVistA folder.  Anyway, your original problem is improper path
(or
 directory) syntax.  The path must include all trailing punctuation
 characters required by the OS that separates the pathname from the
filename.
 I believe this should work if all permissions allow for it:
 D OPEN^%ZISH(PATFILE,/home/vista/VistA/,patmast.txt,R)
 not
 D OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)


 - Original Message -
 From: Usha [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Thursday, June 16, 2005 1:44 AM
 Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


  Hi
 
  The following is a screenshot of what I did to find out the problem.
 
  GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,W)
 
  GTMW POP
  0
  GTMW IO
  /home/vista/OpenVistA/patmast.txt
  GTMD CLOSE^%ZISH(PATFILE)
  GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)
 
  GTMW POP
  0
  GTMW IO
  /home/vista/OpenVistA/patmast.txt
  GTMD CLOSE^%ZISH(PATFILE)
 
  GTM
 
  I copied the data file to /home/vista/OpenVistA directory and all the
  records have been successfully imported into the PATIENT file. But it
 leaves
  one question unanswered : Why was VistA looking for the file in
  /home/vista/OpenVistA directory when I had specified the PATH of the
file
 as
  /home/vista/VistA?
 
  And thanks Greg for your help.
 
  Usha
  - Original Message -
  From: Usha [EMAIL PROTECTED]
  To: hardhats-members@lists.sourceforge.net
  Sent: Thursday, June 16, 2005 10:34 AM
  Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting
 
 
   While trying to open the file using OPEN^%ZISH, I realised that the
file
  was
   accessible to owner only (vista).
  
   But even after changing the rights of the file, following is the
output.
  
   GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)
  
   GTMW POP
   1
  
   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
 



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

2005-06-16 Thread Gregory Woodhouse
BTW, the 1 bit (execute) is search on directories. Consider the  
following example:



~:$ mkdir test
~:$ touch test/try
~:$ cat !$
cat test/try
~:$ chmod 000 test
~:$ !cat
cat test/try
cat: test/try: Permission denied
~:$ chmod 100 test
~:$ !cat
cat test/try
~:$

The point is that I need search permission on test to be able to open  
test/try (regardless of what permissions I have for try).


===
Gregory Woodhouse
[EMAIL PROTECTED]

Better. Faster. Cheaper. Pick two.


On Jun 16, 2005, at 3:41 AM, steven mcphelan wrote:

I do not see the difference between your two open statements.  I do  
not see
the open statement that shows the successful opening of the file  
when it was
in the OpenVistA folder.  Anyway, your original problem is improper  
path (or

directory) syntax.  The path must include all trailing punctuation
characters required by the OS that separates the pathname from the  
filename.

I believe this should work if all permissions allow for it:
D OPEN^%ZISH(PATFILE,/home/vista/ 
VistA/,patmast.txt,R)

not
D OPEN^%ZISH(PATFILE,/home/vista/ 
VistA,patmast.txt,R)








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

2005-06-16 Thread Gregory Woodhouse
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
___
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

2005-06-16 Thread K.S. Bhaskar

GT.M has a ZSYstem command, e.g.:

GTMZSYstem echo $PWD
/home/kbhaskar

GTMZSYstem uname -a
Linux bhaskark 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux

-- Bhaskar

Gregory Woodhouse wrote:
I don't know how you run a shell command in GTM (like ^%CLI in 
Cache), but can you read from the file (e.g., using head -1)? Are you 
sure of your user/group (try whoami).


What about the permissions on the directories (try ls -ld).?

===
Gregory Woodhouse
[EMAIL PROTECTED]

And the end of all our exploring
will be to arrive where we started
And know the place for the first time -- T.S. Eliot



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

2005-06-15 Thread Usha
The file /home/vista/VistA/patmast.txt has the patient's data to import.

S CONTROL(FLAGS)=E
S FIELDS=.01;.02;.09;.03;391;459022;.301;1901;.111;.115
S SOURCE(FILE)=patmast.txt,SOURCE(PATH)=/home/vista/VistA
D FILE^DDMP(2,.FIELDS,.CONTROL,.SOURCE,EXCEL (TAB))

This is the value of ^TMP global after running the import command is (when
$J=5721)

139) ^TMP(DIERR,5721,1) = 1810
140) ^TMP(DIERR,5721,1,PARAM,0) = 1
141) ^TMP(DIERR,5721,1,PARAM,1) = patmast.txt
142) ^TMP(DIERR,5721,1,TEXT,1) = The data from host file 'patmast.txt'
   = could not be moved into a FileMan file.
143) ^TMP(DIERR,5721,E,1810,1) =

The file's access rights are 644 and the owner is vista. Does anyone have an
idea of what the problem might be?

Regards
Usha


- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Wednesday, June 15, 2005 9:18 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 Did you select Excel (tab) as your format? The import/export tools
 should work with this format, but you need to specify that it is the
 one you want.
 ===
 Gregory Woodhouse
 [EMAIL PROTECTED]

 Better. Faster. Cheaper. Pick two.


 On Jun 14, 2005, at 8:41 PM, Usha wrote:

  You hit the nail on the thumb...
 
  I have to import the data of the patients from an excel file. I
  tried to
  bring the data in excel to EXCEL (TAB) format, but it does not
  accept that
  file. So I tried to export data from patient file to get an idea of
  the
  format of file required by VistA. And by doing the steps in
  previous mails,
  I have succeeded in doing so.
 
  Now I have to see how to import data into VistA using the exported
  format.
 
  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
 ___
 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

2005-06-15 Thread Gregory Woodhouse
File 2 is rather special in that there is a LOT of code and other  
constraints built into the DD. My recommendation would be to create  
an entirely new file for the purpose of uploading your data. Once the  
data is in Fileman, you can write your own code to set up the new  
patients (or update existing ones, as the case may be).

===
Gregory Woodhouse
[EMAIL PROTECTED]

It is a capital mistake to theorize before one has data.
--Sir Arthur Conan Doyle



On Jun 14, 2005, at 11:59 PM, Usha wrote:

The file /home/vista/VistA/patmast.txt has the patient's data to  
import.


S CONTROL(FLAGS)=E
S FIELDS=.01;.02;.09;.03;391;459022;.301;1901;.111;.115
S SOURCE(FILE)=patmast.txt,SOURCE(PATH)=/home/vista/VistA
D FILE^DDMP(2,.FIELDS,.CONTROL,.SOURCE,EXCEL (TAB))

This is the value of ^TMP global after running the import command  
is (when

$J=5721)

139) ^TMP(DIERR,5721,1) = 1810
140) ^TMP(DIERR,5721,1,PARAM,0) = 1
141) ^TMP(DIERR,5721,1,PARAM,1) = patmast.txt
142) ^TMP(DIERR,5721,1,TEXT,1) = The data from host file  
'patmast.txt'
   = could not be moved into a  
FileMan file.

143) ^TMP(DIERR,5721,E,1810,1) =

The file's access rights are 644 and the owner is vista. Does  
anyone have an

idea of what the problem might be?

Regards
Usha


- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Wednesday, June 15, 2005 9:18 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting




Did you select Excel (tab) as your format? The import/export tools
should work with this format, but you need to specify that it is the
one you want.
===
Gregory Woodhouse
[EMAIL PROTECTED]

Better. Faster. Cheaper. Pick two.


On Jun 14, 2005, at 8:41 PM, Usha wrote:



You hit the nail on the thumb...

I have to import the data of the patients from an excel file. I
tried to
bring the data in excel to EXCEL (TAB) format, but it does not
accept that
file. So I tried to export data from patient file to get an idea of
the
format of file required by VistA. And by doing the steps in
previous mails,
I have succeeded in doing so.

Now I have to see how to import data into VistA using the exported
format.

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





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

2005-06-15 Thread Kevin Toppenberg
This a wild guess, but maybe need a / at the end of
the path?

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 The file /home/vista/VistA/patmast.txt has the
 patient's data to import.
 
 S CONTROL(FLAGS)=E
 S

FIELDS=.01;.02;.09;.03;391;459022;.301;1901;.111;.115
 S

SOURCE(FILE)=patmast.txt,SOURCE(PATH)=/home/vista/VistA
 D FILE^DDMP(2,.FIELDS,.CONTROL,.SOURCE,EXCEL
 (TAB))
 
 This is the value of ^TMP global after running the
 import command is (when
 $J=5721)
 
 139) ^TMP(DIERR,5721,1) = 1810
 140) ^TMP(DIERR,5721,1,PARAM,0) = 1
 141) ^TMP(DIERR,5721,1,PARAM,1) = patmast.txt
 142) ^TMP(DIERR,5721,1,TEXT,1) = The data from
 host file 'patmast.txt'
= could not be
 moved into a FileMan file.
 143) ^TMP(DIERR,5721,E,1810,1) =
 
 The file's access rights are 644 and the owner is
 vista. Does anyone have an
 idea of what the problem might be?
 
 Regards
 Usha
 
 
 - Original Message -
 From: Gregory Woodhouse
 [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Wednesday, June 15, 2005 9:18 AM
 Subject: Re: [Hardhats-members] Does not ask DEVICE
 while exporting
 
 
  Did you select Excel (tab) as your format? The
 import/export tools
  should work with this format, but you need to
 specify that it is the
  one you want.
  ===
  Gregory Woodhouse
  [EMAIL PROTECTED]
 
  Better. Faster. Cheaper. Pick two.
 
 
  On Jun 14, 2005, at 8:41 PM, Usha wrote:
 
   You hit the nail on the thumb...
  
   I have to import the data of the patients from
 an excel file. I
   tried to
   bring the data in excel to EXCEL (TAB) format,
 but it does not
   accept that
   file. So I tried to export data from patient
 file to get an idea of
   the
   format of file required by VistA. And by doing
 the steps in
   previous mails,
   I have succeeded in doing so.
  
   Now I have to see how to import data into VistA
 using the exported
   format.
  
   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
  ___
  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
 




__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.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

2005-06-15 Thread Usha
I have tried that too
Usha

- Original Message -
From: Kevin Toppenberg [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Wednesday, June 15, 2005 6:50 PM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


This a wild guess, but maybe need a / at the end of
the path?

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 The file /home/vista/VistA/patmast.txt has the
 patient's data to import.

 S CONTROL(FLAGS)=E
 S

FIELDS=.01;.02;.09;.03;391;459022;.301;1901;.111;.115
 S

SOURCE(FILE)=patmast.txt,SOURCE(PATH)=/home/vista/VistA
 D FILE^DDMP(2,.FIELDS,.CONTROL,.SOURCE,EXCEL
 (TAB))

 This is the value of ^TMP global after running the
 import command is (when
 $J=5721)

 139) ^TMP(DIERR,5721,1) = 1810
 140) ^TMP(DIERR,5721,1,PARAM,0) = 1
 141) ^TMP(DIERR,5721,1,PARAM,1) = patmast.txt
 142) ^TMP(DIERR,5721,1,TEXT,1) = The data from
 host file 'patmast.txt'
= could not be
 moved into a FileMan file.
 143) ^TMP(DIERR,5721,E,1810,1) =

 The file's access rights are 644 and the owner is
 vista. Does anyone have an
 idea of what the problem might be?

 Regards
 Usha


 - Original Message -
 From: Gregory Woodhouse
 [EMAIL PROTECTED]
 To: hardhats-members@lists.sourceforge.net
 Sent: Wednesday, June 15, 2005 9:18 AM
 Subject: Re: [Hardhats-members] Does not ask DEVICE
 while exporting


  Did you select Excel (tab) as your format? The
 import/export tools
  should work with this format, but you need to
 specify that it is the
  one you want.
  ===
  Gregory Woodhouse
  [EMAIL PROTECTED]
 
  Better. Faster. Cheaper. Pick two.
 
 
  On Jun 14, 2005, at 8:41 PM, Usha wrote:
 
   You hit the nail on the thumb...
  
   I have to import the data of the patients from
 an excel file. I
   tried to
   bring the data in excel to EXCEL (TAB) format,
 but it does not
   accept that
   file. So I tried to export data from patient
 file to get an idea of
   the
   format of file required by VistA. And by doing
 the steps in
   previous mails,
   I have succeeded in doing so.
  
   Now I have to see how to import data into VistA
 using the exported
   format.
  
   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
  ___
  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





__
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.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





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

2005-06-15 Thread Gregory Woodhouse

Did you try importing the data into a different file?

===
Gregory Woodhouse
[EMAIL PROTECTED]

The most incomprehensible thing about the world is that it
is at all comprehensible. --Albert Einstein (1879-1955)


On Jun 15, 2005, at 8:22 PM, Usha wrote:


I have tried that too
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

2005-06-15 Thread Usha
It gives the same error.

Usha

- Original Message - 
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 9:10 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 Did you try importing the data into a different file?
 
 ===
 Gregory Woodhouse
 [EMAIL PROTECTED]
 
 The most incomprehensible thing about the world is that it
 is at all comprehensible. --Albert Einstein (1879-1955)
 
 
 On Jun 15, 2005, at 8:22 PM, Usha wrote:
 
  I have tried that too
  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
 
 



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

2005-06-15 Thread Gregory Woodhouse
In that case, I'd try loading the file into a global using GATF^% 
ZISH. For that matter, it's even simpler to open the file with OPEN^% 
ZISH and try to read from it.

===
Gregory Woodhouse
[EMAIL PROTECTED]

The most profound technologies are those that disappear.
--Mark Weiser



On Jun 15, 2005, at 9:15 PM, Usha wrote:


It gives the same error.

Usha

- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 9:10 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting




Did you try importing the data into a different file?

===
Gregory Woodhouse
[EMAIL PROTECTED]

The most incomprehensible thing about the world is that it
is at all comprehensible. --Albert Einstein (1879-1955)


On Jun 15, 2005, at 8:22 PM, Usha wrote:



I have tried that too
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







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

2005-06-15 Thread Usha
While trying to open the file using OPEN^%ZISH, I realised that the file was
accessible to owner only (vista).

But even after changing the rights of the file, following is the output.

GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)

GTMW POP
1

Usha
- Original Message -
From: Gregory Woodhouse [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 9:52 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 In that case, I'd try loading the file into a global using GATF^%
 ZISH. For that matter, it's even simpler to open the file with OPEN^%
 ZISH and try to read from it.
 ===
 Gregory Woodhouse
 [EMAIL PROTECTED]

 The most profound technologies are those that disappear.
 --Mark Weiser



 On Jun 15, 2005, at 9:15 PM, Usha wrote:

  It gives the same error.
 
  Usha
 
  - Original Message -
  From: Gregory Woodhouse [EMAIL PROTECTED]
  To: hardhats-members@lists.sourceforge.net
  Sent: Thursday, June 16, 2005 9:10 AM
  Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting
 
 
 
  Did you try importing the data into a different file?
 
  ===
  Gregory Woodhouse
  [EMAIL PROTECTED]
 
  The most incomprehensible thing about the world is that it
  is at all comprehensible. --Albert Einstein (1879-1955)
 
 
  On Jun 15, 2005, at 8:22 PM, Usha wrote:
 
 
  I have tried that too
  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
 
 
 
 
 
 
  ---
  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





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

2005-06-15 Thread Usha
Hi

The following is a screenshot of what I did to find out the problem.

GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,W)

GTMW POP
0
GTMW IO
/home/vista/OpenVistA/patmast.txt
GTMD CLOSE^%ZISH(PATFILE)
GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)

GTMW POP
0
GTMW IO
/home/vista/OpenVistA/patmast.txt
GTMD CLOSE^%ZISH(PATFILE)

GTM

I copied the data file to /home/vista/OpenVistA directory and all the
records have been successfully imported into the PATIENT file. But it leaves
one question unanswered : Why was VistA looking for the file in
/home/vista/OpenVistA directory when I had specified the PATH of the file as
/home/vista/VistA?

And thanks Greg for your help.

Usha
- Original Message -
From: Usha [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Thursday, June 16, 2005 10:34 AM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


 While trying to open the file using OPEN^%ZISH, I realised that the file
was
 accessible to owner only (vista).

 But even after changing the rights of the file, following is the output.

 GTMD OPEN^%ZISH(PATFILE,/home/vista/VistA,patmast.txt,R)

 GTMW POP
 1

 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

2005-06-14 Thread Kevin Toppenberg
Isn't there a method of having it prompt one for the
filename?  Or are you just trying to skip that step to
make life easier?

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 The ASK DEVICE parameter of the TELNET's entry in
 the DEVICE file was set to NO. After changing it's
 value to YES, it has started asking the DEVICE.
 
 Now it says that HFS device is busy. Where have I
 gone wrong in the configuration of HFS device?
 
 NUMBER: 39  NAME:
 GTM-UNIX-HFS
   $I: /home/vista/tmp/hfs.dat   ASK DEVICE:
 NO
   ASK PARAMETERS: NOVOLUME
 SET(CPU): ROU
   LOCATION OF TERMINAL: Host File Server (GT.M)
   ASK HOST FILE: NO ASK HFS I/O
 OPERATION: YES
   PAGE LENGTH: 9OPEN
 PARAMETERS: read/write
 MNEMONIC: HFS
 MNEMONIC: GTM-LINUX-HFS
   SUBTYPE: P-OTHER  TYPE: HOST
 FILE SERVER
 
 
 Usha 
   - Original Message - 
   From: Usha 
   To: hardhats-members@lists.sourceforge.net 
   Sent: Monday, June 13, 2005 11:01 AM
   Subject: [Hardhats-members] Does not ask DEVICE
 while exporting
 
 
   Hi
 
   I was trying to exporting records of patients from
 VistA to an HFS file. Using the CREATE EXPORT
 TEMPLATE, I have created an EXPORT TEMPLATE
 specifying the fields to be exported and the FOREIGN
 FORMAT to be used to export them. Now when I try to
 EXPORT DATA, it asks for the records to be exported.
 But after specifying the records, it does not ask
 for the DEVICE to which the data needs to be
 exported and prints it on the screen.
 
   How to overcome this problem?
 
   Regards
   Usha
 
 




__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
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

2005-06-14 Thread Usha
You hit the nail on the thumb...

I have to import the data of the patients from an excel file. I tried to
bring the data in excel to EXCEL (TAB) format, but it does not accept that
file. So I tried to export data from patient file to get an idea of the
format of file required by VistA. And by doing the steps in previous mails,
I have succeeded in doing so.

Now I have to see how to import data into VistA using the exported format.

Regards
Usha
- Original Message -
From: Kevin Toppenberg [EMAIL PROTECTED]
To: hardhats-members@lists.sourceforge.net
Sent: Tuesday, June 14, 2005 7:32 PM
Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting


Isn't there a method of having it prompt one for the
filename?  Or are you just trying to skip that step to
make life easier?

Kevin


--- Usha [EMAIL PROTECTED] wrote:

 The ASK DEVICE parameter of the TELNET's entry in
 the DEVICE file was set to NO. After changing it's
 value to YES, it has started asking the DEVICE.

 Now it says that HFS device is busy. Where have I
 gone wrong in the configuration of HFS device?

 NUMBER: 39  NAME:
 GTM-UNIX-HFS
   $I: /home/vista/tmp/hfs.dat   ASK DEVICE:
 NO
   ASK PARAMETERS: NOVOLUME
 SET(CPU): ROU
   LOCATION OF TERMINAL: Host File Server (GT.M)
   ASK HOST FILE: NO ASK HFS I/O
 OPERATION: YES
   PAGE LENGTH: 9OPEN
 PARAMETERS: read/write
 MNEMONIC: HFS
 MNEMONIC: GTM-LINUX-HFS
   SUBTYPE: P-OTHER  TYPE: HOST
 FILE SERVER


 Usha
   - Original Message -
   From: Usha
   To: hardhats-members@lists.sourceforge.net
   Sent: Monday, June 13, 2005 11:01 AM
   Subject: [Hardhats-members] Does not ask DEVICE
 while exporting


   Hi

   I was trying to exporting records of patients from
 VistA to an HFS file. Using the CREATE EXPORT
 TEMPLATE, I have created an EXPORT TEMPLATE
 specifying the fields to be exported and the FOREIGN
 FORMAT to be used to export them. Now when I try to
 EXPORT DATA, it asks for the records to be exported.
 But after specifying the records, it does not ask
 for the DEVICE to which the data needs to be
 exported and prints it on the screen.

   How to overcome this problem?

   Regards
   Usha






__
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
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

2005-06-14 Thread Gregory Woodhouse
Did you select Excel (tab) as your format? The import/export tools  
should work with this format, but you need to specify that it is the  
one you want.

===
Gregory Woodhouse
[EMAIL PROTECTED]

Better. Faster. Cheaper. Pick two.


On Jun 14, 2005, at 8:41 PM, Usha wrote:


You hit the nail on the thumb...

I have to import the data of the patients from an excel file. I  
tried to
bring the data in excel to EXCEL (TAB) format, but it does not  
accept that
file. So I tried to export data from patient file to get an idea of  
the
format of file required by VistA. And by doing the steps in  
previous mails,

I have succeeded in doing so.

Now I have to see how to import data into VistA using the exported  
format.


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

2005-06-13 Thread Usha



The ASK DEVICE parameter of the TELNET's entry in 
the DEVICE file was set toNO. After changing it's value to YES, it 
hasstarted asking the DEVICE.

Now it says that HFS device is busy. Where have I 
gone wrong in the configuration of HFS device?

NUMBER: 
39 
NAME: GTM-UNIX-HFS $I: 
/home/vista/tmp/hfs.dat 
ASK DEVICE: NO ASK PARAMETERS: 
NO 
VOLUME SET(CPU): ROU LOCATION OF TERMINAL: Host File Server 
(GT.M) ASK HOST FILE: 
NO 
ASK HFS I/O OPERATION: YES PAGE LENGTH: 
9 
OPEN PARAMETERS: read/writeMNEMONIC: HFSMNEMONIC: 
GTM-LINUX-HFS SUBTYPE: 
P-OTHER 
TYPE: HOST FILE SERVER

Usha

  - Original Message - 
  From: 
  Usha 
  To: hardhats-members@lists.sourceforge.net 
  
  Sent: Monday, June 13, 2005 11:01 
AM
  Subject: [Hardhats-members] Does not ask 
  DEVICE while exporting
  
  Hi
  
  I was trying to exporting records of patients 
  from VistA to an HFS file. Using the CREATE EXPORT TEMPLATE, I have created an 
  EXPORT TEMPLATE specifying the fields to be exported and the FOREIGN FORMAT to 
  be used to export them. Now when I try to EXPORT DATA, it asks for the records 
  to be exported. But after specifying the records, it does not ask for the 
  DEVICE to which the data needs to be exported and prints it on the 
  screen.
  
  How to overcome this problem?
  
  Regards
  Usha
  


Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-13 Thread Gregory Woodhouse
For one thing, you probably want ASK HOST FILE to be YES. If you always want to use the same file name, then I think your OPEN PARAMETERS will cause problems, because it probably means getting a write lock. Anyway, I don't know what the options are (on GTM/Linux), but you probably want something like "New". ===Gregory Woodhouse[EMAIL PROTECTED]"The whole of science is nothing more than a refinement of everyday thinking."  -- Albert Einstein On Jun 13, 2005, at 9:38 PM, Usha wrote:The ASK DEVICE parameter of the TELNET's entry in the DEVICE file was set to NO. After changing it's value to YES, it has started asking the DEVICE. Now it says that HFS device is busy. Where have I gone wrong in the configuration of HFS device? NUMBER: 39  NAME: GTM-UNIX-HFS  $I: /home/vista/tmp/hfs.dat   ASK DEVICE: NO  ASK PARAMETERS: NO    VOLUME SET(CPU): ROU  LOCATION OF TERMINAL: Host File Server (GT.M)  ASK HOST FILE: NO ASK HFS I/O OPERATION: YES  PAGE LENGTH: 9    OPEN PARAMETERS: read/writeMNEMONIC: HFSMNEMONIC: GTM-LINUX-HFS  SUBTYPE: P-OTHER  TYPE: HOST FILE SERVER Usha - Original Message -From: UshaTo: hardhats-members@lists.sourceforge.netSent: Monday, June 13, 2005 11:01 AMSubject: [Hardhats-members] Does not ask DEVICE while exportingHi I was trying to exporting records of patients from VistA to an HFS file. Using the CREATE EXPORT TEMPLATE, I have created an EXPORT TEMPLATE specifying the fields to be exported and the FOREIGN FORMAT to be used to export them. Now when I try to EXPORT DATA, it asks for the records to be exported. But after specifying the records, it does not ask for the DEVICE to which the data needs to be exported and prints it on the screen. How to overcome this problem? RegardsUsha 

Re: [Hardhats-members] Does not ask DEVICE while exporting

2005-06-13 Thread Usha



It worked with the following settings

NUMBER: 
39 
NAME: 
GTM-UNIX-HFS 
$I: 
/home/vista/tmp/hfs.dat 
ASK DEVICE: 
NO 
ASK PARAMETERS: 
NO 
VOLUME SET(CPU): 
ROU 
LOCATION OF TERMINAL: Host File Server 
(GT.M) 
ASK HOST FILE: 
NO 
ASK HFS I/O OPERATION: 
NO 
PAGE LENGTH: 9MNEMONIC: HFSMNEMONIC: GTM-LINUX-HFS 
SUBTYPE: 
P-OTHER 
TYPE: HOST FILE SERVER
Usha


  - Original Message - 
  From: 
  Gregory Woodhouse 
  To: hardhats-members@lists.sourceforge.net 
  
  Sent: Tuesday, June 14, 2005 10:32 
  AM
  Subject: Re: [Hardhats-members] Does not 
  ask DEVICE while exporting
  For one thing, you probably want ASK HOST FILE to be YES. If 
  you always want to use the same file name, then I think your OPEN PARAMETERS 
  will cause problems, because it probably means getting a write lock. Anyway, I 
  don't know what the options are (on GTM/Linux), but you probably want 
  something like "New".
  
  ===
  Gregory Woodhouse
  [EMAIL PROTECTED]
  
  "The whole of science is nothing 
  more than a refinement
  of everyday 
  thinking." -- Albert Einstein
  
  
  On Jun 13, 2005, at 9:38 PM, Usha wrote:
  
The ASK DEVICE parameter of the 
TELNET's entry in the DEVICE file was set toNO. After changing it's 
value to YES, it hasstarted asking the DEVICE.

Now it says that HFS device is 
busy. Where have I gone wrong in the configuration of HFS 
device?

NUMBER: 
39 
NAME: GTM-UNIX-HFS $I: 
/home/vista/tmp/hfs.dat 
ASK DEVICE: NO 
ASK PARAMETERS: 
NO 
VOLUME SET(CPU): ROU LOCATION OF TERMINAL: 
Host File Server (GT.M) ASK HOST FILE: 
NO 
ASK HFS I/O OPERATION: YES PAGE LENGTH: 
9 
OPEN PARAMETERS: read/writeMNEMONIC: HFSMNEMONIC: 
GTM-LINUX-HFS 
SUBTYPE: 
P-OTHER 
TYPE: HOST FILE SERVER

Usha

  - Original Message 
  -
  From: 
  Usha
  To: 
  hardhats-members@lists.sourceforge.net
  Sent: 
  Monday, June 13, 2005 11:01 AM
      Subject: 
      [Hardhats-members] Does not ask DEVICE while exporting
  
  Hi
  
  I was trying to exporting 
  records of patients from VistA to an HFS file. Using the CREATE EXPORT 
  TEMPLATE, I have created an EXPORT TEMPLATE specifying the fields to be 
  exported and the FOREIGN FORMAT to be used to export them. Now when I try 
  to EXPORT DATA, it asks for the records to be exported. But after 
  specifying the records, it does not ask for the DEVICE to which the data 
  needs to be exported and prints it on the screen.
  
  How to overcome this 
  problem?
  
  Regards
  Usha
  


[Hardhats-members] Does not ask DEVICE while exporting

2005-06-12 Thread Usha



Hi

I was trying to exporting records of patients from 
VistA to an HFS file. Using the CREATE EXPORT TEMPLATE, I have created an EXPORT 
TEMPLATE specifying the fields to be exported and the FOREIGN FORMAT to be used 
to export them. Now when I try to EXPORT DATA, it asks for the records to be 
exported. But after specifying the records, it does not ask for the DEVICE to 
which the data needs to be exported and prints it on the screen.

How to overcome this problem?

Regards
Usha