Debugging a TCPIP application in the remote session gets TCP-ERRNO 10197 for the following statement:
CALL 'EZASOKET' USING TCP-FUNCTION IN TCP-INITAPI
TCP-MAXSOC IN TCP-INITAPI
TCP-IDENT IN TCP-INITAPI
TCP-SUBTASK IN TCP-INITAPI
TCP-MAXSNO IN TCP-INITAPI
TCP-ERRNO IN TCP-GENERELT
TCP-RETCODE IN TCP-GENERELT
TCP-ERRNO: 10197 : The application issued an INITAPI call after the remote debug connection was already established.
Resolving the problem
This is a limitation of remote debugging . TCP IP application can not be debugged in remote. Please use MFI / TIM debug sessions.