|
Hi,
I was the one who asked about the matching records. I have it in
place and it is working slick. The right tool for the job. Just for the
record, this is the core of my program. The subroutines call another
program that gets the detail and prints it.
FGLD490C1 IPE AF 62 DISK
FGLD490G1 ISE AF 70 DISK
IGLD490C1 AA 01
I 1 1 CTYPE
I P 2 4 0CYEAR M1
I P 5 6 0CPERD M2
I 7 16 CPFTC
I P 17 18 0CCSET
I 19 33 CPROD M3
I 34 35 CCLS
I P 36 40 CINV
I P 41 46 3CQTY
I P 47 54 2CCST
I P 55 62 4CNET
IGLD490G1 AB 02
I 1 1 GTYPE
I P 2 4 0GYEAR M1
I P 5 6 0GPERD M2
I 7 16 GPFTC
I P 17 18 0GCSET
I 19 33 GPROD M3
I 34 35 GCLS
I P 36 40 GINV
I P 41 46 3GQTY
I P 47 54 2GCST
I P 55 62 4GNET
C IF *IN01 = *ON or *IN02 = *ON
C*
C IF First = 'YES'
C EXSR Init
C ENDIF
C*
C SELECT
C WHEN *IN02 and *INMR and CCST = GCST
C* Do nothing. Item in both files & amounts match
C WHEN *IN02 and *INMR
C EXSR AmtDif
C WHEN *IN01 and NOT *INMR
C EXSR NMR01
C WHEN *IN02 and NOT *INMR
C EXSR NMR02
C ENDSL
C*
C ENDIF
Other than some D specs and the subroutines, that's it.
<===================================================>
Terri Harteau
Felker Brothers Corporation
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.