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

How to send only unprotected fields


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

New User


Joined: 07 Sep 2010
Posts: 22
Location: hyderabad

PostPosted: Tue Oct 04, 2011 5:19 pm
Reply with quote

I have a situation like, i have a map with 4 unprotected fields,user entered the data in only 2 unprotected fields(i handled the MDT) and i receive the map into the program.Now my question is to send the SAME MAP with displaying the unprotected fields entered by the user.Iam not suppose to display the remaining two unprotected fields.
Example, i have A,B,C and D fields. i received only A,B value.user not entered C,D value.I want to send the SAME MAP with unprotected fields what ever user entered.
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: Wed Oct 05, 2011 12:35 am
Reply with quote

If you've validated map fields and stored them in the commarea and you've frozen any more user-input, then set the attribute-byte to DFHBMASK (ASKIP,NORM).

However, if you've chosen to retain the map-fields in the map itself, then set the attribute to DFHBMASF (ASKIP,NORM,FSET).

If you need to darken and retain them in the map, then set the attribute-byte to ASKIP,DRK,FSET.

But, you might get the users upset when you freeze the validated map-fields and they need to change their mind for whatever reason.

Look at copybook DFHBMSCA for these and other attribute settings, lengths, etc.

Mr. Bill
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 REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts help send file AFT CONTROLM EM IBM Tools 0
No new posts how to send 10 rows at a time to output CICS 2
No new posts interactive cics program using CICS s... CICS 5
Search our Forums:

Back to Top