- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- DCL INQUIRE and string Case Sensitivity
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
тАО07-07-2010 03:47 AM
тАО07-07-2010 03:47 AM
Not sure if this is possible or not in DCL, Basically I need to enter a string using the DCL INQUIRE command and for the value not automatically be converted to uppercase, is this possible?
eg.
$inquire lower_case "Enter something in lower"
$sh sym lower_case
the symbol will always be in uppercase
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 03:55 AM
тАО07-07-2010 03:55 AM
Re: DCL INQUIRE and string Case Sensitivity
entering lowercase results in LOWERCASE
entering "lowercase" results in lowercase
If the user can't be trained to use DCL quoting, a simple
READ/PROMPT="Enter something in lower" lower_case
will not touch the string casing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 03:56 AM
тАО07-07-2010 03:56 AM
Re: DCL INQUIRE and string Case Sensitivity
instead of using DCL INQUIRE, use DCL READ:
AXPVMS $ read/prompt="Enter mixed-case string: " sys$command x
Enter mixed-case string: xxYY
AXPVMS $ sho sym x
X = "xxYY"
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 03:59 AM
тАО07-07-2010 03:59 AM
Re: DCL INQUIRE and string Case Sensitivity
Just replace INQUIRE by READ SYS$COMMAND symbolname.
Do realise that that symbol will be a LOCAL symbol; if you need the value at other command levels you will have to assign a global symbol with the value of the just-read local ymbol.
You can use a /PROMPT="prompt string"
You can use a timeout, errorlabel etc.
Full info in HELP READ.
I do not think I have used INQUIRE myself in the last 20-odd years.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 04:08 AM
тАО07-07-2010 04:08 AM
Re: DCL INQUIRE and string Case Sensitivity
Niall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 04:09 AM
тАО07-07-2010 04:09 AM
Re: DCL INQUIRE and string Case Sensitivity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 04:12 AM
тАО07-07-2010 04:12 AM
Re: DCL INQUIRE and string Case Sensitivity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 04:14 AM
тАО07-07-2010 04:14 AM