<?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: Accessing RMS indexed files from PHP in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999195#M37722</link>
    <description>Gary, for what it's worth, I never found anything I could use for indexed files on VMS, apart from the suggestions made in my original thread.&lt;BR /&gt;&lt;BR /&gt;I'm still left with using Attunity Connect ODBC drivers, which will allow me to read using the indexes, or scanning the whole file and breaking it up into records with PHP.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 May 2007 03:14:09 GMT</pubDate>
    <dc:creator>Robert Atkinson</dc:creator>
    <dc:date>2007-05-15T03:14:09Z</dc:date>
    <item>
      <title>Accessing RMS indexed files from PHP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999192#M37719</link>
      <description>I've looked at the 'documentation' for the OpenVMS extension to PHP but it's of little help.&lt;BR /&gt;&lt;BR /&gt;If this meant to be the OpenVMS API for PHP, why is there no documentation for it?&lt;BR /&gt;&lt;BR /&gt;What function calls are available that would allow me to open an RMS indexed file in PHP?</description>
      <pubDate>Mon, 14 May 2007 08:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999192#M37719</guid>
      <dc:creator>Gary Smallridge</dc:creator>
      <dc:date>2007-05-14T08:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing RMS indexed files from PHP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999193#M37720</link>
      <description>Hi Gary,&lt;BR /&gt;&lt;BR /&gt;not a great help, I know, but have a look at this thread. In particular see Hein's response.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1081795" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1081795&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 14 May 2007 10:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999193#M37720</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2007-05-14T10:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing RMS indexed files from PHP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999194#M37721</link>
      <description>Somebody from HP will have to informally or more formally answer the "why is there no documentation for it?" question.&lt;BR /&gt;&lt;BR /&gt;AFAIK, there are no PHP extension calls for accessing indexed files.  You might ask HP this question directly.&lt;BR /&gt;&lt;BR /&gt;PHP and most other languages are most commonly coded to communicate with sequential files and with MySQL, ProgreSQL or other similar database packages.  Not RMS.&lt;BR /&gt;&lt;BR /&gt;There are extensions for some languages that allow access.  Python, Perl and DCL do have access to RMS indexed files.  Haven't checked Ruby.  There does not appear, however, to be an extension available for PHP for this purpose.&lt;BR /&gt;&lt;BR /&gt;The usual database interface for most languages would likely involve acquiring and configuring an ODBC connector for RMS.  These products do (did?) exist.  Alternatively, rolling your own PHP interface for RMS indexed files, or convincing an outside organization to provide the interface to you, or convincing HP to extend the existing php_openvms module.&lt;BR /&gt;&lt;BR /&gt;Not what you want to hear, I expect.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 10:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999194#M37721</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-05-14T10:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing RMS indexed files from PHP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999195#M37722</link>
      <description>Gary, for what it's worth, I never found anything I could use for indexed files on VMS, apart from the suggestions made in my original thread.&lt;BR /&gt;&lt;BR /&gt;I'm still left with using Attunity Connect ODBC drivers, which will allow me to read using the indexes, or scanning the whole file and breaking it up into records with PHP.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 May 2007 03:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999195#M37722</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2007-05-15T03:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing RMS indexed files from PHP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999196#M37723</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Retrieving all the records is what I have resorted to.&lt;BR /&gt;&lt;BR /&gt;FYI: open the file for binary read access;&lt;BR /&gt;&lt;BR /&gt;     $fp=fopen("file.idx","rb");&lt;BR /&gt;&lt;BR /&gt;then each record can be read;&lt;BR /&gt;&lt;BR /&gt;     $record = fgets($fp,396);&lt;BR /&gt;&lt;BR /&gt;the file I'm accessing is fixed length 396 byte records and has a single key. There are also binary 2 and binary 4 numbers in each record which I would have to write code for.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 May 2007 03:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accessing-rms-indexed-files-from-php/m-p/3999196#M37723</guid>
      <dc:creator>Gary Smallridge</dc:creator>
      <dc:date>2007-05-15T03:28:29Z</dc:date>
    </item>
  </channel>
</rss>

