ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

subfile / dummy + assume question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • subfile / dummy + assume question

    I am calling a program that calls a program that pops up a window one or many times.

    On first call, background remains. On second call called I lose background.

    On called program, I have DUMMY record with ASSUME keyword on blank DSPATR(ND) field on location 1,2. DUMMY is never read or written in program.

    Nothing special on calling program.

    Am I missing something?

  • #2
    Re: subfile / dummy + assume question

    hi itp-
    if there is a RMVWDW keyword on your display file ,please try to remove that keyword and see what happens...


    also on the backgroun display format, please add USRRSTDSP and OVERLAY if you would...(ASSUME never worked for me atleast..)
    Last edited by SG_FTL; June 14, 2007, 10:20 AM.

    Comment


    • #3
      Re: subfile / dummy + assume question

      chgdspf rstdsp(*yes)


      try that kind sir
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: subfile / dummy + assume question

        Yes I compiled with rstdsp(*yes).

        I just noticed that called program indeed has
        OVERLAY
        RMVWDW

        RMVWDW
        Removes all existing windows on the display before this record
        is displayed.

        Sounds like this is causing my grief?

        Comment


        • #5
          Re: subfile / dummy + assume question

          Im not sure what good a keyword is that the only way you can make the screen act as you would like you have to remove the keyword.

          seems like it would have been a better idea not to create the keyword at all.

          Does anyone use RMVWDW maybe on an indicator???
          please tell us why...

          thanks
          jamie
          All my answers were extracted from the "Big Dummy's Guide to the As400"
          and I take no responsibility for any of them.

          www.code400.com

          Comment


          • #6
            Re: subfile / dummy + assume question

            Originally posted by itp View Post
            Yes I compiled with rstdsp(*yes).

            I just noticed that called program indeed has
            OVERLAY
            RMVWDW

            RMVWDW
            Removes all existing windows on the display before this record
            is displayed.

            Sounds like this is causing my grief?
            it's caused the same problem for me as well...when i removed (or commented out) the RMVWDW ) keyword , the display remained fine without the background disappearing...

            Comment

            Working...
            X