View previous topic :: View next topic |
Author |
Message |
Sqlcode Intermediate
Joined: 15 Dec 2006 Posts: 157 Topics: 38
|
Posted: Wed Jun 27, 2007 8:06 pm Post subject: Receive Protected field values |
|
|
Hi ..
I have a screen where i have field called state and employee id no.
If user enters state and emp-id then data for respective user is displayed and he can edit only certain fields on the screen. So i made those fields unprotected.
Now if user has changed 1 fields (To which he is allowed to edit) and presses Update I am loosing all other fields of the screen. when see the values I have values in only those fields which were unprotected. That means all the protected field values are gone.
Can anyone please answer this?
Please let me know if you need other information for this. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 27, 2007 11:56 pm Post subject: |
|
|
if they were protected, that means they were not changed. Which means you knew what the values were the last time you sent the map. you should have saved these values in your dfhcommarea. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
Mickeyd Beginner
Joined: 02 Jan 2003 Posts: 27 Topics: 0
|
Posted: Fri Jul 20, 2007 1:00 pm Post subject: |
|
|
Are you doing a send map with ERASE or DATAONLY.??? |
|
Back to top |
|
 |
Earl Beginner
Joined: 09 Jun 2007 Posts: 26 Topics: 1
|
Posted: Mon Jul 30, 2007 10:34 am Post subject: |
|
|
before you issue exec cics send map,
move attributes to your fields that contain fset (mdt)
X'C1' is unprot,norm,fset attribute (character A)
fset will cause the fields to be returned to your program , even when user does not
rekey. You will still need to check for field contents, just in case the user hits erase eof key.
MOVE 'A' TO MAP-FIELD-NAMEA |
|
Back to top |
|
 |
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Mon Jul 30, 2007 2:15 pm Post subject: |
|
|
Yea, MDT...FWIW, BMS working the way you want it has always (at least to me) been a bit of a "black art".....  |
|
Back to top |
|
 |
|
|