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
 

 

How to send only unprotected fields

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to send only unprotected fields
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 05, 2011 12:35 am    Post subject: Reply to: How to send only unprotected fields
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    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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Sum Fields ballaswaroop DFSORT/ICETOOL 4 Tue May 02, 2017 11:07 am
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm


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