ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

S0C7 Abend in Program SCAN1.

book

Article ID: 53386

calendar_today

Updated On:

Products

Repository

Issue/Introduction

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.

Environment

Release:
Component: XTR