// Detect It Easy: detection rule file
// Author: hypn0 <hypn0@mail.ru>

meta("compiler", "IBM VisualAge COBOL");

function detect() {
    if (PE.compareEP("558bec81ec........e8$$$$$$$$558becb8........2d........8b40..c9c3")) {
        sVersion = "2.0";
        bDetected = true;
    } else if (PE.compareEP("558bec68........64ff35........648925........e8........e8")) {
        sVersion = "2.2";
        bDetected = true;
    }

    sLang = "COBOL";

    return result();
}