Fw: Accessing FP data from external programs (MS Assess)
Kenneth Brody
kenbrody at bestweb.net
Sat Nov 12 17:34:35 PST 2005
Quoting Phil Hausman (Sat, 12 Nov 2005 20:19:02 -0500):
[...]
> Thanks to those who responded and sorry to those who I apparently
> confused. Let me try to make the question much simpler. If I have
> a prc table that assigns a value to variable aa and that value is
> "smith", is there a way to have that value returned to the unix
> command line when the prc table is done running so that I would see
> the following:
> # /appl/fp/dreport myfile -f myprc -s recordone
> # smith
Export the value to a file.
MYFILE=/tmp/$$
/appl/fp/dreport myfile -f myprc -s recordone -r $MYFILE
MYRESULT=`cat $MYFILE`
In the processing, use the export:
export ascii out=(@PM) r=\n -x
out[1] = "smith"
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list