capture-on

capture-on


capture-off Index Level case
Syntax
Category TCL
Type Verb
Description enables the capturing of every TCL command issued.

The captured output is placed in the "captcl" file using the item-id "user-id*port.number" as the item-id.

The "captcl" file will be created, if it does not exist to using this verb.
Options s  "Silent" operation. Suppresses message output.
See Also EXECUTE capt capture-off
Example This example illustrates how a series of TCL commands could be trapped to a file:

capture-on
Capturing started on 14:53:11  01 May 1992 on pib# 22
term ,,,,,,79,52
sp-assign hs f11
sselect ap.doc by category
save-list ap.doc.by.category
get-list ap.doc.by.category
list ap.doc category token (p
capture-off (x
Capturing turned off on 14:56:18  01 May 1992 on pib# 22

The above sequence of commands is trapped in the item, "dm*22" in the "captcl" file:

li captcl
Page   1      captcl                  17:58:21 01 May 1992

dm*22
001 term ,,,,,,79,52
002 sp-assign hs f11
003 sselect ad by category
004 save-list ap.doc.by.category
005 get-list ap.doc.by.category
006 list ap.doc token category (p
007 capture-off (x

[405] 1 items listed out of 1 items.
Warnings
Compatibility D3 7.0 AP
capture-off Index Level case