passing -rx flag in system call in processing

Chris Rendall crendall at teamind.com
Mon Feb 12 11:45:24 PST 2018


If  'zf' is a variable format it like this:

system "/u/appl/fp/dreport filename -f create -rx"<zf<"-u -a -v createselect"

If 'zf' is within the quotes you won't get the value of 'zf' in your system command.

-----Original Message-----
From: scooter6--- via Filepro-list [mailto:filepro-list at lists.celestial.com] 
Sent: Monday, February 12, 2018 1:40 PM
To: filePro Mailing List <filepro-list at lists.celestial.com>
Subject: passing -rx flag in system call in processing

I'm trying to execute the following within processing but doesn't seem to work...


@done
system "/u/appl/fp/dreport filename -f create -rx zf -u -a -v createselect

where 'zf' is a variable I have defined in my processing....

this doesn't do anything.....I have verified with a msgbox the value of zf is correct before it attempts to execute the above....

but if I run from the command line

/u/appl/fp/dreport filename -f create -rx "value of zf" -u -a -v createselect it runs just fine....

Is it possible I can't run this because the processing is an output processing table of  filename ?
(i.e. the same file I'm trying to run the system command is the same file where the output processing resides)

thanks

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180212/89ce5a8b/attachment.html>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes http://mailman.celestial.com/mailman/listinfo/filepro-list


More information about the Filepro-list mailing list