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

check the attribute whether a field has been modified


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

PostPosted: Thu Dec 22, 2005 12:27 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to check whether who renamed the ... JCL & VSAM 3
Search our Forums:

Back to Top