[Info-vax] unzip.exe and cc064.zip
Tym Stegner
tym.stegner at gmail.com
Thu Oct 6 10:49:52 EDT 2016
On Tuesday, October 4, 2016 at 12:24:53 PM UTC-4, Bill Cunningham wrote:
> I have vms unzip and trying to unzip the package cc064.zip I get the
> error too many parameters. All I am typing is 'r unzip cc064.zip' and I have
> tried it without the .zip extension. But when I use, 'r unzip' I get zip to
> print out it's options. I think maybe using VMS unzip I might save VMS
> attribs for the file. And just use vmsinstal for the package. i.e.
> "cc064.zip".
>
> Bill
Nobody is answering the question asked:
(paraphrase) "I don't understand the part after sys$output."
write sys$output f$getsyi("<sysgen parameter>")
<value>
WRITE needs little explanation.
SYS$OUTPUT, SYS$INPUT, SYS$COMMAND, SYS$ERROR are process-specific pre-defined IO channels for use by READ and WRITE; each correspond to different entities, mostly self-explanatory.
F$GETSYI is what is known as a lexical function. Many exist, and are -very- helpful for manipulating the DCL/Console environment. A non-obvious feature is that in addition to the list of specific qualities defined for it's use, F$GETSYI can also return the current value of any SYSGEN parameter.
You can also do similar via MCR SYSGEN SHOW <param>, but the f$GETSYI approach allows the returned value to be placed into a symbol [variable] for programmatic use.
HTH,
Tym
More information about the Info-vax
mailing list