F007111 - Text file processor
VA rpt_Detail_REC1 = concat([VA rpt_Detail_REC1],'\r')
Insert Text File Processor Detail
I am writing a Flat file for a bank draft. The bank requires the file to have a carriage return in position 120. I cannot get this to work. Our data is on the AS400 platform. I have no problems creating the record and the data is fine but the carriage return is getting added to the end of the last field in the record. I have tried many concats, rightpad, leftpad, substring '\r' to the end. Is this an AS400 issue or what? I am trying to avoid writing a business function, but that seems like my only choice