× 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.



In my experience, funky windows come from them being to small.

Make it a bit bigger and make sure you've got at least 2 (?) characters
from the window border to the start or end of any field.

Charles

On Tue, Aug 8, 2017 at 4:46 PM, Dan <dan27649@xxxxxxxxx> wrote:

If you've been following on the RPG list, you may remember that I recently
began a foray into the service program world. So far, pretty good. This
particular issue has me baffled, and google has not been my friend. The
link http://imgur.com/a/paR17 has three screenshots that show what I'm
dealing with. (I used a "paintbrush" to obfuscate some information in the
window not needed for this discussion.)

Program CA8554R displays the screen shown in the first screenshot. When
the cursor is in the "sub-org ID" field and the user presses F4, the
program calls service program CA9801R, which opens its own display file and
displays a window, as shown in the second screenshot or the third
screenshot, depending on unknown circumstances. It appears to be random.
I thought I found a pattern to replicate when the window appears as it
should and when it doesn't, but apparently not.

I'm not really sure what I can share that is applicable. When I first
tested, the windows would completely clear the main screen. That was
resolved by defining the OVERLAY keyword in each of the window control
records and adding a dummy record to the service program's display file:
A R ZZZDUMMY KEEP ASSUME
A 2 1' '

According to
https://as400tips.wordpress.com/2015/10/14/external-pop-
up-window-overlay-solution/,
where I got that information from, the program does not need to write the
"dummy" record, it just needs to be in the display file.

Any ideas on what I'm missing here?

- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.