|
HERMANS1 <HERMANS1@WESTAT.COM> writes
>How can one input variable values from a ASCII file when it has line feeds (MS
>CR/LF Hex 0D0A) embedded within fields? We are trying to install a process that
>will work within MS Windows 95. TIA Sig
$CHARw. will accept any binary value including '0D0A'x.
However, it would not see a cr/lf if those have already been used as the
line-ending signal - default behaviour on windows platforms.
To overcome that problem there only two ways that I know
1 requires fixed record lengths
-On the infile statement set RECFM=F and LRECL to the relevant value
2 requires you to read all columns, and performs slowly (unbuffered, I
think)
-On the infile statement set RECFM=U and LRECL to a large value.
the file is treated as one large blob (binary large object ?)
good luck
--
Peter Crawford (_knowledge_ is a poor substitute for *real* experience,
but they make a great team)
|