Its not a proc but...
VOC item:

PA
TERM 100,1000
DIVERT.OUT ON &HOLD& <<C2,enter the name>> TTY.OFF
LIST VOC SAMPLE 10 WITH *A1 LIKE V...
DIVERT.OUT OFF TTY.ON
CT &HOLD& <<C2,enter the name>>
TERM 80,24

If you enter the unique name on the command line, its referenceable thruout.
For example "GSJ littleolme" yields:
LIST VOC SAMPLE 10 WITH *A1 LIKE "V..." 02:35:57pm  08 Nov 2006  PAGE    1
0028 NAME.......... TYPE DESC..........................
0029
0030 P              V    Verb - Suppress all messages
0031                     destined for the terminal
0032 PP             V    V
0033 P000           V    V
0034 Q              V    Verb - Leave the uniVerse
0035                     environment
0036 FILE.STAT      V    Verb - Display system
0037                     statistics for a uniVerse file
0038 LOCKED.ITEM    V    V
0039 SUB.CODE.SEL.2 V    V
0040 HCMISSED.ELECT V    V
0041 .MCP
0042 Z              V    V
0043 AD             V    V
0044
0045 Sample of 10 records listed.

j


On 11/7/06, Kevin King <[EMAIL PROTECTED]> wrote:
Brian had the right idea, create a proc that generates the SETPTR
command with the OPEN option that opens the file immediately then call
a program from the proc that PROCREADs the buffer and then writes the
output to a file or named common where the caller can find it.  We
used to do this kind of thing years ago, not sure if it still works in
the current UV but that was the general jist of it as I recall.

Then again, this was assuming the caller was BASIC; not exactly
certain how the proc would get at that information.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com

** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/



--
john
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to