RATE THIS ANSWER
0
Click to Vote:
0
0
Last Answered:
Jun 20 2008 4:27 PM GMT
by WaltZ400
the normal way to do this would be to create your own version of the command and then place it higher in the library list than QSYS
it is not a good idea to change the QSYS version of a command as
1) this can cause other processes to fail and
2) it will be overwritten when you do an operating system upgrade
Take some time to study up on selective prompting of CL commands which has been in effect since System 38 days. Using keywords you can force prompting for only certain parameters on a command and even force a value and protect the parameter from being modified. For your example you would add an option to a menu to execute WRKSPLF ?*SELECT(*CURRENT). The ?* keyword says only this parameter is prompted, we force a value of *CURRENT and protect the parameter from being changed.