Executing Expressions without Expression Tester

Last update: 6 February 2018

Summary

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.

Information

The fsceval tool is provided on all Fabasoft Servers in a domain environment. Please be advised that this tool will initialize a Kernel instance if none is preset on the system. This behaviour 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.

Usage

Preperation on Linux

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=<Backendserver (COO Service 1)>
export PORT=<PORT_COOST1> //z.B: 18070
export LD_LIBRARY_PATH=/opt/fabasoft/share/eval/

 

Examples

Here are some common usage examples:

//Sample with direct expression call:
fsceval -eval "<Address of MMC service area>.CheckContentConsistency()"

//Sample with expression from a file:
fsceval -file <path to file>

//Sample with expression from a file and output redirection to log-file:
fsceval -file <path to file> 2>&1 > <path to output file>

 

Applies to

  • Fabasoft Folio (all versions)
  • Fabasoft eGov-suite (all versions)