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

Passing Data through CICS LINK


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Khushboo.goel

New User


Joined: 22 Feb 2011
Posts: 19
Location: india

PostPosted: Mon Aug 29, 2011 12:33 pm
Reply with quote

Hi,

I am passing data through dfhcommarea and i m using CICS LINK.

Athough When I xpedit the called program the DFHCOMAREA contents are shown as LINKAGE SECTION 01 PTR=0

My calling pgm has DFHCOMMAREA As :
EXEC CICS LINK
PROGRAM (W-FUNCTION)
COMMAREA (L-PS-IMAGE-LINKAGE)
RESP (WS-CICS-RESP)
END-EXEC.

and called program has linkage section as :
01 DFHCOMMAREA.
COPY CAZERR.
COPY CAZOPS08.

I want to edit the fields in CAZOPS08 copybook through xpeditor.

Please let me know if you need any more information.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 29, 2011 12:36 pm
Reply with quote

Need to see the PROCEDURE DIVISION USING of the called program.

Is this a new module?

Can you see that the commarea is correct in the linkage section of the calling program?
Back to top
View user's profile Send private message
Khushboo.goel

New User


Joined: 22 Feb 2011
Posts: 19
Location: india

PostPosted: Mon Aug 29, 2011 12:55 pm
Reply with quote

PROCEDURE DIVISION USING DFHCOMMAREA.


Called pgm is a new module. but the calling program is an existing one.

The commarea is also correct in the calling pgm.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 29, 2011 1:00 pm
Reply with quote

at what point in the execution of commands in the LINKed-to module
are you attempting to 'edit' the dfhcommarea?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 29, 2011 1:44 pm
Reply with quote

On the compiled listing for your called program, what does the Producedure Division Using look like? After it has been through the pre-processing? What does your entire Linkage Section look like? Can you show the start of each copybook?
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Using API Gateway from CICS program CICS 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top