Eagle Legacy Modernization, LLC

COBOL Grammar

Main programs: COBOL_Partial_Fixed_Format COBOL_Program_Fixed_Format COBOL_Program_Free_Format

 Count  Terminals:
4 COBOL_Class_Definition: An identifier
33,926 COBOL_Comment: Comment
4,897 COBOL_CommentToEndOfLine: Comment
51,055 COBOL_Data_Definition: An identifier
8,410 COBOL_FileName: A filename.
347 COBOL_File_Definition: An identifier
2,823 COBOL_HexNumber: A hex number
  COBOL_Identifier: An identifier
158,850 COBOL_Identifier_Reference: An identifier
8 COBOL_Index_Definition: An identifier
72,245 COBOL_Level: COBOL level number, such as 01, 05 or 77.
49,137 COBOL_Literal: A string enclosed in quotes
89,763 COBOL_Number: A number
13,074 COBOL_Paragraph_Definition: An identifier
47,104 COBOL_Picture: A COBOL PICTURE, such 99V99 or X(10)
350 COBOL_Program_Definition: An identifier
12 COBOL_ReportLine_Definition: An identifier
4 COBOL_Report_Definition: An identifier
2,152 COBOL_Section_Definition: An identifier
 Count  Statistics(*) Tokens:
6,589 1.00(0%) all all COBOL_Copy_Directive: [COBOL_Comment]* COBOL_CopyStatement '.'
58,000 5.30(1%) all all 1.44(84%) all 0% 3.53(25%) COBOL_DataDeclaration: [COBOL_Comment]* COBOL_Level [COBOL_DataFieldName] [COBOL_DataClause]* '.' [COBOL_DataComment] [COBOL_CopyOrDataDeclaration]*
70,195 (0% | 0% | 63% | 5% | 0% | 0% | none | none | 10% | 4% | 0% | 17%) |   COBOL_DataClause: (COBOL_BlankWhenZero | COBOL_ObjectReference | COBOL_PictureClause | COBOL_RedefinesClause | COBOL_Sign | COBOL_ThruClause | COBOL_Typedef | COBOL_Usage | COBOL_ValueClause | COBOL_OccursClause | COBOL_Justified | ("BYTE"|"CLIPFORMAT"|"CLSID"|"COMP"|"COMP-0"|"COMP-3"|"COMP-5"|"COMP-X"|"DWORD"|"FILETIME"|"FORMATETC"|"IID"|"LONG"|"POINTER"|"PROCEDURE-POINTER"|"ULARGE-INTEGER"|"ULONG"|"USHORT"|"VARTYPE"|"WORD"))
73 all all all |   |   COBOL_BlankWhenZero: "BLANK" ["WHEN"] "ZERO"
32 all all |   |   COBOL_ObjectReference: "OBJECT" "REFERENCE"
44,455 all all |   |   COBOL_PictureClause: ("PIC"|"PICTURE") COBOL_Picture
3,722 all all |   |   COBOL_RedefinesClause: "REDEFINES" COBOL_Identifier_Reference
7 all all all |   |   COBOL_Sign: "SIGN" "TRAILING" "SEPARATE"
8 all 1.00 |   |   COBOL_ThruClause: "THRU" COBOL_Picture_Value*
    |   |   COBOL_Typedef: ["IS"] "TYPEDEF"
    |   |   COBOL_Usage: "USAGE" ("1-RECTL"|"2SIZE"|"DATA-POINTER"|"LONG"|"POINT"|"TAGMSG"|"TAGPOINT"|"TAGRECT"|"TAGSIZE"|"UINT"|"ULONG")
6,749 all all 1.01 |   |   COBOL_ValueClause: ("VALUE"|"VALUES") ["ALL"] COBOL_Picture_Value*
228 all all |   COBOL_DataComment: '*' COBOL_CommentToEndOfLine
58,000 (14% | 86%) |   COBOL_DataFieldName: ("FILLER" | COBOL_Data_Definition)
2 all all |   COBOL_Justified: "JUSTIFIED" "RIGHT"
2,863 all all all 0% 0% |   COBOL_OccursClause: "OCCURS" COBOL_Expression ["TIMES"] [COBOL_OccursKey] [COBOL_IndexedBy]
8 all all all |   |   COBOL_IndexedBy: "INDEXED" "BY" COBOL_Index_Definition
2 all all all all |   |   COBOL_OccursKey: "ASCENDING" "KEY" ["IS"] COBOL_Identifier_Reference
349 99% 5.09 COBOL_DataDivision: [COBOL_DataDivisionHeader] COBOL_DataSection*
61,257 (5% | 95%) |   COBOL_CopyOrDataDeclaration: (COBOL_Copy_Directive | COBOL_DataDeclaration)
2,340 (7% | 59% | 34%) |   COBOL_Copy_or_FileDescriptor: (COBOL_FileDescriptor | COBOL_Copy_Directive | COBOL_Comment)
347 all all 1% 2% 63% 3% 18% all 1.22(99%) |   |   COBOL_FileDescriptor: ("FD"|"SD") COBOL_File_Definition [COBOL_FD_ReportExternal] [COBOL_FD_RecordContains] [COBOL_FD_LabelRecordStandard] [COBOL_FD_LabelRecordOmitted] [COBOL_FD_RecordingMode] '.' [COBOL_CopyOrDataDeclaration]*
12 all all all 33% |   |   |   COBOL_FD_LabelRecordOmitted: "LABEL" "RECORD" "OMITTED" [COBOL_FD_Linage]
4 all all all |   |   |   |   COBOL_FD_Linage: "LINAGE" ["IS"] COBOL_Expression
220 all all all all 92% |   |   |   COBOL_FD_LabelRecordStandard: "LABEL" ("RECORD"|"RECORDS") [("IS"|"ARE")] "STANDARD" [COBOL_FD_LabelRecordValue]
202 all all all all all |   |   |   |   COBOL_FD_LabelRecordValue: "VALUE" "OF" "FILE-ID" ["IS"] COBOL_FileId
202 (98% | 2%) |   |   |   |   |   COBOL_FileId: (COBOL_Identifier_Reference | COBOL_Literal)
6 all all all all |   |   |   COBOL_FD_RecordContains: "RECORD" "CONTAINS" COBOL_Number "CHARACTERS"
64 all all all all |   |   |   COBOL_FD_RecordingMode: "RECORDING" "MODE" "IS" "VARIABLE"
4 all all all all |   |   |   COBOL_FD_ReportExternal: "REPORT" "IS" ["EXTERNAL"] [COBOL_Identifier_Reference]
345 all all all |   COBOL_DataDivisionHeader: "DATA" "DIVISION" '.'
1,778 (33% | 18% | 19% | 0% | 15% | 14% | 0%) |   COBOL_DataSection: (COBOL_Comment | COBOL_FileSection | COBOL_WorkingStorageSection | COBOL_LocalStorageSection | COBOL_ScreenSection | COBOL_LinkageSection | COBOL_ReportSection)
322 all all all 7.27 |   COBOL_FileSection: "FILE" "SECTION" '.' COBOL_Copy_or_FileDescriptor*
244 all all all 1.10 |   COBOL_LinkageSection: "LINKAGE" "SECTION" '.' COBOL_CopyOrDataDeclaration*
2 all all all none |   COBOL_LocalStorageSection: "LOCAL-STORAGE" "SECTION" '.' [COBOL_CopyOrDataDeclaration]*
4 all all all 1.00 |   COBOL_ReportSection: "REPORT" "SECTION" '.' COBOL_ReportEntry*
339 all all all 26.76 |   COBOL_WorkingStorageSection: "WORKING-STORAGE" "SECTION" '.' COBOL_CopyOrDataDeclaration*
684 all all COBOL_Directive: '$' COBOL_WhichDirective
684 (none | none | all | none) |   COBOL_WhichDirective: (COBOL_IfDefinedDirective | COBOL_IfExprDirective | COBOL_SetDirective | "END")
    |   |   COBOL_IfDefinedDirective: "IF" COBOL_Identifier "NOT" "DEFINED"
    |   |   COBOL_IfExprDirective: "IF" COBOL_Expression
