Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of COMMAREA ?Minimum how much data we can
pass from it?

Answer Posted / david staudacher

The COMMAREA is used to pass data between programs, and to
the next program in a pseudo-conversational sequence. The
COMMAREA may originate in either Working Storage or Linkage
Sections, but best practice is to avoid having identical
layouts in each. The best technique is to code the
following, just after the PROCEDURE DIVISION statement:

IF EIBCALEN = 0
EXEC CICS GETMAIN SET (ADDRESS OF DFHCOMMAREA)
LENGTH (LENGTH OF DFHCOMMAREA) END-EXEC
END-IF

Now you have just ONE copy of the Commarea - always in
Linkage. You don't to move it or worry over whether the
most current data is in Working Storage or Linkage. It's
ALWAYS in Linkage.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can there be more than one cursor open for any program?

1130


can all users have the privilage to use the sql statement select * (dml)?

1116


How to create db2 table in mainframe?

1108


How to access db2 tables in mainframe?

1005


What is the role of data manager in the db2 database?

1060


How to run db2 command in windows?

1149


How and when does the db2 enforces the unique key?

1044


What is the physical storage length of date data type?

1199


What is ibm db2 client?

890


How to fetch the last row from the table in SQL (db2)?

1601


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1056


Are view updateable?

994


Explain in brief how does db2 determine what lock-size to use?

977


what is utility for parm lib

2320


Why db2 is called db2?

981