passing -rx flag in system call in processing
Scott Smith
scott.smith at docsearch.com.au
Mon Feb 12 15:38:23 PST 2018
I have had this issue and I would suggest using \" to enclose the variable
as a space will create issues with your system call.
XX="/u/appl/fp/dreport filename -f create -rx\"" {zf{"\" -u -a -v
createselect"
Just a suggestion.
Scott Smith
-----Original Message-----
From: Filepro-list
[mailto:filepro-list-bounces+scott.filepro=aanet.com.au at lists.celestial.com]
On Behalf Of Walter Vaughan Jr via Filepro-list
Sent: Tuesday, 13 February 2018 5:45 AM
To: filepro-list at lists.celestial.com
Subject: RE: passing -rx flag in system call in processing
You need to have filePro expand the "zf" variable.
Turn the command you want into a varable as in
XX="/u/appl/fp/dreport filename -f create -rx" <zf<"-u -a -v createselect"
system xx
-----Original Message-----
From: Filepro-list
[mailto:filepro-list-bounces+wvaughan=steelerubber.com at lists.celestial.com]
On Behalf Of scooter6--- via Filepro-list
Sent: Monday, February 12, 2018 2: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/89
ce5a8b/attachment.html>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the Filepro-list
mailing list