[Info-vax] %PCSIUI-E-PRIVCLASS1 when using PRODUCT with PIPE
Jairo Alves
jairo.ptbr at gmail.com
Tue Dec 11 08:19:47 EST 2018
> That is a DCL command procedure invocation. That command procedure
> specifies the input be from the TT device. That then creates the DCL
> equivalent of a subshell. And the output from DCL procedure
> invocations can be redirected.
>
I see. It's a subshell, not a "pseudo-command file". I tried out of
curiosity to run a loop in that command, and sure enough, DCL throws an
exception, precisely because it is not emulating a command file, but
instead a sub shell, where loops are forbidden.
I> @TT:
_I> n = 0
_I> loop:
%DCL-W-NOLBLS, label ignored - use only within command procedures
\LOOP:\
_I> wr sys$output n
0
_> Exit
> The syntax in this area is also related to the leading $ sign in DCL
> procedures for commands and no leading $ for data, and the DECK command.
When I teach simple DCL to my students they always complain about
the dollar sign convention. They find it kinda old-fashioned.
>
> This area also has parallels to the SYSBOOT> SET/STARTUP=OPA0:
> conversational environment; the OpenVMS analog to the Unix single-user
> mode environment. In that context, you're effectively entering the
> commands of the startup script.
By the way, I've used a guide of Hoffman labs to "break-in" an old
Alpha that nobody knew the password for a couple years ago. Thanks :)
As a measure of precaution, I printed that out and still have this
guide in my desk's drawer.
More information about the Info-vax
mailing list