somapradeep1
New User
Joined: 07 Sep 2010 Posts: 22 Location: hyderabad
|
|
|
|
I have a situation like, i have a map with 4 unprotected fields,user entered the data in only 2 unprotected fields(i handled the MDT) and i receive the map into the program.Now my question is to send the SAME MAP with displaying the unprotected fields entered by the user.Iam not suppose to display the remaining two unprotected fields.
Example, i have A,B,C and D fields. i received only A,B value.user not entered C,D value.I want to send the SAME MAP with unprotected fields what ever user entered. |
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If you've validated map fields and stored them in the commarea and you've frozen any more user-input, then set the attribute-byte to DFHBMASK (ASKIP,NORM).
However, if you've chosen to retain the map-fields in the map itself, then set the attribute to DFHBMASF (ASKIP,NORM,FSET).
If you need to darken and retain them in the map, then set the attribute-byte to ASKIP,DRK,FSET.
But, you might get the users upset when you freeze the validated map-fields and they need to change their mind for whatever reason.
Look at copybook DFHBMSCA for these and other attribute settings, lengths, etc.
Mr. Bill |
|