684 all 1.01 |   |   COBOL_SetDirective: "SET" COBOL_SetWhat*
    |   |   |   COBOL_SetParensNumber: ("INTCODE") '(' COBOL_Number ')'
2 all all all all all |   |   |   COBOL_SetParensPlus: ("OOCTRL"|"PREPROCESS"|"REMOVE") '(' ['+'] ("CONTROL"|"P"|"WINDOW1") ')'
690 all 71% |   |   |   COBOL_SetString: ("ANS85"|"CASE"|"CONSTANT"|"DATALIT"|"DEFAULTBYTE"|"KEYCOMPRESS"|"LINKCOUNT"|"MF"|"MFOO"|"NESTCALL"|"NOALTER"|"NOKEYCOMPRESS"|"NOOSVS"|"NOQUAL"|"NOVSC2"|"QUAL"|"SOURCEFORMAT") [COBOL_Literal]
692 (100% | 0% | none) |   |   |   COBOL_SetWhat: (COBOL_SetString | COBOL_SetParensPlus | COBOL_SetParensNumber)
334 all all all 1.00(1%) 1% 85% 97% none COBOL_EnvironmentDivision: "ENVIRONMENT" "DIVISION" '.' [COBOL_Comment]* [COBOL_ClassControl] [COBOL_ConfigurationSection] [COBOL_InputOutputSection] [COBOL_SpecialNames]
2 all all 2.00 all |   COBOL_ClassControl: "CLASS-CONTROL" '.' COBOL_ClassControlIs* '.'
4 all all all all |   |   COBOL_ClassControlIs: COBOL_Class_Definition "IS" "CLASS" COBOL_Literal
283 all all all none 2.00(2%) 98% 1.00(1%) |   COBOL_ConfigurationSection: "CONFIGURATION" "SECTION" '.' [COBOL_Comment]* [COBOL_Computer]* [COBOL_SpecialNames] [COBOL_Comment]*
10 all all all all |   |   COBOL_Computer: ("SOURCE-COMPUTER"|"OBJECT-COMPUTER") '.' COBOL_Identifier_Reference '.'
3 all all all |   COBOL_IOControl: "I-O-CONTROL" '.' COBOL_IOControlSame
3 all all all all all all all |   |   COBOL_IOControlSame: "SAME" "RECORD" "AREA" "FOR" "NETWORK" "SHARED" '.'
324 all all all 1.00(1%) 100% 1% |   COBOL_InputOutputSection: "INPUT-OUTPUT" "SECTION" '.' [COBOL_Comment]* [COBOL_FileControl] [COBOL_IOControl]
166,639 (20% | 24% | 0% | 3% | 2% | 0% | 0% | 1% | 35% | 0% | 0% | 0% | 0% | 13% | 0% | 3%) COBOL_Expression: (COBOL_Literal | COBOL_Number | COBOL_HexNumber | COBOL_BuiltIn | COBOL_ParenthesizedExpression | COBOL_ExpressionFunction | COBOL_ClassCondition | COBOL_NotCondition | COBOL_VariableExpression | COBOL_ThroughExpression | COBOL_ConcatenateExpression | COBOL_MultiplicativeExpression | COBOL_AdditiveExpression | COBOL_RelationCondition | COBOL_AndCondition | COBOL_OrCondition)
279 all all all |   COBOL_AdditiveExpression: COBOL_Expression ("+"|"-") COBOL_Expression
658 all all 39% all |   COBOL_AndCondition: COBOL_Expression "AND" [COBOL_RelationalOperator] COBOL_Expression
5,607 all |   COBOL_BuiltIn: ("FALSE"|"TRUE"|"ANY"|"ZERO"|"ZEROS"|"LOW-VALUES"|"HIGH-VALUES"|"SPACE"|"SPACES")
46 all all all all |   COBOL_ClassCondition: COBOL_Variable ["IS"] ["NOT"] ("POSITIVE"|"NEGATIVE"|"ZERO"|"NUMERIC"|"ALPHABETIC"|"ALPHABETIC-LOWER"|"ALPHABETIC-UPPER")
18 all all all |   COBOL_ConcatenateExpression: COBOL_Expression '&' COBOL_Expression
13 all all all 1.92 all |   COBOL_ExpressionFunction: "FUNCTION" COBOL_Identifier_Reference '(' COBOL_FunctionParameter* ')'
19 all 21% |   |   COBOL_FunctionParameter: COBOL_Expression [COBOL_ExpressionFunctionRange]
4 all all |   |   |   COBOL_ExpressionFunctionRange: ':' COBOL_Expression
212 all all all |   COBOL_MultiplicativeExpression: COBOL_Expression ("*"|"/") COBOL_Expression
914 all all |   COBOL_NotCondition: "NOT" COBOL_Expression
4,178 all all 5% all |   COBOL_OrCondition: COBOL_Expression "OR" [COBOL_RelationalOperator] COBOL_Expression
2,942 all all all |   COBOL_ParenthesizedExpression: '(' COBOL_Expression ')'
21,002 all all all all all |   COBOL_RelationCondition: COBOL_Expression ["IS"] ["NOT"] COBOL_RelationalOperator COBOL_Expression
21,476 (0% | 0% | 0% | none | 100%) |   |   COBOL_RelationalOperator: (COBOL_Equal | COBOL_Greater | COBOL_Less | COBOL_OrEqual | ("<="|"<"|"="|">="|">"))
19 all all |   |   |   COBOL_Equal: "EQUAL" ["TO"]
9 all all none |   |   |   COBOL_Greater: "GREATER" ["THAN"] [COBOL_OrEqual]
4 all all none |   |   |   COBOL_Less: "LESS" ["THAN"] [COBOL_OrEqual]
    |   |   |   COBOL_OrEqual: "OR" "EQUAL" ["TO"]
