Identify Endevor elements that are FORTRAN programs
search cancel

Identify Endevor elements that are FORTRAN programs

book

Article ID: 387386

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

How to do to determine whether an Endevor installation includes FORTRAN programs?

Resolution

There are several possible ways to accomplish this goal

Review Endevor element types

A simple but effective way would be to see the names and descriptions of the element types defined within Endevor. Chances are that they will somehow indicate that they contain FORTRAN programs.

You can get a list of element types and their descriptions for a particular system from the Endevor panels:

  1. Start the Endevor ISPF dialog,
  2. Select option 1 - DISPLAY and then option 3 - TYPE
  3. Enter the environment and stage name at the prompter panel, hit enter
  4. Select a system from the list
  5. You'll get a list of the types defined for that environment, stage and system

Alternatively, you can extract a file in CSV format using the LIST TYPE function of the CSV utility. This would allow to extract all the types defined in Endevor in a single job

Scan processors

If the list of types doesn't show any clue, you can scan your processors for string FORTVS2, which is the name of the IBM FORTRAN compiler. If you find any of them, look for processor groups using these processors. The types to which these processor groups belong will probably store Fortran programs

To scan your processors, you can use the Endevor search and replace utility .  Remember that the processors are Endevor elements elements of type PROCESS.

Scan elements

Another possibility would be to scan your elements looking for keywords that are typical in a Fortran program, like PROGRAM, SUBROUTINE, COMMON, INTEGER, REAL, CONTINUE and so on. Elements containing these strings are candidates to be Fortran programs.

You can also use the Endevor search and replace utility for this task

Additional Information

To scan elements remember that, if the involved element type is defined with "delta format R" and "compress/encrypt base N", the member in the base library contains the current source level of the element in plain text but the member name matching the element name.

This circumstance allows you to use other tools to scan the elements. For example, the ISPF "search-for" utility.