I am in the need of creating a front end to the STRSQL command. If someone keys the STRSQL command from the command line I want it to call a CL that will perform a couple of things before the STRSQL command is actually run. What I'm doing now is I have created a library called PRXQSYS that is above QSYS in the system library list. I created a new STRSQL command (with no parameters) in that library that uses a CPP that I have created that will do the things I want and then run QSYS/STRSQL in the new CPP.
This works great EXCEPT if the user prompts the new PRXQSYS/STRSQL command (using F4) I need somehow to pass that along to the new CPP and use the question mark (?) in front of the QSYS/STRSQL command to allow the user to change the parameters.
Can I do this? Any other suggestions?
This works great EXCEPT if the user prompts the new PRXQSYS/STRSQL command (using F4) I need somehow to pass that along to the new CPP and use the question mark (?) in front of the QSYS/STRSQL command to allow the user to change the parameters.
Can I do this? Any other suggestions?
Comment