<?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: SETTING FIX LENGTHS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668722#M33007</link>
    <description>What he said!&lt;BR /&gt;&lt;BR /&gt;SET FILE/ATTR did not officialy exist (there always was fileset), when excahnge was crafted.&lt;BR /&gt;&lt;BR /&gt;But before doing so please spend a little time trying to understand the input file format better.&lt;BR /&gt;Start with a DIR/FULL (report here?)&lt;BR /&gt;You probably also want to report the individual attributes you are likely to change with SET FILE.&lt;BR /&gt;$rat = F$FILE(myfile,"RAT")&lt;BR /&gt;$mrs = F$FILE(myfile,"MRS")&lt;BR /&gt;:&lt;BR /&gt;LRL, RFM,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You probably want to DUMP/BLOCK=COUNT=3 'myfile.&lt;BR /&gt;This will give you a visual check as to the contents of the input stream.&lt;BR /&gt;&lt;BR /&gt;If you want to share that dump with us, ten do not just include it, but attach it and other pertinent information as a text file to a future reply.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Nov 2005 10:33:22 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2005-11-10T10:33:22Z</dc:date>
    <item>
      <title>SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668715#M33000</link>
      <description>I have a problem and i would if anyone can help me. When I type in 'exchange copy dtf_save:b001057.dat;/record_format=fixed=680 ian:' i recieve the following error: fixed record length of 680 is too large. Is there anyway else of fix lengthing this file. I need it to be 680 bytes. Thanks, Ian</description>
      <pubDate>Thu, 10 Nov 2005 07:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668715#M33000</guid>
      <dc:creator>Ian M_1</dc:creator>
      <dc:date>2005-11-10T07:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668716#M33001</link>
      <description>The complete actual error message might be helpful.</description>
      <pubDate>Thu, 10 Nov 2005 08:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668716#M33001</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2005-11-10T08:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668717#M33002</link>
      <description>could you change the file format before copying by using covert or change the file attributes using SET FILE /ATTR=LRL=680&lt;BR /&gt;?</description>
      <pubDate>Thu, 10 Nov 2005 08:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668717#M33002</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-10T08:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668718#M33003</link>
      <description>The full error message is&lt;BR /&gt;&lt;BR /&gt;%EXCHANGE-I-NOTVALLEN, fixed record length of 680 is too large&lt;BR /&gt;%EXCHANGE-I-NOTCOPIED, file B001057.DAT;230 not copied to IAN:&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Ian</description>
      <pubDate>Thu, 10 Nov 2005 08:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668718#M33003</guid>
      <dc:creator>Ian M_1</dc:creator>
      <dc:date>2005-11-10T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668719#M33004</link>
      <description>&lt;BR /&gt;Why are you using exchange? It may be the right tool, but  then you should be able to explain to us why.&lt;BR /&gt;&lt;BR /&gt;If you have a good reason to use EXCHANGE then you may need to use the /TRANSFER_MODE to make it do the rigth thing.&lt;BR /&gt;&lt;BR /&gt;What does the input look like? no recognizable records? Is it 'dense' data? Any allignment between records? sizes?&lt;BR /&gt;&lt;BR /&gt;Can you make the input look good by just declaring the file SET FILE/ATTR=(RFM=FIX, LRL=680, MRS=680, RAT=CR), then use copy?&lt;BR /&gt;&lt;BR /&gt;Can you just use CONVERT/FDL/TRUN/PAD&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2005 08:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668719#M33004</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-11-10T08:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668720#M33005</link>
      <description>I'm sorry to be a pain, but i'm fairly new to this. How would i use the command for the file it want to fix format?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ian</description>
      <pubDate>Thu, 10 Nov 2005 09:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668720#M33005</guid>
      <dc:creator>Ian M_1</dc:creator>
      <dc:date>2005-11-10T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668721#M33006</link>
      <description>On the prompt, just type the command Hein supplied and hit enter.&lt;BR /&gt;In "our" jargon:&lt;BR /&gt;&lt;BR /&gt;$ SET FILE/ATTR=(RFM=FIX, LRL=680, MRS=680, RAT=CR) dtf_save:b001057.dat&lt;BR /&gt;&lt;BR /&gt;$ = standard DCL prompt, just the location where to enter your commands.&lt;BR /&gt;&lt;BR /&gt;I can advise to use the HELP command, and read through the user guide and DCL manual, to start with :-)&lt;BR /&gt; &lt;BR /&gt;Willem</description>
      <pubDate>Thu, 10 Nov 2005 10:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668721#M33006</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-11-10T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668722#M33007</link>
      <description>What he said!&lt;BR /&gt;&lt;BR /&gt;SET FILE/ATTR did not officialy exist (there always was fileset), when excahnge was crafted.&lt;BR /&gt;&lt;BR /&gt;But before doing so please spend a little time trying to understand the input file format better.&lt;BR /&gt;Start with a DIR/FULL (report here?)&lt;BR /&gt;You probably also want to report the individual attributes you are likely to change with SET FILE.&lt;BR /&gt;$rat = F$FILE(myfile,"RAT")&lt;BR /&gt;$mrs = F$FILE(myfile,"MRS")&lt;BR /&gt;:&lt;BR /&gt;LRL, RFM,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You probably want to DUMP/BLOCK=COUNT=3 'myfile.&lt;BR /&gt;This will give you a visual check as to the contents of the input stream.&lt;BR /&gt;&lt;BR /&gt;If you want to share that dump with us, ten do not just include it, but attach it and other pertinent information as a text file to a future reply.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Nov 2005 10:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668722#M33007</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-11-10T10:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: SETTING FIX LENGTHS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668723#M33008</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;review the first question by Hein:&lt;BR /&gt;&lt;BR /&gt;(And believe me, Hein is THE world expert in file structures details!)&lt;BR /&gt;&lt;BR /&gt;Do you really NEED EXCHANGE?&lt;BR /&gt;&lt;BR /&gt;If so, Why?&lt;BR /&gt;&lt;BR /&gt;If we know that, we might also be able to use other means to get the desired result!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 10 Nov 2005 10:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-fix-lengths/m-p/3668723#M33008</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-11-10T10:39:20Z</dc:date>
    </item>
  </channel>
</rss>

