PDA

View Full Version : Display files with subfiles



Guest.Visitor
01-01-1995, 02:00 AM
I am programming a screen program which contains a subfile. At the top of my screen I have a screen message area which I have given the display attributes of HI(High Intensity) and RI(Reverse Image). These display attributes work when the screen is first displayed; However, if you page down through the subfile and get to the end of the subfile the display attributes are ignored. Does anyone have any ideas on why this might be happening? Any help would be greatly appreciated. Thank you, Aaron Wolfe

Guest.Visitor
02-27-2001, 07:38 AM
Aaron, Are the attributes indicator controled? If so, maybe when you rebuild your subfile the indicators are being reset. Or maybe the same indicators are accidentally used for something else and getting overlaid... If they are not controlled by indicators, then I don't know what it could be. Joel

Guest.Visitor
02-27-2001, 07:40 AM
Aaron, Most likely, between the time the initial EXFMT and the second EXFMT (after reading/loading) the subfile you have turned off the indicators that control the display attributes. -Bret

Guest.Visitor
02-27-2001, 07:51 AM
I appreciate the ideas so far; However, the display attributes are not indicator controlled. They are display attributes that should be active all the time A SCRMSG 60A O 1 19DSPATR(HI) A DSPATR(RI) If anyone has any ideas I would greatly appreciate them. Thank you, Aaron Wolfe

Guest.Visitor
02-27-2001, 08:37 AM
Aaron, Is this happening on a dumb-terminal or in a PC terminal emulation product? If in emulation, then I would suggest you make sure you are up-to-date on your service pack level. Bill

Guest.Visitor
02-27-2001, 08:56 AM
Aaron, In that case, I would look at the actual beginning and ending position of the field(s) in question and the field immediately (logically) to the right. It would seem that the attribute byte is being overlaid. Make sure there is one space before and after the field(s) and that the write of a footer format is not overwriting the attribute either. -bret

Guest.Visitor
02-27-2001, 09:48 AM
Has the CHGINPDFT keyword been used for the display file, by any chance?

Guest.Visitor
02-27-2001, 09:53 AM
I am attaching a copy of my display file DDS as well as screen prints of what is happening on the screen. Thanks everyone for your help so far, Aaron Wolfe

Guest.Visitor
02-27-2001, 10:08 AM
Aaron, What happens if you put two spaces between the ACTION and SCRMSG fields instead of one? In other words, start SCRMSG in column 20, not 19 and see if you still have the same problem. Humor me. Chris Ringer

J.Panzenhagen
02-27-2001, 10:19 AM
Are you loading and displaying a page, adding a page to the subfile and displaying, or loading the entire subfile and displaying? John

Guest.Visitor
02-27-2001, 12:48 PM
I am loading the entire subfile and then displaying it. Chris's suggestion above corrected the problem though. Thank you for your help. Aaron Wolfe

Guest.Visitor
02-27-2001, 12:50 PM
Chris, Thank you for your suggestion as it corrected the problem. My coworker and I don't understand why this corrected the problem though. It seems to us as though there is an IBM system problem and this is just a way to get around it. Can you please explain what made you think of this solution and why this corrected the problem? Thank you for your help Aaron Wolfe