13 all all all |   COBOL_ThroughExpression: COBOL_Expression "THRU" COBOL_Expression
57,505 all |   COBOL_VariableExpression: COBOL_Variable
323 all all 6.02(99%) COBOL_FileControl: "FILE-CONTROL" '.' [COBOL_Copy_or_FileSelect]*
547 (20% | 73% | 6%) |   COBOL_AssignTo: (COBOL_Literal | "DISK" | COBOL_Identifier_Reference)
1,921 (20% | 65% | 7% | 8%) |   COBOL_Copy_or_FileSelect: (COBOL_FileSelect | COBOL_Copy_Directive | COBOL_Comment | COBOL_Directive)
547 all all all all all all all 5.21(96%) all |   |   COBOL_FileSelect: "SELECT" ["NOT"] ["OPTIONAL"] COBOL_Identifier_Reference "ASSIGN" ["TO"] COBOL_AssignTo [COBOL_SelectClause]* '.'
2,724 (16% | 17% | 16% | 14% | 19% | 11% | 3% | 4%) |   COBOL_SelectClause: (COBOL_SelectAccess | COBOL_SelectAlternate | COBOL_SelectFile | COBOL_SelectLock | COBOL_SelectOrganization | COBOL_SelectRecord | COBOL_SelectRelative | COBOL_Comment)
441 all all all all |   |   COBOL_SelectAccess: "ACCESS" ["MODE"] ["IS"] ("SEQUENTIAL"|"DYNAMIC"|"RANDOM")
470 all all all all all 53% all all |   |   COBOL_SelectAlternate: "ALTERNATE" ["RECORD"] ["KEY"] ["IS"] COBOL_Identifier_Reference [COBOL_SelectAlternates] ["WITH"] ["DUPLICATES"]
251 all 2.31 |   |   |   COBOL_SelectAlternates: '=' COBOL_Identifier_Reference*
439 all all all all |   |   COBOL_SelectFile: ["FILE"] "STATUS" ["IS"] COBOL_Identifier_Reference
389 all all all 28% |   |   COBOL_SelectLock: ("LOCK"|"LOCKING") ["IS"] ("EXCLUSIVE"|"AUTOMATIC"|"MANUAL") [COBOL_SelectLockWith]
108 all all all all all |   |   |   COBOL_SelectLockWith: "WITH" "LOCK" "ON" "MULTIPLE" "RECORDS"
523 all all all all |   |   COBOL_SelectOrganization: "ORGANIZATION" ["IS"] ["LINE"] ("INDEXED"|"SEQUENTIAL"|"RELATIVE")
294 all all all all 2% |   |   COBOL_SelectRecord: "RECORD" ["KEY"] ["IS"] COBOL_Identifier_Reference [COBOL_SelectRecordEquals]
7 all 2.86 |   |   |   COBOL_SelectRecordEquals: '=' COBOL_Identifier_Reference*
71 all all all all |   |   COBOL_SelectRelative: "RELATIVE" ["KEY"] ["IS"] COBOL_Identifier_Reference
351 all all all 1.00(1%) 100% all all all 100% 1.00(0%) 2.54(98%) 3.64(13%) COBOL_IdentificationDivision: ("IDENTIFICATION"|"ID") "DIVISION" '.' [COBOL_Comment]* [COBOL_ProgramId] ["IS"] ["INITIAL"] ["PROGRAM"] ['.'] [COBOL_Comment]* [COBOL_IdentificationEntry]* [COBOL_Comment]*
874 (all | none) |   COBOL_IdentificationEntry: (COBOL_IdentificationSimple | COBOL_SpecialNames)
874 all all 5.34 |   |   COBOL_IdentificationSimple: ("AUTHOR"|"INSTALLATION"|"DATE-WRITTEN"|"DATE-COMPILED"|"SECURITY") ['.'] COBOL_CommentToEndOfLine*
350 all all all 0% |   COBOL_ProgramId: "PROGRAM-ID" ['.'] COBOL_Program_Definition [COBOL_Program_Subname]
1 all all |   COBOL_Program_Subname: '.' "CBL"
1,307 6.70 COBOL_Partial_Fixed_Format: COBOL_PartialWhat*
8,756 (3% | 61% | 32% | 1% | none | none | 2% | 2%) |   COBOL_PartialWhat: (COBOL_Directive | COBOL_Comment | COBOL_Paragraph | COBOL_Section | COBOL_ScreenDeclaration | COBOL_DataDeclaration | COBOL_FileDescriptor | COBOL_FileSelect)
6,820 (1% | 4% | 14% | 57% | 24% | 0%) COBOL_Picture_Value: (COBOL_PictureNext | COBOL_Picture_Value_HexNumber | COBOL_Picture_Value_Keyword | COBOL_Picture_Value_Literal | COBOL_Picture_Value_Number | COBOL_Expression)
48 all 50% |   COBOL_PictureNext: "NEXT" [COBOL_PictureNextMinus]
24 all all |   |   COBOL_PictureNextMinus: '-' COBOL_Identifier_Reference
283 1% all all |   COBOL_Picture_Value_HexNumber: [','] ['&'] COBOL_HexNumber
987 none all |   COBOL_Picture_Value_Keyword: [','] ("ZERO"|"ZEROS"|"SPACE"|"SPACES"|"LOW-VALUE"|"LOW-VALUES"|"HIGH-VALUE"|"HIGH-VALUES")
3,855 1% all 0% |   COBOL_Picture_Value_Literal: [','] COBOL_Literal [COBOL_ThruLiteral]
6 all all |   |   COBOL_ThruLiteral: "THRU" COBOL_Literal
1,622 0% all |   COBOL_Picture_Value_Number: [','] COBOL_Number
352 none all all 68% 1% all all none 6.04 0% COBOL_ProcedureDivision: [COBOL_Comment]* "PROCEDURE" "DIVISION" [COBOL_ProcedureUsing] [COBOL_ProcedureChaining] ["WINAPI"] '.' [COBOL_Declaratives] COBOL_Section* [COBOL_ParagraphHeader]
    |   COBOL_Declaratives: "DECLARATIVES" '.' COBOL_Section "END" "DECLARATIVES" '.'
