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

Non Editable Field in CICS Map


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

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Wed Feb 11, 2009 10:43 am
Reply with quote

how to protect a field from being edited in a CICS screen using BMS macro and using it only for display purpose.
For example in the screen when i type the Employee ID ,Employee Name should be displayed and initially also Employee Name Should be a non-editable(display only ) field?
I gave the below mentioned macro code but it is not working.It allows employee name to be edited.

Code:
        DFHMDF POS=(05,02),               
               LENGTH=16,                 
               ATTRB=(ASKIP,PROT),       
               INITIAL='EMPLOYE NAME   :'
EMPNM DFHMDF POS=(05,19),               
               LENGTH=12,                 
               ATTRB=(ASKIP,PROT)

Please advise.
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 Feb 11, 2009 7:14 pm
Reply with quote

Change (ASKIP.PROT) to (ASKIP,NORM) or (ASKIP,BRT) and all will be forgiven.

Note that (ASKIP.PROT) is a contradiction of terms.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Feb 11, 2009 9:05 pm
Reply with quote

don't forget to perform CEMT newcopy on the map after you
reassemble
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 Using API Gateway from CICS program CICS 0
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top