View previous topic :: View next topic
|
Author |
Message |
dsivapradeep
New User
Joined: 06 Jul 2012 Posts: 43 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
why not speak to Your CICS Support group to see what is in place ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
dsivapradeep
New User
Joined: 06 Jul 2012 Posts: 43 Location: INDIA
|
|
|
|
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.
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
TMONCICS has the ability to produce similar log-records. Do you have this product? |
|
Back to top |
|
|
dsivapradeep
New User
Joined: 06 Jul 2012 Posts: 43 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|