I need to develop an application which will take the job logs from Spool( in my case it is the job archive ASAR) and analyze its contents. For this purpose , I need to automate a sequence of mainframe instructions like to traverse from the ISPF start menu to reach the job log screen. Once I reach the job log screen i need to traverse through the logs to get the necessary error information which I want. Could you please let me know whcih language should I use for this ( like REXX or i have heard about ISPF edit macros also). Can any one give me the advice which way should I go.
Thanks for the reply. The job writes some specific results to certain output datasets inside the job log ( like SYSPRINT ) and I want to read that information from a set of jobs and combine the result in to a single dataset which can be mailed.
Joined: 14 Mar 2007 Posts: 8657 Location: Back in jolly old England
What I want to know is what information you want from the sysouts.
In your original post you mentioned error information. Then perhaps if you talk to your capacity and performance group they probably already disect SMF data and will usually have what you need available without you having to subscribe to the wheel reinvention society.
Sorry that my explanation was so generic. Here is exactly what I want to do. My programs will write details to SYSOUT like "Processing failed for customer number - nnnn', where nnnn is the customer number. This is not at all a system error but the error happened due to some data problem. I want to extract this statements ( in quotes above ) to a new result dataset which will have all the customer numbers for which my processing failed. The thing is that I need to automate the commands to go from the Start screen to the job log screen and then do the scraping of the output dataset so that I can extract the above information. I have to repeat the same procedure for around 12 jobs.
Please let me know the tools or languages which I should use.
@Cics guy : Thanks for the suggestion. But I am looking for an option without changing the existing jobs.