User`s manual

Example Batch File
-
One method of using the Send Configuration utility is to
include it in a DOS batch fde. Here is an example that
causes the PC to execute the “sendconf’ command to send
the specified configuration record to the SLS, and to check
for each of the possible error conditions:
@echo off
ClS
sendconf -d“tesW -q
if errorlevel 14 got0 err14
if errorlevel 13 goto err13
if errorlevel 12 goto err12
if errorlevel 11 got0 err1 1
if errorlevel 10 got0 err10
if errorlevel 9 got0 err9
if errorlevel 8 goto err8
if errorlevel 7 got0 err7
if errorlevel 6 goto err6
if errorlevel 5 got0 err5
if errorlevel 4 got0 err4
if errorlevel 3 got0 err3
if errorlevel 2 got0 err2
if errorlevel 1 got0 err1
echo Download was successful.
goto done
:errl4
echo Error while sending the configuration record.
goto done
:en-13
echo Record not found.
goto done
:errl2
echo Record filing error.
goto done
:errll
-
echo Error opening the program configuration file.
goto done
:errlO
echo Error opening communications.
goto done
:en9
echo Invalid directory.
goto done
:err8
D-l