Don't waste time building CL programs when a simple CL command will do! Our users are "menu mandatory" (no access to command line) so when they need to run a CL command that has required parameters we simply place a question mark in front of the command on their menu. Without the question mark, they get error messages (eg. CPYSPLF command errors "Parameter FILE required." + "Parameter TOFILE required.") with no options.
Behind the menu option, enter:
User will see the Copy Spooled File (CPYSPLF)command prompt screen when they select the menu option.