[Info-vax] Very simple DCL question
Chris Townley
news at cct-net.co.uk
Wed Dec 28 13:45:55 EST 2022
On 28/12/2022 18:38, Arne Vajhøj wrote:
> On 12/28/2022 1:29 PM, Chris Townley wrote:
>> On 28/12/2022 16:45, Arne Vajhøj wrote:
>>> $ type z.com
>>> $ write sys$output "''p1'"
>>> $ @z a
>>> A
>>> $ @z "a"
>>> a
>>>
>>> This is not really surprising.
>>>
>>> But are there any way to preserve pn case without
>>> double-quoting it?
>>>
>>> Like this hypothetical syntax:
>>>
>>> $ set proc/parse=(extended,pnkeepcase)
>>
>> There is of course
>>
>> $ SET PROCESS /CASE=CASE_LOOKUP=SENSITIVE /PARSE_STYLE=EXTENDED
>>
>> Does this not work?
>
> I did not know that. But no.
>
> $ SET PROCESS /CASE=CASE_LOOKUP=SENSITIVE /PARSE_STYLE=EXTENDED
> %DCL-W-IVKEYW, unrecognized keyword - check validity and spelling
> \CASE_LOOKUP\
> $ SET PROCESS /CASE_LOOKUP=SENSITIVE /PARSE_STYLE=EXTENDED
> $ @z a
> %DCL-E-OPENIN, error opening DISK2:[ARNE.gpcp]z.COM; as input
> -RMS-E-FNF, file not found
> $ @z.com a
> A
> $ @z.com "a"
> a
>
> Arne
>
Interesting. What version of VMS are you on?
My example was straight from the VSI DCL dictionary. I was vaguely aware
of something like that.
Presumably the command affects the current process - do you need to have
it in z.com? Although you shouldn't as you are double quoting the symbol
substitution.
--
Chris
More information about the Info-vax
mailing list