Bug fix for TN3270E sequence numbers

Topics: Developer Forum, Project Management Forum, User Forum
Apr 23, 2008 at 9:49 PM
Edited Apr 24, 2008 at 1:39 AM
Hi everyone,
I have found a bug that causes errors (or eroneous non-action) if your Mainframe host requests responses in the TN3270E header (via, TN3270E_RSF_ALWAYS_RESPONSE, or TN3270E_RSF_ERROR_RESPONSE), it's in the constructor of the TN3270E_HEADER.
The following is the fix for the constructor TN3270E_HEADER(byte[] buf)

seq_number[0] = buf[3]; // was buf[4];
seq_number[1] = buf[4]; // was buf[5];

This may help if you have been able to connect to the host but unable to send anything back (ie, first screen you fill in and Enter, etc) after the initial connect.

My pc to host connection now works! YEAH ! :)
Apr 28, 2008 at 6:52 AM
I found the same bug and was about to post it up here, but noticed you've found it too!!!
Lets hope this project fork gets happening SOON so that stupid bugs like this can be fixed.
Coordinator
Apr 28, 2008 at 6:19 PM
Hi,

I'm on holiday now, but will get the fork going as soon as I'm back. I'm waiting for some comments/suggestions on the forked project name and version control.

Please also indicate if you plan to be a regular contributor.

cheers
Francois