|
At 05:35 AM 12/17/2005, you wrote:
midrange-l-request@xxxxxxxxxxxx wrote: > 8. truncate source PF (Elvis Budimlic) > >We have one source PF with record length of 240 bytes. Is there an easy way >to change the record length to something like 122 without losing data? Elvis: What kind of "source" do you have in the file?Just because the file attribute is PF-SRC doesn't mean it must contain "source" for a compile, so what type of data is in there? Are you storing some kind of text and you want to shorten it and preserve word-wrap?Or is it actual source that might have formatting problems if the records are split?One general possibility that comes to mind is a QM query and form that does column splitting at word breaks (white-space). I've never done it to an outfile; but even if it's to a spooled file, it can be transformed back to a physical file.Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertech.com __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.