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
 

 

regarding MDT(modyfying data tag

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

New User


Joined: 21 Sep 2009
Posts: 55
Location: Kolkatta

PostPosted: Sun Jan 03, 2010 3:55 pm    Post subject: regarding MDT(modyfying data tag
Reply with quote

Hi,

Customer requirement in CICS Program that their are 3 keys value in db2 table my structure in db2 table are country
1. country X(2) 2. cutsmer number X(4) 3.seq number X(2)
these are primary key of my table
other column in table are 4. ID X(4) 5. flag X(1) and 5 UPID 6 UPTimestamp

throu screen i vaildate the value and store in database


Country Map1

Cutomer number cutomer name

seq number iD

Seq number ID

Seq number id


UPID UPTS

Cutomer code =>
action 1. return 2. ADD 3. Update

now i validate the filled but y requirement is enter cutomer number serch in press enter serch in file if present then it will diplay then i press f2 then i add but when i press enter is present but when i press f2 then data ;lost so i on the mdt and insert the data but when data is not vaklidate then screen thows older value ,please help.
Back to top
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Sun Jan 03, 2010 10:39 pm    Post subject: Reply to: regarding MDT(modyfying data tag
Reply with quote

The question is not very clear, however I guess it has to do with the FRSET and FSET parameters in the map definition.

Basically, if you do not use FSET for your input fields, then the MDT flag is set on only when something is entered in the field. This flag stays on until you reset it, unless you use FRSET. In that case, all the flags are reset and you will not receive again the value(s) entered.

Try removing the FRSET and tell us if your condition is better.

FSET: in the ATTRB parameter in the DFHMDF macro.
FRSET: in the CTRL parameter in the DFHMSD/DFHMDI macros.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Sun Jan 03, 2010 10:44 pm    Post subject:
Reply with quote

You can get more information here: BMS: design for performance
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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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