Lists the contents of the db2cli.ini file. This command can list the entire file, or a specified section.
The db2cli.ini file is used as the DB2 call level interface (CLI) configuration file. It contains various keywords and values that can be used to modify the behavior of the DB2 CLI and the applications using it. The file is divided into sections, each section corresponding to a database alias name. For more information about this file and the CLI/ODBC configuration keywords, see the CLI Guide and Reference.
Authorization
None
Required Connection
None
Command Syntax
>>-GET CLI----+-CONFIGURATION-+---------------------------------> +-CONFIG--------+ '-CFG-----------' >-----+----------------------------+--------------------------->< '-FOR SECTION--section-name--' |
Command Parameters
Example
The following sample output represents the contents of a db2cli.ini file that has two sections:
Section: tstcli1x ------------------------------------------------- uid=userid pwd=***** autocommit=0 TableType='TABLE','VIEW','SYSTEM TABLE' Section: tstcli2x ------------------------------------------------- SchemaList='OWNER1','OWNER2',CURRENT SQLID |
Usage Notes
The section name specified on this command is not case sensitive. For example, if the section name in the db2cli.ini file (delimited by square brackets) is in lowercase, and the section name specified on the command is in uppercase, the correct section will be listed.
The value of the PWD (password) keyword is never listed; instead, five asterisks (*****) are listed.
See Also