|
Below is my code. I am trying to replace copy commands program by writing RPGLE.
Is this a good design , will this run faster? I would like to know your opinions and suggestions.
Thank you for your time. The number of records in AFILE usually more than a million.
CPYF FROMFILE(*LIBL/ABC.FILE) +
TOFILE(*LIBL/XYZ.MONY) MBROPT(*ADD) +
INCREL((*IF MID *EQ &YID) (*AND +
MNAME *EQ &YNAME) (*AND MACCT *EQ &YACCT))
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.