CLI0155 The specified session does not exist - Mainframe Call-Level Interface

Mainframe Call-Level Interface (CLI Prefix) Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Mainframe Call-Level Interface
Release Number
15.xx, 16.xx, 17.xx, 20.xx
Published
June 2020
Language
English (United States)
Last Update
2023-11-20
lifecycle
Latest
Product Category
Teradata Tools and Utilities

CLI0155 The specified session does not exist

Explanation:

The session id specified does not exist.

Notes:

A session must be connected using the Connect function (either implicitly or explicitly). CLI2 returns the CLI2 assigned session identification number to the Output_Session_ID field of the DBCAREA on the initial status return from the Connect function. This ID must be provided for all subsequent functions that are to operate against that session. This error is returned when the internal control blocks related to the specified session number can not be found.

Remedy:

This error can arise for various reasons such as invalid session number or undetected connect failure.