- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Recall Command
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
тАО12-19-2005 02:05 AM
тАО12-19-2005 02:05 AM
Recall Command
Is there a way to do "Recall/Output=file.ext" from a command procedure?
I checked the manual and it refers to terminal buffer only but perhaps there is a way to redirect the buffer within a command procedure.
*note- I had earlier posted this on the wrong forum .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 02:42 AM
тАО12-19-2005 02:42 AM
Re: Recall Command
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 02:59 AM
тАО12-19-2005 02:59 AM
Re: Recall Command
you can view the command recall buffer with SDA:
$ SET PROC/PRIV=CMK
$ ANAL/SYS
CLUE PROCESS/RECALL
EXIT
For a sufficiently privileged user, these commands can be executed in a DCL procedure.
The RECALL commands only work if you are at the DCL prompt, not from within a DCL procedure.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:03 AM
тАО12-19-2005 03:03 AM
Re: Recall Command
I have set up the LOGGER utility from the freeware link. It works but capturing the command stream would take less space.
Bullet-proof is not part of the requirement. Privileged users by definition have privileged access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:15 AM
тАО12-19-2005 03:15 AM
Re: Recall Command
You can do the following:
$ define sys$output tempfile.tmp
$ recall/all
$ deassign sys$output
You will find all previous entered commands in tempfile.tmp
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:17 AM
тАО12-19-2005 03:17 AM
Re: Recall Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:22 AM
тАО12-19-2005 03:22 AM
Re: Recall Command
Trying to redirect the output did not work on either VMS 7.1 nor VMS 7.3-2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:38 AM
тАО12-19-2005 03:38 AM
Re: Recall Command
The Analy/Sys will work well for the newer systems. That will help a lot. Thanks.
The logger routine will work for the older systems. Since there is less activity on those, that should be livable.
Thanks to all for input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:45 AM
тАО12-19-2005 03:45 AM
Re: Recall Command
you dind't say you wanted to do this on VAX as well ;-)
See the following article for how to do this on a VAX. There are no CLUE$SDA extensions for OpenVMS VAX.
http://h18000.www1.hp.com/support/asktima/operating_systems/00947357-25899660-1C01E7.html
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2005 03:54 AM
тАО12-19-2005 03:54 AM
Re: Recall Command
fyi,
RECALL/ALL explicitly protects against writing to an output file when in batch mode. They (Dave M) designed it that way in order to protect against malicious batch jobs 'scraping' the command stream for passwords. I always thought this was a poorly exectued idea as it is obviously very handy to be able to save teh recall automatically when you logout. But this is the way it is (unfortunately) designed to work and how it will stay working.
There is code (freeware) out there that can help with this problem. There are even DCL prodecures that dive into DCL data space to extract the old commands. Google and yeah shall find.
Cheers,
Hein.