| Author |
Message |
namitjai
New User
Joined: 12 Feb 2008 Posts: 1 Location: Bangalore
|
|
|
|
Could you please tell me during pseudo conversational programming when user enter some fileds in map and hit ENter then field entered by user will come directly into dfhcommarea field?
Also when we call one program by passing some values then what will be the syntax also please tell me what each field will contain exactly... |
|
| Back to top |
|
 |
References
|
Posted: Thu Apr 24, 2008 3:37 pm Post subject: Re: Reply to: Purpose of using COMMAREA in CICS program |
 |
|
|
 |
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 61
|
|
|
|
namitaj,
first of all, fields on screen map do not directly fill in the dfhcommarea field. there is a cobol statement called MOVE that you must code in your program to accomplish,,,
UNLESS you define your BMS map in the dfhcommarea, but then you better make sure there is plenty of DFHCOMMAREA storage defined or your program will abend.
Defining maps in dfhcommarea is not a suggested coding practice.
your second question can not be answered without additional information.
Have you tried reading the CICS Application programmers guide before posting these questions? |
|
| Back to top |
|
 |
Bill O'Boyle
Active User
Joined: 14 Jan 2008 Posts: 135 Location: Orlando, FL, USA
|
|
|
|
| elango wrote: |
hai
The maximum size of DFHCOMMAREA is 32K |
A slight correction. The maximum value in EIBCALEN (the length of the commarea) is 32763 as opposed to 32768 (32K).
Note that the largest value for EIBCALEN is 32K-1. This is due to the fact that EIBCALEN is a signed binary-halfword and 32768 (X'8000') thru 65535 (X'FFFF') would render EIBCALEN as a negative value.
If EIBCALEN were (but it's not) an unsigned binary-halfword, then its maximum value would be 65535 (X'FFFF').
Regards,
Bill |
|
| Back to top |
|
 |
mymains Currently Banned New User
Joined: 24 Apr 2008 Posts: 7 Location: Banglore
|
|
|
|
Maximum size of Commarea is actually 64k accoding to ibm specifications but it is not possible to pass more than 24 k.
i think it can be corrected .......
 |
|
| Back to top |
|
 |
Splitted: Fri Apr 25, 2008 7:35 pm by William Thompson From Topic Purpose of using COMMAREA in CICS program (CICS) |
|
|