Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

JQLEXECUTE

Description

JQLEXECUTE starts executing a compiled jQL statement. It takes the general form: 

JQLEXECUTE(Statement, SelectVar)

Where: 

  • Statement is the valid result of a call to a JQLCOMPILE 
  • SelectVar is a valid select list used to limit the statement to a predefined set of items. For example:
SELECT PROGRAMMERS WITH IQ_IN_PTS > 250
LIST PROGRAMMERS NAME


This function returns -1 in the event of a problem, such as an incorrect statement variable. It will cause the statement to run against the database and produce a result set for use with JQLFETCH.

For a practical example of use, see the jexport.b program in the $JBCRELELEASEDIR/samples/JQLBASIC directory.


Go back to jBASE BASIC.

Was this article helpful?