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

regarding MDT(modyfying data tag


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

PostPosted: Sun Jan 03, 2010 10:39 pm
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: 1353
Location: Israel

PostPosted: Sun Jan 03, 2010 10:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top