View previous topic :: View next topic
|
Author |
Message |
baratchandar
New User
Joined: 13 Jun 2009 Posts: 11 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
baratchandar
New User
Joined: 13 Jun 2009 Posts: 11 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
baratchandar
New User
Joined: 13 Jun 2009 Posts: 11 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|