Command line examples for Global Calc

This example runs the Global Calc process for 10 hours using the Global Calc object 'CALCALLFORMULAS' within the 'Prod Optiva' database.


FsGlobalCalcStartProcess.exe -dbname "Prod Optiva" -calccode 
CALCALLFORMULAS -runtime 600

This example runs the Global Calc process in the 'COST LAB' using the Global Calc object 'INTERMEDIATE' within the 'Prod Optiva' database; the duration for the Global Calc process is determined by the value in the Global Calc form.


FsGlobalCalcStartProcess.exe -dbname "Prod Optiva" -lab "COST LAB"
 -group ADMIN -calccode INTERMEDIATE

This example writes the output that is displayed in the cmd line window to the file c:\filefolderspath\filename.txt on the app server machine. The user account that is running the program must have the access rights to write to the folder and file.


C:\> FsGlobalCalcStartProcess.exe -dbname "Prod Optiva" -calccode 
CALCALLFORMULAS -runtime 600 > c:\filefolderspath\filename.txt

When the -forcestart parameter is passed, the Global Calc process starts from the beginning instead of restarting where the process left off.

FsGlobalCalcStartProcess.exe -dbname DEMO1 -calccode BB -forcestart
FsGlobalCalcStartProcess.exe -dbname DEMO1 -calccode BB -lab GLOBAL -group ADMIN -forcestart