Skip to content

SETTRACE

FUNCTION

This command initiates an output listing of script procedures, commands or directives, and values as the script is executed.

SYNTAX

SETTRACE [PRINTER printer-link-name]
[PAUSE] [DIRECTIVE] [print-values]

printer-link-name the name of a printer link defined in Dictionary-IV.

print-values
a data name, variable or format name.

NOTES

  • The DIRECTIVE option causes the directives or commands of the script to be listed as well as the procedure names.
  • The PAUSE option causes the system to pause after each procedure is listed. Press the Enter key to continue the listing.
  • The PAUSE option is ignored when the PRINTER option is used.
  • The output of this command, when displayed on the terminal, can be temporarily halted by pressing the Ctrl-S keystroke sequence and resumed by pressing the Ctrl-Q keystroke sequence.

EXAMPLES

SETTRACE PRINTER 4GLP
DIRECTIVE

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF