CS_IFILE defines the name and location of the interfaces file.
The interfaces file contains the name and network address of every server available on the network. It establishes communication between clients and servers. For every server to which a client might connect, the interfaces file contains an entry which includes the server name, the machine name, and the address of that server. For Client-Library applications, the interfaces file is searched during every call to ct_connect.
On most platforms, if a particular interfaces file has not been specified through ct_config, ct_connect attempts to use a file named interfaces in the directory named by the SYBASE environment variable or logical name (Windows platforms use the sql.ini file). If SYBASE has not been set, ct_connect attempts to use a file named interfaces in the home directory of the user named “sybase.”
See “Interfaces file”.
Not all platforms use an interfaces file. If you do not know whether your platform uses an interfaces file, consult your System Administrator or see the Open Client and Open Server Configuration Guide for Microsoft Windows or Open Client and Open Server Configuration Guide for UNIX.
An alternate default file name and path for the interfaces file can be specified by the CS_DEFAULT_IFILE property. For detailed information about the CS_DEFAULT_IFILE property, see the Open Client and Open Server Common Libraries Reference Manual.