<?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 Re: Pascal copiler generated %init function in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012719#M37850</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it might help us if you could specify the version of your pascal compiler, and whether it has changed recently?&lt;BR /&gt;&lt;BR /&gt;If you could also supply an example of the command line used to compile the module, that would help.&lt;BR /&gt;&lt;BR /&gt;If you could generate a simple routine which demonstrates your problem, then you could attach it as a .txt document, which everybody could read.&lt;BR /&gt;&lt;BR /&gt;See the reference manual section 3.3 on page 3-5 for details of the compiler generation of xxxx%INIT modules.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6083/aa-pwvsd-tk.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6083/aa-pwvsd-tk.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Jun 2007 11:26:31 GMT</pubDate>
    <dc:creator>Duncan Morris</dc:creator>
    <dc:date>2007-06-04T11:26:31Z</dc:date>
    <item>
      <title>Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012718#M37849</link>
      <description>&lt;!--!*#--&gt;My alpha/vms pascal compiler has started to automaticly generate init routines.&lt;BR /&gt;&lt;BR /&gt;If I give the command&lt;BR /&gt;&lt;BR /&gt;$Lib/lis/full/names DATA$DISK:[LIBRARY]TSTLIB.OLB&lt;BR /&gt;&lt;BR /&gt;I get:&lt;BR /&gt;&lt;BR /&gt;Module ERR_ROUTINES     Ident 01               Inserted 21-JUL-2006 13:44:19 2 symbols&lt;BR /&gt;ERR_DISPLAY&lt;BR /&gt;ERR_ROUTINES%INIT&lt;BR /&gt;&lt;BR /&gt;I used to get:&lt;BR /&gt;&lt;BR /&gt;Module ERR_ROUTINES     Ident 01               Inserted 30-JUN-2006 11:20:30 1 symbol&lt;BR /&gt;ERR_DISPLAY                                           &lt;BR /&gt;&lt;BR /&gt;How can I get rid of the %INIT function? &lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 10:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012718#M37849</guid>
      <dc:creator>Krister Spandau Junker</dc:creator>
      <dc:date>2007-06-04T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012719#M37850</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it might help us if you could specify the version of your pascal compiler, and whether it has changed recently?&lt;BR /&gt;&lt;BR /&gt;If you could also supply an example of the command line used to compile the module, that would help.&lt;BR /&gt;&lt;BR /&gt;If you could generate a simple routine which demonstrates your problem, then you could attach it as a .txt document, which everybody could read.&lt;BR /&gt;&lt;BR /&gt;See the reference manual section 3.3 on page 3-5 for details of the compiler generation of xxxx%INIT modules.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6083/aa-pwvsd-tk.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6083/aa-pwvsd-tk.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 11:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012719#M37850</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2007-06-04T11:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012720#M37851</link>
      <description>%INIT routines on modules are there to support things like&lt;BR /&gt;&lt;BR /&gt;- TO BEGIN DO&lt;BR /&gt;- TO END DO&lt;BR /&gt;- module level schema&lt;BR /&gt;&lt;BR /&gt;Have you added any of these features to your Pascal application lately?&lt;BR /&gt;&lt;BR /&gt;The compiler's logic for "when" to create %INIT routines has not changed much in recent times.</description>
      <pubDate>Mon, 04 Jun 2007 12:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012720#M37851</guid>
      <dc:creator>John Reagan</dc:creator>
      <dc:date>2007-06-04T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012721#M37852</link>
      <description>The only change of the program is that&lt;BR /&gt;I added a TIMESTAMP variable to a&lt;BR /&gt;log-function&lt;BR /&gt;&lt;BR /&gt;To get the time-stamp, the function&lt;BR /&gt;GETTIMESTAMP was used&lt;BR /&gt;&lt;BR /&gt;The log-function is a hidden function in a module that has the ENVIRONMENT attribute&lt;BR /&gt;&lt;BR /&gt;All compilation units that include the PEN-file above will get the %INIT-functions&lt;BR /&gt;&lt;BR /&gt;If I remove GETTIMESTAMP no init-functions are created.&lt;BR /&gt;&lt;BR /&gt;How can I get a time-stamp whithout getting the %init-functions?</description>
      <pubDate>Tue, 05 Jun 2007 06:19:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012721#M37852</guid>
      <dc:creator>Krister Spandau Junker</dc:creator>
      <dc:date>2007-06-05T06:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012722#M37853</link>
      <description>&amp;gt;&amp;gt; All compilation units that include the PEN-file above will get the %INIT-functions&lt;BR /&gt;:&lt;BR /&gt;&amp;gt;&amp;gt; If I remove GETTIMESTAMP no init-functions are created.&lt;BR /&gt;&lt;BR /&gt;So there's your solution :^)&lt;BR /&gt;You did without so long, why change now!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; How can I get a time-stamp whithout getting the %init-functions?&lt;BR /&gt;&lt;BR /&gt;Just curious... why does it bother you?&lt;BR /&gt;You asked the compiler for a service, &lt;BR /&gt;It deviced the best why it could think of to provide that service, so it's all good now?!&lt;BR /&gt;&lt;BR /&gt;I suspect, but admittedly have not studied this for real, you can create a single function with the GETTIMESTAMP, and call that from those hidden routines. The end result may be better or worse. Dunno&lt;BR /&gt;&lt;BR /&gt;"junk spam",&lt;BR /&gt;Why not change that to a real looking name, or even a real name? Or at least have to courtesy to sign of with a seemingly real (first) name?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 06:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012722#M37853</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-05T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012723#M37854</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt;You did without so long, why change now!&lt;BR /&gt;&lt;BR /&gt;We have experienced some application errors during the latest months. The time of the errors could be of some interest when trying to pinpoint the problem :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Just curious... why does it bother you?&lt;BR /&gt;&lt;BR /&gt;Our software distribution method is quite strange. We compile on a development machine, and link during the installation on the test- and production-machines. If the compiler starts to generate new functions we get link errors when the new modules are being installed and linked together with older modules without the %INIT-functions &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;I suspect, but admittedly have not&lt;BR /&gt;&amp;gt;&amp;gt;studied this for real, you can create&lt;BR /&gt;&amp;gt;&amp;gt;a single &amp;gt;&amp;gt;function with the&lt;BR /&gt;&amp;gt;&amp;gt; GETTIMESTAMP, and call that from &lt;BR /&gt;&amp;gt;&amp;gt;those hidden routines. The end &lt;BR /&gt;&amp;gt;&amp;gt;result may be better or worse&lt;BR /&gt;&lt;BR /&gt;Thanks, I'll try that!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Krister&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 07:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012723#M37854</guid>
      <dc:creator>Krister Spandau Junker</dc:creator>
      <dc:date>2007-06-05T07:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pascal copiler generated %init function</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012724#M37855</link>
      <description>TIMESTAMPs have a hidden version field for the situation where we might change the layout in the future (unlikely).  So timestamps have a hidden initialization.&lt;BR /&gt;&lt;BR /&gt;Depending on where you declared the timestamp in the module, it seems the compiler wanted a LIB$INITIALIZE routine to do that initialization.&lt;BR /&gt;&lt;BR /&gt;I'd have to see more detailed source to give a workaround/solution.</description>
      <pubDate>Wed, 13 Jun 2007 15:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/pascal-copiler-generated-init-function/m-p/4012724#M37855</guid>
      <dc:creator>John Reagan</dc:creator>
      <dc:date>2007-06-13T15:02:25Z</dc:date>
    </item>
  </channel>
</rss>

