ACE Report Filenames
Posted in 1994
> > Anyone know how to pass a filename into an ACE report as an argument > so that multiple users can generate reports from the SAME .arc file > without overwriting what the other users have done? > > I can pass the file name into the .arc with no problem (using the param[] > stuff), but cannot get ACE to use it as an output file... > don't use the ace output option to do this. make the ace report write to stdout and then wrap the whole report in a shell, something like: acewrap.sh: sacego -q $1 > $1.$$ echo $1.$$ then just: a=`acewrap.sh reportname` lp $a, pg $a, or whatever Of course you can a lot more involved than that, but its a starting point. cheers j. _____________________________________________________________________________ Jack Parker | Hewlett Packard, BSMC Boise, Idaho, USA| No soap - radio! jparker@hpbs3645.boi.hp.com | _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________