Use a variable in an export path
Kenneth Brody
kenbrody at spamcop.net
Tue Apr 21 11:34:10 PDT 2015
On 4/20/2015 3:21 PM, daN baueR wrote:
> Top Post
>
> It appears that filePro is literally passing the single quotes within
> the filename to the OS. Instead of translating the the variable nm
> into the needed people names. What is the code you're now trying?
Given the code below, why would you expect any different?
[...]
>> Here is the error I was getting:
>>
>> On File: /appl/user_exports/users/'nm'/filepro/export.txt
>>
>> Output Processing
>>
>> Line Number: 19
>>
>> export ascii file=(fn) r=\n f=|
>>
>>
>>
>> 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:
>>
>>
>>
>> On File: /appl/user_exports/users/'{nm{'/filepro/export.txt
[...]
>> fn="/appl/user_exports/users/'{nm{'/filepro/export.txt"
[...]
--
Kenneth Brody
More information about the Filepro-list
mailing list