Link to home
Start Free TrialLog in
Avatar of gmollineau
gmollineauFlag 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
ASKER CERTIFIED SOLUTION
Avatar of Barry Harper
Barry Harper
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.