Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Help! I deleted my spool file... Can I get it back ?
Collapse
X
-
Help! I deleted my spool file... Can I get it back ?
Hi Bob, If you did not run RCLSPLSTG then probably the spooled data is still in one of the files in QSPL library. Once you identified the file and the member where the data is in you can display the data using DSPPFM command. However, the data is not displayed as a normal spool file. The record length is 4079 or so and is not so readable. I wrote a little RPG program that prints the data, line by line, into a new spooled file QSYSPRT. I am attaching the source (PRTSPLMBR) and you can compile it. It is not fully debuged so you may have some problems running it and the output spooled file is not exactly as the original. The program get 2 parameters: qualified file name (20) and member name. For example: CALL PRTSPLMBR PARM('Q00512N001QSPL ' 'Q111908060') file library member If you need more information, you can send to Arbel_Yahel@bmc.com Good luck Arbel
Comment
Comment