Executing Expressions without Expression Tester
Sometimes it is necessary to execute expressions without the use of the Fabasoft Expression Tester. This is possible by using the fsceval command line tool to execute these expressions.
The fsceval tool is provided on all Fabasoft Servers in a domain environment and will initialize a kernel instance on the server where it is used. Please be advised that this tool will initialize a Kernel instance none is preset on the system, this may be undesired (e.g. on a pure backend server) and should be taken into consideration. We recommend using this tool on a Server that already has a Kernel instance present.
When using fsceval on a linux system you have to execute the following commands in preparation and use fsceval in the same shell afterwards:
su – fscsrv export HOST= export PORT= //z.B: 18070 export LD_LIBRARY_PATH=/opt/fabasoft/share/eval/ # Version 2015 and below export LD_LIBRARY_PATH=/opt/fabasoft/share/kernel/ # Version 2016 and above
Here are some common usage samples
//Sample with direct expression call: fsceval -eval ".CheckContentConsistency()" //Sample with expression from a file: fsceval -file //Sample with expression from a file and output redirection to log-file: fsceval -file 2>&1 >
- Fabasoft Folio (all versions)
- Fabasoft eGov-suite (all versions)