|
> From: michaelr_41@xxxxxxxxxxxxxx
>
> When using an IFS open like this (I'm using Scott's prototype):
>
> fd = open('/michael/cattest' : flags);
>
> all is good. However, when I put the same value in a variable
(FileName)
> and use it like this:
>
> D FileName S 1024 Varying
> fd = open(FileName : flags);
How are you setting the variable? If it's coming from a fixed-length
field, you have to %trim it.
FileName = %trim(FileParameter);
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.