× 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.



Ladies and Gentlemen:

As it turns out, I had screwed up the sequence numbers on a copy member, rather than on generated lines, such that the former was colliding with the latter.

But in case anybody else wants a similar utility, I present SCNSRCMBR.

FQRPGLESRC IF E DISK USROPN EXTFILE(FN) EXTMBR(MBR)
F RENAME(QRPGLESRC:SRCREC)
D RAWFILE DS 20
D RAWFN 1 10
D RAWLN 11 20
D FN S 21
C *ENTRY PLIST
C PARM RAWFILE
C PARM MBR 10
C SETON LR
C EVAL FN = %TRIM(RAWLN) + '/' + %TRIM(RAWFN)
C OPEN QRPGLESRC
C CLEAR LASTSRCSEQ 6 2
C DOW NOT %EOF(QRPGLESRC)
C READ SRCREC
C IF SRCSEQ <= LASTSRCSEQ AND NOT %EOF(QRPGLESRC)
C SRCSEQ DSPLY
C ENDIF
C Z-ADD SRCSEQ LASTSRCSEQ
C ENDDO
----------
CMD PROMPT('SCAN SOURCE MEMBER')
PARM KWD(FILE) TYPE(FILE) MIN(1) +
PROMPT('File')
PARM KWD(MBR) TYPE(*NAME) LEN(10) +
PROMPT('Member') MIN(1)
FILE: QUAL TYPE(*NAME) LEN(10)
QUAL TYPE(*NAME) LEN(10) MIN(1) PROMPT('Library')

Quick and dirty, but it found my collision.

--
JHHL

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.