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
What is the meaning concurrency in the db2 database?
How to get the ddl of a table in db2?
Highlight all the advantages that are attached to a package.
Explain what are the various isolation levels possible?
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.
How do I create a view in db2?
Mention data types used in db2 ?
How do I add a column in db2?
What are iseries servers?
Explain about rct in db2?
How do I copy a table in db2?
what is the role of the cursor in db2?
How do I add a column to a table in db2?
What is db2 bind process?
What is the difference between plan and package in db2?