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

SIGNED VARIABLE IS NOT PASSED IN DFHCOMMAREA


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts DB2 Event passed to the Application P... DB2 1
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
Search our Forums:

Back to Top