A method, system and computer program product for (1) collecting
information from a remote application unit and/or (2) diagnosing or
controlling the remote application unit. By supporting dynamic generation
of multiple data formats and/or multiple communication protocols, a
computer code device increases the likelihood that a supported format
and/or protocol will be either receivable or understandable by a receiver
without having to pre-generate the protocol or format processor. By
utilizing a shareable computer code device (e.g., a dynamic linked
library), a new application can utilize tested, proven code without
having to reproduce existing functionality.