|
On 27/06/2006, at 1:17 AM, Ron Adams wrote:
From what I can tell, the characters are usually X'224E20'. It almostseems like if these are some key-stroke combination that is not recognized,but I'm not sure what they would be.
I see Vern has assisted with the SQL syntax to help you find these dodgy records. I'd like to focus on the cause:
x'224E20' is an interesting string. To me the x'22' and x'20' are probably 5250 attribute bytes. x'22' is highlight and x'20' is normal. x'4e' is a plus (+) sign. Combine these three things and you get a highlighted plus sign. Where might this appear in an application? Why, on the last line of a subfile record!
I suspect you have an input capable subfile where the records occupy the full width of the display leaving no room for the SFLEND indicator. Because the subfile record occupies the full width OS/400 overlays the x'224e20' sequence over the last 3 bytes of the last record on the page. While this works OK for output subfiles it is a dumb idea to allow the "more" indicator to overlay input data. This, of course, is not an OS/400 issue but rather one of poor application screen design.
If the user changes this record the application probably gets the highlighted plus sign included in the data.
You solutions are:1) Shorten the subfile record so there is room for the highlighted plus sign 2) Ensure there is an empty line below the subfile and use SFLEND(*MORE) 3) Shorten the subfile so there is room for a scroll bar and use SFLEND(*SCRBAR) 4) Change the application to check for the x'224e20' sequence and replace it with the original data from a saved copy of the record. 5) Redesign the screen so the record is no longer input capable and provide an alternative method of changing the data.
Obviously, options 1 or 2 are the least intrusive.In my opinion this is the most likely explanation for the problem but it may be caused by other things too.
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 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.