Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Is there any internal routine in COBOL to convert COMP-2 variables
What would you want to convert them to? Keep in mind that floating point is little used in cobol as floating point is typically not used for mainframe business (checkbook/accounting/inventory) applications.
I suggest you spend some time in the COBOL documentation (available via the "IBM Manuals" link at the top of the web page. There are both Language Reference and Programmers Guides available for multiple versions of cobol.
When you find something in the documentation that is not clear, post it here and your question concerning what you found. Someone should be able to help clarify for you.