Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
PLAN B - Write a ReCover SPLF Command
has no ratings.
Published: 17 Oct 2012
Revised: 23 Jan 2013 - 3448 days ago
Last viewed on: 27 Jun 2022 (4774 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

PLAN B - Write a ReCover SPLF Command Published by: Bob Cozzi on 17 Oct 2012 view comments(5)

A user deleted an entire OUTQ's SPOOL files because they "couldn't find their Report".

Now the VP is pissed. Since they (as I suggested in another post) do not backup their SPLFDATA(*ALL) each evening, they are screwed!

So my plan B is to regress to circa 1984 where I would sit up late at night and read the IBM CPF "internals" manuals and try to decompose the SPOOL Database File Structure in QSPL.

Once accomplished, I'll scan the members in QSPL and for each occurrence of the Report identification, I will run my RECOVER SPOOL FILE command. And of course it will only work for SCS reports but that's all I have to worry about, today (I mean tonight). Yell


Return to midrangenews.com home page.
Sort Ascend | Descend