<?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: Open VMS FTP of Indexed file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772866#M101638</link>
    <description>Assuming both domains are running VMS, and assuming that the VMS versions are V6.2 or later...&lt;BR /&gt;&lt;BR /&gt;$ COPY /FTP /BINARY -&lt;BR /&gt;indexedfile.dat -&lt;BR /&gt;ftp.example.com"user password"::targetfilename.dat&lt;BR /&gt;&lt;BR /&gt;If the remote domain is not VMS, then it's commonplace to have the metadata corrupted by the intervening systems, and the usual palliate is to protect the file using the zip tool with the "-V" switch.</description>
    <pubDate>Fri, 01 Apr 2011 12:28:02 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2011-04-01T12:28:02Z</dc:date>
    <item>
      <title>Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772864#M101636</link>
      <description>I have an Indexed file (File Organization Indexed) that I need to FTP from one domain to another. Standard FTP results in a ASCII Sequential file on the receiving side.</description>
      <pubDate>Fri, 01 Apr 2011 12:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772864#M101636</guid>
      <dc:creator>Steve Pratt_1</dc:creator>
      <dc:date>2011-04-01T12:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772865#M101637</link>
      <description>Back it up, zip the backup, binary transfer the zip and undo on the remote end - the stucture will be preserved.</description>
      <pubDate>Fri, 01 Apr 2011 12:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772865#M101637</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2011-04-01T12:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772866#M101638</link>
      <description>Assuming both domains are running VMS, and assuming that the VMS versions are V6.2 or later...&lt;BR /&gt;&lt;BR /&gt;$ COPY /FTP /BINARY -&lt;BR /&gt;indexedfile.dat -&lt;BR /&gt;ftp.example.com"user password"::targetfilename.dat&lt;BR /&gt;&lt;BR /&gt;If the remote domain is not VMS, then it's commonplace to have the metadata corrupted by the intervening systems, and the usual palliate is to protect the file using the zip tool with the "-V" switch.</description>
      <pubDate>Fri, 01 Apr 2011 12:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772866#M101638</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-01T12:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772867#M101639</link>
      <description>The zip metadata preservation works as well as that of BACKUP.&lt;BR /&gt;&lt;BR /&gt;Put another way, please don't bother using BACKUP within a zip archive.   &lt;BR /&gt;&lt;BR /&gt;That is unnecessary (with the use of the zip "-V" switch), and BACKUP largely serves to makes zip work harder with its compression, and the nesting here also means that common tools on VMS and other platforms can't be used to pull the files out of the zip archive (without a whole lot more work), and it means that common tools can't index the contents of the archive, etc. &lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 12:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772867#M101639</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-01T12:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772868#M101640</link>
      <description>as long as you have a relatively recent version of zip/unzip then "-V" does the right thing</description>
      <pubDate>Fri, 01 Apr 2011 12:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772868#M101640</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2011-04-01T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772869#M101641</link>
      <description>Can I get an example of the proper syntax for the zip/unzip of the Indexed file? Thanks!&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 12:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772869#M101641</guid>
      <dc:creator>Steve Pratt_1</dc:creator>
      <dc:date>2011-04-01T12:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772870#M101642</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;it's that easy:&lt;BR /&gt;&lt;BR /&gt;$ ZIP "-V" zipfile filename-of-indexed-file&lt;BR /&gt;&lt;BR /&gt;This wil create a zipfile.ZIP file.&lt;BR /&gt;&lt;BR /&gt;Then transfer the zipfile.zip file via FTP in binary mode.&lt;BR /&gt;&lt;BR /&gt;$ UNZIP "-V" zipfile&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Fri, 01 Apr 2011 13:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772870#M101642</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2011-04-01T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772871#M101643</link>
      <description>Here's an introduction to zip and unzip for OpenVMS:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/575" target="_blank"&gt;http://labs.hoffmanlabs.com/node/575&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pointers to tools, common options, etc.&lt;BR /&gt;&lt;BR /&gt;At its simplest, this is the command that preserves the metadata:&lt;BR /&gt;&lt;BR /&gt;zip "-V" archive.zip indexedfile.dat&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 13:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772871#M101643</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-01T13:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772872#M101644</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Can I get an example of the proper syntax&lt;BR /&gt;&amp;gt; for the zip/unzip of the Indexed file?&lt;BR /&gt;&lt;BR /&gt;      zip -h&lt;BR /&gt;      unzip -h&lt;BR /&gt;&lt;BR /&gt;"zip -V" pretty well covers the fancy part.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ ZIP "-V" zipfile filename-of-indexed-file&lt;BR /&gt;&lt;BR /&gt;Ok.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ UNZIP "-V" zipfile&lt;BR /&gt;&lt;BR /&gt;      unzip -h&lt;BR /&gt;&lt;BR /&gt;Someone should read the UnZip documentation.&lt;BR /&gt;"-V" does not mean the same thing for UnZip&lt;BR /&gt;as it does for Zip.  If "zip -V" is used to&lt;BR /&gt;create an archive on a VMS system, then no&lt;BR /&gt;special UnZip option should be needed when&lt;BR /&gt;extracting files from that archive on a VMS&lt;BR /&gt;system.  (Prove me wrong, if you can.)&lt;BR /&gt;&lt;BR /&gt;And. of course, if your (unspecified) VMS&lt;BR /&gt;version is reasonably recent, and your Parse&lt;BR /&gt;Style is Extended, then you don't need all&lt;BR /&gt;those quotation marks, either.  (But they are&lt;BR /&gt;always safe to use.)&lt;BR /&gt;&lt;BR /&gt;Standard caution:&lt;BR /&gt;Zip 3.0 and UnZip 6.0 are the current&lt;BR /&gt;released versions.  I'd avoid anything older.&lt;BR /&gt;(Even those still have some relatively&lt;BR /&gt;obscure bugs, which should be fixed in the&lt;BR /&gt;current or next beta kits.)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.info-zip.org/" target="_blank"&gt;http://www.info-zip.org/&lt;/A&gt;</description>
      <pubDate>Fri, 01 Apr 2011 14:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772872#M101644</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-01T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772873#M101645</link>
      <description>As others mentioned. Use -V or backup first.&lt;BR /&gt;RTFH: &lt;BR /&gt; (Must quote upper-case options, like "-V", unless SET PROC/PARSE=EXTEND)&lt;BR /&gt;&lt;BR /&gt;However, in the larger context of the question you may want to consider an other alternative.&lt;BR /&gt;&lt;BR /&gt;You could convert the file to sequential first, and zip that up along with a (fresh) FDL file. Convert back to indeded on the other side.&lt;BR /&gt;&lt;BR /&gt;Why?&lt;BR /&gt;- This only zips up real data bytes and not indxed file overhead such as indexes and record overhead.&lt;BR /&gt;- The intermediate file may be useful on other platforms notably if the data is text.&lt;BR /&gt;&lt;BR /&gt;Why not?&lt;BR /&gt;- More steps&lt;BR /&gt;- Binary contents becomes tricky (Hmmm, I may have to Email SMS on an issue I had trying)&lt;BR /&gt;- Intermediate file may 'explode' if the RMS compression was very effective.&lt;BR /&gt;&lt;BR /&gt;Hope this helps some.&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 14:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772873#M101645</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2011-04-01T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open VMS FTP of Indexed file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772874#M101646</link>
      <description>Hopefully, your version of ZIP accepts sensible DCL command qualifiers as well as Unix hieroglyphs.&lt;BR /&gt;&lt;BR /&gt; $ ZIP /VMS MYZIP MYZIP.FILE&lt;BR /&gt;&lt;BR /&gt;No need to mess with double quotes or parse styles.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2011 11:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/open-vms-ftp-of-indexed-file/m-p/4772874#M101646</guid>
      <dc:creator>Tom Wade_1</dc:creator>
      <dc:date>2011-04-11T11:20:08Z</dc:date>
    </item>
  </channel>
</rss>

