- Community Home
- >
- Servers and Operating Systems
- >
- NonStop Servers
- >
- Defines for SQL Cross Compiler Builds
NonStop Servers
1823114
Members
3263
Online
109646
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 05:40 AM
05-05-2020 05:40 AM
Defines for SQL Cross Compiler Builds
Hi.
I have a C program that contains SQL which I'm trying to compile using the C89 compiler from the Cross compilers (L15.02) .
For the -Wdef_obey command line parameter I'm specifiying a text file that contains defines to our SQL tables.
E.g. ADD DEFINE =OBJECT_TABLE, CLASS MAP, FILE $DEV.RFDA048.OBJECTQ
However when compiling it complains with the following message:
*** ERROR from SQL [-200]: There is no DEFINE for =OBJECT_TABLE.
0.090 INVOKE =OBJECT_TABLE AS h_object_table_def
If I change the name of the text file in the def_obey parameter to one that doesn't exist then it acknowledges that the file doesn't exist so I'm happy that it's finding the original file that I speciified but for some reason it's not setting up the defines when performing the compile.
The -Wsqlhost and -Wsqluser parameters are setup correctly so access shouldn't be an issue as far as I know.
Any ideas as to what I might be missing or doing wrong?
Cheers
Scott
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP