+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Display files with subfiles

  1. #1
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  2. #2
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  3. #3
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  4. #4
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  5. #5
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  6. #6
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  7. #7
    Guest.Visitor Guest

    Default Display files with subfiles

    Has the CHGINPDFT keyword been used for the display file, by any chance?

  8. #8
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  9. #9
    Guest.Visitor Guest

    Default Display files with subfiles

    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

  10. #10
    J.Panzenhagen Guest

    Default Display files with subfiles

    Are you loading and displaying a page, adding a page to the subfile and displaying, or loading the entire subfile and displaying? John

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 07-29-2004, 07:08 AM
  2. SQL w/Display Subfiles
    By Guest.Visitor in forum Programming
    Replies: 3
    Last Post: 12-02-1999, 08:52 AM
  3. Display Open Files
    By Guest.Visitor in forum Analysis
    Replies: 1
    Last Post: 06-30-1998, 07:56 AM
  4. Dates and display files
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 06-03-1998, 09:42 AM
  5. AS/400 Display Files and Java
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts