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
 

 

check the attribute whether a field has been modified

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

New User


Joined: 11 Jun 2005
Posts: 24

PostPosted: Thu Dec 22, 2005 12:14 pm    Post subject: check the attribute whether a field has been modified
Reply with quote

Hi,

I have a screen prepopulated with some customer data(this data is editable).

Incase customer modifies the data, i need to insert a ow in my table
and if no data is modified , i need not do any pocessing.

Could anyone please help how do we check the attribute whether a field has been modified or not for the validation puposes.

Thanks
Back to top
View user's profile Send private message

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Thu Dec 22, 2005 12:27 pm    Post subject: flag
Reply with quote

Hi richie,
U can wait until user choose any update key ie., pf1 or any of the key u assigned to that particular record.... and compare the fields from the database with ur field if match then put true to flag else mark as flase.. hope got it..
Back to top
View user's profile Send private message
richie

New User


Joined: 11 Jun 2005
Posts: 24

PostPosted: Thu Dec 22, 2005 12:52 pm    Post subject: check the attribute whether a field has been modified
Reply with quote

Hi,

I wish to check the moify using attribute MDT.

Please tell me i we can do it and how to code fo this.

Thanks.
Back to top
View user's profile Send private message
Brian's_song

New User


Joined: 27 Dec 2005
Posts: 21

PostPosted: Tue Dec 27, 2005 1:55 pm    Post subject:
Reply with quote

Hi ,
If you codng in language Natural, then I think you can use the control-variable to meet the needs.

For example, in the map, set the variable #C-CUSTNAME as the #CUSTNAME 's control variable , then in the PGM, you can use the statement :
IF #C-CUSTNAME MODIFIED
...........
END-IF.


Hope It is helpful to you.
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts loading a Modified Mapset Susanta CICS 2 Tue Mar 14, 2017 5:43 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


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