× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Subfile problem
  • From: Bryan Yates <srprog3@xxxxxxxxxxxxxxx>
  • Date: Tue, 17 Apr 2001 07:45:07 -0500
  • Importance: Normal

You Still need SFLRCDNBR to position the subfile to the newly loaded page precisely because you must control page down (ROLL UP).  The reason you have to page down twice is the first page down loads the next page of the subfile through your processing, but because you don't tell the subfile to position to the new page it simply stays where it is.  The second time you press page down, the system handles the page down request itself because it knows there are additional records already in the subfile.
-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Refaie.Heba@khb.hu
Sent: Monday, April 23, 2001 3:04 AM
To: RPG400-L@midrange.com
Subject: Subfile problem


Hello Group

I have a small subfile problem

      I am filling and displaying a subfile using the technique Subfilesize  =  Subfile page + 1. and  I use unconditional ERASE (subfile record) keyword in my subfile and no SFLRCDNBR ( I think I should not use it with this technique is it correct? becasue I only have control on the roll up not the roll down )   

The problem is at the beginning I have to press page down two times in order to display the next page. In the debugger I found that the subfile is being filled correctly however the first page is retained on the display and when I press the page down once again the next page is displayed...How can I solve this.


Thanks in advance for you help
Heba
     


 A*%%TS  SD  20010413  210717  A050HERE    REL-V4R4M0  5769-PW1      
A*%%EC                                                              
A                                      DSPSIZ(24 80 *DS3)            
A          R SFL1                      SFL                          
A*%%TS  SD  20010411  152749  A050HERE    REL-V4R4M0  5769-PW1      
A            U9921O         1A  B 10  4                              
A N36                                  DSPATR(ND)                    
A            U9921D        10A  O 10 10                              
A            U9921E        50A  O 10 25                              
A          R CTL1                      SFLCTL(SFL1)                  
A*%%TS  SD  20010413  210717  A050HERE    REL-V4R4M0  5769-PW1      
A                                      SFLSIZ(0011)                  
A                                      SFLPAG(0010)                  
A  30                                  ROLLUP(25)                    
A                                      CA03(03)                      
A                                      CA04(04)                      
A                                      CA12(12)                      
A  30                                  CF09(09)                      
A                                      OVERLAY    
A                                      ERASE(SFL1)                
A  30                                  SFLDSP                    
A  31                                  SFLDSPCTL                  
A  32                                  SFLCLR                    
A  33                                  SFLEND(*MORE)              
A                                  1  3'US992'                    
A                                  1 10SYSNAME                    
A                                  1 60DATE                      
A                                      EDTCDE(Y)                  
A                                  1 70TIME                      
A                                  1 30'Create Version Library'  
A                                      DSPATR(HI)                
A                                  4  3'Phase............:'      
A                                  6  3'Target Library...:'      
A            U9921P        32A  B  4 23                                            
                                                                     

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.