[Glass] Executing Topaz script from a sh file

BrunoBB via Glass glass at lists.gemtalksystems.com
Wed Jan 11 08:46:52 PST 2017


Dale,

>From Topaz manual (page 31):
"You can embed the topaz code within a UNIX shell script, to create a file
that can be easily
executed on the command line:"
#! /bin/sh
#set -x
$GEMSTONE/bin/topaz -il <<EOF >>MFC.out
set user DataCurator password swordfish gemstone gs64stone
login
! run garbage collection mark/sweep
exec SystemRepository markForCollection %
exit
EOF

My script is as follow:
#! /bin/sh
#set -x
$GS_HOME/bin/startTopaz -il <<EOF >>MFC.out
set user DataCurator password swordfish gemstone gs64stone
login
! run garbage collection mark/sweep
exec UserGlobals at: '#test' put: (Array with: 'bruno') %
exit
EOF

But i get an error:
/home/gemstone/GsDevKit_home/bin/startTopaz: illegal option -- i
Unknown option :: startTopaz -il :: startTopaz -il

What is the code to this with GsDevKit ?

regards
bruno



--
View this message in context: http://forum.world.st/Executing-Topaz-script-from-a-sh-file-tp4929340.html
Sent from the GLASS mailing list archive at Nabble.com.


More information about the Glass mailing list