- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Does the Pipe command work on all versions and pla...
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
Forums
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
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
тАО10-02-2008 03:01 AM
тАО10-02-2008 03:01 AM
I wanted to know if the PIPE command works on all platforms and versions of OpenVMS?
Are there any versions where Pipe doesn't work? Basically I am interested in sequential command execution. Is there any documentation which will tell me if PIPE works on some platforms and not on others?
The reason for this is that in my code I have used it to run commands and wanted to know if it will work on all the platforms and versions.
Please help.
Thanks,
Vineet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 03:42 AM
тАО10-02-2008 03:42 AM
Solutionvms OR openvms pipe "new features"
found, among other things:
http://pupgg.princeton.edu/cdrom12/html/ssb71/6480/6480p.htm
2.1.1 PIPE Command
OpenVMS Version 7.1 introduces some popular UNIX command shell processing functions. [...]
> Please help.
Please try harder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 03:42 AM
тАО10-02-2008 03:42 AM
Re: Does the Pipe command work on all versions and platforms?
It is available and believed to work on that and later version. VAX, Alpha and I64.
>> Basically I am interested in sequential command execution.
Please explain what that means.
TO me sequential execution means execute 1, then execute 2 and so on. A basic command file will do thsi for individual commands and a batch queue (with job-limits or SYNC commands) can be used to sequentially execute larger 'jobs'.
>> The reason for this is that in my code I have used it to run commands and wanted to know if it will work on all the platforms and versions.
It should. Do yo have any reason to doubt? Then please elaborate with concrete commands and (error) messages which perhaps prompted the question.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 04:07 AM
тАО10-02-2008 04:07 AM
Re: Does the Pipe command work on all versions and platforms?
PIPE write sys$output "
I am interested in parsing the output of
Right now I haven't faced any problems with the PIPE command but that maybe because the versions on which I have tested are above v7.0.
I want to know whether I will have problems if I execute this command on an earlier version of OpenVMS.
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 04:22 AM
тАО10-02-2008 04:22 AM
Re: Does the Pipe command work on all versions and platforms?
> if I execute this command on an earlier
> version of OpenVMS.
Well, duh. It was a NEW FEATURE in V7.1. Do
you think it will work in older versions? (I
don't.)
What would be different if you did this
instead?:
write sys$output "
write sys$output "
I see no compelling reason to use PIPE here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 04:26 AM
тАО10-02-2008 04:26 AM
Re: Does the Pipe command work on all versions and platforms?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 04:53 AM
тАО10-02-2008 04:53 AM
Re: Does the Pipe command work on all versions and platforms?
I guess you will have the same error message I get when I type something which is not a Vms command defined in sys$common:[syslib]dcltables.exe, example
$ uiuiuiui
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\UIUIUIUI\
You should get VERB from
http://vms.tuwien.ac.at/freeware/VERB/
and "play" with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 05:32 AM
тАО10-02-2008 05:32 AM
Re: Does the Pipe command work on all versions and platforms?
I did try the method:-
write sys$output
command
write sys$output
but was having some problems which were solved by the Pipe command. But I guess if I want to implement a more generic approach I will have to revert back to the old method.
Anyways thanks to all for your answers.
- Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 05:56 AM
тАО10-02-2008 05:56 AM
Re: Does the Pipe command work on all versions and platforms?
The usual approaches are:
$ cmd/OUTPUT
$ @mumble /OUTPUT
$ CALL /OUTPUT
$ @TT: /OUTPUT
$ SUBMIT (with or without EXECSYMB)
Applications can also internally contain tools for logging or redirection, or can be extended to contain these capabilities.
And then (and least desirably) you get to I/O redirection using SYS$OUTOUT: or related; /USER is better than not.
$ DEFINE /USER
$ DEFINE
where I/O redirection tends not to work as someone familiar with pipes might expect or might want.
I'd suggest reading the Writing Real Programs in DCL book (2nd ed) book Paul and I wrote a while back, though that's out of print.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 07:21 AM
тАО10-02-2008 07:21 AM
Re: Does the Pipe command work on all versions and platforms?
> [...]
> but was having some problems [...]
My psychic powers are too weak to tell me
what "command" was, or what "some problems"
were, so it's hard to say if PIPE was the
best way to solve them. If you'd like some
actual advice, provide some actual
information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 07:36 AM
тАО10-02-2008 07:36 AM
Re: Does the Pipe command work on all versions and platforms?
I'm somewhat surprised that DCL itself is used here; I'd tend to expect either a dedicated probe application image or the use of SNMP. (Or both.)
One other thing I forgot to mention over in that other UI (workstation versus server icon) thread: these system management tools are a gigantic and very juicy security target for hackers.