View previous topic :: View next topic
|
Author |
Message |
Amsar
New User
Joined: 26 Sep 2008 Posts: 84 Location: Chennai
|
|
|
|
Hi All,
I have a field in the map (E.G: acct-code:__) 2 byte input field.
I coded the logic such a way that, If user has modified this field (acct-codeL >0) perform Para-A else Para-B.
but even if i do not modified this field i am getting acct-codeL =2.
And hence logic is not working.
Please suggest how am i getting acct-codeL =2 as i have not modified this field (i.e . MDT is OFF)
If checking the length in TRACEMASTER
Thanks in Advance!!! |
|
Back to top |
|
|
Amsar
New User
Joined: 26 Sep 2008 Posts: 84 Location: Chennai
|
|
|
|
typo:
Quote: |
If checking the length in TRACEMASTER |
Please read as.
I am checking the length in TRACEMASTER.
Thnks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Is the map-field attribute-byte always set to FSET?
All previously validated map-fields should be stored in the commarea and the attribute-byte not set to FSET.
If the user enters data, then the map-field length will be non-zero and you would then validate and/or compare this data to the commarea-data (if previously stored).
Bill |
|
Back to top |
|
|
Amsar
New User
Joined: 26 Sep 2008 Posts: 84 Location: Chennai
|
|
|
|
Bill, Thanks for your input
Currently the map field is defined as
Code: |
ATTRB=(UNPROT,NORM,FSET) |
Shall it be
Code: |
ATTRB=(UNPROT,NORM) |
?
Note: i am not useing FRSET while sending the Map
Thanks... |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
Try FSET while sending the map in the program...
let us know if it worked... |
|
Back to top |
|
|
|