Displaying 1 result from an estimated 1 matches for "640th".
Did you mean:
40th
2010 May 05
1
handling nulls while reading mainframe file
...ain a
Null halfway through, which causes readChar() not to read the rest of the
record. It is a very old database (from the 1970s I think), and I am not
really sure why the Nulls are there. I do know that that after the occurence
of the first Null, the record looks normal (it's not Nulls to the 640th
byte). In any case, I would like to get the whole record and just put some
placeholder, like a 0 or a #, in place of the Nulls.
I tried using readBin() instead, but I couldn't figure out how to pass that
off to iconv...
Can anyone help?
Thanks,
Mike
[[alternative HTML version deleted]]