CMS Snapshot Analysis - Run Analyzer - Missing objects - Mainframe with Core CAST AIP
Description
On running analysis of cobol application,some cobol objects are not analyzed as seen in Enlighten

Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
| 8.1.x | ✅ |
| 8.0.x | ✅ |
| 7.3.x | ✅ |
| 7.2.x | ✅ |
| 7.0.x | ❌ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
| CSS1 | ❌ |
Step by Step Scenario
- Run analysis
- Check results in Enlighten
Action Plan
The issue occurs when declarations of the missing objects are absent in the cobol file but present in a copybook which is not included during packaging in DMT.
For instance : The object STRATA-MASTER-FILE is called in JSBITP30.cob as shown below:
OPEN OUTPUT STRATA-MASTER-FILE.
IF IO-STATUS-CODE = CST-SCSS-IO-CALL
CONTINUE
ELSE
MOVE YES TO INTFC-SEVERE-ERROR
MOVE CIER-OPEN-MSG TO WS-ERROR-MSG-1
MOVE STRATA-MSTR-FILE-CODE TO WS-ERROR-CODE-1
MOVE IO-STATUS-CODE TO WS-RETURN-CODE-1
MOVE WS-ERROR-DETAIL-LINE-1 TO WS-HOLD-ERROR
PERFORM Z999-ERROR
GO TO U600-EXIT
END-IF.
The object’s ( STRATA-MASTER-FILE ) declarations are absent in JSBITP30.cob file.It is declared in another copybook (JSJITP31.cpy ) as shown below:
10 STRATA-MASTER-FILE PIC X(03) VALUE '020'. 00023300
But JSJITP31.cpy file is not packaged in DMT or not present in source code folder . So the declaration of the object is missing it is not analyzed and therefore not seen in enlighten.
To solve this
- Include the folder which is missing while packaging in DMT Package
- Re-deliver again.
- Run the analysis again
- Check in enlighten whether the missing objects are found.
Impact on Analysis Results and Dashboard
Impact of issue:Missing objects in Enlighten
Impact after applying solution:Objects are seen in Enlighten
Notes/comments
Ticket # 4201
Related Pages