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(tick)
8.2.x(tick)
8.1.x (tick) 
8.0.x (tick)
7.3.x(tick)
7.2.x(tick)
7.0.x(error)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
CSS1(error)
Step by Step Scenario
  1. Run analysis
  2. 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 

  1. Include the folder which is missing while packaging in DMT Package
  2. Re-deliver again.
  3. Run the analysis again
  4. 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