Connect-type is a one-byte field that specifies whether CLIv2 should send a separate logon and run to the database or a combined logon and connect. For new applications, Connect-type should always be set to 'C' since all recent databases support its use.
| In this language... | The variable name for Connect-type is... |
|---|---|
| COBOL | DBCAREA-CONNECT-TYPE |
| PL/I | CONNECT_TYPE |
| C, C++ | connect_type |
| IBM Assembler | DBOCTYPE |
| This routine... | Does this for Connect-type... |
|---|---|
| DBCHINI | writes |
| DBCHCL | reads (CON; RSUP; IRQ) |
| Connect-type is used by... | To... |
|---|---|
| applications | write. |