× 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: 2 questions (transferred from RPG400 List)
  • From: Mike.Barton@xxxxxxxxxxxx
  • Date: Wed, 20 Sep 2000 12:57:20 +0100


Silvio.

>1- Its possible to know who was the last user that made a change in a
source
>file member ?

Only by journalling or auditing the file(s) in question.
Alternatively, how about an SEU exit program ?
It would be quite straightforward to write a STRSEU command to
wrap around the QSYS version but log the files/members changed
to a file.

>2- Suppose that I want to see the contents of a PF (physical file). I can
use
>two common ways (among others),
>the DSPPFM or the RUNQRY. The wird is that they give different results.
>The DSPPFM  PF says that there arent any records in the PF meanwhile when
I use
>the RUNQRY () PF
>I see six records and besides that the status message that appears says
that
>-1880 (negative number,
>althougt the DSPFD says that there are 1880 (positive) records in the
file)
>where selected
>by the query.
>I have talked with other people but nobody ever saw something like it.
>Does anybody had faced this problem before ?


Sounds like the file may have got corrupted in some way.

Suggest you RGZPFM the file & see what it lokks like afterwards.

Mike

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 ...


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.