


Review the DSPATR (Display Attribute) keyword for display files topic in the Information Center. Pay particular attention to the variation that uses program-to-system fields and Example 3 at the end of the topic. When you've finished the review, either code a test and try it, or come back here with questions. -- Tom
Thank you for visiting ITKE.
We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.


They are not mandatory by the system, they are fields that I created on the DDS, and with a cobol program I evaluate if they are filled, if they are empty I give a warning message to the user. I would like to add the same thing that AS400 does when we leave some empty parameter (he highlights in green the all field area).Thanks.
That would be DSPATR(RI)
But it sounds like you want to control it with an indicator..setting it to use the attribute when you first display the screen.
Phil
Do you want them filled? Or do you simply want something other than a blank field? Are the fields always blank when you display them? — Tom
Yes I want them filled by the user when he press the return key. When I display them for the first time they are blank.
I’ll give yo a hint on a possible fix try looking into the CHECK( ) options available in DDS. Or try the VALUES( ). The DDS manuals are always a big help.http://publib.boulder.ibm.com/iseries/v5r1/ic2924/info/rzakc/rzakcmst.pdf