Please enable JavaScript to view this site.

ESL Documentation

When a SQL executable starts, it performs certain initializations before it can accept any commands. So the ESL application knows when the interface is ready to accept input, we recommend a start prompt is requested by including the "-p" option; for example:

begin guarded

 response to start

         start local Database "EslSQLSy.exe" "-p"

         if (errorlevel != 0) then

                 copy true to Error_BV

                 leave block

         end if

 response to line col 1 "SQL>" from Database

         copy true to DBStarted_BV

         leave block

 response to line col 1 "ERROR" from Database

         copy true to Error_BV

         leave block

 response to timeout 30

         copy true to Error_BV

         leave block

end