×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Do an override to the spool file you wish to write to (the example uses
qsysprt) and perform a cpyf to it from the modified data file.

OVRPRTF QSYSPRT CTLCHaR(*FCFC)

CPYF FROMFILE(FIXED) TOFILE(QSYSPRT)

-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Valerio Vincenti
Sent: Wednesday, September 19, 2001 2:51 PM
To: midrange-l@midrange.com
Subject: Fix a spool file


Hi group,

I need to fix a spool file that can not be recreated again. I'm planning to
copy the spool file to a data base file (with *FCFC parm), then fix the
wrong data with a rpg program. The problem is: how can I convert back the
data file into a spool file? Is there a better (and faster) method than
reading the data file with a rpg, interpreting the space / skip control
character and writing out each record to a printer file? Even better, is
there a command opposite to CPYSPLF?

Thanks!

Valerio Vincenti
Systems Analyst
County of Spotsylvania, I.S. Department
Spotsylvania, VA 22553
Phone (540) 582-7055 Ext. 233
Fax (540) 582-6304
e-mail: vvincenti@spotsylvania.va.us


_______________________________________________
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 thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.