|
Tim: This is for a different customer and I don't have that command on my system. Would appreciate a copy. Unfortunately I don't have your email address, mine is artjr@link400.com Art Tostaine, Jr. CCA, Inc. Jackson, NJ 08527 -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Tim McCarthy Sent: Tuesday, June 20, 2000 1:31 PM To: 'MIDRANGE-L@midrange.com' Subject: RE: Squash a file Are you writing out the CR/LF's or is the sending process adding them ? AS/400 FTP will add them if you're sending a database file (ASCII or EBCDIC mode) . If you have the ZMOD product there then you have reformatting commands that will wrap and/or strip for you either to an IFS file or a DBF. If not, email me and I can send you the necessary command. TrailBlazer Systems, Inc. http://www.as400ftp.com AS/400 Communications & E-Commerce Solutions Errors have been made. Others will be blamed. > -----Original Message----- > From: Art Tostaine, Jr. [SMTP:Art@link400.com] > Sent: Tuesday, June 20, 2000 12:43 PM > To: midrange-l@midrange.com > Subject: Squash a file > > I have a EDI transaction file that I am sending to someone and they > have requested that I strip the > <LF><CR> out of the text file before I send it to them. > > I am not using a translator, so I write out a record for each record > type to my flat file. > > Anyone know of a utility that will squash it down? I know that > Trailblazer systems does this in > their Zmodem product (Hey Tim McCarthy). > > How can I write some AS/400 code to read the record based file and > write it out like a stream file? > CPYTOSMTF doesn't strip the stuff as far as I can see, even with > ENDLINFMT(*FIXED) > > Art Tostaine, Jr. > CCA, Inc. > Jackson, NJ 08527 > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@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 > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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 +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.