Avatar of gmollineau
gmollineau
Flag for Trinidad and Tobago asked on

Suppress print to spool file when using RUNSQLSTM in CL Program

Good Day

I have an iSeries CL program in which I use the RUNSQLSTM command.

I have used *NONE for the Output parameter but every time the CL Program runs the RUNSQLSTM is outputting an entry in the Spool file (see attached).

Can someone advise how do I suppress this output to spool file.

Regards

Gerald
 RUNSQLSTM_Spool_Output.pdf
* iSeriesSQLIBM System i

Avatar of undefined
Last Comment
Gary Patterson, CISSP

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Barry Harper

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Gary Patterson, CISSP

I usually prefer to use OPTION(*ERRLIST) to get a listing only when an error occurs.  OPTION(*NOLIST) completely turns off listings, which can make troubleshooting difficult if something goes wrong.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy