Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Changed DFHCOMMAREA in Linkage Section does not reflect?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Changed DFHCOMMAREA in Linkage Section does not reflect?
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: 3158
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:11 pm    Post subject: Re: Changed DFHCOMMAREA in Linkage Section does not reflect?
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    Post subject: Re: Changed DFHCOMMAREA in Linkage Section does not reflect?
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: 3158
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:19 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help in Finding who changed the ... steve-myers JCL & VSAM 6 Wed Jan 27, 2016 9:01 pm
No new posts Number of parameters in Linkage kregen COBOL Programming 4 Wed Jan 27, 2016 5:13 pm
No new posts fileaid CHANGED parameter boyti ko Compuware & Other Tools 3 Fri Dec 19, 2014 1:46 pm
No new posts find changed records useit DFSORT/ICETOOL 6 Mon Sep 01, 2014 2:47 pm
No new posts DFHCOMMAREA addressing akodakka CICS 4 Fri May 30, 2014 5:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us