Here I am answering my own question...

Multiple uv lines can be executed from unix like this:

  echo "DATE \n CT VOC VOC \n DATE" | uv

The \n is a carriage return, so DATE will run, followed by CT VOC VOC, then
the DATE again - all executed by the uv shell.

LeRoi

-----Original Message-----
From: LeRoi Keiller 
Sent: Thursday, 1 July 2004 13:41
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] How create list of uv files from VOC?


> SSELECT VOC WITH F1 = "F" "DIR" BY F2 F2
> SAVE-LIST FILEPATHS
> COPY.LIST FILEPATHS
> TO:(BP

Wow, that really works.  Thanks.

Now if I could just put that in one line, or execute it as one string from
unix.  Reason is I need to run it from a script, like:

  uv "SSELECT VOC..."

Anyone?

-----Original Message-----
From: Susan Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, 1 July 2004 13:04
To: [EMAIL PROTECTED]
Subject: Re: [U2] How create list of uv files from VOC?
Importance: Low


In response to:  "LeRoi Keiller" <[EMAIL PROTECTED]>
> Wondering if any of you programmers could tell me how to output the paths
of
> UniVerse files that are listed in the VOC - ie files of type F - to a text
> file?  (I wish to use the generated list from and for a unix script.)
>

It has been a while since I was on a UniVerse system, and I am currently on
a Windows system, but something like this should work (it just worked for me
on UniData on Windows, and these commands are similar on both U2 versions,
afaIk):

SSELECT VOC WITH F1 = "F" "DIR" BY F2 F2
SAVE-LIST FILEPATHS
COPY.LIST FILEPATHS
TO:(BP

or to some other directory file where you can then retrieve it in Unix.

Susan M. Lynch
F.W. Davison & Company, Inc.
CONFIDENTIALITY NOTICE:
This e-mail message, and any accompanying documents, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Disclaimer Notice
This message contains privileged and confidential information intended only
for the use of the addressee named above. If you are not the intended
recipient of this message you are hereby notified that you must not
disseminate, copy or take any action or place any reliance on it. If you
have received this message in error please notify Ultradata immediately on
+61 3 9291 1600. Any views expressed in this message are those of the
individual sender, except where the sender specifically states them to be
the views of Ultradata Australia Pty. Ltd.

 To unsubscribe from receiving commercial electronic messages from Ultradata
Australia please email [EMAIL PROTECTED] with the subject heading
"Unsubscribe".
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to