From the
CICS Customization Guide manual:
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.
You will want to do whatever you are doing in the CICS region -- working with data in another address space is challenging to say the least. Look at the programs IBM provides and see if any of them will do what you want BEFORE you think about writing your own.
Now How can I obtain this address content in 3270 terminal?
When you say "3270 terminal", do you mean TSO? If not, just what do you mean by "3270 terminal" -- CICS uses 3270 terminals, so you ran the CECI COLLECT STATS on a 3270 terminal. Hence, technically, you already have the address content on a 3270 terminal.
And you STILL have not said what you're trying to do.