Product Documentation

FairCom RTG V3 Update Guide

Previous Topic

Next Topic

ctclosefile - Close Open Memory and ctKEEPOPEN files

It is easy to create memory files or set persisted files in a ctKEEPOPEN state. However, those files need to be closed at times and we do not have a utility to do so, only the CloseCtFileByName() API. This revision adds a simple utility, ctclosefile, allowing this functionality in a scripted environment.

ctclosefile will close a specified FairCom DB memory file or any file held open with a ctKEEPOPEN directive.

ctclosefile [-u user] [-p password] [-s server][-f filename] [-w file password ] {-a authfile}

Parameters:

-u - User ID

-p - User Password

-s - Server (default: FAIRCOMS@localhost)

-f - File name

-w - File password

-a - Authentication file name

TOCIndex