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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am


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