|
Buck, I'm still trying to figure this all out, but here's what I am doing now: If you _Program-describe_ the output file you create on the AS/400 then you can use the regular RPG edit codes or edit words and format the record to whatever length and layout you want, including leading negative signs and decimal points. The created file will look just the way you instruct, including the trailing blanks. At least its happening for me that way. I am also FTPing the file directly from the AS/400 instead of using CPYTOPCD. In <01BD5412.62EEBEC0@S1040066.commsoft.net>, on 03/20/98 at 03:10 PM, Buck Calabro <mcalabro@commsoft.net> said: >Hi, all! >We have a scenario where we're sending records to a bank >via a PC file. We format the file on the 400, then CPYTOPCD to the PC >and use a PC comm pkg to send it to the bank. The problem is that the >bank demands "fixed" (94 byte) records with CR/LF appended. -- ----------------------------------------------------------- boothm@ibm.net ----------------------------------------------------------- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.