Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USING THE PROTECT DISPLAY ATTRIBUTE

Status
Not open for further replies.

rstitzel

MIS
Apr 24, 2002
286
US
I have a screen that I allow the user to input data. Once I've done all my error checking I want to redisplay the screen but PROTECT fields so the user can no longer enter data in my input fields.

On the input fields I want to PROTECT I've given them a DSPATR(PR)attribute and conditioned it with indicator 37.

In my program I turnon indicator 37 and redisplay the screen using EXFMT. But I can still key data into those PROTECTED fields.

Does anyone know what I'm may be doing wrong?

Thank you.
 
Make sure you don't have the SETOF(37) DDS statement in your display file.


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top