View previous topic :: View next topic
|
Author |
Message |
rupinder
New User
Joined: 04 Oct 2005 Posts: 8 Location: pune
|
|
|
|
Display 'Length of Dfhcommarea' Length of Dfhcommarea
I think this should display the length of dfhcommarea that it has received from some calling pgm. But when I try to display it it comes to be zero.
I even tried moving it to working storage variable and then display, but still length comes to be zero.
Is there any way to know the length of dfhcommarea and display it.
Please suggest |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
EIBCALEN will contain the commarea length passed to the program. This length can be zero, depending on circumstances. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Rupinder,
If your req is to check whether the length of the data passed is equal to the length of the DFHCOMMAREA declared in the linkage section then code as follows
Code: |
IF EIBCALEN NOT = LENGTH OF DFHCOMMAREA |
|
|
Back to top |
|
|
rupinder
New User
Joined: 04 Oct 2005 Posts: 8 Location: pune
|
|
|
|
Can I display EIBCALEN |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
rupinder,
Quote: |
Can I display EIBCALEN |
Code, Check and let us know. |
|
Back to top |
|
|
rupinder
New User
Joined: 04 Oct 2005 Posts: 8 Location: pune
|
|
|
|
thats nice; :-)
I have tried but gettin only 0000 as display,
I need to know the value of EIBCALEN. and want to display but how , don't know |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Suggestion: start CEDF before your transaction. Then you can step through the CICS statements until your program gets started. At that point, EIBCALEN is displayed on the screen. If there's a lot of CICS statements before your program, use PF9 to set a stop condition on the LINK or XCTL to your program and suppress the displays. |
|
Back to top |
|
|
|