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.


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 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 2 1' '

According to
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related

Help support by shopping at with our affiliate

This thread ...


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

This mailing list archive is Copyright 1997-2019 by 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].