<?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 getting truncated in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036271#M743036</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Two possibilities spring to mind.&lt;BR /&gt;&lt;BR /&gt;1) Timeout for inactivity on the receiving server. That may need to be adjusted.&lt;BR /&gt;2) filesystem on the receiving server limits maximum file size.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 12 Jul 2007 05:34:07 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-07-12T05:34:07Z</dc:date>
    <item>
      <title>file getting truncated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036270#M743035</link>
      <description>Hi frns,&lt;BR /&gt;&lt;BR /&gt;       I am trying to FTP a file from unix to mainframe. but the length of the line is getting trucated while FTPing.&lt;BR /&gt;&lt;BR /&gt;Here is the piece of code that i used for FTP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;user $FTPUSER $FTPPWD&lt;BR /&gt;        prompt&lt;BR /&gt;        asc&lt;BR /&gt;        site LRECL=${LineLength} RECFM=VB CYL PRI=100 SEC=100 BLK=0&lt;BR /&gt;        put ${SRCFILE} \'${SRCFILE}\'&lt;BR /&gt;        dis&lt;BR /&gt;        bye&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2007 05:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036270#M743035</guid>
      <dc:creator>MAYIANAN</dc:creator>
      <dc:date>2007-07-12T05:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: file getting truncated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036271#M743036</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Two possibilities spring to mind.&lt;BR /&gt;&lt;BR /&gt;1) Timeout for inactivity on the receiving server. That may need to be adjusted.&lt;BR /&gt;2) filesystem on the receiving server limits maximum file size.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 12 Jul 2007 05:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036271#M743036</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-12T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: file getting truncated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036272#M743037</link>
      <description>&amp;gt; the length of the line is getting trucated while FTPing.&lt;BR /&gt; &lt;BR /&gt;Do you mean that each record at the mainframe is truncated? If so, then the SITE command will have to be fixed. HP-UX (and Unix in general) have no real concept of a line length -- only the applications define a line (ie, cat, vi, grep, wc, etc). And since this is an ASCII transfer, the definition for the line termination codes will be handled locally on both sides. Each mainframe has its own JCL to define file characteristics and you'll need some help from the mainframe admins here. Note that you'll need to verify that the file description (SITE) command works correctly for the subsequent PUT command. Start with simple test files.</description>
      <pubDate>Thu, 12 Jul 2007 05:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036272#M743037</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-12T05:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: file getting truncated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036273#M743038</link>
      <description>@Bill&lt;BR /&gt;&lt;BR /&gt;    What u meant is correct. its getting truncated for every line. I am getting a file of line length 490 in which the last 10chars are getting truncated. No problem with site command. its working fine for small files.</description>
      <pubDate>Thu, 12 Jul 2007 06:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036273#M743038</guid>
      <dc:creator>MAYIANAN</dc:creator>
      <dc:date>2007-07-12T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: file getting truncated</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036274#M743039</link>
      <description>&amp;gt; I am getting a file of line length 490 in which the last 10chars are getting truncated. &lt;BR /&gt; &lt;BR /&gt;So it looks like the SITE file descriptor specified a record length of 480. You'll need to work with the JCL gurus at the mainframe to see what needs to be changed. This is likely an OS setting or limitation for the filetype definition. Be sure to look at the definitions for RECFM=VM and other record format choices.</description>
      <pubDate>Thu, 12 Jul 2007 18:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-getting-truncated/m-p/4036274#M743039</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-12T18:21:02Z</dc:date>
    </item>
  </channel>
</rss>

