|
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')
As an Amazon Associate we earn from qualifying purchases.
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.