If you use the edit code, the user could key in 010203 and get 01/02/03.
If you want distinct fields you need to code 3 seperate input fields.
You could do something like
MM / DD / YY
Remember you need the extra space to the attribute byte.
You are probably thinking of the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzakc/rzakcmstedtmsk.htm”>EDTMSK() field-level keyword</a>.
If you’ve used it before, you’ll pick up its nuances quickly. If not, you might plan some time for practice.
Note that it can work best when an EDTWRD() is also used rather than an EDTCDE(), though both are possible.