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
 

 

Possible to get log for a particular CICS Transaction ?

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

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Thu Apr 04, 2013 6:25 pm    Post subject: Possible to get log for a particular CICS Transaction ?
Reply with quote

Hi,

I would like to know whether it's possible to capture the complete log details of a particular transaction like when it has started and who has started, when it got terminated, in which terminal it was started, what all resources were utilized by that particular transaction, What data is received by the application from maps during its transaction cycle, CPU utilization time by this transaction ?

I checked in CICS3 spool's MSGUSER for this, but it doesn't give complete info of a particular transaction's log.

My Main aim is to track how a user is using my CICS application.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Apr 04, 2013 6:29 pm    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

why not speak to Your CICS Support group to see what is in place ???
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 Apr 04, 2013 6:37 pm    Post subject:
Reply with quote

I suspect you're going to find that there is not a single source for everything you want to know. If your site is using journals, they will provide some of the information but some of what you ask can only come from SMF records. If your site is not capturing SMF records for your CICS region, what you want will not be possible at all. If your site is capturing SMF records and journals, you will have to work with your site support group to get access to the data you want, anyway, so why start by asking on a forum? Why not go directly to your site support group?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Apr 04, 2013 6:42 pm    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

Quote:
so why start by asking on a forum? Why not go directly to your site support group?


because it is a habit over here and on the beginners forum

and the why is usually ...

support was outsourced
they will not care about poor me
it takes a long time to get in touch
yak
yak
yak
add gazillions more of lame excuses icon_wink.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Thu Apr 04, 2013 7:26 pm    Post subject:
Reply with quote

Hello,
As said earlier SMF 110 has all the details you mentioned except this one
Quote:
"What data is received by the application from maps during its transaction cycle"


On a remote chance, if your shop has monitoring tools like TRITUNE enabled, then you can get all the details you mentioned from TRITUNE batch reporting including
Quote:
"what data is received by the application from maps during its transaction cycle"
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Apr 04, 2013 7:33 pm    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

Quote:
As said earlier SMF 110 has all the details you mentioned

but only if they are collected as per the active CMF options
Back to top
View user's profile Send private message
dsivapradeep

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Mon Apr 08, 2013 5:06 pm    Post subject:
Reply with quote

Hi all,

Yes, I've to start searching in SMF datasets to get answer for my question and from our administrator, i got to know the location of our SMF dump file. I hope, from this dump file i can analyse SMF records using the utility IFASMFDP. (This post might be having content not related to CICS although posted in CICS forum)

I'm studying and trying to understand from IBM's 'MVS SMF' manuals so still a beginner in this area.
When i tried to retrieve the information for a particular SMF Record layout (say SMF type 113) using the following JCL,
Code:

//STEP1     EXEC  PGM=IFASMFDP                                     
//OUTDD1 DD DSN=USERID.SMFDUMP2,                                   
//  DISP=(NEW,CATLG,DELETE),                                       
//      SPACE=(CYL,(1,1),RLSE),DCB=(LRECL=32760,RECFM=VBS,BLKSIZE=0)
//INDD1 DD DSN=SYS2.SMFDUMPW,DISP=SHR                               
//ADUPRINT DD SYSOUT=*                                             
//SYSPRINT DD  SYSOUT=*                                             
//SYSIN    DD  *                                                   
 OUTDD(OUTDD1,TYPE(113))                                             
 INDD(INDD1,OPTIONS(DUMP))                                         
 START(0000)                                                       
 END(2400)                                                         
 DATE(2011060,2013130)                                             
/*                                                                 
//                                                                 

i'm not getting what is supposed to come i.e. "SMF Type 113 — Hardware Capacity, Reporting, and Statistics "
Instead in SPOOL, SUMMARY ACTIVITY REPORT was generated and in the OUTDD1 dataset, only 2 records i.e.
Code:

   )pX    MVS1
   )q     MVS1
is present.

I would like to know whether i've used wrong JCL or any other procedure i missed out for getting proper analysis based on SMF record type.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Apr 08, 2013 7:00 pm    Post subject:
Reply with quote

If you're looking for CICS data, you should be looking at the type 110 records, and you'll need to focus only on the CICS region(s) you want because SMF will collect data from every CICS region in the LPAR.

Most sites collect the SMF data throughout the day and write the collected data to a GDG or other sequential (usually tape) file for archival purposes. I suspect what you are seeing is only the records for the current day.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon Apr 08, 2013 7:29 pm    Post subject:
Reply with quote

Hello,
Quote:
OUTDD1 dataset, only 2 records i.e

If you are getting only 2 records as output of IFASMFDP then I am 99.21% sure they are header(type 2) and trailer(type 3) records.
It means that the input SMF file does not have any records that meet this criteria
Code:

 TYPE(113)
 START(0000)                                                       
 END(2400)                                                         
 DATE(2011060,2013130)                                             


To have an idea of what SMF records are present in input file, go to //SYSPRINT of the IFASMFDP job you ran, it will have "SUMMARY ACTIVITY REPORT" it will have the range of SMF data and the count of records present in the input file.

As Robert said, "Most sites collect the SMF data throughout the day and write the collected data to a GDG or other sequential (usually tape) file for archival purposes." so you may need to have the correct file here
Code:
//INDD1 DD DSN=SYS2.SMFDUMPW


Quote:
I would like to know whether i've used wrong JCL or any other procedure

The job you used is right, the output file created is formatted in a specific layout as outlined in this link
To make sense of the output file, it is better to use a product like MXG or MICS.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Apr 08, 2013 10:49 pm    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

TMONCICS has the ability to produce similar log-records. Do you have this product?
Back to top
View user's profile Send private message
dsivapradeep

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Tue Apr 09, 2013 11:28 am    Post subject:
Reply with quote

Vasanth, Thanks for the info. You are rite. The matching record type was not dumped into the dataset. So only i didn't find the records yesterday in OUTDD. I used 110 and got records for CICS analysis.

The records present in OUTDD are in not understandable manner. Is there any process to sort or align them in readable/structure format. Like some Rexx or Cobol code ??

Bill, no we don't have any 3rd product tools for analysis as of now. Since very very few people are working in this area, 3rd party tools were not deployed into the system as of now.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 09, 2013 11:52 am    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

Quote:
The records present in OUTDD are in not understandable manner. Is there any process to sort or align them in readable/structure format.


the format is described in the manuals

and for a working application
You might want to look at FILE 806 at cbttape.org

ask if You want to process it on Your PC
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 09, 2013 12:10 pm    Post subject: Reply to: Possible to get log for a particular CICS Transact
Reply with quote

hit enter too early

here is some more info on it


Code:
//***FILE 806 is from Kevin Dengsong and contains a package to      *   FILE 806
//*           process SMF Type 110 records, written in COBOL.       *   FILE 806
//*           The title of this package is "CICS Preformance        *   FILE 806
//*           Monitor Analysis Tools".                              *   FILE 806
//*                                                                 *   FILE 806


$SMF110    Job
CICSDAT1   copybook
CICSDAT2   copybook
DFHSMFDS   copybook
PBCALTIM   program to caculation the time different
SAMPRPT1   sample report(Xmit format)
SMF110MN   Report copybook
SMF110S1   Program
LOADXMIT   Loadmodule
STAMPCON   convert 8 bytes stck to timestamp
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 Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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