Thanks for the reply Gabriel,
This looks helpful but when i download the file, though there is no "newline" for the next record but when we try to convert to HEX, it still shows it as '0d0a' , at the end of every record.
We have tried to hardcode at the end of records '0A' after converting it to CHAR from HEX and then TRANSFER the whole string to the file but that has also not helped.
Ryan,
Can you provide some info on dos2unix or how we can remove '0d0a' programmatic-ally because once the file is created and i try to READ DATASET, it fecthes data for one record from First position till just before CRLF and the fetched record doesnt have CRLF in it.
Thanks