Writing PERFORM Statements Using Database Routines

Write a PERFORM statement that includes the specific database input/output routine name and, in most cases, the index or file name. (In a few cases, no index or file name is required.) The PERFORM statement in your source code generates the input/output routine you specify when the program is built. Because all database routines are sections, you do not need a THRU clause in the PERFORM statement.

Example of a Perform Statement

        PERFORM 840-FIND-GLMSET1.