13,873 1.00(94%) 6.30 |   COBOL_Paragraph: [COBOL_ParagraphHeader]* COBOL_SentenceOrComment*
13,074 all all |   |   COBOL_ParagraphHeader: COBOL_Paragraph_Definition '.'
87,464 (1% | 17% | 77% | 5%) |   |   COBOL_SentenceOrComment: (COBOL_DataInParagraph | COBOL_Comment | COBOL_Sentence | COBOL_ScreenDeclaration)
592 2.18 |   |   |   COBOL_DataInParagraph: COBOL_CopyOrDataDeclaration*
2 all all 2.00(all) |   COBOL_ProcedureChaining: "CHAINING" COBOL_Identifier_Reference [COBOL_ProcedureChainingWhat]*
4 none all |   |   COBOL_ProcedureChainingWhat: [','] COBOL_Identifier_Reference
241 all all 2.92(98%) |   COBOL_ProcedureUsing: "USING" COBOL_Identifier_Reference [COBOL_ProcedureUsingWhat]*
691 1% all |   |   COBOL_ProcedureUsingWhat: [','] COBOL_Identifier_Reference
2,222 97% 5.00 |   COBOL_Section: [COBOL_SectionHeader] COBOL_Paragraph*
2,152 all all 37% all |   |   COBOL_SectionHeader: COBOL_Section_Definition "SECTION" [COBOL_Number] '.'
67,711 1.01 all 0% |   COBOL_Sentence: COBOL_StatementOrComment* '.' ['.']
120,958 (1% | 99%) |   |   COBOL_StatementOrComment: (COBOL_Comment | COBOL_Statement)
4 all all all all |   COBOL_EndProgram: "END" "PROGRAM" COBOL_Identifier_Reference '.'
288 18.82(13%) 1.00(84%) 20.69(82%) 0% 100% 99% none all all none none COBOL_Program_Fixed_Format: [COBOL_Comment]* [COBOL_Directive]* [COBOL_Comment]* [COBOL_SpecialNames] [COBOL_IdentificationDivision] [COBOL_EnvironmentDivision] [COBOL_Comment]* [COBOL_DataDivision] COBOL_ProcedureDivision [COBOL_Program_Free_Format]* [COBOL_EndProgram]
64 none 1.02(92%) none none all 75% none 95% all 3.00(2%) 6% COBOL_Program_Free_Format: [COBOL_Comment]* [COBOL_Directive]* [COBOL_Comment]* [COBOL_SpecialNames] [COBOL_IdentificationDivision] [COBOL_EnvironmentDivision] [COBOL_Comment]* [COBOL_DataDivision] COBOL_ProcedureDivision [COBOL_Program_Free_Format]* [COBOL_EndProgram]
4 all 4.50 COBOL_ReportEntry: COBOL_ReportDescription COBOL_ReportDataLine*
18 all 44% all all all all 1.50 |   COBOL_ReportDataLine: COBOL_Level [COBOL_ReportLine_Definition] "TYPE" "IS" COBOL_ReportDataLineType '.' COBOL_ReportLine*
18 (33% | 22% | 11% | 22% | 6% | 6%) |   |   COBOL_ReportDataLineType: (COBOL_ReportDataLineTypeControlFooting | COBOL_ReportDataLineTypeDetail | COBOL_ReportDataLineTypePageFooting | COBOL_ReportDataLineTypePageHeading | COBOL_ReportDataLineTypeReportFooting | COBOL_ReportDataLineTypeReportHeading)
6 all all all 67% all all all 67% |   |   |   COBOL_ReportDataLineTypeControlFooting: "CONTROL" "FOOTING" ["FINAL"] [COBOL_Identifier_Reference] ["NEXT"] ["GROUP"] ["PLUS"] [COBOL_Number]
4 all |   |   |   COBOL_ReportDataLineTypeDetail: "DETAIL"
2 all all |   |   |   COBOL_ReportDataLineTypePageFooting: "PAGE" "FOOTING"
4 all all |   |   |   COBOL_ReportDataLineTypePageHeading: "PAGE" "HEADING"
1 all all |   |   |   COBOL_ReportDataLineTypeReportFooting: "REPORT" "FOOTING"
1 all all |   |   |   COBOL_ReportDataLineTypeReportHeading: "REPORT" "HEADING"
27 all all all all all all 2.74 |   |   COBOL_ReportLine: COBOL_Level "LINE" ["IS"] ["PLUS"] [COBOL_Number] '.' COBOL_ColumnLine*
74 all 5% all all all all 1.05 all |   |   |   COBOL_ColumnLine: COBOL_Level [COBOL_ReportLine_Definition] "COLUMN" [COBOL_Number] ("PIC"|"PICTURE") COBOL_Picture COBOL_ColumnLineClause* '.'
78 (5% | 23% | 8% | 60% | 4%) |   |   |   |   COBOL_ColumnLineClause: (COBOL_ColumnLineGroup | COBOL_ColumnLineSource | COBOL_ColumnLineSum | COBOL_ColumnLineValue | COBOL_SourceClause)
4 all all |   |   |   |   |   COBOL_ColumnLineGroup: "GROUP" "INDICATE"
18 all all 17% |   |   |   |   |   COBOL_ColumnLineSource: "SOURCE" COBOL_Identifier_Reference [COBOL_Subscript]
6 all all |   |   |   |   |   COBOL_ColumnLineSum: "SUM" COBOL_Identifier_Reference
47 all all all |   |   |   |   |   COBOL_ColumnLineValue: "VALUE" ["ALL"] COBOL_Literal
3 all all |   |   |   |   |   COBOL_SourceClause: "SOURCE" "PAGE-COUNTER"
4 all all 6.00 all |   COBOL_ReportDescription: "RD" COBOL_Report_Definition COBOL_ReportDescriptionEntry* '.'
24 (17% | 17% | 17% | 17% | 17% | 17%) |   |   COBOL_ReportDescriptionEntry: (COBOL_ReportDescriptionControls | COBOL_ReportDescriptionFirstDetail | COBOL_ReportDescriptionFooting | COBOL_ReportDescriptionHeading | COBOL_ReportDescriptionLastDetail | COBOL_ReportDescriptionPageLimit)
4 all all all 1.25 |   |   |   COBOL_ReportDescriptionControls: "CONTROLS" "ARE" ["FINAL"] COBOL_Identifier_Reference*
4 all all all |   |   |   COBOL_ReportDescriptionFirstDetail: "FIRST" "DETAIL" COBOL_Number
4 all all |   |   |   COBOL_ReportDescriptionFooting: "FOOTING" COBOL_Number
4 all all |   |   |   COBOL_ReportDescriptionHeading: "HEADING" COBOL_Number
4 all all all |   |   |   COBOL_ReportDescriptionLastDetail: "LAST" "DETAIL" COBOL_Number
4 all all all all |   |   |   COBOL_ReportDescriptionPageLimit: "PAGE" "LIMIT" "IS" COBOL_Number
274 all all all 40.84 COBOL_ScreenSection: "SCREEN" "SECTION" '.' COBOL_CopyOrScreenDeclaration*
11,191 (6% | 6% | 88%) |   COBOL_CopyOrScreenDeclaration: (COBOL_Copy_Directive | COBOL_Comment | COBOL_ScreenDeclaration)
14,126 all all all |   COBOL_ScreenDeclaration: COBOL_Level COBOL_ScreenContext '.'
35,840 (100% | 0%) |   |   COBOL_NumberOrIdentifier: (COBOL_Number | COBOL_Identifier_Reference)
57,660 (14% | 16% | 0% | 0% | 23% | 2% | 10% | 4% | none | none | none | 3% | 18% | 0% | 0% | 11%) |   |   COBOL_ScreenClause: (COBOL_BackgroundColor | COBOL_ForegroundColor | COBOL_ScreenBlankScreen | COBOL_ScreenBlankWhenZero | COBOL_ScreenColumn | COBOL_ScreenFrom | COBOL_ScreenLine | COBOL_ScreenPicture | COBOL_ScreenPictureVariable | COBOL_ScreenPrompt | COBOL_ScreenTo | COBOL_ScreenUsing | COBOL_ScreenValue | COBOL_Comment | COBOL_Literal | ("AUTO"|"BLINK"|"HIGHLIGHT"|"NO-ECHO"|"REVERSE-VIDEO"|"SECURE"))
8,331 all all |   |   |   COBOL_BackgroundColor: "BACKGROUND-COLOR" [COBOL_NumberOrIdentifier]
9,058 all all |   |   |   COBOL_ForegroundColor: "FOREGROUND-COLOR" [COBOL_NumberOrIdentifier]
72 all all |   |   |   COBOL_ScreenBlankScreen: "BLANK" ("SCREEN"|"LINE")
28 all all all |   |   |   COBOL_ScreenBlankWhenZero: "BLANK" ["WHEN"] "ZERO"
12,976 all 100% |   |   |   COBOL_ScreenColumn: ("COLUMN"|"COL") [COBOL_NumberOrIdentifier]
1,066 all all 17% |   |   |   COBOL_ScreenFrom: "FROM" COBOL_Identifier_Reference [COBOL_Subscript]
5,483 all all all |   |   |   COBOL_ScreenLine: "LINE" ['+'] COBOL_NumberOrIdentifier
2,575 all all |   |   |   COBOL_ScreenPicture: ("PIC"|"PICTURE") COBOL_Picture
    |   |   |   COBOL_ScreenPictureVariable: ("PIC"|"PICTURE") "X" '(' COBOL_Expression ')'
    |   |   |   COBOL_ScreenPrompt: "PROMPT" COBOL_Literal
    |   |   |   COBOL_ScreenTo: "TO" COBOL_Identifier_Reference [COBOL_Subscript]
