View previous topic :: View next topic
|
Author |
Message |
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
don't forget to perform CEMT newcopy on the map after you
reassemble |
|
Back to top |
|
|
|