EMPTYRC supports the following parameter:
An integer value between 0 and 4095.
This command combination identifies whether there are any new customers and returns a condition code of 8 if there are none. This is accomplished by comparing the key values of the two files, POS(CUST-KEY). The EMPTYRC sets a return code of 8 when there are no new, inserted, records into the NEWCUSTS file, otherwise the return code is set to 0.
COMPARE, OLDFILE(OLDMSTR), NEWFILE(NEWMSTR), LAYOUTFILE(USER.COPYLIB(CUSTMSTR)), POS(CUST-KEY), COMPRC(0), INSERTED(NEWCUSTS) READ, INFILE(NEWCUSTS). INLIM(1), EMPTYRC(8)
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|