"A Version 82.4 or Version 5 IML routine cannot be invoked as a procedure" occurs when running FMNMAIN after upgrading IBM FileManager to V14R1M17


After you upgrade IBM FileManager from V14R1M12 to V14R1M17 and run SAS procedure FMNMAIN, it might fail with an error similar to the following:

ERROR: A Version 82.4 or Version 5 IML routine cannot be invoked as a procedure
ERROR: Difficulty in invoking FMNMAIN.

For a workaround, use the following code, which is a better coding practice and adds additional possibilities for other similar calls:

filename sascbtbl '&&temp' disp=(new,delete,delete);
data null;
file sascbtbl;
put "routine iefbr14 minarg=0 maxarg=0";
run;
data null;
call module('*IE','IEFBR14');
run;