IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Changed DFHCOMMAREA in Linkage Section does not reflect?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saqman

New User


Joined: 02 Jan 2007
Posts: 2
Location: Sweden

PostPosted: Tue Jan 02, 2007 10:05 pm
Reply with quote

Hi all,

In the Linkage Section, we had defined DFHCOMMAREA as 8500.
LINKAGE SECTION.
01 DFHCOMMAREA.
05 FILLER PIC X(8500).

But now we need to pass more data between programs, and so we have increased it to 10500. But when we display the EIBCALEN variable, which stores the length of the DFHCOMMAREA, it still shows 8500!!

Please can someone advice how this changed value be reflected in the size of DFHCOMMAREA?

Thanks in advance for your inputs.
Regards,
SaqMan.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:11 pm
Reply with quote

saqman wrote:
But now we need to pass more data between programs, and so we have increased it to 10500. But when we display the EIBCALEN variable, which stores the length of the DFHCOMMAREA, it still shows 8500!!
Displayed in the program that was passed the data (the recieving program)? If true, it is the program that is passing the data that needs to set the EIBCALEN.
Back to top
View user's profile Send private message
saqman

New User


Joined: 02 Jan 2007
Posts: 2
Location: Sweden

PostPosted: Tue Jan 02, 2007 10:15 pm
Reply with quote

Displayed in the Calling Program.
But is it not that EIBCALEN cannot be SET, it is the length of the DFHCOMMAREA?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:19 pm
Reply with quote

Quote:
LINK
Link to another program expecting return.
LENGTH(data-value) specifies a halfword binary value that is the length in bytes of the COMMAREA (communication area). This value may not exceed 32 500 bytes if the COMMAREA is to be passed between any two CICS servers (for any combination of product/version/release).

It is up to the calling program to set that value.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jan 03, 2007 5:21 am
Reply with quote

Saqman said:
Quote:
But is it not that EIBCALEN cannot be SET, it is the length of the DFHCOMMAREA?


I think the term "SET" was confusing. The preferred term is "DEFINED".
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts OPTLINK linkage convention PL/I & Assembler 3
No new posts Sections: need one appearance of cer... DFSORT/ICETOOL 4
Search our Forums:

Back to Top