Thats what the &HOLD& file is for. Use the SETPTR command to redirect printing to the hold file by using mode 3 in the 6th parameter of your SETPTR statement and append LPTR to your query:

>SETPTR 0,132,66,0,0,3,BANNER FILENAME.TXT,NHEAD,NFMT,BRIEF
>LIST VOC SAMPLE 10 LPTR

This will put the output of LIST VOC SAMPLE 10 into a file in &HOLD& called FILENAME.TXT


Norman Bauer wrote:
A lot of the times I want to query UniVerse and capture that information to a text file. I can send to an XML file no problem and sometimes that is exactly what I want to do. However most of the time I just want to view the info unformatted without screen scraping or copy and pasting from Dynamic Connect.
What I really want to do is:

SORT VOC \\server\fileshare\file.txt

Thanks,

Norm
------------------------------------------------------------------------

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

--
------------------------------------------------------------------------
Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com
------------------------------------------------------------------------
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to