<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang="EN-US" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">Hi Chris,</p><p class="MsoNormal"> </p><p class="MsoNormal">When I save the output processing I get no errors. When I run the export via D-Request Output I get an error there is no such file or directory when I run it. Here is the error I was getting:</p><p class="MsoNormal"> </p><p class="MsoNormal">On File: /appl/user_exports/users/’nm’/filepro/export.txt </p><p class="MsoNormal"> </p><p class="MsoNormal">Output Processing</p><p class="MsoNormal">Line Number: 19</p><p class="MsoNormal"> </p><p class="MsoNormal">export ascii file=(fn) r=\n f=|</p><p class="MsoNormal"> </p><p class="MsoNormal">I changed the fn variable to user the braces like you mentioned and I get the same error message only the on file includes the braces:</p><p class="MsoNormal"> </p><p class="MsoNormal">On File: /appl/user_exports/users/'{nm{'/filepro/export.txt</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks for responding,</p><p class="MsoNormal">Josh</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Josh,</p><p class="MsoNormal"> </p><p class="MsoNormal">Please explain, "it's not working"? Are you receiving an error? </p><p class="MsoNormal"> </p><p class="MsoNormal">I am not familiar with CentOS, but shouldn't the syntax be as follows?</p><p class="MsoNormal"> </p><p class="MsoNormal">fn="/appl/user_exports/users/'{nm{'/filepro/export.txt"</p><p class="MsoNormal"> </p><p class="MsoNormal">Notice the brackets around variable NM.</p><p class="MsoNormal"> </p><p class="MsoNormal">Chris</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Hi All,</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">I have an export where I'm setting the export path. Currently I am</p><p class="MsoNormal">hard-coding the path for each user that needs to access the export so it</p><p class="MsoNormal">goes to their user folder on our windows server. filePro is installed on</p><p class="MsoNormal">CentOS 6.2. I can get the name of each user using a variable in filePro but</p><p class="MsoNormal">I don't know how to insert the variable into the path. Below is a sample of</p><p class="MsoNormal">how I've tried it but it's not working. nm is the variable that holds the</p><p class="MsoNormal">user's full name and fn is the variable being used for the file name.</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">fn="/appl/user_exports/users/'nm'/filepro/export.txt"</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">openit subroutine:</p><p class="MsoNormal"> </p><p class="MsoNormal">export ascii file=(fn) r=\n f=|</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Josh Reader - Systems Analyst</p><p class="MsoNormal"> </p><p class="MsoNormal">Mercury Electronics</p><p class="MsoNormal"> </p><p class="MsoNormal">3846 Green Valley Rd.</p><p class="MsoNormal"> </p><p class="MsoNormal">P.O. Box 248</p><p class="MsoNormal"> </p><p class="MsoNormal">Seven Valleys, PA 17360</p><p class="MsoNormal"> </p><p class="MsoNormal">717-428-0222 x228</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">Josh Reader - Systems Analyst</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">Mercury Electronics</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">3846 Green Valley Rd.</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">P.O. Box 248</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">Seven Valleys, PA 17360</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91">717-428-0222 x228</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#365f91"><a href="mailto:josh.reader@mercuryelectronics.com"><span style="color:#365f91">josh.reader@mercuryelectronics.com</span></a></span></p><p class="MsoNormal"> </p></div></body></html>