need to access $AVRS/SAVRS

All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.
dhoomphatash
Posts: 10
Joined: Sat May 15, 2010 2:44 am
Skillset: JCl COBOL novice
Referer: IBMMainframes.com

need to access $AVRS/SAVRS

Postby dhoomphatash » Thu Aug 26, 2010 11:06 pm

I have a requirement.

1) go to the $AVRS
2) find a particular job for a particular date.
3) go into the sysmsg of the job.
4) Search for a particular string(DSN name, will be unique) in all the lines.(i.e. iterating thru every line)
5) when a match is found, copy the whole line and the line next to it into a PS.

Now I can't think of an idea as how to go thru the entire process using REXX. Is it even posible? If yes could anybody shed some light as to how?

User avatar
MrSpock
Global moderator
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
Referer: ibmmainframes.com
Location: Raleigh NC USA
Contact:

Re: need to access $AVRS/SAVRS

Postby MrSpock » Thu Aug 26, 2010 11:33 pm

First, there isn't a separate forum for the SEA products, so I've moved this to the "All Other Tools" forum.

Other than that, obviously you'll have to find your answer from someone else who might have this product, the product manuals, or maybe through direct contact with SEA.

Their product guide mentions this:
Online Interfaces

The $AVRS Online Interfaces provide output management solutions and a comprehensive approach to the reviewing of archived Sysout and Syslog. Immediate access to data is available through batch or fullscreen reentrant interfaces, including native TSO, TSO SPF/ISPF, or ROSCOE ETSO. Online access to $AVRS is also available through VCSI, the VTAM Common System Interface. Each interface presents several similar display and command panels which are used to review and display selected elements and files in the $AVRS database.


It specifically mentions support for a batch interface, so is that an option you've tried?

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: need to access $AVRS/SAVRS

Postby Robert Sample » Fri Aug 27, 2010 12:02 am

The $AVRS manual in section B talks about batch jobs. One of them is $AVRPULL (BATCPULL in the installation directory) which allows you scan jobs or system logs for a given date range (absolute or relative) for particular characters OR job names. This output can be directed to a file, which your REXX program could then read and process.

dhoomphatash
Posts: 10
Joined: Sat May 15, 2010 2:44 am
Skillset: JCl COBOL novice
Referer: IBMMainframes.com

Re: need to access $AVRS/SAVRS

Postby dhoomphatash » Sat Aug 28, 2010 11:36 am

Robert Sample wrote:The $AVRS manual in section B talks about batch jobs. One of them is $AVRPULL (BATCPULL in the installation directory) which allows you scan jobs or system logs for a given date range (absolute or relative) for particular characters OR job names. This output can be directed to a file, which your REXX program could then read and process.


Thanks. after a long struggle I finally succeeded with the first 2 points,I mentioned. :D Now only the logic part is left. Thanks for the help.

test
Posts: 3
Joined: Tue Dec 18, 2012 2:14 am
Skillset: cobol,db2
Referer: google

Re: need to access $AVRS/SAVRS

Postby test » Wed Jan 30, 2013 6:21 pm

Hi !
Sorry to activate this old thread, but I m interested if you solved 1-5 ?

Would you like to share your final solution ?

Thanks!

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

Re: need to access $AVRS/SAVRS

Postby enrico-sorichetti » Wed Jan 30, 2013 7:49 pm

why did You do it then ...

the lats time the TS was around was
Last visited:Sat Aug 28, 2010 8:06 am

so the chances of getting a reply are pretty slim

good forum manners dictate to start a new topic for a question, even if related to an existing one
( many people also disregard the resurrection of old topics )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort


  • Similar Topics
    Replies
    Views
    Last post