Previous Topic: echo-off Command

Next Topic: source Command

echo-on Command

The echo-on command sends an echo of the command to the command before it is executed, and also send the command results to the same output.

To obtain a full log of a script on a DSA, set the first lines of the script file to:

echo-on;
set trace-log = "script.log";

script.log is the name of the file to which the output is sent.

To obtain a full log of a script on a DUA, do the following:

  1. Set the first lines of the script file to:
    echo-on;
    set log-type = "script.log";
    
  2. Set the last lines of the script to the following:
    flush trace-log;
    quit;
    


Copyright © 2009 CA. All rights reserved. Email CA about this topic