The RUNSQLSTM produces a print file output.
Look at the bottom of the report to get the reason for the failure.
You have not given us enough information.
If you still hav a problem, Post the source for the RUNSQLSTM and then we can maybe help you
REGISTER or login: