15.10 - Implicitly Establishing a Session - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

CLIv2 can attempt to establish a session implicitly for any of the following functions:

  • Connect
  • RunStartUp
  • Initiate Request
  • Initiate With Protocol‑function
  • If no logon string is supplied, or if only a partial logon string is given, the Connect function attempt an implicit logon. RunStartUp, Initiate Request, and Initiate With Protocol‑function attempts an implicit connection if no active sessions exist at the time they are invoked.

    The DBCAREA parameters that apply for the Connect function can be supplied to the RunStartUp, Initiate Request, and Initiate With Protocol‑function if the implicit logon is to be attempted. The implicit logon is issued for the TDP specified in the DBCAREA or defaulted from the HSHSPB.

    If the user exit is not active for the given TDP, an application will receive an error indicating an unsuccessful logon attempt. Likewise, if the information the logon exit supplies for the logon attempt is incorrect, an appropriate error will be returned to the application.