[Info-vax] DCL: Restrictions to READ loop process?

JF Mezei jfmezei.spamnot at vaxination.ca
Wed Sep 16 15:18:20 EDT 2009


Robb wrote:

> Adding SET VERIFY like JF Mezei recommended, I see that the process
> errors out if the file I'm asking it to copy doesn't exist.

You can add:

$ON ERROR THEN GOTO label

Before a command you suspect could generate errors.

The "ON" command is not permanent. Once it has been triggfered by an
error, you need to re-issue the command.

Another possibility is $SET NOON which causes the DCL file to continue
executing even if it encounters errors.



More information about the Info-vax mailing list