NovConUsingAFileEx

Prev Next Home Home Table Of Contents Index

NovConOpenFilesEx (2dArray,Connection)

NovConOpenFilesEx returns extended information about all the files a connection has open. It returns a 2 dimensional array listing the files open by a connection and access information about those files. The information about the files is as follows:


 [1] - File Name
 [2] - Access Control
 [3] - Lock Type
 [4] - Task Number

Access Control bits are as follows:


 0 - Open for Read
 1 - Open for Write
 2 - Deny Read
 3 - Deny Write
 4 - File Detached
 5 - TTS Holding Detach
 6 - TTS Holdomg Open

Lock Type Bit Flags


 0 - Locked
 1 - Open Sharable
 2 - Logged
 3 - Open Normal
 6 - TTS Holding Lock
 7 - Transaction Flag

Example:
var Files NovConOpenFiles(Files,1) ;connection 1 Loop Files Writeln 'Name=' LoopVal[1] Writeln 'Access=' LoopVal[2] Writeln 'Lock=' LoopVal[3] Writeln 'Task=' LoopVal[4] Writeln EndLoop

See Also: NovConUsingAFile

Category: Novell

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home