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

Answers were Sorted based on User's Feedback



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

Answer / lu

Commarea is zone where u pass your data,you informations
from this program to another program in CICS..(CICS-VSAM,
CICS-DB2,CICS-IMS or CICS only...)It contains 32k...

Is This Answer Correct ?    19 Yes 1 No

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

Answer / g.kalyani

COMMAREA is a communication area between COBOL and DB2. We
can pass maximum of 32k. If it is more than that we can use
the QUEUES

Is This Answer Correct ?    23 Yes 9 No

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

Answer / rajani mazumder

Using commarea data can be passed to a called program using
LINK & XCTL commands in a calling program.maximum length is
32K.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / prabu

32K is the therotical maximum value. Cics Programming guide
recommends not to exceed more than 24KB. As rest of the
space will be utilised for other control operations.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / yuvaevergreen

An SQLCA is a structure or collection of variables that is
updated after each SQL statement executes. An application
program that contains executable SQL statements must
provide exactly oMaximum size is 136ne SQLCA.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / rajani mazumder

Passing of data from one program to another is
achieved by COMMAREA defined in working-storage section.

The receiving program will receive the data in its linkage
section, under DFHCOMMAREA.

May be used in functions like RETURN/XCTL/LINK.maximum size
is 32k.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / 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

More DB2 Interview Questions

I am having n number of records in a table which consists of emp-name is one of the field among them. Now i want to change the first letter of every name with capital.

1 Answers   Cap Gemini,


What happens to a tablespace when its recovery infromation has been removed and a full recovery is no longer possible?

2 Answers  


List out the data types available.

0 Answers  


What is isolation level?

4 Answers  


What is image copy?

1 Answers   Virtusa,






What is reorg?

0 Answers  


How do u achieve record level locking in DB2 versions when record level locking is not allowed?

2 Answers   IBM,


4. A DB2 application is bound with uncommitted Read isolation level.It issues a request that retrieves 20 rows out of 200000 in the table. Which of the following descrbes the rows that are locked as a result of this request? a. None of the rows are locked. B.The retrieved rows are locked. C.The last row of the result set is locked. D.The rows not previously updated by another application are locked.

3 Answers   Wipro,


How to fetch the uncommited data from table ?

1 Answers   JPMorgan Chase,


How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?

2 Answers   IBM, Tech Mahindra,


i have a table like this : Name ADDRESS Toto 123 ... Toto 456 ToTo 678 I would like to delete 2 last row...please tell me how to delete its

5 Answers   EDS,


What is the role of union all and union

0 Answers  


Categories