VMS Help  —  CALL  Qualifier

1    /OUTPUT

       /OUTPUT=filespec

    Writes all output to the file or device specified. By default,
    the output is written to the current SYS$OUTPUT device and the
    output file type is .LIS. System responses and error messages
    are written to SYS$COMMAND as well as to the specified file. If
    you specify /OUTPUT, the qualifier must immediately follow the
    CALL command. The asterisk (*) and the percent sign (%) wildcard
    characters are not allowed in the output file specification.

    You can also redefine SYS$OUTPUT to redirect the output from a
    command procedure. If you place the following command as the
    first line in a command procedure, output will be directed to the
    file you specify:

    $ DEFINE SYS$OUTPUT filespec

    When the procedure exits, SYS$OUTPUT is restored to its original
    equivalence string. This produces the same result as using the
    /OUTPUT qualifier when you execute the command procedure.
Close Help