Finalist error "+ADDRSCA2 : ADDRMAIN FETCH FAILURE- FDBK"

Products Affected:  Finalist
Operating System: z/OS
 

Issue

Error message of +ADDRSCA2 : ADDRMAIN FETCH FAILURE- FDBK running a Finalist job.

Cause

Starting with 8.3, the ADDRPASS-ANCH-NUM was renamed to ADDRPASS-ANCHOR along with length change from 4 to 8.

 

Resolution

UPDATED: September 4, 2019
Recompile and point to the latest Finalist ADDRSCAN copybook.

The Finalist COBOL Driver Example shows how to deal with multiple calls to ADDRSCAN to avoid the ADDRMAIN Fetch Error:
*
* ONE TIME INITIALIZATION
* - SET ANCHOR TO -1 (OR HIGH VALUES) FOR FIRST CALL
*
MOVE HIGH-VALUES TO ADDRPASS-ANCHOR
*
* MAKE MULTIPLE CALLS TO ADDRSCAN
* (IN ACTUALITY, ADDRESSES WOULD BE FROM A DATABASE OR FILE)
*
PERFORM VARYING LOOP-COUNTER FROM 2 BY -1
UNTIL LOOP-COUNTER < 1