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
1830165
Members
6011
Online
109999
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
Go to solution
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
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
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2007 06:19 PM
01-01-2007 06:19 PM
Solution
Don't put a "$" on the DCL continuation
line(s):
$ abc_command_line_1 -
command_line_2
You didn't type the (extra) "$"
interactively, right?
I normally indent a little:
$ abc_command_line_1 -
command_line_2
For examples, look at (almost) any of the
many .COM files in SYS$EXAMPLES:.
line(s):
$ abc_command_line_1 -
command_line_2
You didn't type the (extra) "$"
interactively, right?
I normally indent a little:
$ abc_command_line_1 -
command_line_2
For examples, look at (almost) any of the
many .COM files in SYS$EXAMPLES:.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2007 11:08 AM
01-02-2007 11:08 AM
Re: multi line command to ABC backup client from a DCL script
Thanks for that, removing the $ did the trick.
I also had to tweak the ABC commands a bit, but at least I could get it to recognize the second line.
Cheers
I also had to tweak the ABC commands a bit, but at least I could get it to recognize the second line.
Cheers
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP