MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Receive Protected field values

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Sqlcode
Intermediate


Joined: 15 Dec 2006
Posts: 157
Topics: 38

PostPosted: Wed Jun 27, 2007 8:06 pm    Post subject: Receive Protected field values Reply with quote

Hi ..
I have a screen where i have field called state and employee id no.
If user enters state and emp-id then data for respective user is displayed and he can edit only certain fields on the screen. So i made those fields unprotected.

Now if user has changed 1 fields (To which he is allowed to edit) and presses Update I am loosing all other fields of the screen. when see the values I have values in only those fields which were unprotected. That means all the protected field values are gone.

Can anyone please answer this?

Please let me know if you need other information for this.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 27, 2007 11:56 pm    Post subject: Reply with quote

if they were protected, that means they were not changed. Which means you knew what the values were the last time you sent the map. you should have saved these values in your dfhcommarea.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Mickeyd
Beginner


Joined: 02 Jan 2003
Posts: 27
Topics: 0

PostPosted: Fri Jul 20, 2007 1:00 pm    Post subject: Reply with quote

Are you doing a send map with ERASE or DATAONLY.???
Back to top
View user's profile Send private message
Earl
Beginner


Joined: 09 Jun 2007
Posts: 26
Topics: 1

PostPosted: Mon Jul 30, 2007 10:34 am    Post subject: Reply with quote

before you issue exec cics send map,

move attributes to your fields that contain fset (mdt)

X'C1' is unprot,norm,fset attribute (character A)

fset will cause the fields to be returned to your program , even when user does not
rekey. You will still need to check for field contents, just in case the user hits erase eof key.

MOVE 'A' TO MAP-FIELD-NAMEA
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Mon Jul 30, 2007 2:15 pm    Post subject: Reply with quote

Yea, MDT...FWIW, BMS working the way you want it has always (at least to me) been a bit of a "black art"..... Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group