Newbie Question

Jay Ashworth jra at baylink.com
Thu Jan 8 08:07:24 PST 2015


----- Original Message -----
> From: CKelly at affiliatedtrans.com

> I recently started at a company utilizing FilePro.
> 
> I am able to export ALL records without issue using a command as
> follows.
> 
> /u/appl/fp/rreport vregstr -f CAK_Data1 -a -u -p /tmp/cak_output -pc
> "nocodes"
> 
> But I would like to limit the results based on a dynamic selection
> Field 60 eq "ReadyToProcess"
> 
> I can do this via the request output application via a selector
> sentence but how can I do it via script?

Welcome To The Jungle.  :-)

You're looking for "Selection Processing", which is called by the "-v"
switch to dreport, and uses the "Select" command conditioned on an If
clause of your choice, which can then, obviously, be very complex.

You can do simple selections with a selection set, and then run the
selection processing against what's left, or you can do everything in the
selection table, which is easier to comprehend at a glance, but may
be slower.

You can also run against -a[ll] records, or against an index.

If that's not enough hint, ask more questions.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates       http://www.bcp38.info          2000 Land Rover DII
St Petersburg FL USA      BCP38: Ask For It By Name!           +1 727 647 1274


More information about the Filepro-list mailing list