Get the content of an memory address by CECI.



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Get the content of an memory address by CECI.

Postby Mehdi shri » Mon Aug 08, 2016 1:17 pm

Dear friends
I am using command "CECI COL TRANC(DFHCOMCL)" to get the statistics about transaction class DFHCOMCL.The CICS give me the following :

COL TRANC(DFHCOMCL)                                                      
STATUS:  COMMAND EXECUTION COMPLETE                         NAME=        
 EXEC CICS  COLlect STATIstics                                            
  SEt( X'1AC6ACA8' )
  < LASTRESET( +0000000 ) | LASTRESETHrs() LASTRESETMin() LASTRESETSec() >
  < Autoinstall | < Bean() > CORbaserver() | CONnection() | DB2Conn      
    | DB2Entry() | DIspatcher | Enqueue | File() | JOURNALNAme()          
    | JOURNALNUm() | JVMPOol | JVMPROFile() | JVMPROGram() | LSrpool()    
    | MOnitor() | MVstcb() | ( Node() | POol() ) < TARget() > | PROGAuto  
    | PROGRam() | RECovery | REQuestmodel() | STATS | STOrage()          
    | STReamname() | SUbpool() | SYsdumpcode() | TABlemgr | TASksubpool  
    | TCLass() | TCPIP | TCPIPService() | TDqueue() | TErminal()          
    | TRANClass( 'DFHCOMCL' ) | TRANDumpcode() | TRANSaction() | TSqueue  
    | Vtam >
 

Now,How can I see content of the address X'1AC6ACA8' by CECI command or any it's parameters. Is it possible to see content of an storage address directly by CECI capabilities or by any other of CICS supplied transactions?
Thanks.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Get the content of an memory address by CECI.

Postby Aki88 » Mon Aug 08, 2016 1:47 pm

Hello,

My understanding might be incorrect, though won't a: 'CEMT INQUIRE TCLASS(DFHCOMCL)' or a: 'CEDC VIEW TRANCLASS(DFHCOMCL) GROUP(*)' give you the details of TCLASS: DFHCOMCL
Aki88
 
Posts: 381
Joined: Tue Jan 28, 2014 1:52 pm
Has thanked: 33 times
Been thanked: 36 times

Re: Get the content of an memory address by CECI.

Postby Mehdi shri » Mon Aug 08, 2016 3:09 pm

Dear Aki88
I write a program has the following code:
                                                                   
               EXEC CICS COLLECT STATISTICS TRANCLASS(TRANCLASS-NAME)
                   SET(MYPOINTER)                          
               END-EXEC                                            
 

In this case the retrieved data from EXEC CICS is stored in the location storage it's address is MYPOINTER.
Now I want to get contents of the location MYPOINTER without using program and I want to get it by any supplied CICS capabilities such as CECI.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Get the content of an memory address by CECI.

Postby Robert Sample » Mon Aug 08, 2016 6:23 pm

From the CICS Customization Guide manual:
Using the EXEC CICS COLLECT and EXTRACT STATISTICS commands

The statistics collected by CICS® are written to an SMF data set. However, a user program can use the EXEC CICS COLLECT STATISTICS and EXEC CICS EXTRACT STATISTICS commands to collect the current statistics for a particular resource, or overall statistics for the resources of a particular type.
About this task

For example, you can get the statistics for global transaction activity in your CICS region, such as the total number of transactions attached, or you can specify a single transaction that you are interested in, such as CEMT. The statistics are returned to the invoking application. For programming information about these commands, see COLLECT STATISTICS.
CICS supplies fifteen sample programs that show how you can use the EXEC CICS COLLECT STATISTICS, EXEC CICS EXTRACT STATISTICS, and EXEC CICS INQUIRE commands to produce a useful analysis of a CICS system. These are:

DFH0STAT
DFH0STDB
DFH0STEJ
DFH0STEP
DFH0STGN
DFH0STLK
DFH0STPR
DFH0STSA
DFH0STSY
DFH0STTP
DFH0STTS
DFH0STWB
DFH$STAS
DFH$STCN
DFH$STTB

The sample programs produce a report showing critical system parameters from the CICS dispatcher, together with loader statistics and an analysis of the CICS storage manager. DFH$STAS, DFH$STCN, and DFH$STTB are provided in assembler language; the other twelve programs are provided in COBOL.

For information about installing and operating the sample statistics programs, and about the data produced by the programs, see CICS statistics.
Have you gone through the sample programs? Are you using EXTRACT STATISTICS at all? If not, perhaps you should try using the provided facilities BEFORE you attempt to go off on your own way to get what you want?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Get the content of an memory address by CECI.

Postby Mehdi shri » Sat Aug 13, 2016 2:53 pm

Dear Robert
I'm tring to do that by sample program.
Thanks a lot.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post