Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up a Transaction Work Area(TWA)

Status
Not open for further replies.

gobleza

Programmer
Feb 27, 2008
14
ZA
Hi all,

I am about to setup a Transaction Work Area in CICS and have Googled for the topic, I have checked the CICS Manual but cannot seem to find any sample code,

If you have any sample code that you could share with me I would really appreciate,

Thanks
 
Google:

Transaction work area (TWA)
The size of the transaction work area is determined by the TWASize option in the Transaction Definitions (TD). If this is given a nonzero value, the TWA is always allocated, it lasts for the duration of the transaction, and it is accessible to all the programs that are in the transaction. Processor overhead that is associated with using the TWA is minimal. You do not need an EXEC CICS GETMAIN command to access it, and you address it with a single EXEC CICS ADDRESS command.

Now I can go to http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHJAP45/1.14?DT=20001025145155]the manual[/url] and find this:

TWA(ptr-ref)
returns a pointer reference, set to the address of the transaction work area (TWA).

So I know the command now that I'm looking for. Google again...I get an example:


----------
Measurement is not management.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top