MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to read the ims activity log for a specific purpose

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
mfuser
Banned


Joined: 01 Mar 2005
Posts: 105
Topics: 58

PostPosted: Tue Mar 01, 2005 1:43 pm    Post subject: How to read the ims activity log for a specific purpose Reply with quote

Hai,

I would like to read the IMS Activity log by any method which has variuos information containing the before & after image copies of the databases done by many users pertaining to many transactions.Actually many TSO userids enter into the IMS region & do many kinds of access could be updating/ deleting / browsing / deleting ,so all these information is recorded for many TSO userids who have a serial number associated to them.


I have a dataset saved which is the IMS Log dataset which contains the ONLINE Activity Log pertaining to a IMS region & i have a Standard ASSEMBLER Routine which describes the common elements of all IMS LOG RECORDS.That means the saved IMS LOG DATASET contains information which is of a standard format.

My objective is to write a a PL/I Program which will read that IMS ACTIVITY LOG dataset & the Program should generate a kind of detailed report based on the different logging done by various TSO userids.


Can anyone provide me any kind of documentaion about how should i proceed / is there any program which i can take the help.


Regards
mfuser
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Mar 02, 2005 11:06 am    Post subject: Reply with quote

The Diagnosis Guide and Reference lists all the log record types and sub-types along with descriptions and DSECTs.
Back to top
View user's profile Send private message
mfuser
Banned


Joined: 01 Mar 2005
Posts: 105
Topics: 58

PostPosted: Wed Mar 02, 2005 12:36 pm    Post subject: How to read the IMS activity log Reply with quote

Hi Bithead,


Can u please brief me more about how should i proceed to the problem discussed above
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Mar 02, 2005 1:02 pm    Post subject: Reply with quote

You can order the book from IBM - it is not available on their website. The DSECTS can be used for your declaratives. Your assembler program may also have this. I would read the log and create an extract file, probably just using the type x'50' records, keyed by RACF id, date and time along with PSB and database names, command type (ISRT, REPL etc) and key value. The log record does not show both the before and after data so this may be of limited use. You should probably bypass updates of indexes.

Sort the output file based on RACF id, date and time and then use it to create a report.
Back to top
View user's profile Send private message
mfuser
Banned


Joined: 01 Mar 2005
Posts: 105
Topics: 58

PostPosted: Wed Mar 02, 2005 1:15 pm    Post subject: WHAT ARE DSECT ACTUALLY Reply with quote

Hi Bithead,

Can u please tell me what are DSECTS actually ? I have to read a IMS Activity Log which contains ASCII characters too.How should i read the entire IMS log which is so huge & has many information done by many TSO user ids pertaining to various transactions.


I should proceed with a PL/I program to read the IMS activity lof first ,figure out & then proceed to generate a kind of report.


Thanks
mfuser
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Mar 02, 2005 1:24 pm    Post subject: Reply with quote

mfuser,

DSECT = Dummy Control Section - A control section that an assembler can use to format an area of storage without producing any object code. Synonymous with dummy section.

Check this link which explains in detail about the DSECT instruction

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ASMR1003/5.20?DT=20000721044852
Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Mar 02, 2005 1:34 pm    Post subject: Reply with quote

If IMS is on the mainframe, the logs should only contain EBCDIC characters. If you are running on a server or on a PC, then they are probably ASCII. I doubt that the logs contain both.

The users are probably not in TSO but rather in IMS given that you are running transactions.

Having said that, yes the IMS logs are huge but you should be able to process them. Determine what kind of reports you need and that will tell you what type of logrec you should process.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group