Description
When scanning a COBOL compiled listing using the provided SCANXT2 jcl, you may receive the following abend:
-
SCAN1 - ABEND=S0C7 U0000 REASON=00000007
2 - DATA DIVISION NOT FOUND IN MARGIN A. RUN TERMINATED.
MAKE SURE NOLST, NONUM, AND SOURCE COMPILE PARAMETERS ARE IN EFFECT.
-
Solution
This abend occurs when the input dataset is defined with a record format of FB.
Rescan your listing from an input dataset defined with a record format of FBA.