- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- how to pass parameters
Operating System - OpenVMS
1748113
Members
3417
Online
108758
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
тАО12-10-2007 01:21 PM
тАО12-10-2007 01:21 PM
how to pass parameters
Hi how to pass parameters from one file to another
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2007 02:20 PM
тАО12-10-2007 02:20 PM
Re: how to pass parameters
Files don't pass parameters, so I'm not quite sure what you're looking to do here.
DCL command procedures can pass parameters, and applications can pass parameters.
Usually
@procedure p1 p2 p3 p4 p5
Up to eight parameters are permitted.
You can also pass parameters using DCL symbols and logical names.
If you're not familiar with OpenVMS and its terminology and operations, then the OpenVMS User's Guide and the OpenVMS Programming Concepts manuals -- both are part of the OpenVMS documentation set -- can be good resources for these and other areas.
Once you get the hang of some of this with the manuals, then the HELP command and its reminders can assist you with various details of the platform. (The on-line HELP is a subset of the manuals, and thus not a good substitute for the manuals.)
The User's Guide in particular has a section on writing DCL command procedures that covers CALL and GOSUB and @ and such, and parameter passing. (I'm guessing you're writing a DCL procedure here, though I'm not entirely certain of that.) Here's the doc URL:
http://www.hp.com/go/openvms/doc
Stephen Hoffman
HoffmanLabs LLC
DCL command procedures can pass parameters, and applications can pass parameters.
Usually
@procedure p1 p2 p3 p4 p5
Up to eight parameters are permitted.
You can also pass parameters using DCL symbols and logical names.
If you're not familiar with OpenVMS and its terminology and operations, then the OpenVMS User's Guide and the OpenVMS Programming Concepts manuals -- both are part of the OpenVMS documentation set -- can be good resources for these and other areas.
Once you get the hang of some of this with the manuals, then the HELP command and its reminders can assist you with various details of the platform. (The on-line HELP is a subset of the manuals, and thus not a good substitute for the manuals.)
The User's Guide in particular has a section on writing DCL command procedures that covers CALL and GOSUB and @ and such, and parameter passing. (I'm guessing you're writing a DCL procedure here, though I'm not entirely certain of that.) Here's the doc URL:
http://www.hp.com/go/openvms/doc
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 03:52 AM
тАО12-11-2007 03:52 AM
Re: how to pass parameters
Hi, if you have nested procedures, you can use global symbols for both by "==" or ":==".
Example:
$ g_symbol == "my_global_value"
Another possibility is by logical name.
Example:
$ g_symbol == "my_global_value"
Another possibility is by logical name.
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