What is a "help list of spool info"? What is a "list of jobs got thru. . ."? When is this to be run? What about jobs that are processed and purged between executions of this new process? How is the output from this to be used?
Please post a more complete description of what you want to accomplish. Keep in mind that you know exactly what you are looking for but we do not.
Suggest you show a more complete list of your "input" and show how you want the "output" to be created.