How can I stop RUNSQLSTM from printing the SQL run summary report -- even when the setting of Listing output (OUTPUT) is set to *NONE?
The RUNSQLSTM process is designed to put the returned information into a spooled file to allow verification of execution of the SQL statements in the statement that is being executed. There isn't a way that I know of within the command to prevent it from happening. The OUTPUT(*NONE) is a parameter for the source of the compile when the CLI processor is called passing the source you are attempting to execute and has nothing to do with the output spooled file. If you are sure the execution will occur correctly, you can imbed it in a CL program and delete the spooled file after the RUNSQLSTM has completed.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Dig Deeper on RPG iSeries programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.