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: 1232
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: 1232
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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