Automation Testing of Console Application

is there a suggested way of doing Automation testing of Console Based application developed in Visual Cobol .