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
 

 

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: 7988
Location: Bellevue, IA

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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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