Using Net Express for remote debugging of a COBOL program running under IBM TX Series

Using Net Express for remote debugging of a COBOL program running under IBM TX Series

Problem:

When using Net Express 5.1 to do a remote debugging session to a server computer running a COBOL application under IBM TX Series, the debugger does not attach to the animserv process.

Setup as follows:

On remote computer:
1. COBOL program has been compiled with $SET INITCALL"CBL_DEBUGBREAK"
2. start animserv port(51000)

On local computer:
1. Net Express Animate settings set to debug remotely, name of server and port number 51000 specified.
2. Net Express Animate settings set to wait for animatable attachment. 3. Start Net Express Animate at and leave field blank so it attaches to animserv on remote computer.

On remote computer:
1. Run the COBOL application under TX Series.

When the program compiled with INITCALL"CBL_DEBUGBREAK" directive is encountered the message about "do you wish to debug?" appears on the server and the animserv process is being ignored.

Why?

Resolution:

This is because TX Series is being run as a Windows service which is being run under a named user account. If the login for the TX Series service is changed to be the Local System account then the debugging will work correctly.

This has been fixed in Net Express wrappack 8 Hotfix 3 to allow the remote debugging process to work even when the TX Series is running under a named user account.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-05-30 11:06
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.