jimmymac
Reputable Poster
We are having an issue trying to create a payment detail file that is going to be sent to American Express. I am using business function B34A1010 Open Flat File to create the .txt file. Then using B34A1010 Write One Line to Flat File to output header, detail, and trailer records.
Our issue is that American Express requires a file with a record length of 220. I am loading the various data elements into a variable using data dictionary item GPTX. Then doing a right pad function to pad the variable with blanks to a length of 220.
After creating the file, using a tool like UltraEdit, it certainly appears to have a record length of 220. However, Amex is stating the file has an incorrect record length, that's about all they are telling us.
Any advice as to how to address this record length issue would be appreciated.
Our issue is that American Express requires a file with a record length of 220. I am loading the various data elements into a variable using data dictionary item GPTX. Then doing a right pad function to pad the variable with blanks to a length of 220.
After creating the file, using a tool like UltraEdit, it certainly appears to have a record length of 220. However, Amex is stating the file has an incorrect record length, that's about all they are telling us.
Any advice as to how to address this record length issue would be appreciated.