Login to GemStone/S with Topaz

Topaz is a command line interface to interact with GemStone/S. The Topaz functionalities includes:

  • Login into GemStone/S

  • Query object model

  • Execute GemStone/S code

  • Creating and changing methods

  • Debugging

This is short list of Topaz capabilities for a full view check Topaz manual To run Topaz just type "startTopaz devKit_34" in the Linux terminal:

There is no user logged yet. Execute the following Topaz commands:

topaz> set username DataCurator
topaz> set password swordfish
topaz> set gemstone devKit_34
topaz> set gemnetid !#netldi:50378!gemnetobject
topaz> login

The name of the GemStone/S server in this case "devKit_329" depends on which version has been download. The netldi service is running on port 50378. The password for the user "DataCurator" is the default password and it MUST be changed (for security reasons). Now the user DataCurator is logged in GemStone/S (the number 1 depict the session number). To run the any script type:

topaz 1> run
"text of the script"

Do not forget the percentage % character. For example to run the first part of the installation script:

topaz 1> run
Gofer new
package: 'GsUpgrader-Core';
url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
(Smalltalk at: #GsUpgrader) upgradeGrease.

After the installation has finished the Transaction has to be commited. To commit a transaction in Topaz:

topaz 1> run
System commit.