- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- DCL INQUIRE and string Case Sensitivity
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
07-07-2010 03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
07-07-2010 04:14 AM
07-07-2010 04:14 AM
Re: DCL INQUIRE and string Case Sensitivity
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP