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
 

 

Passing Data through CICS LINK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Passing Data through CICS LINK
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Aug 29, 2011 12:36 pm    Post subject: Reply to: Passing Data through CICS LINK
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    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Mon Aug 29, 2011 1:00 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Aug 29, 2011 1:44 pm    Post subject: Reply to: Passing Data through CICS LINK
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 2 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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