Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Example: VBREF compiler output

The following example shows an alphabetic listing of all the verbs in a program, and shows where each is referenced. The listing is produced by the VBREF compiler option.

 (1)      (2)                   (3)
2        ACCEPT . . . . . . .  101  101
2        ADD. . . . . . . . .  129  130
1        CALL . . . . . . . .  140
5        CLOSE. . . . . . . .  90  94  97  152  153
20       COMPUTE. . . . . . . .150  164  164  165  166  166  166  166  167  168  168  169  169  170  171  171
                               171  172  172  173
2        CONTINUE . . . . . . .106  107
2        DELETE . . . . . . . .96  119
47       DISPLAY. . . . . . . .88  90  91  92  92  93  94  94  94  95  96  96  97  99  99  100  100  100  100
                               103  109  117  117  118  119  138  139  139  139  139  139  139  140  140  140
                               140  143  148  148  149  149  149  152  152  152  153  162
2        EVALUATE . . . . . . .116  155
47       IF . . . . . . . . . .88  90  93  94  94  95  96  96  97  99  100  103  105  105  107  107  107  109
                               110  111  111  112  113  113  113  113  114  114  115  115  116  118  119  124
                               124  126  127  129  132  133  134  135  136  148  149  152  152
183      MOVE . . . . . . . . .90  93  95  98  98  98  98  98  99  100  101  101  102  104  105  105  106  106
                               107  107  108  108  108  108  108  108  109  110  111  112  113  113  113  114
                               114  114  115  115  116  116  117  117  117  118  118  118  119  119  120  121
                               121  121  121  121  121  121  121  121  121  122  122  122  122  122  123  123
                               123  123  123  123  123  124  124  124  125  125  125  125  125  125  125  126
                               126  126  126  126  127  127  127  127  128  128  129  129  130  130  130  130
                               131  131  131  131  131  132  132  132  132  132  132  133  133  133  133  133
                               134  134  134  134  134  135  135  135  135  135  135  136  136  137  137  137
                               137  137  138  138  138  138  141  141  142  142  144  144  144  144  145  145
                               145  145  146  149  150  150  150  151  151  155  156  156  157  157  158  158
                               159  159  160  160  161  161  162  162  162  168  168  168  169  169  170  171
                               171  172  172  173  173
5        OPEN . . . . . . . . .93  95  99  144  148
62       PERFORM. . . . . . . .88  88  88  88  89  89  89  91  91  91  91  93  93  94  94  95  95  95  95  96
                               96  96  97  97  97  100  100  101  102  104  109  109  111  116  116  117  117
                               117  118  118  118  118  119  119  119  120  120  124  125  127  128  133  134
                               135  136  136  137  150  151  151  153  153
8        READ . . . . . . . . .88  89  96  101  102  108  149  151
1        REWRITE. . . . . . . .118
4        SEARCH . . . . . . . .106  106  141  142
46       SET. . . . . . . . . .88  89  101  103  104  105  106  108  108  136  141  142  149  150  151  152  154
                               155  156  156  156  156  157  157  157  157  158  158  158  158  159  159  159
                               159  160  160  160  160  161  161  161  161  162  162  164  164
2        STOP . . . . . . . . .92  143
4        STRING . . . . . . . .123  126  132  134
33       WRITE. . . . . . . . .94  116  129  129  129  129  129  130  130  130  130  145  146  146  146  146  147
                               147  151  165  165  166  166  167  174  174  174  174  174  174  174  175  175
(1)
Number of times the verb is used in the program
(2)
Verb
(3)
Line numbers where the verb is used

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)