passing variable to script

Kenneth Brody kenbrody at spamcop.net
Thu Oct 7 09:38:26 PDT 2010


On 10/7/2010 11:34 AM, scooter6 at gmail.com wrote:
> I have an export ascii out put processing script that I want to setup to
> email after it finishes.
>
> Currently, in output processing, I use variables to create filename based on
> today's date, etc and that all works fine
>
>
> Then:  export ascii deb=(fd) r=\n f=|
[...]
> Now, after this finishes with all the records selected via set selection, I
> want to email the file, passing the variable filename to the script
[...]
> Then: system "path_to_my_script"<  fd
>
> obviously this calls the system call after each record is written to the
> file - resulting in numerous emails of course haha
[...]
> Either that, or how do I do a system call ONLY after all records have been
> written to my output file??

@DONE

-- 
Kenneth Brody


More information about the Filepro-list mailing list