Is there some trick that would allow using an edit mask on a true date field? I need to display a date in *USA format and allow the user to edit the date. If I convert the date to a numeric field, I can use the EDTWRD and EDTMSK keywords to accomplish what I want. If I display the date specifying "DATFMT(*USA)", it looks perfect, but the slashes are not masked. Trying to use either EDTWRD or EDTMSK on a date field yields an error. With numerous date fields in this maintenance program, it would be convenient to avoid converting each one to a numeric filed for I/O and then having to convert the input back to a true date field for the file update.
Software/Hardware used: AS/400 model 525, OS/400 V6R1