<?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: multi line command to ABC backup client from a DCL script in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020860#M35281</link>
    <description>Thanks for that, removing the $ did the trick.&lt;BR /&gt;&lt;BR /&gt;I also had to tweak the ABC commands a bit, but at least I could get it to recognize the second line.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
    <pubDate>Tue, 02 Jan 2007 19:08:03 GMT</pubDate>
    <dc:creator>Ray Kosovich</dc:creator>
    <dc:date>2007-01-02T19:08:03Z</dc:date>
    <item>
      <title>multi line command to ABC backup client from a DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020858#M35279</link>
      <description>We have a single VMS system that we support and no full time VMS Administrator so excuse me if I am asking a dumb question.&lt;BR /&gt;We use ABC backup client interfacing to IBM’s TIVOLI storage Manager to control all the backups for the system. The DCL script was supplied by ABC and has been working OK for some time.&lt;BR /&gt;&lt;BR /&gt;The script generates the required ABC commands and runs them from the ABC command line interface. However a recent change has introduced a bug where the script generates a command that is longer than 256 characters so we end up with the following error&lt;BR /&gt;%DCL-W-TKNOVF, command element is too long - shorten.&lt;BR /&gt;&lt;BR /&gt;I've tried to break the command into 2 lines within the DCL script and am now generating something like this :&lt;BR /&gt;&lt;BR /&gt;$  abc_command_line_1 -&lt;BR /&gt;$  command_line_2&lt;BR /&gt;&lt;BR /&gt;Whilst this works perfectly when I manually run it from the OS prompt (where I get a _$ prompt after the first command line is entered and then enter the second line), if I run it within the script I get &lt;BR /&gt;%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters.&lt;BR /&gt;&lt;BR /&gt;It appears to me that either ABC or DCL is not recognizing the fact that the command is spread across 2 lines in the script. &lt;BR /&gt;&lt;BR /&gt;Is there any trick I need to do to get this to happen and have ABC recognize the multi-line command ??&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jan 2007 02:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020858#M35279</guid>
      <dc:creator>Ray Kosovich</dc:creator>
      <dc:date>2007-01-02T02:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: multi line command to ABC backup client from a DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020859#M35280</link>
      <description>&lt;!--!*#--&gt;Don't put a "$" on the DCL continuation&lt;BR /&gt;line(s):&lt;BR /&gt;&lt;BR /&gt;$ abc_command_line_1 -&lt;BR /&gt;command_line_2&lt;BR /&gt;&lt;BR /&gt;You didn't type the (extra) "$"&lt;BR /&gt;interactively, right?&lt;BR /&gt;&lt;BR /&gt;I normally indent a little:&lt;BR /&gt;&lt;BR /&gt;$ abc_command_line_1 -&lt;BR /&gt;    command_line_2&lt;BR /&gt;&lt;BR /&gt;For examples, look at (almost) any of the&lt;BR /&gt;many .COM files in SYS$EXAMPLES:.</description>
      <pubDate>Tue, 02 Jan 2007 02:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020859#M35280</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-01-02T02:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: multi line command to ABC backup client from a DCL script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020860#M35281</link>
      <description>Thanks for that, removing the $ did the trick.&lt;BR /&gt;&lt;BR /&gt;I also had to tweak the ABC commands a bit, but at least I could get it to recognize the second line.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 02 Jan 2007 19:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multi-line-command-to-abc-backup-client-from-a-dcl-script/m-p/5020860#M35281</guid>
      <dc:creator>Ray Kosovich</dc:creator>
      <dc:date>2007-01-02T19:08:03Z</dc:date>
    </item>
  </channel>
</rss>

