|
As I was laying in bed last night, I re-recognized the importance of what you said here, Tom. There is a bug in the RPG code I posted. It doesn't handle overprinting correctly. So either: a) You change the number of EXCEPT statements, and don't bother to handle overprinting. b) You set up a method of merging two records from SPLF_WRK into one record of SPLF_FMT. Either way, you DON'T put any spacing attributes on the O-spec, as it won't compile. Coding choices relate DIRECTLY to the definition of the problem to be solved. This is my take from Tom's questions. jt > -----Original Message----- > From: midrange-l-admin@midrange.com > [mailto:midrange-l-admin@midrange.com]On Behalf Of thomas@inorbit.com > Sent: Saturday, November 17, 2001 6:24 PM > To: midrange-l@midrange.com > Subject: Re: CPYSPLF and retain format > > > Mike: > > On Sat, 17 November 2001, "Condon, Mike" wrote: > > > I want to copy a spool file to a physical file, but have it end > up in the > > physical file > > in the format it would appear as if it were printed. Is there a > (hopefully > > easy) way to do this? > > Are you asking about placing a specific spoolfile into a PF? or > _any_ spoolfile into a PF? And exactly how close would you want > _any_ spoolfile to appear? E.g., if an element is bolded in the > spoolfile, would it be bolded in the PF? Underlined, etc? If the > page length was 88 lines and there were only 10 printed lines on > the page, would you want 78 blank records? > > Are you familiar with using CPYSPLF with the *FCFC option? In > general, once you've got the spoolfile into an intermediate PF > with *FCFC, you can read that PF and place the records into your > final PF with blank lines inserted according to the supplied > control characters with a pretty simple RPG. Bold, underline, > etc., wouldn't be so easy though _possible_ if you could > guarantee viewing via 5250 I suppose. > > What's the objective for this? Viewing instead of printing? > archiving? transfer to other systems? > > Tom Liotta > > -- > Tom Liotta > The PowerTech Group, Inc. > 19426 68th Avenue South > Kent, WA 98032 > Phone 253-872-7788 > Fax 253-872-7904 > http://www.400Security.com > > > ___________________________________________________ > The ALL NEW CS2000 from CompuServe > Better! Faster! More Powerful! > 250 FREE hours! Sign-on Now! > http://www.compuserve.com/trycsrv/cs2000/webmail/ > > > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) > mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > 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-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.