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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning concurrency in the db2 database?

630


How to get the ddl of a table in db2?

671


Highlight all the advantages that are attached to a package.

621


Explain what are the various isolation levels possible?

606


SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2143






How do I create a view in db2?

597


Mention data types used in db2 ?

667


How do I add a column in db2?

586


What are iseries servers?

560


Explain about rct in db2?

633


How do I copy a table in db2?

571


what is the role of the cursor in db2?

635


How do I add a column to a table in db2?

615


What is db2 bind process?

748


What is the difference between plan and package in db2?

566