Data Type Conversion

I am looking for specific examples of how, in a Managed COBOL program/class, how to convert back and forth between traditional COBOL data types (such as COMP-3, COMP-5, COMP-X ) to equivalent Net types, and vice-versa.  For example, the data file being processed in the Managed COBOL program has some of these traditional COBOL data types - I need to see how to convert them, both to and from Managed types - specific examples.

Thanks