NOTICE: Our Community is moving. Get more information.
A Dialog System application fails with the following error when it does a CALLOUT to "dsdir":
Load error: file 'mfdir2'error code: 173, pc=0, call=1, seg=0,173 Called program file not found in drive/directory.
This RTS 173 on 'mfdir2' occurs when the application is linked as 'Console Application' in Visual COBOL. It should be linked as 'Windows Application' instead.
Here are the steps to resolve this issue:
The equivalent of the above from the command line is to use the -g switch in the cbllink command, e.g. cbllink -g -v -re ...