Creating an HLI Module

To use centrally controlled databases with HLI, you must combine your program and subroutines together with HLI routines into a single module. To do this, first designate the text libraries you need to run your program using the CMS GLOBAL command. Then issue the following command:

FOCUS GENHLI text1 text2 ... textn ({SU|BOTH}

where:

text1...
Are the names of your programs and subroutines in text form that you want to combine with HLI routines in the module. There is no closing parenthesis after SU.

SU
Creates a module that can process centrally controlled databases only.

BOTH
Creates a module that can process centrally controlled and local databases.

This command executes a CMS EXEC that generates the module on your A disk. The module has the same file name as the first routine you specified (that is, text1 in the syntax). For example, the following command combines the text routines GRADE, PRIME, and SUBROUT1 with HLI routines into the single module GRADE MODULE A1, which can run in CMS mode:

FOCUS GENHLI GRADE PRIME SUBROUT1 (SU

To run this module, issue the command GRADE from the CMS command level.


Information Builders