Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS Log

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Thu Jul 03, 2014 11:51 am    Post subject: CICS Log
Reply with quote

Hi,

I would like to know about how to read CICS log. generally we go and read the MSG LOG to find out if any error is written there.

But in general, how to read the log and pinpoint the exact errors. there may be storage violations, Asra, AICA and many other abends with tranid.
but if something is not working in online regions then how can we relate and pinpoint the errors from the CICS Log.

Is it always we need to refer MSGLOG alone ? Please let me know.

Regards
KK
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7908
Location: Bellevue, IA

PostPosted: Thu Jul 03, 2014 7:42 pm    Post subject:
Reply with quote

Your question is so broad it is meaningless. The easiest, and most common, way to read the log is WITH YOUR EYES! Look at the log, find error messages, interpret them, and proceed.

If you want to read the log with a program, the first question becomes ... WHY? The log is open by CICS until the CICS region goes down, so using it for post-processing is possible as long as it is copied to a data set. But since the region is not active by this time, any errors uncovered by the log are not going to be helpful for that CICS execution.

And you do NOT want to attempt to read the log while CICS is running. First, the log records may -- or may not -- be written by CICS in a timely manner, and second, you have to be able to access the data across address spaces (unless you want to read the log from a program running in the CICS region). This is not a simple matter, even though it is technically possible.

Furthermore, if your site has one of the CICS monitoring tools such as Omegamon or Mainview, your site already can monitor the logs.
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Fri Jul 04, 2014 9:39 am    Post subject: Reply to: CICS Log
Reply with quote

Robert,

I am talking about the errors during the business time, so the region will be active. Also we can refer the log in the previous day region Job in SAR , right ?

I asked about identifying the exact problems with respect to online tran id's and other CICS abends. I never used omegamon or mainview.
will it be helpful for our analysis.

what about abend-id, also we have different regions like test, sit, uat and prod. based on the request, we may need to analyse and find out the error in the respective regions.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jul 04, 2014 1:17 pm    Post subject:
Reply with quote

Quote:
if your site has one of the CICS monitoring tools such as Omegamon or Mainview


You don't have to have experience, but if those tools are present ask the CICS or Automation people.

When i was working with SA/390, me and my peers where working closely together with the CICS people to trap all relevant messages and create for instance restarting scripts or sending alerts to whatever people concerned with CICS, IMS and other online systems.
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Fri Jul 04, 2014 2:04 pm    Post subject: Reply to: CICS Log
Reply with quote

Thanks Peter.

Can't we use those tools for our internal analysis.
I know we can see different region abends thru abend-aid. but
the problem at my shop is the access. I dont have access to DDIO file to view the details.

yes, we receive the mails from CICS admin with SVC Dump to anlyse for few abends. But in general, if we do unit testing of our modules, how can we identify and spot the errors. I know with our tranid, the message will be displayed.

Is there anything else or more info can be retrieved from Log. generally how peopl will do analysis for CICS abends/errors.


Regards
KK
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Sun Jul 06, 2014 9:26 am    Post subject:
Reply with quote

To perform a unit testing there are tools like interest which enables you to perform line by line execution of your programs. However if you don't have such tools then you can add displays to the required code and check the output in cics job . Why do need to see the log? Also when there is a exceptional error then usually sufficient information needs to be displayed while coding.
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Sun Jul 06, 2014 12:45 pm    Post subject: Reply to: CICS Log
Reply with quote

Thanks Rohit.

yes by using intertest we can see the line by line execution.
sometimes what happens is in production there might be some error in the screen and user want to know the exact problem.

If we replicate the same scenario in test regions it will work fine. so those problems might be environment related or deadlock or any other abends.
so to analyse further we need to see the log the execution time of tran id's, abends or deadlocks.

so for such reason we need to refer CICS log only. Also all the activities performed in the region can be tracked in log. in case of storage violation errorwe may need to refer CICS log. I want to know in that perspective.

Regards
Karthik
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Mon Jul 07, 2014 8:57 am    Post subject:
Reply with quote

Okay, so for this your site support or a cics admin will help to provide a dump and then it will be easy to find the issue. Also over a web and on this forum there are many threads which will give an idea as to how it works. So if you have any failed trx and dump or log then you can share and then a help can be easily provided.
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Mon Jul 07, 2014 10:04 am    Post subject: Reply to: CICS Log
Reply with quote

Thanks Rohit.
Sure, I will publish those details whenver I face such problem.

Regards
Karthik
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us