Hi,
I'm trying to fetch a Micro focus COBOL-DB2 (SQL server) Cursor and encounter the error, "Load error : file 'FETCH' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory". There are other Cursors in the same program and they seem to be working file. Can someone please help?
CURSOR:
EXEC SQL DECLARE STYLE_COUNTS CURSOR FOR
SELECT SYSTEM_TYPE
,STORE_RCVR_NUM
,STORE_PO_NUM
,STORE_NUM
,STYLE_NUM
,SUM(AVAILABLE_UNITS)
,SUM(AVAILABLE_UNITS * ITEM_COST)
,SUM(AVAILABLE_UNITS * ITEM_RETAIL)
FROM INV_AVAIL_ITEM
WHERE STORE_RCVR_NUM = :WS-PREV-RECEIVER-NUM
GROUP BY SYSTEM_TYPE
,STORE_RCVR_NUM
,STORE_PO_NUM
,STORE_NUM
,STYLE_NUM
END-EXEC.
#fetch
#MicroFocus
#call
#DLLError
#SQL
#VisualCOBOL