Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Does Enterprise Analyzer produce a report or query that shows where PROGRAM-ID is not the same as the source file name?

Does Enterprise Analyzer produce a report or query that shows where PROGRAM-ID is not the same as the source file name?

Problem

Does Enterprise Analyzer produce a report or query that shows where PROGRAM-ID is not the same as the source file name  (minus extension)?

Resolution

This exact report or query does not exist in the current Enterprise Analyzer product, however there is a report that can be modified to show this information.

 

To produce the report...

1. Open Interactive Analysis (HyperView) for COBOL

2. Run the query  "General:Sample COBOL Constructs > Programs"

3. Generate the "Detailed" report and save it in .CSV format.

- The first 2 columns show PROGRAM and LIST ITEM

- (Column A)   PROGRAM  = Source FIle Name

- (Column B)   LIST ITEM    = PROGRAM-ID

4. The remaining columns on this report are not required and can be deleted.

 

To identify where the PROGRAM-ID does not match the Source File Name (minus extension), an Excel formulae can be used in the spreadsheet or CSV file. 

Add the following formula to cell C3 in the CSV file (next to the first reported line of data)....

=EXACT(B3,(LEFT(A3,LEN(A3)-4)))

The result of the formulae will either be.... 

TRUE - PROGRAM-ID matches Source File Name (minus extension)

FALSE - PROGRAM-ID does NOT match Source File Name (minus extension)

 

Copy cell C3 and place it in each cell in column C next to the reported lines of data, to use the formulae for each entry.

 

Incident # 2818880

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2015-04-13 11:54
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.