View previous topic :: View next topic
|
Author |
Message |
santosh100678
New User
Joined: 21 Sep 2009 Posts: 55 Location: Kolkatta
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
Back to top |
|
|
|