1,509 all all 3% |   |   |   COBOL_ScreenUsing: "USING" [COBOL_Identifier_Reference] [COBOL_Subscript]
10,448 all all |   |   |   COBOL_ScreenValue: "VALUE" [COBOL_Literal]
14,126 (93% | 7%) |   |   COBOL_ScreenContext: (COBOL_ScreenClauses | COBOL_ScreenName)
13,078 4.39 |   |   |   COBOL_ScreenClauses: COBOL_ScreenClause*
1,048 all 7.00(3%) |   |   |   COBOL_ScreenName: COBOL_ScreenFieldName [COBOL_ScreenClause]*
1,048 (none | all) |   |   COBOL_ScreenFieldName: ("FILLER" | COBOL_Data_Definition)
279 all all 2.30 all COBOL_SpecialNames: "SPECIAL-NAMES" '.' COBOL_SpecialName* '.'
643 (0% | 43% | 28% | 29%) |   COBOL_SpecialName: (COBOL_SpecialNameCallConvention | COBOL_SpecialNameConsole | COBOL_SpecialNameCrtStatus | COBOL_SpecialNameCursor)
1 all all all all |   |   COBOL_SpecialNameCallConvention: "CALL-CONVENTION" COBOL_Number "IS" ("STATICCOBOL"|"STATICW32API"|"WINAPI")
278 all all all |   |   COBOL_SpecialNameConsole: "CONSOLE" "IS" "CRT"
180 all all all all |   |   COBOL_SpecialNameCrtStatus: "CRT" "STATUS" "IS" COBOL_Identifier_Reference
184 all all all |   |   COBOL_SpecialNameCursor: "CURSOR" "IS" COBOL_Identifier_Reference
120,264 (1% | 1% | 3% | 0% | 1% | 0% | 0% | 0% | 2% | 0% | 8% | 0% | 2% | 1% | 0% | 12% | 0% | 19% | 0% | 0% | 0% | 0% | 0% | 34% | 0% | 0% | 1% | 11% | 1% | 0% | 0% | 0% | 0% | 0% | 0% | 0% | 1% | 0% | 0% | 0% | 0% | 0% | none | 0%) COBOL_Statement: (COBOL_AcceptStatement | COBOL_AddStatement | COBOL_CallStatement | COBOL_CancelStatement | COBOL_CloseStatement | COBOL_CommitStatement | COBOL_ComputeStatement | COBOL_ContinueStatement | COBOL_CopyStatement | COBOL_DeleteStatement | COBOL_DisplayStatement | COBOL_DivideStatement | COBOL_ExitStatement | COBOL_EvaluateStatement | COBOL_GenerateStatement | COBOL_GoStatement | COBOL_GoBackStatement | COBOL_IfStatement | COBOL_InitiateStatement | COBOL_InitializeStatement | COBOL_InvokeStatement | COBOL_InspectStatement | COBOL_MergeStatement | COBOL_MoveStatement | COBOL_MultiplyStatement | COBOL_NextStatement | COBOL_OpenStatement | COBOL_PerformStatement | COBOL_ReadStatement | COBOL_ReleaseStatement | COBOL_ReturnStatement | COBOL_RewriteStatement | COBOL_SearchStatement | COBOL_SetStatement | COBOL_SortStatement | COBOL_StartStatement | COBOL_StopStatement | COBOL_StringStatement | COBOL_SubtractStatement | COBOL_TerminateStatement | COBOL_UnlockStatement | COBOL_UnstringStatement | COBOL_UseStatement | COBOL_WriteStatement)
9,295 all all 1% all COBOL_Subscript: '(' COBOL_Expression [COBOL_SubscriptRange] ')'
115 all all |   COBOL_SubscriptRange: (":"|",") COBOL_Expression
59,245 all 1.00(1%) 1.00(0%) COBOL_Variable: COBOL_Identifier_Reference [COBOL_Subscript]* [COBOL_OfVariable]*
62 all all |   COBOL_OfVariable: "OF" COBOL_Identifier_Reference
1,110 all 1% all 1% 2.31(81%) COBOL_AcceptStatement: "ACCEPT" [COBOL_AcceptPosition] COBOL_Identifier_Reference [COBOL_Subscript] [COBOL_AcceptOption]*
2,072 (39% | none | 0% | 3% | 37% | 20%) |   COBOL_AcceptOption: (COBOL_AcceptAt | COBOL_AcceptColumn | COBOL_AcceptCommand | COBOL_AcceptFrom | COBOL_AcceptWithColors | ("AUTO"|"AUTO-SKIP"|"FULL"|"NO-ECHO"|"PROMPT"|"SECURE"|"UPDATE"))
816 all all all |   |   COBOL_AcceptAt: "AT" ["LINE"] COBOL_Expression
    |   |   COBOL_AcceptColumn: "COLUMN" COBOL_Expression
6 all all |   |   COBOL_AcceptCommand: "FROM" "COMMAND-LINE"
66 all all all |   |   COBOL_AcceptFrom: "FROM" ("DATE"|"DAY"|"TIME") [("YYYYMMDD"|"YYYYDDD")]
764 all all 2.38 |   |   COBOL_AcceptWithColors: "WITH" ["UPDATE"] COBOL_AcceptColor*
1,815 all 64% |   |   |   COBOL_AcceptColor: ("AUTO"|"AUTO-SKIP"|"FOREGROUND-COLOR"|"BACKGROUND-COLOR"|"HIGHLIGHT") [COBOL_Number]
6 all all all all all |   COBOL_AcceptPosition: '(' COBOL_Expression ',' COBOL_Expression ')'
1,452 all all none all 2.00(0%) all COBOL_AddStatement: "ADD" COBOL_Expression [COBOL_AddMoreExprs]* [COBOL_AddTo] [COBOL_AddOnSizeError]* ["END-ADD"]
    |   COBOL_AddMoreExprs: ',' COBOL_Expression
