COBOL analysis is being deprecated. Version 1.23 is the final Semmle release to include the CodeQL library for COBOL.

Member predicate Unit::getProgramDefinition

Get the program definition containing this unit. If the unit is a program definition, return the unit itself.

ProgramDefinition getProgramDefinition()