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 Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts OPC JCL Variable passion_sujesh IBM Tools 5 Fri Jul 01, 2016 4:21 am
No new posts JOINKEYs and Variable files migusd SYNCSORT 8 Fri Jun 17, 2016 3:16 am
No new posts File Manager with Variable Length File ahabib IBM Tools 10 Thu Mar 31, 2016 11:00 pm


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