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
 

 

Problem due to MDT - help me

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

New User


Joined: 28 Oct 2006
Posts: 6

PostPosted: Wed Mar 28, 2007 7:45 pm    Post subject: Problem due to MDT - help me
Reply with quote

It is bit long but please have a look....
I have a map with set od UNPROT fields. i am validation the user input to update the CWA variables. To do that, i have set all attributes of the map input variables to FSET so that the value retuned will be exactly the same as in the map variable. But after that i came to know that since FSET is used, it taking input from all the screen varibles regardless of the user input. At one point (for some display purpose), i need to check the udpated screen varibles alone. I have checked using Input > spaces and length = low-values and spaces. None is working out. Since FSET is used, the length is always = 0 for all the variables. Plz help me out :roll:
Back to top
View user's profile Send private message

dineshness

New User


Joined: 25 Dec 2006
Posts: 63
Location: Perambalur

PostPosted: Wed Mar 28, 2007 11:39 pm    Post subject:
Reply with quote

In that case, may be no field has been changed by the user.... icon_smile.gif

Quote:
But after that i came to know that since FSET is used, it taking input from all the screen varibles regardless of the user input.


It should not be, as according to the manual...
Setting the FSET for a field would result in the value of the field to be transmitted only when it is changed.

Dinesh.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Mar 30, 2007 8:14 pm    Post subject: Re: Problem due to MDT - help me
Reply with quote

I will disagree with that. If I FSET a field it is always returned on the
receive map even if the user has not changed the field. That is why
I have EDIT Routines in my programs to check the fields to see if
they have been changed from the original data displayed. If you do
not FSET the fields then you need to CHECK the MAP FIELD Length
MAPFIELD1L for a X'80', which will tell you that the field has been
modified.
Back to top
View user's profile Send private message
dineshness

New User


Joined: 25 Dec 2006
Posts: 63
Location: Perambalur

PostPosted: Fri Mar 30, 2007 11:27 pm    Post subject:
Reply with quote

Huh...Thats right Mickey.
I wrote the reply with an offhandedly blocked mind between FSET and FRSET.... icon_confused.gif
It should be FRSET.

If you use FRSET, then you dont have to check for the changed fields.
But the problem is if no field is changed by the user, then recieving the map will result in MAP FAIL condition.

May be trying to define the map with FRSET and atleast one of the input fields with FSET could solve the problem. But you need to check for that FSET field value always in the program to find out whether it is modified or not.

Atleast this reduces the no.of fields to be checked.. icon_wink.gif

Dinesh.
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm


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