If you use the precompiler -G flag to generate stored procedures, use an isql statement to load the stored procedures into Adaptive Server before you execute the program. The format of the isql statement to execute a generated script is:
isql -Uuserid -Ppassword < program.sql
where the -U and -P flags specify the user ID and password to log in to Adaptive Server.
See Appendix A, “Commands and Utilities” for a description of isql.