What is the use of COMMAREA ?Minimum how much data we can
pass from it?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
What is precompiler in db2?
What r the comman abends in db2, jcl and cobol???????
what is commit & rollback? When and where is used while compiling a cobol-db2 program?
What does the sqlcode of -818 pertain to?
Can we use select query in a loop to fetch multiple rows in a COBOL PROGRAM? If so, what is the advantage of cursor?
What information is contained in a SYSCOPY entry?
Hi i need to write a query on the following requirement. SELECT COMM_TEXT INTO :WS_MIKM_COMM_TEXT FROM MPIPROD.MIKMV01 WHERE ACCOUNT_NO = :WFD_ACCOUNT_NO AND (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT AND SUBSTR(COMM_TEXT,47,14) = :WS_DENY_DESC) OR (SUBSTR(COMM_TEXT,1,39) = :WS_COMMENT_TEXT) The above query is to be modified. The requirement is if both the fields are equal then that has to be given priority. In the above query if it satisfies any one it comes out without checking if both being equal is possible.
Is it Possible to read from PS file and write it to database by using dynamic sql(execute immediate)
i want to maintain uniqueness on pdf without make lf??????????
can we update the table by using cursors can anyone post the query?
What is meant by concurrency?
if there is a table with huge number of records and if i want to extract only first 3 records from the table, what query i have to provide to retreive first 3 records