× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Kathie, if you really want to copy every 80 characters from your file into a record in a phsyical file, use this:

CPYFRMSTMF FROMSTMF('/test/junk.txt') TOMBR('/qsys.lib/qtemp.lib/junk.file/junk.mbr') MBROPT(*REPLACE) ENDLINFMT(*FIXED) TABEXPN(*NO)
The ENDLINFMT(*FIXED) will split the record based on the record size of the TOMBR. But looking at your data, it looks like the '~' is actually your end of record format.

Joe

Thanks Michael. That got me a bit closer. I got one record:


File . . . : MYFILE Member . . : MYFILE Record Length . : 80
Library . : KATHIE Format . . : MYFILE File Access . . : Arrival Mode . . . : Display Record Number . : 1
Control . . . Text . . . : Record# ....5...10...15...20...25...30...35...40...45...50...55...60...65 1 ISA*00*0000000000*00*0000000000*08*6111470100 *01*074240599


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.