Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How to include a particular field val... sakrat DFSORT/ICETOOL 8 Fri Apr 06, 2018 8:27 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us