2 all all all all 1.00 |   COBOL_AddOnSizeError: ["NOT"] "ON" "SIZE" "ERROR" COBOL_Statement*
1,452 all all 1.01(13%) |   COBOL_AddTo: ["TO"] COBOL_Variable [COBOL_AddMoreVars]*
185 5% all |   |   COBOL_AddMoreVars: [','] COBOL_Variable
3,271 all all all all 2.72(69%) 2% all COBOL_CallStatement: "CALL" [("STATICCOBOL"|"WINAPI")] COBOL_CallWhat ["USING"] [COBOL_CallParameter]* [COBOL_CallException] ["END-CALL"]
50 all all 1.64 |   COBOL_CallException: "ON" "EXCEPTION" COBOL_Statement*
6,140 16% all all all 0% |   COBOL_CallParameter: [','] ["BY"] [("CONTENT"|"REFERENCE"|"VALUE")] COBOL_Expression [COBOL_ValueSize]
3 all all |   |   COBOL_ValueSize: "SIZE" COBOL_Number
3,271 (24% | 75% | 1%) |   COBOL_CallWhat: (COBOL_Literal | COBOL_HexNumber | COBOL_Identifier_Reference)
137 all all COBOL_CancelStatement: "CANCEL" COBOL_CancelWhat
137 (76% | 24%) |   COBOL_CancelWhat: (COBOL_Literal | COBOL_Identifier_Reference)
856 all all 1.67(all) COBOL_CloseStatement: "CLOSE" ["RECOVER"] [COBOL_CloseFileList]*
1,428 all 2% all |   COBOL_CloseFileList: [COBOL_Comment] [','] COBOL_Identifier_Reference
17 all COBOL_CommitStatement: "COMMIT"
167 all all 8% all all all COBOL_ComputeStatement: "COMPUTE" COBOL_Identifier_Reference [COBOL_Subscript] ["ROUNDED"] '=' COBOL_Expression
2 all COBOL_ContinueStatement: "CONTINUE"
8,413 all all 0% COBOL_CopyStatement: "COPY" COBOL_FileNameOrLiteral [COBOL_CopyReplacing]
1 all 1.00 |   COBOL_CopyReplacing: "REPLACING" COBOL_CopyReplace*
1 all all all |   |   COBOL_CopyReplace: COBOL_Identifier_Reference "BY" COBOL_Identifier_Reference
8,413 (100% | 0%) |   COBOL_FileNameOrLiteral: (COBOL_FileName | COBOL_Literal)
252 all all all COBOL_DeleteStatement: "DELETE" COBOL_Identifier_Reference ["RECORD"]
9,071 all 2% 2.11 COBOL_DisplayStatement: "DISPLAY" [COBOL_DisplayPosition] COBOL_DisplayClause*
19,154 all 1.00(67%) |   COBOL_DisplayClause: COBOL_DisplayWhat [COBOL_DisplayOptions]*
12,759 (44% | none | none | none | 55% | 0% | 0% | none | none | none) |   |   COBOL_DisplayOptions: (COBOL_DisplayAt | COBOL_DisplayLines | COBOL_DisplaySize | COBOL_DisplayUpon | COBOL_DisplayWith | COBOL_DisplayWithControl | COBOL_DisplayWithNoAdvancing | COBOL_DisplayLine | COBOL_DisplayColumn | ',')
5,675 all 1% 0% |   |   |   COBOL_DisplayAt: "AT" [COBOL_DisplayLine] [COBOL_DisplayColumn]
13 all all |   |   |   |   COBOL_DisplayColumn: "COLUMN" COBOL_Expression
35 all all |   |   |   |   COBOL_DisplayLine: "LINE" COBOL_Expression
    |   |   |   COBOL_DisplayLines: "LINES" COBOL_Expression
    |   |   |   COBOL_DisplaySize: "SIZE" COBOL_Expression
    |   |   |   COBOL_DisplayUpon: "UPON" COBOL_Identifier_Reference
7,020 all 1.63 |   |   |   COBOL_DisplayWith: "WITH" COBOL_DisplayColor*
11,463 all 86% |   |   |   |   COBOL_DisplayColor: ("FOREGROUND-COLOR"|"BACKGROUND-COLOR"|"HBCKGROUND-COLOR"|"HIGHLIGHT"|"REVERSE-VIDEO") [COBOL_Number]
40 all all all |   |   |   COBOL_DisplayWithControl: "WITH" "CONTROL" COBOL_Identifier_Reference
24 all all all |   |   |   COBOL_DisplayWithNoAdvancing: ["WITH"] "NO" "ADVANCING"
215 all 44% all all all |   COBOL_DisplayPosition: '(' [COBOL_Expression] ',' COBOL_Expression ')'
19,154 1.00 |   COBOL_DisplayWhat: COBOL_Expression*
17 all all all all 88% 18% all COBOL_DivideStatement: "DIVIDE" COBOL_Expression ("BY"|"INTO") COBOL_Expression [COBOL_DivideGiving] [COBOL_DivideRemainder] ["ROUNDED"]
15 all all |   COBOL_DivideGiving: "GIVING" COBOL_Identifier_Reference
3 all all |   COBOL_DivideRemainder: "REMAINDER" COBOL_Identifier_Reference
616 all all 1.00(0%) 2.00(0%) 4.13 all COBOL_EvaluateStatement: "EVALUATE" COBOL_EvaluateWhat [COBOL_Comment]* [COBOL_EvaluateAlsoClause]* COBOL_EvaluateWhenClause* ["END-EVALUATE"]
28 all all |   COBOL_EvaluateAlsoClause: "ALSO" COBOL_EvaluateWhat
3,188 (83% | none | none | 17%) |   COBOL_EvaluateWhat: (COBOL_EvaluateCondition | COBOL_EvaluateExpression | COBOL_Identifier_Reference | "OTHER")
2,656 all |   |   COBOL_EvaluateCondition: COBOL_Expression
    |   |   COBOL_EvaluateExpression: COBOL_Expression [COBOL_EvaluateThru]
    |   |   |   COBOL_EvaluateThru: "THRU" COBOL_Expression
