Issue
Method to load controller dump file (.DMP) or Personnel import file (.CSV) into Continuum from a DOS command line.
(LOAD CMDLINE.EXE PE)
Environment
Continuum Cyberstation
Cause
Need to import data into Continuum automatically on a regular basis.
Resolution
This will be a two stage process, a program in the Cyberstation (Workstation) that uses the "Load" command and a trigger from outside Continuum using CMDLINE.EXE.
1. Workstation Program
Use a variation of the following Fall thru program to import your dump file into Continuum.
===== Start Code ==============
'Fallthru Program created in Cyberstation.
'Called manually from command line "run LoadDumpFile"
line 1
print "Line 1 - got here, going to line 2 - ", date
goto 2
line 2
print "Line 2 - got here, attempting to load file"
load "c:\CntrlDump.dmp" -o -x
print "Line 2 - end - check distribution properties for status"
===== End Code ================
2. Trigger to run program.
As for the CMDLINE.EXE options, options used for the ReportCmdLine.exe program and have successfully run the CSV import program from an MSDOS command line.
At the DOS prompt type the below. This produces the same result as performing "run LoadDumpFile" at the Continuum command line:
"C:\Program Files\Continuum>cmdline.exe" /o Root\FoderForWks253\LoadDumpFile /u acc
/o switch is the location of the object in Continuum.
/u is the Continuum user that has access.