[Info-vax] SYS$CREPRC output to file but its overriding and not appending

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Thu Nov 4 15:05:21 EDT 2021


On 2021-11-04 15:52:15 +0000, HCorte said:

> Running a script/command procedure using the CREPRC with the image 
> LOGINOUT the  OUTPUT_PATH is a logical name as is the SCRIPT_PATH and  
> ERROR_PATH.
> ...
>  so my question is SYS$ASSIGN the way to go to make the new log info 
> append to the existing one on file.LOG;1? a bit lost at this point ...

LOGINOUT creates new logs. LOGINOUT will not append to existing logs.

If you want that—and I don't recommend the approach—then you'll likely 
best aim the process output at a mailbox, and then write an app (or use 
COPY, if you're hacking this) that drains and logs the mailbox traffic.

Parsing command output from OpenVMS commands has long been considered 
unstable and unsupported and subject to change without notice, too.




-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list