Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile SQL 2

Status
Not open for further replies.

rstitzel

MIS
Apr 24, 2002
286
US
I have an SQLRPGILE program. In the program I have several SQL statements AND I call a service program that's in a binding directory named BINDPGM.

When I go to compile the program there's no option to enter the binding directory BINDIR so I'm getting compile errors stating that there are operands that are not defined. That's because they're in the service program.

So how to I get this program compiled???

Thanks in advance for any and all help.
 
Hi rstitzel,
Just add BNDDIR('BINDPGM') on the H spec in your SQLRPGLE program and compile.
hth -- Philippe
 
I learn something new all the time thanks to this site and the helpful people on here.

Thanks to both TallTurkey & ISeriesCodePoet!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top