×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 10/10/2008, at 2:47 AM, Charles Wilt wrote:
Now interestingly enough, I get the error when using IBM's Client
Access; however if I use Powerterm, I don't get the error. The device
description is the same in either case.
The negative response code is sent by the controller. When using
emulators the emulator is the controller. What this says is that
PC5250 is examining the data stream, finding something it doesn't
like, and is sending a negative response to the host. Powerterm is
probably not properly handling the data stream. It has been my
experience that most emulators cut corners and, although PC5250 is
not perfect, it is the most complete 5250 data stream interpreter.
The Query5250 Response allows the controller to specify the maximum
number of input fields allowed. Normally this is set to X'100' (i.e.,
256). I guess it's possible for an emulator to increase this value
but I haven't tried that. Perhaps Powerterm is doing this which might
explain your observed behaviour? 256 was certainly the last published
maximum but perhaps it's been increased (540 shows 256 and 610 is off
the air at present).
You said previously that this error occurs on the READ. I would re-
examine that because it doesn't make sense to me. READ causes the
emulator to format a 5250 response and send it back to the host.
Negative response codes generally indicate problems on a WRITE of
data. I accept that DFTWRT(*YES) would make it seem to occur on the
READ but since you say you disabled that and it still happens on the
READ I think something else is occurring.
You could try tracing the 5250 data stream. Gene Gaunt published a
TRC5250 command some time ago (I think for iSeries News) that
provides a nicely formatted dump. It's not complete and has a few
defects but for the most part it works OK. You could use this to trap
the 5250 data stream and see what it shows.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.