<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Defines for SQL Cross Compiler Builds in HPE NonStop Compute</title>
    <link>https://community.hpe.com/t5/hpe-nonstop-compute/defines-for-sql-cross-compiler-builds/m-p/7086997#M3448</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a C program that contains SQL which I'm trying to compile using the C89 compiler from the Cross compilers (L15.02) .&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;-Wdef_obey&lt;/STRONG&gt; command line parameter I'm specifiying a text file that contains defines to our SQL tables.&lt;/P&gt;&lt;P&gt;E.g.&amp;nbsp;ADD DEFINE =OBJECT_TABLE, CLASS MAP, FILE $DEV.RFDA048.OBJECTQ&lt;/P&gt;&lt;P&gt;However when compiling it complains with the following message:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;***&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ERROR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;from&amp;nbsp;SQL&amp;nbsp;[-&lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt;]:&amp;nbsp;There&amp;nbsp;is&amp;nbsp;no&amp;nbsp;DEFINE&amp;nbsp;for&amp;nbsp;=OBJECT_TABLE.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;0.090&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INVOKE&amp;nbsp;=OBJECT_TABLE&amp;nbsp;AS&amp;nbsp;&amp;nbsp;h_object_table_def&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I change the name of the text file in the &lt;STRONG&gt;def_obey&lt;/STRONG&gt; 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.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The -Wsqlhost and -Wsqluser parameters are setup correctly so access shouldn't be an issue as far as I know.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas as to what I might be missing or doing wrong?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 05 May 2020 12:40:12 GMT</pubDate>
    <dc:creator>Scott991</dc:creator>
    <dc:date>2020-05-05T12:40:12Z</dc:date>
    <item>
      <title>Defines for SQL Cross Compiler Builds</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/defines-for-sql-cross-compiler-builds/m-p/7086997#M3448</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a C program that contains SQL which I'm trying to compile using the C89 compiler from the Cross compilers (L15.02) .&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;-Wdef_obey&lt;/STRONG&gt; command line parameter I'm specifiying a text file that contains defines to our SQL tables.&lt;/P&gt;&lt;P&gt;E.g.&amp;nbsp;ADD DEFINE =OBJECT_TABLE, CLASS MAP, FILE $DEV.RFDA048.OBJECTQ&lt;/P&gt;&lt;P&gt;However when compiling it complains with the following message:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;***&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ERROR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;from&amp;nbsp;SQL&amp;nbsp;[-&lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt;]:&amp;nbsp;There&amp;nbsp;is&amp;nbsp;no&amp;nbsp;DEFINE&amp;nbsp;for&amp;nbsp;=OBJECT_TABLE.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;0.090&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;INVOKE&amp;nbsp;=OBJECT_TABLE&amp;nbsp;AS&amp;nbsp;&amp;nbsp;h_object_table_def&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If I change the name of the text file in the &lt;STRONG&gt;def_obey&lt;/STRONG&gt; 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.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The -Wsqlhost and -Wsqluser parameters are setup correctly so access shouldn't be an issue as far as I know.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas as to what I might be missing or doing wrong?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 May 2020 12:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/defines-for-sql-cross-compiler-builds/m-p/7086997#M3448</guid>
      <dc:creator>Scott991</dc:creator>
      <dc:date>2020-05-05T12:40:12Z</dc:date>
    </item>
  </channel>
</rss>

