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
 

 

SIGNED VARIABLE IS NOT PASSED IN DFHCOMMAREA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Arun bv

New User


Joined: 29 Dec 2010
Posts: 41
Location: Mumbai

PostPosted: Tue May 17, 2011 11:48 am    Post subject: SIGNED VARIABLE IS NOT PASSED IN DFHCOMMAREA
Reply with quote

I HAVE SIGNED VARIABLE OF NAME SW-ID PIC S9(9) USAGE COMP ,

PGM A POPULATES THE COPYBK WHICH HAS THAT ABOVE VARIABLE(SUPPOSE IM POPULATING +123456789 IN PGMA) AND LINKS THAT CPYBK TO PGM B,

IN PGMB, THE SW-ID(VALUE POPULATED WAS -256897445) IS NOT GETTING THE VALUE PASSED IN PGMA,


HOW TO RESOLVE THIS?
Back to top
View user's profile Send private message

Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Tue May 17, 2011 1:07 pm    Post subject: Re: SIGNED VARIABLE IS NOT PASSED IN DFHCOMMAREA
Reply with quote

You should show the relevant code sections of both programs to give us a chance to help.

I would EXEC CICS LINK to the second program and pass a common area containing your copybook. All fields have to be filled properly before. When CICS invokes your second program, this module has to have a linkage section with a common area defined analogically. In addition the second program must use the USING clause on the PROCEDURE DIVISION declaring the copybook you have defined within your linkage section. A good practice is to check first the length of the common area before you process the data.

If you have done all this, I can't see any reason why it should not work properly.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm


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