HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- multi line command to ABC backup client from a DCL...
Operating System - OpenVMS
1827808
Members
1992
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2007 06:06 PM
01-01-2007 06:06 PM
multi line command to ABC backup client from a DCL script
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.
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.
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
%DCL-W-TKNOVF, command element is too long - shorten.
I've tried to break the command into 2 lines within the DCL script and am now generating something like this :
$ abc_command_line_1 -
$ command_line_2
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
%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters.
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.
Is there any trick I need to do to get this to happen and have ABC recognize the multi-line command ??
Thanks
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.
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
%DCL-W-TKNOVF, command element is too long - shorten.
I've tried to break the command into 2 lines within the DCL script and am now generating something like this :
$ abc_command_line_1 -
$ command_line_2
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
%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters.
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.
Is there any trick I need to do to get this to happen and have ABC recognize the multi-line command ??
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2007 08:31 PM
01-01-2007 08:31 PM
Re: multi line command to ABC backup client from a DCL script
Try without the 2nd $
$ abc_command_line_1 -
command_line_2
$ abc_command_line_1 -
command_line_2
____________________
Purely Personal Opinion
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2007 10:57 AM
01-02-2007 10:57 AM
Re: multi line command to ABC backup client from a DCL script
Ray,
As Ian has pointed out, the correct syntax for a continuation line is without a leading "$".
> script generates a command that is
>longer than 256 characters so we end
>up with the following error
>%DCL-W-TKNOVF, command element is too long - shorten.
You don't say what version you're running, but I assume it's fairly old.
Recent versions of OpenVMS have extended DCL which accepts longer command lines and command elements. Although there is some EDCL in V7.3-2, tokens larger than 256 characters are in V8.2 or later, with the latest DCL & UPDATE patches.
As Ian has pointed out, the correct syntax for a continuation line is without a leading "$".
> script generates a command that is
>longer than 256 characters so we end
>up with the following error
>%DCL-W-TKNOVF, command element is too long - shorten.
You don't say what version you're running, but I assume it's fairly old.
Recent versions of OpenVMS have extended DCL which accepts longer command lines and command elements. Although there is some EDCL in V7.3-2, tokens larger than 256 characters are in V8.2 or later, with the latest DCL & UPDATE patches.
A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP