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

CICS - Issue with the Input map field.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Jul 05, 2011 7:33 pm
Reply with quote

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
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Jul 05, 2011 7:36 pm
Reply with quote

typo:

Quote:
If checking the length in TRACEMASTER


Please read as.
I am checking the length in TRACEMASTER.

Thnks
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Jul 05, 2011 7:39 pm
Reply with quote

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
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Jul 05, 2011 8:09 pm
Reply with quote

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
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Jul 06, 2011 2:36 am
Reply with quote

Try FSET while sending the map in the program...
let us know if it worked...
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Using API Gateway from CICS program CICS 0
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top