Description of CALLTREE follows. You can extract this text for insertion in your system help file. ********************************** 1 CALLTREE This program produces a flow chart of subroutine and function calls for a FORTRAN program. It operates off the listing files generated by the FORTRAN compiler. Prior to running the program, you should compile all routines with (at minimum) the FORT/LIST/CROSS command. CALLTREE will prompt for file names; you can enter the names in any order - the extension ".LIS" is automatically appended if not specified. At least one file MUST contain the main program identified in a PROGRAM statement. The output from CALLTREE looks like this: Call tree for program MAIN 2....SUB1 3........SUBSUB2 2....SUB2 2....SUB3 3........SUBSUB4 etc., where each level of indentation implies a lower level of subroutine call. Following that there will be a section listing each file and the names of the routines contained in it. If the filename is "" then that is an unresolved reference (or possibly a system or library call). ************************************ If the output format of the FORTRAN compiler is ever changed, this program will have to be modified. We are running FORTRAN V3.5-62 under VMS 3.7. This program will get exceedingly confused if there are any recursive calls in the FORTRAN programs you are cross-referencing. Even the situation where subprogram A calls another subroutine B which calls C, and C also calls B, but B is clever enough not to call C in that circumstance, will cause CALLTREE to bomb or loop endlessly. Questions and comments should be directed to: Mike Shefler Consad Research Corp. 121 N. Highland Ave. Pittsburgh, PA 15206 (412) 363-5500