[Info-vax] Command Procedure Pipe output to a variable
Arne Vajhøj
arne at vajhoej.dk
Fri Oct 8 12:58:05 EDT 2021
On 10/8/2021 12:29 PM, Stephen Hoffman wrote:
> On 2021-10-08 15:47:22 +0000, Arne Vajhj said:
>> On 10/8/2021 11:39 AM, Stephen Hoffman wrote:
>>> On 2021-10-08 00:46:44 +0000, Lawrence D’Oliveiro said:
>>>> If names are not symbols, then what are they?
>>>
>>> Symbols are DCL variables, and are accessible within and local to DCL.
>>>
>>> Logical names are I/O system variables, and are accessible to (most)
>>> file system clients.
>>
>> Logical names are used all over for devices, directories and files.
>>
>> But they are not limited to that.
>>
>> They can be used for almost anything.
>>
>> Including configuration settings. You may not like that usage, but it
>> happens.
>
> Those would all be among the file system clients mentioned, yes.
I am still not sure why you say "file system clients".
Let me create a super simple example:
$ typ hoff.com
$ v = f$integer(f$logical("v"))
$ v = v + 1
$ write sys$output "Ran ''v' times"
$ define/job/nolog v 'v'
$ exit
$ @hoff
Ran 1 times
$ @hoff
Ran 2 times
$ spawn
%DCL-S-SPAWNED, process ARNE_11162 spawned
%DCL-S-ATTACHED, terminal now attached to process ARNE_11162
$ @hoff
Ran 3 times
$ eoj
Process ARNE_11162 logged out at 8-OCT-2021 12:52:15.61
%DCL-S-RETURNED, control returned to process ARNE
$ @hoff
Ran 4 times
Is hoff.com a file system client?
Arne
More information about the Info-vax
mailing list