Carl, I would also expected that in addition to cleaning up the data that you have taken steps to prevent garbage from getting into your files in the first place (you do use an input subroutine, right?). A simple test like:
IF RESPONSE NE OCONV(RESPONSE, "MCP") THEN ... can test for the presence of unprintable characters in your input string. Your subroutine should reprompt the user for data, since some "bad" keystrokes send legal characters along with the illegal. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/