On running analysis of cobol application,some cobol objects are not analyzed as seen in Enlighten
|Microsoft SQL Server|
- Run analysis
- Check results in Enlighten
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 of issue:Missing objects in Enlighten
Impact after applying solution:Objects are seen in Enlighten