command line console and batch scripts [since
2.0]
The Oberon OOQL console is a text-only interface for
interacting with the platform by typing commands to perform tasks.
The command-line interpreter receives, analyses, and executes the
requested OOQL command. You must write each command on the same
line and commands must end with the ";" symbol as usual.
To start the console you can run the ooql.bat (or ooql.sh)
script; this script loads the enviroment parameters used to access
the Oberon DB from the config script and the oberon.ini file like
the other graphical clients.
If you have specified the Oberon user into the configuration
script, the console will be immediately ready to receive commands;
otherwise you have to open the user framework by using the following
command:
framework open "<User_Name>"
password "<User_Password>" ;
or
fw open "<User_Name>" password "<User_Password>"
;
To exit from the textual interface, type the "quit"
command.
Moreover, you can also run batch commands by using
the ooql script followed by the OOQL command ( usually the "program
execute" command ). The console automatically quit after the
command was executed.
|