Please enable JavaScript to view this site.

ESL Documentation

When you compile a SAM while running DB/Assist standalone, the code for the ESL action routines is generated to a file that you specify.

To compile a SAM when running DB/Assist standalone, follow these steps. This procedure assumes that you have already done the following:

Opened the SAM that you want to compile.

Linked variables to each statement in the SAM, as described in Linking Variables.

If necessary, specify non-default values for compile options, as described in Setting Compile Options.

1.Select SQL Access Module Ø Compile or the Compile button.
The Specify File for Generated Code dialog box appears, as shown in Figure 8-9. The default filename in the Save as filename entry field is the SAM name with an .ACT extension.

Specify File for Generated Code Dialog Box

 

1.Navigate to the directory where you want to store the file.
The names of the files in that directory appear in the File list box

2.Type the name of the file to which DB/Assist should generate code in the Save as filename entry field, or accept the default filename.

3.Select the OK push button.
The Specify File for Generated Code dialog box closes. DB/Assist writes the generated ESL action routines to the specified file, and saves the code file and bind file to the specified drive and directory.
The Log window appears with information about the compile.
If you specify a file that already exists, a message box appears asking if you want to overwrite the existing file with the newly-generated code. Respond to this message in one of the following ways:

Select the Yes push button in the message box if you want to overwrite the existing file with the new code. Messages appear in the Log window indicating that DB/Assist generated the code file, bind file, and, if checked in the Bind Options dialog box, created the package for the SAM

Select the No push button in the message box if you do not want to overwrite the existing file. Messages appear in the Log window indicating that DB/Assist did not create the code file, bind file, or created the package for the SAM