× 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 question
  • From: Dave Murvin <davem@xxxxxxxx>
  • Date: Sun, 22 Oct 2000 15:28:18 -0700

Mike,

I believe that you need to erase subfile that contains only deleted 
records.  Try something like the following:

       A  32                                  SFLDSP
       A N32                                  ERASE(DSPF01S1)

If there are active records in the subfile enable SFLDSP, else erase it.


At 02:03 PM 10/22/00, you wrote:
>Hi all.
>
>     I have a subfile question.  I have a program that writes records to a
>subfile.  One of the options of the subfile is to delete a record from the
>subfile.  If a user uses this program and deletes all entries of the
>subfile, the entries are still displayed on the screen.  There are no
>subfile entries, and the subfile display indicator is set not to display the
>subfile, but the records still appear on the screen.  The user can not take
>any options against these records, and they are not loaded in the subfile.
>This only occurs when there are records in the subfile and the user deletes
>all of the records.  If all but 1 record are deleted, the subfile only
>displays the remaining record.
>     I believe this occurs because the records were on the screen and the
>subfile is not displayed on the screen again because there are no records in
>the subfile.  I believe that the records on the screen are just 'residual'
>records left over from the previous transaction.  I have run into this same
>situation many times before, but this particular application requires the
>user to delete all of the records in the subfile more often than not.
>     Does anyone have any ideas on how to correct this situation?
>
>Thanks
>
>
>Mike Silvers

Dave Murvin
DRM Enterprises, Inc.
davem@drme.com

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.