- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: VMS DCL
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
тАО06-30-2008 08:13 AM
тАО06-30-2008 08:13 AM
VMS DCL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 09:46 AM
тАО06-30-2008 09:46 AM
Re: VMS DCL
Sending these control sequences from the host outwards to the terminal will not have the desired effect. The terminal will consume the sequence associated with the down arrow key and display a question mark.
If you're looking to run an existing application under software control (as I suspect is the case), the usual approach there involves pseudo terminals. These allow you to have your application mimic a human and what a human will see in a screen-based application, and to pass the key sequences into the target application.
As for the literal question, you can use the DCL symbol and its square bracket notation to insert non-printable characters into a string. Here's an example of sending an control sequence from the host to the terminal:
http://64.223.189.234/node/150
This particular control sequence is one that is interpreted by the terminal.
And the question mark, being printable, can be inserted into a symbol such as this:
$ foobar = "?"
But these likely won't work, if you're looking to run a DCL procedure. The I/O is going in the wrong direction. And the down-arrow implies there is screen handling here.
So what are you up to here, and what versions and platforms are involved? (There may well be other approaches.)
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 10:15 AM
тАО06-30-2008 10:15 AM
Re: VMS DCL
I am trying to creae a DCL command procedure to execute in Cache in the AES GWS application the adding of a printer to the table. There are several screens to go throught to reach the area I require. I am not even sure if this will work, however I will not know if I do not try.
At one point when doing interactive I have to select Printers using the down arrow and then with the space bar indicated that this is my selection, followed by F10 key, at which point I enter the required information to add the Print Queue to the table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 11:34 AM
тАО06-30-2008 11:34 AM
Re: VMS DCL
You could write to one serial line and wrap back to another serial line. That's an older approach toward implementing a reflector.
Call up the Cache folks and see if there's an API for this, or if an API can be added. If there's not an API, you're off working on what amounts to screen scraping and such, and that usually ends up involving pseudo-terminals. (And the pseudo-terminal approach avoids needing a terminal line wired back around to another terminal line.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 12:38 PM
тАО06-30-2008 12:38 PM
Re: VMS DCL
Badge jobs can only provide basic, new-line-terminated input toa program.
The psuedo terminal driver will allow you to construct a tool to do this, but that' probably more effort than it is worth... for a few (dozen) occurences.
I do not know whether someone made this into a general purpose 'expect' like tool.
http://h71000.www7.hp.com/doc/732FINAL/aa-pv6sf-tk/00/00/46-con.html
Check out: sys$examples:ALPHA_LOGGER.C
If you happen to have it, then the DEC Test Manager (DTM) may well be suitable to drive this repeatedly with minor variances.
Finally, hwo about using outside driver, like a telnet session with 'expect' from a unix box or 'auotit' from windows.
Sorry, no solution, but those would be the things I would check out if it was my problem.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 03:58 PM
тАО06-30-2008 03:58 PM
Re: VMS DCL
You can use pipe to feed Cache input. For example to monitor licensing:
$ send = "write sys$output"
$ lstatus == "pipe ( send ""D ^CKEY"" ; send ""H"" ) | cache | search sys$pipe/nohigh ""currently available"" "
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 04:10 PM
тАО06-30-2008 04:10 PM
Re: VMS DCL
CTRL-I (tab) may get you to the next field but you could also try CTRL-J CTRL-L CTRL-M
If the terminal is in line edit mode then CTRL-V can be used to turn off the interpretation of some keys.
Also CTRL-X or CTRL-Z may be an alternative to F10
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 08:14 AM
тАО07-01-2008 08:14 AM
Re: VMS DCL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 08:18 AM
тАО07-01-2008 08:18 AM
Re: VMS DCL
Where I can find the code to create a symbols for the keys you mention?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2008 02:17 PM
тАО07-01-2008 02:17 PM
Re: VMS DCL
ftp://ftp.hp.com/pub/openvms/doc/AA-PV6SG-TK.PDF
Look in the appendix.
Details on how escape and control sequences are constructed are in the Terminal Driver chapter in that same manual.
Various VT-series terminal manuals are available from sources around the 'net, including the http://vt100.net/ site.