<?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: FTP in batch vs interactive in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118037#M46709</link>
    <description>Hi Dieter,&lt;BR /&gt;&lt;BR /&gt;can you replace zkss1::sys$specific:[decnet] with simple sys$specific:[decnet] ?&lt;BR /&gt;&lt;BR /&gt;Best regard,&lt;BR /&gt;Lokesh</description>
    <pubDate>Thu, 13 Nov 2003 06:49:33 GMT</pubDate>
    <dc:creator>Lokesh_2</dc:creator>
    <dc:date>2003-11-13T06:49:33Z</dc:date>
    <item>
      <title>FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118036#M46708</link>
      <description>Situation:&lt;BR /&gt;&lt;BR /&gt;Ftp procedure to transfer data to a local system:&lt;BR /&gt;&lt;BR /&gt;$       open/write tmp ftp_command_zks.tmp&lt;BR /&gt;$!&lt;BR /&gt;$       write tmp "set error_level error"&lt;BR /&gt;$       write tmp "cd zkss1::sys$specific:[decnet]"&lt;BR /&gt;$       write tmp "get file1.dat &lt;BR /&gt;$       write tmp "get file2.dat&lt;BR /&gt;$       write tmp "quit"&lt;BR /&gt;$       close tmp&lt;BR /&gt;$!&lt;BR /&gt;$       ftp 'tcpipa' /user="remuser" /passw="rempasswd" /input=ftp_command_zks.tmp&lt;BR /&gt;&lt;BR /&gt;This works fine in interactive mode, but it fails in batch with:&lt;BR /&gt;&lt;BR /&gt;%TCPIP-E-FTP_OUTPROCF, error processing output file DKB0:[localdir]file1.dat;&lt;BR /&gt;-RMS-E-CRE, ACP file create failed&lt;BR /&gt;-SYSTEM-F-NOSUCHNODE, remote node is unknown&lt;BR /&gt;&lt;BR /&gt;This looks like ftp adds the decnet node name to the output file in batch mode. Changing the get command to&lt;BR /&gt;&lt;BR /&gt;get file1.dat 0::file1.dat&lt;BR /&gt;&lt;BR /&gt;make the procedure running in batch AND interactive mode.&lt;BR /&gt;&lt;BR /&gt;Yes, it is strange to go to node 1 to get data via DECnet from node 2 and I recommended to use I direct connection but nevertheless: I'm a bit surprised by the way, ftp works different in batch and interactive mode.&lt;BR /&gt;Is there something I missed, logical, switch, with ftp?&lt;BR /&gt;&lt;BR /&gt;Environment: &lt;BR /&gt;VMS 7.3-1&lt;BR /&gt;TCPIP Version 5.3&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Dieter&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 05:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118036#M46708</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2003-11-13T05:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118037#M46709</link>
      <description>Hi Dieter,&lt;BR /&gt;&lt;BR /&gt;can you replace zkss1::sys$specific:[decnet] with simple sys$specific:[decnet] ?&lt;BR /&gt;&lt;BR /&gt;Best regard,&lt;BR /&gt;Lokesh</description>
      <pubDate>Thu, 13 Nov 2003 06:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118037#M46709</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2003-11-13T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118038#M46710</link>
      <description>Odd route, indeed, I would have put the files using FTP (or even better: have used DecNet FAL)&lt;BR /&gt;&lt;BR /&gt;Anyway: &lt;BR /&gt;The difference could be caused by different paths in SYLOGIN.COM and LOGIN.COM on ZKSS1 for modes BATCH and INTERACTIVE (quite usual, in fact) and that these differences hold the shown result.&lt;BR /&gt;&lt;BR /&gt;It looks as if TCPIPA doesn't recognize ZSKK1 on GET in batch. What happens (in batch) if you do a DIR after CD?&lt;BR /&gt;&lt;BR /&gt;I tried this and found a simlar problem interactively:&lt;BR /&gt;&lt;BR /&gt;Assume, I'm on VMS1.&lt;BR /&gt;&lt;BR /&gt;BPS2004A&amp;gt; crea dka0:[sys0]x.x&lt;BR /&gt;test &lt;EXIT&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; so the file exists. Then (interactively):&lt;BR /&gt;&lt;BR /&gt;BPS2004A&amp;gt; ftp vxso05&lt;BR /&gt;220 VXSO05 FTP Server (Version 4.2) Ready.&lt;BR /&gt;Connected to VXSO05. &lt;BR /&gt;Name (VXSO05:otwillem): &lt;BR /&gt;331 Username OTWILLEM requires a Password&lt;BR /&gt;Password: &lt;BR /&gt;230 User logged in.&lt;BR /&gt;FTP&amp;gt; cd npolvms1::dka0:[sys0]&lt;BR /&gt;250-CWD command successful.&lt;BR /&gt;250 New default directory is NPOLVMS1::DKA0:[SYS0]&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; Ok.&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; dir&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening data connection for NPOLVMS1::DKA0:[SYS0]*.*;* (10.100.51.232,54804)&lt;BR /&gt;&lt;BR /&gt;550 ACP file or directory lookup failed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; ??? but I'm sure it exists.&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get x.x&lt;BR /&gt;200 TYPE set to IMAGE.&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;550-Unable to determine the file type for NPOLVMS1::DKA0:[SYS0]X.X;&lt;BR /&gt;550 ACP file or directory lookup failed&lt;BR /&gt;FTP&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; is now quite obvious...&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; Just tried one thing more:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; lcd 0::sys$login&lt;BR /&gt;%TCPIP-E-FTP_NOSUCHFILE, no such file 0::sys$login&lt;BR /&gt;%Failed to set default directory to [.0::sys$login]&lt;BR /&gt;Local directory now DKA0:[USERS.OTWILLEM]&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; is NOT able to handle this!&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get x.x&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;550-Unable to determine the file type for NPOLVMS1::DKA0:[SYS0]X.X;&lt;BR /&gt;550 ACP file or directory lookup failed&lt;BR /&gt;FTP&amp;gt; &lt;BR /&gt;&lt;BR /&gt;My guess: a clash between DecNet and TCPIP. Don't mix them...&lt;BR /&gt;&lt;/EXIT&gt;</description>
      <pubDate>Thu, 13 Nov 2003 07:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118038#M46710</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-11-13T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118039#M46711</link>
      <description>&lt;BR /&gt;@Lokesh   &lt;BR /&gt;&lt;BR /&gt;simple ftp to local files works fine in all modes.&lt;BR /&gt;&lt;BR /&gt;@Willem Grooters &lt;BR /&gt;&lt;BR /&gt;&amp;gt; My guess: a clash between DecNet and TCPIP. Don't mix them... &lt;BR /&gt;&lt;BR /&gt;Right, that was my first idea, too. But you know how costumers are: they might have to change their firewall setup!&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 07:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118039#M46711</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2003-11-13T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118040#M46712</link>
      <description>Two suggestions:&lt;BR /&gt;&lt;BR /&gt;* Does anything change if you do replace the name with the numeric DECnet address?&lt;BR /&gt;&lt;BR /&gt;* You might want to enable set watch before &lt;BR /&gt;calling the procedure, so you can see exactly what file VMS tries to access.</description>
      <pubDate>Thu, 13 Nov 2003 10:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118040#M46712</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-11-13T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118041#M46713</link>
      <description>Hi Ditier,&lt;BR /&gt;I read your thread only today.&lt;BR /&gt;Sometime also I have trouble using batch commands instead interactive mode and I question me because: no may be no difference between batch or interactive but batch run quicky. &lt;BR /&gt;I remember some months ago I worked fine interactivly with a modem but wrong in batch; after a lot of try I added a wait and procedure worked fine in batch mode too.&lt;BR /&gt;I don't know if you have same problem, but you could try add a pause in ftp procedure.&lt;BR /&gt;$!&lt;BR /&gt;$ open/write tmp ftp_command_zks.tmp&lt;BR /&gt;$ write tmp "set error_level error"&lt;BR /&gt;$ write tmp "cd zkss1::sys$specific:[decnet]"&lt;BR /&gt;$ write tmp "! wait 00:00:02&lt;BR /&gt;$ write tmp "get file1.dat &lt;BR /&gt;$ write tmp "! wait 00:00:02&lt;BR /&gt;$ write tmp "get file2.dat&lt;BR /&gt;$ write tmp "quit"&lt;BR /&gt;$ close tmp&lt;BR /&gt;$!&lt;BR /&gt;Perhaps may appear stupip but you can try spend only five minutes.&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 14:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118041#M46713</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-11-14T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118042#M46714</link>
      <description>I'll do that on monday&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Sat, 15 Nov 2003 14:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118042#M46714</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2003-11-15T14:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118043#M46715</link>
      <description>@A.&lt;BR /&gt;&lt;BR /&gt;adding a pause makes no difference.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Dieter&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 08:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118043#M46715</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2003-11-17T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP in batch vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118044#M46716</link>
      <description>Ok Didier,&lt;BR /&gt;now you could see SYLOGIN.COM and look for any difference between interactive and batch mode.&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 08:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-in-batch-vs-interactive/m-p/3118044#M46716</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-11-17T08:47:00Z</dc:date>
    </item>
  </channel>
</rss>

