× 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 20/05/2006, at 2:18 AM, Rob Dixon wrote:

I am getting CPF 5192 with negative response code 1005012A when writing
multiple formats to the screen.

This sense code means:
        "An attempt was made to write past the end of display"

I am not using a subfile nor any special 5250 features such as scroll bars, etc.

I have used this technique and this display file for many years without
problem.

The display file was compiled with RSTDSP(*YES) and DFRWRT(*YES) and
SHARE(*YES) but in the present situation, only one program is writing to it.

If I change the DFRWRT to *NO, it works OK, but I don't want to do this
permanently because it materially affects response times. This suggests that it is not a data problem. Certainly, I cannot see any invalid data
in a dump.

Has any one any bright ideas please?

I don't know why DFTWRT(*NO) works yet DFRWRT(*YES) fails except that the latter effectively merges the formats and writes the result in one go. It is possible that during this process the 5250 data stream is messed up. You'd need to trace the data stream in both cases and compare to spot the difference. PC5250 will let you trace the data stream. Gene Gaunt provided a TRC5250 utility in one of the trade rags a few years ago which will also do this. I have a modified version (fixed a few defects, improved the behaviour, handled additional 5250 data, etc.

So I would start by asking why is the display being compiled? Probably because it was changed. So what changed that is different? This is likely the area causing the problem.

Also, ask whether you are using it on the same release (compile and run-time) as the one on which it has been working. If not then perhaps you need some PTFs or perhaps you should bounce it to IBM support since it compiles OK but won't run as expected.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.