Page 1 of 1

HELP!!! non subfile fields being recognized as a subfile

Posted: Wed Sep 15, 2010 12:09 pm
by Wayne C.
On our Iseries green screens, we have, as a custom (when there's room), stacked the user id, date and time on the first 3 lines of the screen in the upper right hand corner. For example:
user_id
08/17/10
12:12:00

In many cases, Genie seems to interpret the lower 2 fields (date and time) as a subfile... at the expense of an actual subfile being located in the body of the screen. Is there any way around this? I've been playing around with this and have resorted to going into the DDS and staggering/shifting the 3 fields so that they are not directly vertically alligned (therefore not having the appearance of being a subfile). In some cases this has worked. In one instance, though, Genie thinks there's a subfile in that location even when I move the fields.

I've also had a couple of instances on old-style menus where the last 2 items of the menus are being interpreted as a subfile.
Thanx again.

Wayne C.

Re: HELP!!! non subfile fields being recognized as a subfile

Posted: Tue Oct 05, 2010 11:28 am
by Alex
By default, Genie will look at patterns to detect subfiles. Genie will look at the number of fields on a given line and the length of those fields. If there are two or more identically formatted rows, it will assume that this is a subfile.

For false positives, the functionality can be turned off by setting the "detect subfile patterns" property to false on that screen.

In our upcoming update of Genie, you will also be able to specify properties "subfile start" and "subfile end" to identify where subfile pattern detection should start and end. This way, you will be able to work around false positives that appear at the top of a screen that has a real subfile below.