- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: access dcl symbols from edit/tpu
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
тАО08-26-2008 09:48 AM
тАО08-26-2008 09:48 AM
access dcl symbols from edit/tpu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 10:02 AM
тАО08-26-2008 10:02 AM
Re: access dcl symbols from edit/tpu
Or you mean setting up macros and key bindings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 10:08 AM
тАО08-26-2008 10:08 AM
Re: access dcl symbols from edit/tpu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 10:50 AM
тАО08-26-2008 10:50 AM
Re: access dcl symbols from edit/tpu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 11:05 AM
тАО08-26-2008 11:05 AM
Re: access dcl symbols from edit/tpu
Let me restate this more explicitly since I rarely work in VMS - if within TPU I construct filenames that include logicals without any sort of quoting mechanism, that is, file name constructions that include components made in the working environment with "define" or "assign", they will just work. I looked all through the reference manual and there are no examples, so I never even thought to try this. Apparently, neither did the people before me, the ones who wrote these programs!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 11:50 AM
тАО08-26-2008 11:50 AM
Re: access dcl symbols from edit/tpu
Referencing logical names will work, there is no need for special quoting mechanisms.
In fact, as an example, SYS$SYSDEVICE is a logical name that points to the boot device. There are very few places where it is actually necessary to use a device name.
For additional reading, see my series of articles on OpenVMS.org about the use of logical names (http://www.openvms.org/stories.php?story=03/03/03/4358185 ) [The URL is to the last fifth of five articles in that series; pointers to the previous articles are included).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2008 11:55 AM
тАО08-26-2008 11:55 AM
Re: access dcl symbols from edit/tpu
> the ones who wrote these programs!
They had read the Intro to VMS documentation,
which explains that logical names are built
into the OS, so they probably felt no need
to re-explain them in this context. As
usual, if you know the answer, it may be
obvious. If you don't, it may not be.
http://h71000.www7.hp.com/doc/731FINAL/6489/6489pro_026.html#lognames_ch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 01:44 PM
тАО08-28-2008 01:44 PM
Re: access dcl symbols from edit/tpu
As others have already said, logical names will be substituted into file specifications used in EVE or TPU commands according to the normal rules.
Both EVE and TPU have a vast number of built in functions which may already provide a mechanism for translating logical names or symbols directly. Explore HELP.
If it doesn't already exist, you can extend TPU with your own routines, written in the language of your choice. You write a routine call TPU$CALLUSER, and then invoke it with the CALL_USER builtin function. It's up to you to choose an interface.
Quite straight forward to build a routine to call LIB$GET_SYMBOL and/or LIB$GET_LOGICAL to return translated strings as TPU variables.