Charles I don't think you can.
Short of executing a little program that PROCWRITEs the result back, or creating a custom user exit. All rather cludgy. Brian > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stevenson, Charles > Sent: 06 November 2006 22:33 > To: [email protected] > Subject: [U2] [PQ] UV ProVerb help capturing & manipulating output > > UniVerse ProVerb (aka PROC). > > I want to use SETPTR's UNIQUE keyword and capture the > generated &HOLD& id for later use within the proc. > > A simple example. In BASIC I would do this: > > 01: EXECUTE \SETPTR 0,132,59,0,0,3,AS UNIQUE CDSTST,BRIEF\ > CAPTURING SETPTR.OUTPUT > 02: HOLD.ID = SETPTR.OUTPUT<2> ; * Hold file "CDSTST_n" > 03: HOLD.ID = HOLD.ID[ \"\, 2, 1 ] ; * CDSTST_n > 04: EXECUTE \LIST VOC SAMPLE 2 LPTR\ > 05: EXECUTE \CT &HOLD& "\: HOLD.ID :\"\ > > How would I do the same in Proc? > I used to know this stuff, but now it's easier to just ask > This August Body. > > TIA, > Chuck Stevenson > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
