Using a variable in an export path
Josh Reader
josh.reader at mercuryelectronics.com
Mon Apr 20 09:04:07 PDT 2015
Hi All,
I have an export where I'm setting the export path. Currently I am
hard-coding the path for each user that needs to access the export so it
goes to their user folder on our windows server. filePro is installed on
CentOS 6.2. I can get the name of each user using a variable in filePro
but I don't know how to insert the variable into the path. Below is a
sample of how I've tried it but it's not working. nm is the variable that
holds the user's full name and fn is the variable being used for the file
name.
Filename:
fn="/appl/user_exports/users/'nm'/filepro/export.txt"
Openit subroutine:
export ascii file=(fn) r=\n f=|
Thanks,
Josh Reader - Systems Analyst
Mercury Electronics
3846 Green Valley Rd.
P.O. Box 248
Seven Valleys, PA 17360
717-428-0222 x228
josh.reader at mercuryelectronics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150420/74938446/attachment.html>
More information about the Filepro-list
mailing list