2,544 all all 2.00(1%) 1.37(98%) |   COBOL_EvaluateWhenClause: "WHEN" COBOL_EvaluateWhat [COBOL_EvaluateAlsoClause]* [COBOL_StatementOrComment]*
2,503 all all COBOL_ExitStatement: "EXIT" ["PROGRAM"]
4 all all COBOL_GenerateStatement: "GENERATE" COBOL_Identifier_Reference
10 all COBOL_GoBackStatement: "GOBACK"
15,013 all all 100% COBOL_GoStatement: "GO" ["TO"] [COBOL_Identifier_Reference]
22,728 all all all 1.77 33% all COBOL_IfStatement: "IF" COBOL_Expression ["THEN"] COBOL_StatementOrComment* [COBOL_Else] ["END-IF"]
7,576 all 1.13 |   COBOL_Else: "ELSE" COBOL_StatementOrComment*
153 all all COBOL_InitializeStatement: "INITIALIZE" COBOL_Identifier_Reference
4 all all COBOL_InitiateStatement: "INITIATE" COBOL_Identifier_Reference
87 all all all COBOL_InspectStatement: "INSPECT" COBOL_Expression COBOL_InspectType
87 (2% | 91% | 7%) |   COBOL_InspectType: (COBOL_InspectConverting | COBOL_InspectReplacing | COBOL_InspectTallying)
2 all all all all |   |   COBOL_InspectConverting: "CONVERTING" COBOL_InspectConvert "TO" COBOL_InspectConvert
4 (50% | 50%) |   |   |   COBOL_InspectConvert: (COBOL_Literal | ("LOWER-CASE"|"UPPER-CASE"))
79 all 1.03 |   |   COBOL_InspectReplacing: "REPLACING" COBOL_InspectReplacePattern*
81 all all all all |   |   |   COBOL_InspectReplacePattern: ("ALL"|"FIRST"|"LEADING") COBOL_Expression "BY" COBOL_Expression
6 all all all all |   |   COBOL_InspectTallying: "TALLYING" COBOL_Identifier_Reference "FOR" COBOL_InpsectTallyingWhat
6 (33% | 33% | 33%) |   |   |   COBOL_InpsectTallyingWhat: (COBOL_InspectTallyingAll | COBOL_InspectTallyingCharacters | COBOL_InspectTallyingSpaces)
2 all all |   |   |   |   COBOL_InspectTallyingAll: "ALL" COBOL_Literal
2 all all all all |   |   |   |   COBOL_InspectTallyingCharacters: "CHARACTERS" "BEFORE" "INITIAL" COBOL_Expression
2 all all |   |   |   |   COBOL_InspectTallyingSpaces: "LEADING" "SPACES"
114 all all all 46% 42% COBOL_InvokeStatement: "INVOKE" COBOL_Identifier_Reference COBOL_Literal [COBOL_InvokeUsing] [COBOL_InvokeReturning]
48 all all |   COBOL_InvokeReturning: "RETURNING" COBOL_Identifier_Reference
52 all all all all 23% 1.20(19%) |   COBOL_InvokeUsing: "USING" ["BY"] ["VALUE"] COBOL_Expression [COBOL_InvokeSize] [COBOL_InvokeMoreUsing]*
12 all all none |   |   COBOL_InvokeMoreUsing: ',' COBOL_Expression [COBOL_InvokeSize]
12 all all |   |   COBOL_InvokeSize: "SIZE" COBOL_Number
1 all all all all all all none all all COBOL_MergeStatement: "MERGE" COBOL_Identifier_Reference "ON" "ASCENDING" ["KEY"] COBOL_Identifier_Reference [COBOL_MergeKey]* [COBOL_MergeUsing] [COBOL_MergeGiving]
1 all all |   COBOL_MergeGiving: "GIVING" COBOL_Identifier_Reference
    |   COBOL_MergeKey: [','] COBOL_Identifier_Reference
1 all all 1.00(all) |   COBOL_MergeUsing: "USING" COBOL_Identifier_Reference [COBOL_MergeMoreUsing]*
1 all all |   |   COBOL_MergeMoreUsing: [','] COBOL_Identifier_Reference
41,205 all all all all 100% 8% 2.51(6%) none COBOL_MoveStatement: "MOVE" ["ALL"] COBOL_Expression "TO" [COBOL_Identifier_Reference] [COBOL_Subscript] [COBOL_MoveMore]* [',']
6,507 0% none all 78% |   COBOL_MoveMore: [','] [COBOL_Comment]* COBOL_Identifier_Reference [COBOL_Subscript]
40 all all all all 78% all 3% COBOL_MultiplyStatement: "MULTIPLY" COBOL_Expression "BY" COBOL_Expression [COBOL_MultiplyGiving] ["ROUNDED"] [COBOL_MultiplyOnSizeError]
31 all all none 1.00(3%) |   COBOL_MultiplyGiving: "GIVING" COBOL_Identifier_Reference [COBOL_Subscript] [COBOL_MultiplyMoreVars]*
1 none all none |   |   COBOL_MultiplyMoreVars: [','] COBOL_Identifier_Reference [COBOL_Subscript]
1 all all all 1.00 |   COBOL_MultiplyOnSizeError: "ON" "SIZE" "ERROR" COBOL_Statement*
14 all all COBOL_NextStatement: "NEXT" "SENTENCE"
1,408 all all 1.06 COBOL_OpenStatement: "OPEN" ("I-O"|"INPUT"|"OUTPUT"|"EXTEND") COBOL_OpenFileList*
1,498 none all |   COBOL_OpenFileList: [','] COBOL_Identifier_Reference
12,904 all 0% 100% all COBOL_PerformStatement: "PERFORM" [COBOL_PerformTestWhen] [COBOL_PerformWhat] ["END-PERFORM"]
232 (87% | 13%) |   COBOL_PerformClause: (COBOL_PerformUntil | COBOL_PerformVarying)
232 all all |   |   COBOL_PerformUntil: "UNTIL" COBOL_Expression
30 all all all all all all all |   |   COBOL_PerformVarying: ("VARYING"|"AFTER") COBOL_Identifier_Reference "FROM" COBOL_Expression "BY" COBOL_Expression [COBOL_PerformUntil]
3 all all all |   COBOL_PerformTestWhen: ["WITH"] "TEST" ("BEFORE"|"AFTER")
12,897 (1% | 0% | 99% | 0% | none) |   COBOL_PerformWhat: (COBOL_PerformInline | COBOL_PerformNothing | COBOL_PerformParagraph | COBOL_PerformTimes | COBOL_PerformTimesInline)
68 1.00(99%) 4.88 |   |   COBOL_PerformInline: [COBOL_PerformClause]* COBOL_StatementOrComment*
2 1.00 |   |   COBOL_PerformNothing: COBOL_PerformClause*
12,808 all 25% 0% 1.03(1%) |   |   COBOL_PerformParagraph: COBOL_Identifier_Reference [COBOL_Paragraph_or_Section_Thru] [COBOL_PerformTestWhen] [COBOL_PerformClause]*
3,172 all all |   |   |   COBOL_Paragraph_or_Section_Thru: ("THRU"|"THROUGH") COBOL_Identifier_Reference
19 all 37% all all |   |   COBOL_PerformTimes: COBOL_Identifier_Reference [COBOL_Paragraph_or_Section_Thru] COBOL_Expression "TIMES"
    |   |   COBOL_PerformTimesInline: COBOL_Number "TIMES" COBOL_StatementOrComment*
