I have a 240 byte flat file on my AS/400. I am using client access to move it to a PC. This works fine except client access put a CRLF at the end of every record. Does anyone know a way to make this stop?
Software/Hardware used:
ASKED:
October 6, 2008 5:40 PM
UPDATED:
October 8, 2008 2:45 PM
Try using the DOS Random file type for the transfer. According to the help text :
DOS random
DOS random files are fixed-length files that are used by the DOS random read and write routines. They do not have any end-of-record or end-of-file markers and records are delimited by their constant length, relative positions in the file, and the total length of the files. DOS random and DOS random type 2 files are identical, except for the way in which the signs are represented for packed decimal and zoned decimal numbers.
When you define the data transfer, press the [Details...] button, then in the “Output PC file” group press the [Details] button (next to the File type drop-down menu) and unmark the “Include end of file indicator” check box.
That’s it, good luck.
Gerardo