skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: SLOP; CROSS; IBM 360 FORTRAN H program checker. [IBM360,370,303x; PL/I]

Technical Report ·
OSTI ID:6152571

The package contains two PL/I codes, SLOP (Structural Layout Of Programs) and CROSS, designed to check IBM FORTRAN H source programs. SLOP examines the SYSPRINT file produced by a FORTRAN H compilation for local errors and sends its observations to CROSS which detects potential global errors. SLOP summarizes variables, labels, common blocks, and other items in a subroutine, showing which symbols are being improperly used. Optionally, the SLOP program can list the output from the original FORTRAN subroutine compilation, can list and save a 'corrected' and resequenced FORTRAN file, and save and list the information intended for the CROSS routine. For each subroutine CROSS tabulates: the subroutine name and size, entry points, listed but unused symbols, uninitialized variables, unreferenced statement numbers, internal statement numbers of input-output statements, symbols which appear in input-output statements, called subroutines, and the active variables in common and/or equivalence blocks, together with block names and addresses. CROSS lists common and/or equivalenced variables in alphabetic order with addresses and corresponding block names, along with the names of routines in which these variables are actively used. Any suspicious-looking or inconsistent items are flagged. The same information will also be sequenced and listed according to block names and addresses within each block. CROSS also produces a table designed to show instantly which routines need attention because SLOP found errors in them, which are missing or defined more than once, which routines are calling each routine, and how many times each routine is being called by the other. Finally, if any cycles of subroutine calls are detected, a second table indicating these recursive calls will be produced. The test case supplied with this package is designed to be self-explanatory, removing the need for separate documentation.IBM360,370,303x; PL/I; OS/360; 600K bytes of storage are required.

Research Organization:
Argonne National Lab., IL (USA)
OSTI ID:
6152571
Report Number(s):
ANL/NESC-647; ON: DE83048647
Resource Relation:
Other Information: A program containing up to 300 routines can be processed
Country of Publication:
United States
Language:
English