3 Eloquence Migration Tools

stmtcheck

The stmtcheck program reads HP 260 program files that have been converted to ASCII files and checks for statements that are not implemented or work differently in Eloquence. The file names and the critical program lines are listed on the standard output device (stdout).

Before using the stmtcheck program, verify that there is a file named .260stmt in your HOME directory or in the directory /opt/eloquence6/tools. If not, change to the directory /opt/eloquence6/tools and copy the file d.260stmt to .260stmt. The file .260stmt contains the critical statements that the stmtcheck program checks for.

Syntax:

stmtcheck file [file ...]

Example:

This example shows how to check text files dbmap1.txt and dbmap2.txt for statements contained in the file .260stmt. For a listing of these two files, refer to the Eloquence DBMS manual.

Execute the stmtcheck command:

    stmtcheck dbmap1.txt dbmap2.txt
The output generated by the stmtcheck program shows the program name and the line number containing any statement defined in the .260stmt file.


HP260 to Eloquence Migration - 13 FEB 2003