|
Would BRMS have any features that would allow this to be done relatively easily? And go across that many releases? -- Justin C. Haase - iSeries System Engineer IBM Certified Systems Expert - System i Kingland Systems Corporation -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Sent: Monday, October 02, 2006 1:30 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: Saving and restoring spool files V4R5->V5R3
(Wayne, thanks for your suggestion, but: I need to respect the original format and am afraid the CPYSPLF > method does not
allow this) Sure it does, if you do a little more work. You need to create another file; this one containing spooled file attributes. Then use the spooled file APIs and retrieve the spooled file attributes and store them in the attribute file. Then CPYSPLF to a PF. Now you can move those two files over to the other system and do the reverse: Read a record from the attributes file, create the appropriate OVRPRTF and then CPYF from the spooled PF to QSYSPRT. Be advised that when you have done all this, you _still_ have a different job, user and ID than the spooled file on the original system had. If the user ID or job name matters you can submit the job with the proper name and user ID, but I know of no way to force the job number to match the original. --buck -- 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. CONFIDENTIALITY NOTICE: This e-mail communication, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient or believe you received this communication in error, please reply to the sender indicating that fact and delete the copy you received. In addition, retention, dissemination, distribution, copying, or otherwise use of the information contained in this communication is strictly prohibited. Thank you.
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.