To compile a program to be used as a fetchable procedure, enter the command:
mfplx -dll -defext myfetch.pli
Note: The compiler options -mvs, -ims, -cics should only be used for the OPTIONS(MAIN) programs. The use of
-dll
indicates that it is a dynamically linked called subroutine.