View previous topic :: View next topic
|
Author |
Message |
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
|
|
Hello Team,
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. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
It totally depends on exactly what it is that you want to extract from the job logs as to the best method.
Perhaps if you gave us some real detail to work with we could suggest something. |
|
Back to top |
|
|
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
|
|
Hi expat,
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. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to re-read what Expat has posted. . .
You have to describe precisely (not generically) what you want to do and then implement a process to accomplish this.
We can possibly help but not until the exact details are posted. There are no "do what i want" utilities. . . |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Check out Lionel B. Dyck. he has a great little tool, SDFSEXT, a generalized SDSF batch tool to extract all or part of your sysout into a dataset that you could do whatever you want with. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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. |
|
Back to top |
|
|
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
|
|
Hello all,
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.
Regards,
Appu |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
Back to top |
|
|
|