- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Assigning the return value of a DCL command to a s...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-19-2006 12:21 AM
тАО03-19-2006 12:21 AM
Is there a way to assign the return value of a DCL command to a symbol or any other variable like (the syntax is not correct, of course):
a="pipe show queue my_queue /all | search sys$input search_str"
Best Regards...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2006 12:51 AM
тАО03-19-2006 12:51 AM
Solutionfor an example from a recent discussion please see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=876934
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2006 10:08 AM
тАО03-19-2006 10:08 AM
Re: Assigning the return value of a DCL command to a symbol or any other variable
http://dcl.openvms.org/stories.php?story=06/02/14/9046103
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2006 12:43 PM
тАО03-19-2006 12:43 PM
Re: Assigning the return value of a DCL command to a symbol or any other variable
Agreed. Would be nice. I'm sure I suggested dsomething along those lines here a few weeks ago, but can not find it back. Anyway, the syteax should of course use a backtick. That woudl be Unix compatible, and the backtick has not been used in OpenVMS untill now, so it should be a free for all.
a = `pipe show queue my_queue /all | search sys$input search_str`
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2006 09:51 PM
тАО03-19-2006 09:51 PM
Re: Assigning the return value of a DCL command to a symbol or any other variable
http://www.hpuseradvocacy.org/node/1991
If it's something you think would be useful, please vote for it.
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2006 11:15 PM
тАО03-19-2006 11:15 PM
Re: Assigning the return value of a DCL command to a symbol or any other variable
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2006 06:53 PM
тАО03-24-2006 06:53 PM