I am trying to transfer a 488-byte fixed-record-length file from the i-Series to an ASCII file in an IFS folder, using CR/LF as the fixed-length record delimiter.
The problem is that when I use CPYTOIMPF, it truncates the trailing blanks, and places the CR/LF hex codes directly after the last non-blank character in each record. This is unacceptable to the recipient of my file.
Is there a way to preserve the 488-byte length and ensure that the CR/LF goes into pos. 489-490 on the converted ASCII file?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: