dbTalk Databases Forums  

UNIDATA "TO" keyword sending data to another volume.

comp.databases.pick comp.databases.pick


Discuss UNIDATA "TO" keyword sending data to another volume. in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
chris.metalhead@gmail.com
 
Posts: n/a

Default UNIDATA "TO" keyword sending data to another volume. - 09-13-2005 , 03:02 PM






UniData Release 5.1 Build: (2192)
DEC UNIX

Due to lack of disk space on volume that my main account runs. I want
to copy data to another local volume as text data to be FTPed to a
windows box.
My attempts so far:
I tried creating a link at the unix level. Then used the SETFILE
command to create a VOC entry.
I have setup a new UNIDATA account on that volume and creted the a
DIR file. then went back to my main account and used SETFILE.

The command I'm running is.
LIST ADDRESS ADD1 ADD2 CITY STATE ZIP TO FLAT.FILE/ADDRESS.TXT

And the message I get is.
Cannot open FLAT.FILE/ADDRESS.TXT

I have also tried to AE the VOC manually instead of using SETFILE to no
avail.
I have tried adding the DELIM keyword with also.

Thanks
Chris Raspe


Reply With Quote
  #2  
Old   
Colin Alfke
 
Posts: n/a

Default Re: UNIDATA "TO" keyword sending data to another volume. - 09-14-2005 , 12:59 AM






Chris;

I played around with this on Windows a while back. Simply by setting up a
VOC pointer I was able to copy all around the network.
eg. AE VOC BP.BACKUP
<1>DIR
<2>\\BACKUP\D\UNIDATA\BP
<3>D_VOC
This allowed me to copy items to a remote directory. Note this is with a
COPY and not a LIST TO. I think the LIST TO expects to put the file in the
local host OS file system. You may be able to put a fully qualified path
though - I can't remember if I tried.

I'm not sure if you want the LIST TO or you just think that may make things
easier. If you have trouble with the LIST TO a remote file you can either:
LIST TO a local file and copy/ftp; or setup the VOC pointer to a remote
directory and use the REFORMAT verb to only copy the parts of the items you
want.

hth
Colin Alfke
Calgary AB
<chris.metalhead> wrote
\> UniData Release 5.1 Build: (2192)
Quote:
DEC UNIX

Due to lack of disk space on volume that my main account runs. I want
to copy data to another local volume as text data to be FTPed to a
windows box.
My attempts so far:
I tried creating a link at the unix level. Then used the SETFILE
command to create a VOC entry.
I have setup a new UNIDATA account on that volume and creted the a
DIR file. then went back to my main account and used SETFILE.

The command I'm running is.
LIST ADDRESS ADD1 ADD2 CITY STATE ZIP TO FLAT.FILE/ADDRESS.TXT

And the message I get is.
Cannot open FLAT.FILE/ADDRESS.TXT

I have also tried to AE the VOC manually instead of using SETFILE to no
avail.
I have tried adding the DELIM keyword with also.

Thanks
Chris Raspe




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.