<?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: File types after Pathworks copies a file to my XP machine in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579628#M49603</link>
    <description>Hi Dom,&lt;BR /&gt;new file created by PC have stream attribute by default.&lt;BR /&gt;I guess you can change this defalt as follow:&lt;BR /&gt;$ ADMIN MOD SHARE &lt;SHARENAME&gt; -&lt;BR /&gt;/HOST=(RMS:SEQUENTIAL)&lt;BR /&gt;or else&lt;BR /&gt;$ ADMIN MOD SHARE &lt;SHARENAME&gt; -&lt;BR /&gt;/HOST=(RMS:UNDEF)&lt;BR /&gt;I think if you set UNDEF after copy you have to set file attribute with SET FILE command.&lt;BR /&gt;Warning: I never tryed this command, it's appear to me by the help.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;&lt;/SHARENAME&gt;&lt;/SHARENAME&gt;</description>
    <pubDate>Tue, 12 Jul 2005 09:06:10 GMT</pubDate>
    <dc:creator>Antoniov.</dc:creator>
    <dc:date>2005-07-12T09:06:10Z</dc:date>
    <item>
      <title>File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579624#M49599</link>
      <description>Let's say I have a file of fixed length records, say 50 bytes long.  Now I drag the file to my local c: drive.  PW puts a CR-LF at the end of each record, to make it a stream file.&lt;BR /&gt;&lt;BR /&gt;Now I drag the file back.  The file is marked STREAM.  So I use &lt;BR /&gt;"set file /attr=(org:seq, rfm:fix, lrl:52)&lt;BR /&gt;&lt;BR /&gt;Notice the lrl is 52, not 50.  I need to do this because the CR-LF is still there.&lt;BR /&gt;&lt;BR /&gt;Is there a way around this?  Can I tell PW to just copy the file itself, wo/ the CR-LF?  And can I do this on a file by file basis, or do I set a default somewhere?&lt;BR /&gt;&lt;BR /&gt;Dom</description>
      <pubDate>Mon, 11 Jul 2005 11:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579624#M49599</guid>
      <dc:creator>Dominic Olivastro</dc:creator>
      <dc:date>2005-07-11T11:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579625#M49600</link>
      <description>You don't say what version of Pathwors (or Advanced Server) you're using, but Pathworks will only properly handle fixed length files with a record length of 512.  This is to maintain compatability with the Microsoft spec and is not considered a "bug" according to HP's Pathworks support group.  If you need to move the file with a PC, you could consider using Zip/Unzip.</description>
      <pubDate>Mon, 11 Jul 2005 16:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579625#M49600</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2005-07-11T16:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579626#M49601</link>
      <description>Dom,&lt;BR /&gt;&lt;BR /&gt;  Instead of SET FILE, it would probably be better to CONVERT the file back to fixed length.&lt;BR /&gt;&lt;BR /&gt;$ CONVERT/FDL=SYS$INPUT infile outfile&lt;BR /&gt;record&lt;BR /&gt;  format fixed&lt;BR /&gt;  size 50&lt;BR /&gt;&lt;BR /&gt;Unfortunately the Windows &amp;amp; Unix worlds don't have a concept of "file type". The upshot is, no matter what is done to a file to translate the file, it will be wrong for someone!&lt;BR /&gt;&lt;BR /&gt;On the other hand... if the program reading your file is using RMS services and not actually specifying the record format, it shouldn't matter. RMS will return the same record regardless of the record format.</description>
      <pubDate>Mon, 11 Jul 2005 19:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579626#M49601</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-07-11T19:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579627#M49602</link>
      <description>Dominic,&lt;BR /&gt;&lt;BR /&gt;If the original file, as you suggest, indeed had the 'FIXED' record format, then I agree with Andy that pathworks should leave it alone. An other file type it should leave alone is 'user defined, aka undefined' as in SET FILE/ATTR=RFM=UDF. It would be interesting to try that, but of course for any prior transfer the damage is already done.&lt;BR /&gt;If, back on the VMS side, the record access is through simple RMS gets (like TYPE or SEARCH or an HLL read) then as John observe, then file will work transparently as RMS will eat the CR-LF as record seperator.&lt;BR /&gt;&lt;BR /&gt;If direct access is done (RAB$_RAC==RA$C_KEY) then you can either change the file attributes as you did and accept the CR LR as databytes, or you will have to convert the file to get rid of them.&lt;BR /&gt;&lt;BR /&gt;As John shows the command for that would be :&lt;BR /&gt;$ CONVERT/FDL=SYS$INPUT infile outfile&lt;BR /&gt;record; format fixed; size 50&lt;BR /&gt;&lt;BR /&gt;btw: This would be a great example of the requested new covert DCL option to just pass an FDL file as a string!&lt;BR /&gt;&lt;BR /&gt;If you leave the file 'RAC=STM' as it was, then this is all that is needed. But after that set file /attr=(org:seq, rfm:fix, lrl:52) you would have to add the /TRUN switch to toss the excess CRLF chars.&lt;BR /&gt;&lt;BR /&gt;You may also want to check out the EXCHANGE/NET conversion options to recorver the file.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2005 05:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579627#M49602</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-07-12T05:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579628#M49603</link>
      <description>Hi Dom,&lt;BR /&gt;new file created by PC have stream attribute by default.&lt;BR /&gt;I guess you can change this defalt as follow:&lt;BR /&gt;$ ADMIN MOD SHARE &lt;SHARENAME&gt; -&lt;BR /&gt;/HOST=(RMS:SEQUENTIAL)&lt;BR /&gt;or else&lt;BR /&gt;$ ADMIN MOD SHARE &lt;SHARENAME&gt; -&lt;BR /&gt;/HOST=(RMS:UNDEF)&lt;BR /&gt;I think if you set UNDEF after copy you have to set file attribute with SET FILE command.&lt;BR /&gt;Warning: I never tryed this command, it's appear to me by the help.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;&lt;/SHARENAME&gt;&lt;/SHARENAME&gt;</description>
      <pubDate>Tue, 12 Jul 2005 09:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579628#M49603</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-12T09:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: File types after Pathworks copies a file to my XP machine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579629#M49604</link>
      <description>Dom,&lt;BR /&gt;&lt;BR /&gt;What is your goal? Apparently, the file is being created on VMS. Do you need to use the file on Windows, VMS or both?&lt;BR /&gt;&lt;BR /&gt;Windows files are /attr=(org:seq, rfm:stm, lrl:0, mrs:0) and if you are creating fixed length records for a Windows application, you must create the RMS file with those attributes (plus rat:none if you wish). I've not found a way to $convert or $set file the RMS file to get it to the correct Windows format.&lt;BR /&gt;&lt;BR /&gt;If PW detects records in a file, then it will   convert those RMS records into something it thinks Windows needs.&lt;BR /&gt;&lt;BR /&gt; -Doug&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2005 09:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/file-types-after-pathworks-copies-a-file-to-my-xp-machine/m-p/3579629#M49604</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-07-12T09:08:49Z</dc:date>
    </item>
  </channel>
</rss>

