Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Viewing the data in the CWA

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

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Sun Jan 24, 2010 10:47 pm    Post subject: Viewing the data in the CWA
Reply with quote

Hi,

I am having issue in reading the CWA data in my COBOL program. And in order to debug that I need to view the data in the CWA.

Is there any command to view the data in the CWA without using a separate COBOL program. Like CEBR to read TSQ data. I know one way is to take a whole region dump and examine the dump. But this is more expensive and time consuming.

Could you suggest any ways to read the CWA data.
Thanks for your time looking into this.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Jan 24, 2010 10:58 pm    Post subject:
Reply with quote

Have you looked at Command-level interpreter (CECI) and ADDRESS?
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Sun Jan 24, 2010 11:08 pm    Post subject:
Reply with quote

I have looked into CECI. But that enables me only to read some files or TDQ.. Not CWA.. Appreciate if you could provide any specific commands to read CWA using CECI.

And ADDRESS, this doesn't help me to read the data. This returns me some HEX address space, which I already have. I need to read the data at that address space.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sun Jan 24, 2010 11:31 pm    Post subject:
Reply with quote

You could always invoke CEDF on any transaction and from there invoke CECI to get the address of the CWA and view it directly with the CEDF's storage viewing
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Sun Jan 24, 2010 11:41 pm    Post subject: Reply to: Viewing the data in the CWA
Reply with quote

Ever since CICS/ESA 4.1, you can invoke CECI from CEDF. Place your terminal under CEDF and enter an eligible transid. After getting past "PROGRAM INITIATION", press <PF5> (Working-Storage), then press <PF5> again and you will have launched CECI. Issue the ADDRESS API and copy the CWA address, press <PF3> and you'll be returned to Working-Storage. At the top of this screen, paste in the CWA address and press <Enter>. You'll now be viewing the CWA data. If the CWA length is unknown, while you're in CECI, issue an ASSIGN CWALENG API.

You'll need to map the CWA data with a copy of the CWA layout from your application system.

Bill
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Sun Jan 24, 2010 11:42 pm    Post subject: Reply to: Viewing the data in the CWA
Reply with quote

Guy,

You beat me to it.... icon_redface.gif

Bill
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Mon Jan 25, 2010 12:03 am    Post subject:
Reply with quote

thanks Bill & Guy for ur suggestion..
I may be putting more constraints.. I am having problem in my production environment, so I am not allowed to use CEDF icon_sad.gif

Can you recall any other ways ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 25, 2010 1:07 am    Post subject:
Reply with quote

Hello,

Someone has permission to use CEDF in production. . .

Work with them or tell your management that you need permission to do this temporarily to resolve the issue.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Jan 25, 2010 1:29 am    Post subject:
Reply with quote

Quote:
I am having problem in my production environment, so I am not allowed to use CEDF


Thats odd, you are responsible for an application that uses the
CWA, but you can access CECI and NOT CEDF in your production
region.

As Dick suggests, talk to your management.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Wed Jan 27, 2010 7:59 pm    Post subject: Reply to: Viewing the data in the CWA
Reply with quote

If you are authorized to use TMON for CICS, logon, then look for selection "STORAGE ANALYSIS", then "CICS CONTROL BLOCKS", then "CSA COMMON SYSTEM AREA". Place you cursor under the CSA address and press <Enter>. Then on the command line, enter FLD=CSACWAA and press <Enter>. Place your cursor under the address associated with CSACWAA and press <Enter>. You are now viewing the CWA associated with the given region.

If you need the CWA length, from "CICS CONTROL BLOCKS", locate "SIT SYSTEM INITIALIZATION TABLE", place your cursor under this and press <Enter>. Then on the command line, enter FLD=SITCWA and press <Enter>. This will give you the CWA length as a binary-halfword in hex.

Bill
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Wed Jan 27, 2010 8:23 pm    Post subject: Reply to: Viewing the data in the CWA
Reply with quote

A correction. The CWA length is adjacent to the CWA address in the CSA as a binary-halfword. You don't have to look at the SIT unless you're curious.

Bill
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Thu Jan 28, 2010 4:14 am    Post subject:
Reply with quote

Bill,

That was a great input. We do not have TMON in my site, but have Omegamon. I am pursuing if I can use Omegamon to read CWA data.
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us