Problem solve Get help with specific problems with your technologies, process and projects.


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.


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.

This was last published in April 2004

Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.



  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...