Data Extraction in Command Window
So, for Data Extraction in MAR project you have to write in Aveva Command Prompt:
sx700 -proj=MAR -user=PHULL -pass=PHULL -mdb=/PLANARHULL or
sx700 -proj=MAR -user=SYSTEM -pass=XXXXXX -mdb=/ALL
sx700 -proj=MAR -user=PHULL -pass=PHULL -mdb=/PLANARHULL or
sx700 -proj=MAR -user=SYSTEM -pass=XXXXXX -mdb=/ALL
If you want to monitor the applications results in LogViewer, here is a sample of launching WCOG report, from command line, having an input file already written:
marjobstarter.exe -input "c:\TEMP\input_WCOG.DAT" -application "Hull Weight / COG" -proj=MAR -user=PHULL -pass=PHULL -mdb=/PLANARHULL
marjobstarter.exe -input "c:\TEMP\input_WCOG.DAT" -application "Hull Weight / COG" -proj=MAR -user=PHULL -pass=PHULL -mdb=/PLANARHULL
A portion of the example batch I was using for testing purposes is as follows in bold:
set exepath=%~dp0
set pdms_installed_dir=%exepath%
set aveva_marine=YES
set marine=YES
call %exepath%evars.bat %exepath:~0,-1%
sx700 -USER=RRR -PASS=OOO -PROJ=CCC -MDB=/KKK
rem sx700 < c:\temp\test.in > c:\temp\test.out -USER=RRR -PASS=OOO -PROJ=CCC -MDB=/KKK
set pdms_installed_dir=%exepath%
set aveva_marine=YES
set marine=YES
call %exepath%evars.bat %exepath:~0,-1%
sx700 -USER=RRR -PASS=OOO -PROJ=CCC -MDB=/KKK
rem sx700 < c:\temp\test.in > c:\temp\test.out -USER=RRR -PASS=OOO -PROJ=CCC -MDB=/KKK
AVEVA Marine -Tribon Comparison
0 comentarii:
Trimiteți un comentariu