IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to update multiple pages in CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Nov 02, 2012 6:53 am
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
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

Moderator Emeritus


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

PostPosted: Fri Nov 02, 2012 7:36 am
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
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

Moderator Emeritus


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

PostPosted: Fri Nov 02, 2012 8:23 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Calling an Open C library function in... CICS 1
Search our Forums:

Back to Top