Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us