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
 
How to update multiple pages in CICS

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

New User


Joined: 13 Jun 2009
Posts: 11
Location: chennai

PostPosted: Fri Nov 02, 2012 5:14 am    Post subject: How to update multiple pages in CICS
Reply with quote

Hi

I am displaying some records(assume 30 records) in a screen using queue logic. Only one flag byte field("Y" or "N") is editable in each row. I need to update when ever he the flag is modified .Also i need to update the database only @ last page. How to identify the whether the flag (row is ) is changed or not. If changed whether i need to rewrite the modified data into the queue .Please help .Thanks
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: Fri Nov 02, 2012 6:53 am    Post subject:
Reply with quote

Hello,

What does "displaying some records in a screen using queue logic" mean to you?

You mention both "update the database" and "rewrite modified data into the queue".

What is the "last page"?

To determine if a value on the screen has changed, you can check the Modified Data Tag (MDT).
Back to top
View user's profile Send private message
baratchandar

New User


Joined: 13 Jun 2009
Posts: 11
Location: chennai

PostPosted: Fri Nov 02, 2012 7:10 am    Post subject: Reply to: How to update multiple pages in CICS
Reply with quote

Thanks For ur reply.Based on search criteria the data will be displayed in screen. Need to update the database only @ last page.(end of record).

Please send me Pseudo code logic



My logic

1)Select rows from Database and write into the queue
2)Display the records
3)At the end of records(last page) need to update modified records

May i know how to set the MDT tag..Please send me the syntax.

Thanks
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: Fri Nov 02, 2012 7:36 am    Post subject:
Reply with quote

Hello,

My bad - the MDY should have been MDT (like the words used to make up the short form). I've corrected my original post and your reply.

Quote:
Please send me Pseudo code logic
We will help, but will not do the work for you.

Why is there a "queue" even involved? The applications i've worked with that do something like this read the database, puts the data on the screen, and when the user responds, the database is updated or not depending on what was entered.

Also, this forum is intended for rather experienced people. Suggest you sign up on our Students and Beginners forum:
ibmmainframeforum.com
Back to top
View user's profile Send private message
baratchandar

New User


Joined: 13 Jun 2009
Posts: 11
Location: chennai

PostPosted: Fri Nov 02, 2012 8:00 am    Post subject: Reply to: How to update multiple pages in CICS
Reply with quote

thanks Again.The screen is triggered from different screen.Data is flowing from other screen to here.it's existing logic.

I requested for MDT syntax. Like to how to set MDT on.
Sorry for confusion.



Thanks
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: Fri Nov 02, 2012 8:23 am    Post subject:
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals". Read about how a screen and the MDT interact in the Application Programming Reference for your operating environment.

There are also several topics in this CICS part of the forum that talk about the MDT (use the SEARCH feature above in the blue line).

I believe you are in considerably deeper than your experience.
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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