|
How about just making the physical pretty wide (say 2048 bytes)? The likelihood of a report going larger than that is really small, and assuming the file is temporary the wasted space is trivial. If you don't do that but do get the actual length, remember to add a couple of bytes to account for formatting codes. On Tue, 5 Oct 2004 09:47:55 -0700, York, Albert <albert.york@xxxxxxxxxxxxxx> wrote: > I need to determine the record size (characters per line) of a spool file, > so I can create a physical file of the correct length when I use the CPYSPLF > command. > > I have tried using WRKSPLFA to a print file but it doesn't always have the > actual number of characters, only the maximum for the print file. > > Thanks, > > Albert York > > -- > 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. > > -- Tom Jedrzejewicz tomjedrz@xxxxxxxxx
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.