13.04.2013 Views

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Digipass</strong> <strong>Plug</strong>-<strong>In</strong> <strong>for</strong> <strong>SBR</strong> <strong>Administrator</strong> <strong>Reference</strong> <strong>Digipass</strong> TCL Command-Line Administration<br />

14.2.6 Error Handling<br />

When an error occurs in a VASCO TCL Extension command, in<strong>for</strong>mation about the error will be<br />

written to the standard TCL error variables. This allows error handling in scripts, and allows a<br />

user to obtain in<strong>for</strong>mation about the last error received when using an interactive command<br />

line. For example, if this command was entered:<br />

% user get {userid doesnotexist}<br />

and a User with the ID of doesnotexist could not be found, then this error would be returned:<br />

Error code: Error message: <br />

<strong>In</strong><strong>for</strong>mation about that error could be retrieved from standard TCL error variables using these<br />

commands:<br />

% puts $errorCode<br />

Returns:<br />

And<br />

-13<br />

% puts $error<strong>In</strong>fo<br />

Returns:<br />

Error code: Error message: <br />

while executing<br />

"user get {userid doesnotexist}"<br />

14.2.7 <strong>In</strong>ternational Characters<br />

DPADMINCMD supports international characters, but your console window must be able to<br />

support the characters or they will not display correctly. The Lucida Console font is typically<br />

used.<br />

14.2.8 Syntax Notes<br />

The following points should be remembered <strong>for</strong> basic interactive and scripted usage:<br />

Result values that include whitespace, including date/time values, are given { } by TCL<br />

Comments in scripts are preceded with a #<br />

A backslash character at the end of a line indicates that the command is continued on<br />

the next line.<br />

© 2006 VASCO Data Security <strong>In</strong>c. 154

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!