DumpStatus - cCLIHandler

Dumps the current status of the Connectivity Kit to an ASCII disk file.

Type: Procedure

Parameters: String sFileName

ParameterDescription
sFileNameName of text file to dump status to.


Syntax
Procedure DumpStatus String sFileName

Call: Send DumpStatus sFileName


Description

Dumps the current status of the Connectivity Kit to an ASCII disk file.

The DumpStatus procedure expects a disk file name as parameter. If the disk file already exists, the current status will be appended to that disk file.

Procedure ShowStatus
    Handle hoCLI

    Get Create U_cCLIHandler To hoCLI
    Set psDRiverID Of hoCLI To MSSQLDRV_ID
    Send DumpStatus Of hoCLI "c:\status\mssqldump.txt"
    Send Destroy Of hoCLI
End_Procedure // ShowStatus