- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Environment variable.
Operating System - OpenVMS
1748216
Members
3178
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-21-2005 04:24 AM
тАО09-21-2005 04:24 AM
Environment variable.
Hello to forum,
We are running out executable on BASH cell.
Now I need to debug my program using the OPEN VMS debugger! For that I need to pass the certain environment variable like SHM, SCEDIR, LOGDIR. Since I cant start the debugger from the BASH cell! How do I make available of these variables to my program thru the debugger?
Thanking in advance.
Mutturaj
We are running out executable on BASH cell.
Now I need to debug my program using the OPEN VMS debugger! For that I need to pass the certain environment variable like SHM, SCEDIR, LOGDIR. Since I cant start the debugger from the BASH cell! How do I make available of these variables to my program thru the debugger?
Thanking in advance.
Mutturaj
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 05:56 AM
тАО09-21-2005 05:56 AM
Re: Environment variable.
Just DCL during debugging and then back to bah when ready for that?
I was tempted to ask 'What's the point in using a fancy shell if you do not know how to set environment variables', but I will not.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 06:57 PM
тАО09-21-2005 06:57 PM
Re: Environment variable.
Mutturaj,
If you read environment variables with getenv(), I will try with DCL commands to define symbols:
$ SHM=""
$ SCEDIR=""
$ LOGDIR=""
or with logical names :
$ DEFINE SHM
$ DEFINE SCEDIR
$ DEFINE LOGDIR
This because the native VMS getenv() try to mimic the UNIX getenv () so that it first try to retrive the symbol and then the logical name.
Bojan
If you read environment variables with getenv(), I will try with DCL commands to define symbols:
$ SHM="
$ SCEDIR="
$ LOGDIR="
or with logical names :
$ DEFINE SHM
$ DEFINE SCEDIR
$ DEFINE LOGDIR
This because the native VMS getenv() try to mimic the UNIX getenv () so that it first try to retrive the symbol and then the logical name.
Bojan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP