I am trying to figure out how to create a CL program to call a program each morning on our AS/400. I couldn't find the appropriate forum on the web. The program requires the user to enter the date and one other parameter and then press <Enter> twice. Does anyone know how to send the keystrokes to the program? From reading the IBM manuals I couldn't find an example that seemed to do what I need. The best that I could tell is to use the SNDF command but I don't quite understand how to pass the appropriate information along. Thanks for any help you can provide.