Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Recieve map with MDT on

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
siddheshlp

New User


Joined: 22 Jul 2009
Posts: 1
Location: Pune

PostPosted: Wed Aug 26, 2009 4:40 pm    Post subject: Recieve map with MDT on
Reply with quote

Hi,

I have a field on map whose MDT is on by map definition. Now I want to see if user has changed the field on screen. I know I can do that by comparing data in commarea and other methods. But due to some constraints I want to know if I can check if using attribute field of map?
As MDT is on for field, checking the length of field is ruled out.

Please help. Thanks in advance.

Sid
Back to top
View user's profile Send private message

Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Aug 28, 2009 7:17 am    Post subject:
Reply with quote

IF MDT (FSET) is set on by the map definition, then it will remain on, unless you specifically override it on you before you send map from
your program.

As a result , the only way to see if user has changed the field on the
screen, is to either set the MDT off before you send map and check
length value,
OR use
commarea to save data and then comparing upon input.
Back to top
View user's profile Send private message
santosh100678

New User


Joined: 21 Sep 2009
Posts: 55
Location: Kolkatta

PostPosted: Fri Sep 25, 2009 10:20 am    Post subject:
Reply with quote

you
CAN USE THE FIELD'S FLAG,....
IF IT'S X'80' MEANS THE FIELD IS CHANGED
IF VERL > 0 OR VERA = X'80'
MOVE VERI TO VER-TXT
MOVE LENGTH OF VER-TXT
TO VER-LEN
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Sep 26, 2009 2:43 am    Post subject:
Reply with quote

Using the fieldA' (attribute) suffix to check for X'80' won't work to determine if data has been entered.

=============================================

The variable with suffix 'L' is a binary half word field that contains the length of the data sent to program. Variable with suffix 'F' is a single char field that contains X'80', if the user made a change to the field, but no data was transmitted; otherwise it contains low values. 'F' indicates whether <ERASE EOF> Key is used
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to recieve week number from sysib... ravi1 PL/I & Assembler 1 Fri Mar 13, 2009 12:39 pm
No new posts how to recieve the outputs from spool... theslaveofgod CLIST & REXX 2 Sat Mar 11, 2006 3:20 pm
No new posts Difference between CICS RECIEVE &... sh_ak CICS 2 Wed Jul 13, 2005 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us