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
 
CICS Commarea Copybook

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

New User


Joined: 20 Jul 2007
Posts: 27
Location: bangalore

PostPosted: Mon Aug 24, 2009 10:32 pm    Post subject: CICS Commarea Copybook
Reply with quote

in screen-1 i have 3 rows, in these rows i have a column which has %
if the user is satisfied with this 3 rows it is fine
else
he goes to screen-2 add additional rows.


Once he is done

before we insert into the table the sum of the column having % from both the screens should not be > 100

Could any one suggest right solution

My solutions is

i have a copybook xxxx in which i use occurs 3 times

to pass the data entered in screen 1 for 3 rows.

Could any one suggest right solution

Thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8339
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 24, 2009 10:37 pm    Post subject:
Reply with quote

Quote:
Could any one suggest right solution
Probably not, since there is no one way to do this. You could pass the three values in DFHCOMMAREA, add the three values and pass the total in DFHCOMMAREA, write a TSQ record with the values (or just their total), just for starters. All of them are equally "right" in that, provided your code is correct, will produce the same results.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 24, 2009 11:33 pm    Post subject:
Reply with quote

Hello,

Has a single scrolling screen been considered? The code for an add (or an update) would require editing, but could be done form the same screen.

The values could be viewed, updated, and new entries added if the screen was designed 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 CICS startup problem John Poulakos CICS 3 Tue Jun 12, 2018 9:08 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm

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