Problem:
My questions is : when it says "removed from memory", what does it means ?
" A .dll file is automatically removed from memory when a COBOL program
within it is cancelled"
Resolution:
This depends on the setting in the IDE for the Project Properties>Application>Program Loading tab for the "Cache Programs" option. If this is checked then a CANCEL for a program contained within a .DLL will not release the physical memory for the .DLL. If a program in the .DLL is called again then the same .DLL will be used but the program will be in it's initial state.
If the Cache Programs option is not on then doing a CANCEL progname for any program within the .DLL will physically remove it from memory.