Closes a file handle previously opened with a FileLoad function (FileCSVLoad, FileFixedLoad, FileCSVLoadGlobal or FileFixedLoadGlobal). If all file handles from all virtual users for a specific file are closed, the file is discarded from shared memory. When ending a simulation this function is performed automatically. Therefore you need not call this function if you want to close a file handle at the end of a simulation.
Kernel.bdh
FileUnload( inout hFile: number );
Parameter | Description |
---|---|
hFile | Specifies the file handle that is used to access the file |
dcltrans transaction TFileUnload var hFile: number; begin FileFixedLoad(hFile, "login.csv", "1..20;21-40"); FileUnload(hFile); end TFileUnload;
RandomLogin.bdf