185 pts.
 SQL Precompiled Failed
In SQLRPG program, when a compile a program it is showing the error SQL Precompiled Failed. I have given the sql syntax correctly. but I cant able to find the error. What may be reason for it?

Please clarify.

 

Jayashree V.



Software/Hardware used:
as/400
ASKED: Jan 23, 2012  1:18 PM GMT
UPDATED: March 19, 2012  1:48:47 PM GMT
36,420 pts.
  Help
 Approved Answer - Chosen by VJayashree (Question Asker)

You should be getting a spool file from the compile .. at the end are the errors including record numbers and descriptions. The record numbers can be found in that listing. Both the errors and the statements in error will lead you/us to a solution.
Phil
ANSWERED:  Jan 23, 2012  3:02 PM (GMT)  by Philpl1jb   36,420 pts.

 
Answer Wiki:
Last Wiki Answer Submitted:  Mar 19, 2012  1:48 PM (GMT)  by  MTidmarsh   150 pts.
Latest Answer Wiki Contributors:  Rebek4love   3,500 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

you’ll have to show us the error messages, and the sql syntax (at the minimum) for us to be able to help you

 5,555 pts.

You should be getting a spool file from the compile .. at the end are the errors including record numbers and descriptions. The record numbers can be found in that listing. Both the errors and the statements in error will lead you/us to a solution.
Phil

 36,420 pts.

 

Hi Phil,

I saw the errors in spool file and cleared. Thanks.

Jayashree V.

 185 pts.