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
 

 

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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm


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