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: 6967
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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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