Monthly Archives: November 2016

Load multiple unload files from the OS command line.

The following steps will allow multiple unload files to be loaded into Service Manager en-mass.

MICROSOFT WINDOWS

From <drive>:\<SERVICE MANAGER INSTALL DIR>\RUN folder in the command prompt execute:

for /f %a IN (‘dir /b ..\data’) do sm file.load %a NULL NULL winnt

UNIX

From <SERVICE MANAGER INSTALL DIR>\RUN folder in the command prompt execute:

for /f %a IN (‘dir /b ..\data’) do sm file.load %a NULL NULL unix

Advertisements

Load files into Service Manager from the OS command line

1. Copy the unload file (eg unload_file.unl) into the <SM INST>\RUN directory
2. Open the terminal and navigate to Go to the <SM INST>\RUN directory
3. Execute the command:

For Microsoft Windows: sm -bg file.load <unload_file.unl> NULL NULL winnt

For UNIX: sm -bg file.load <unload_file.unl> NULL NULL unix

Where <unload)file.unk> is the name of the file to be loaded

4. A message will indicate the load succeeded.