1,515 all 1.11 0% 22% 12% 59% 39% 1% all COBOL_ReadStatement: "READ" COBOL_Identifier_Reference* [COBOL_ReadInto] [COBOL_ReadNext] [COBOL_ReadAtEndAction] [COBOL_ReadIgnoreLock] [COBOL_ReadKey] [COBOL_ReadInvalidKey] ["END-READ"]
185 all all 1.00 |   COBOL_ReadAtEndAction: "AT" "END" COBOL_Statement*
895 all all all |   COBOL_ReadIgnoreLock: ["WITH"] [("IGNORE"|"KEPT")] "LOCK"
6 all all |   COBOL_ReadInto: "INTO" COBOL_Identifier_Reference
13 all all 1.31 |   COBOL_ReadInvalidKey: "INVALID" "KEY" COBOL_Statement*
591 all all all all |   COBOL_ReadKey: ["WITH"] "KEY" "IS" COBOL_Identifier_Reference
330 all all |   COBOL_ReadNext: "NEXT" ["RECORD"]
9 all all 44% COBOL_ReleaseStatement: "RELEASE" COBOL_Identifier_Reference [COBOL_ReleaseFrom]
4 all all |   COBOL_ReleaseFrom: "FROM" COBOL_Identifier_Reference
6 all all all all COBOL_ReturnStatement: "RETURN" COBOL_Identifier_Reference COBOL_ReturnAtEndAction "END-RETURN"
6 all all 1.00 |   COBOL_ReturnAtEndAction: "AT" "END" COBOL_Statement*
492 all all 1% all COBOL_RewriteStatement: "REWRITE" COBOL_Identifier_Reference [COBOL_RewriteKey] ["END-REWRITE"]
5 all all 1.00 |   COBOL_RewriteKey: "INVALID" "KEY" COBOL_Statement*
8 all all all all 1.00 all COBOL_SearchStatement: "SEARCH" ["ALL"] COBOL_Identifier_Reference [COBOL_SearchAtEndAction] COBOL_SearchWhenClause* ["END-SEARCH"]
8 all all 1.38 |   COBOL_SearchAtEndAction: "AT" "END" COBOL_Statement*
8 all all 1.75 |   COBOL_SearchWhenClause: "WHEN" COBOL_Expression COBOL_Statement*
139 all all all all COBOL_SetStatement: "SET" COBOL_Identifier_Reference COBOL_SetHow COBOL_Expression
139 (none | all) |   COBOL_SetHow: (COBOL_SetBy | "TO")
    |   |   COBOL_SetBy: "UP" "BY"
9 all all all all all all 1.00(33%) all 33% 67% COBOL_SortStatement: "SORT" COBOL_Identifier_Reference "ON" "ASCENDING" ["KEY"] COBOL_Identifier_Reference [COBOL_SortKey]* COBOL_SortInput [COBOL_SortOutput] [COBOL_SortGiving]
6 all all |   COBOL_SortGiving: "GIVING" COBOL_Identifier_Reference
9 all all all all |   COBOL_SortInput: "INPUT" "PROCEDURE" "IS" COBOL_Identifier_Reference
3 67% all |   COBOL_SortKey: [','] COBOL_Identifier_Reference
3 all all all all |   COBOL_SortOutput: "OUTPUT" "PROCEDURE" "IS" COBOL_Identifier_Reference
454 all all all all all 1% all COBOL_StartStatement: "START" COBOL_Identifier_Reference "KEY" COBOL_StartRelOp COBOL_Identifier_Reference [COBOL_StartInvalid] ["END-START"]
6 all all 1.00 |   COBOL_StartInvalid: "INVALID" "KEY" COBOL_Statement*
454 (1% | 99%) |   COBOL_StartRelOp: (COBOL_StartOper2 | ("<="|">="|"<"|">"))
6 all all all |   |   COBOL_StartOper2: "IS" "GREATER" "THAN"
802 all all COBOL_StopStatement: "STOP" "RUN"
311 all 3.76 all 1.00 1% all COBOL_StringStatement: "STRING" COBOL_StringWhat* "INTO" COBOL_StringPiece* [COBOL_StringWith] ["END-STRING"]
311 none all none |   COBOL_StringPiece: [','] COBOL_Identifier_Reference [COBOL_StringCount]
    |   |   COBOL_StringCount: "COUNT" "IN" COBOL_Identifier_Reference
1,169 all all all 26% all all all all all all all |   COBOL_StringWhat: COBOL_Expression "DELIMITED" ["BY"] [COBOL_HexOrLiteral] ["OR"] ["ALL"] ["SPACES"] ["SPACE"] ["DELIMITED"] ["BY"] ["SIZE"]
303 (1% | 99%) |   |   COBOL_HexOrLiteral: (COBOL_HexNumber | COBOL_Literal)
2 all all all |   COBOL_StringWith: "WITH" "POINTER" COBOL_Identifier_Reference
368 all all all 4% COBOL_SubtractStatement: "SUBTRACT" COBOL_Expression COBOL_SubtractFrom [COBOL_SubtractGiving]
368 all all 1.00(11%) |   COBOL_SubtractFrom: "FROM" COBOL_Expression [COBOL_SubtractMoreVars]*
16 all all none none |   COBOL_SubtractGiving: "GIVING" COBOL_Variable [COBOL_Subscript] [COBOL_SubtractMoreVars]*
41 none all |   COBOL_SubtractMoreVars: [','] COBOL_Variable
4 all all COBOL_TerminateStatement: "TERMINATE" COBOL_Identifier_Reference
569 all all COBOL_UnlockStatement: "UNLOCK" COBOL_Identifier_Reference
40 all all all all all 28% all 3.85 13% all COBOL_UnstringStatement: "UNSTRING" COBOL_Expression "DELIMITED" "BY" COBOL_UnstringOrWhat [COBOL_UnstringOrClause] "INTO" COBOL_UnstringPiece* [COBOL_UnstringWith] ["END-UNSTRING"]
11 all all |   COBOL_UnstringOrClause: "OR" COBOL_UnstringOrWhat
51 (8% | 92%) |   |   COBOL_UnstringOrWhat: (COBOL_UnstringOrSpaces | COBOL_Literal)
4 all all |   |   |   COBOL_UnstringOrSpaces: ["ALL"] "SPACES"
154 4% all 3% |   COBOL_UnstringPiece: [','] COBOL_Identifier_Reference [COBOL_UnstringCount]
4 all all all |   |   COBOL_UnstringCount: "COUNT" "IN" COBOL_Identifier_Reference
5 all all all |   COBOL_UnstringWith: "WITH" "POINTER" COBOL_Identifier_Reference
    COBOL_UseStatement: "USE" "BEFORE" "REPORTING" COBOL_Identifier_Reference
558 all all 18% 22% 3% all COBOL_WriteStatement: "WRITE" COBOL_Identifier_Reference [COBOL_WriteFrom] [COBOL_WriteAfter] [COBOL_WriteKey] ["END-WRITE"]
124 all all 90% all |   COBOL_WriteAfter: ("BEFORE"|"AFTER") ["ADVANCING"] [COBOL_Expression] [("PAGE"|"LINE"|"LINES")]
101 all all |   COBOL_WriteFrom: "FROM" COBOL_Expression
14 all all 1.64 |   COBOL_WriteKey: "INVALID" "KEY" COBOL_Statement*

Terminals = 19 (instances=534,161)
Tokens = 339 (instances=1,628,982)

(*) Statistics are shown in the same order as the Tokens.
Percentages are rounded; 'all' and 'none' mean 100% and 0% before rounding.
For lists, it shows the average number of occurrences, excluding empty lists.