Segregation of Duties > Activating Segregation of Duties > Activating Segregation of Duties from the Command Line
  
Activating Segregation of Duties from the Command Line
The following is an example of a shell script that you can use to activate segregation of duties from the command line.
Replace the bold text in brackets with values relevant to the environment on which you are running segregation of duties.
###########################
#!/bin/sh
DLC=<PROGRESS_LOCATION>;export DLC
. <PROGRESS_LOCATION>bin/slib_env
PATH=$PATH:<PROGRESS_LOCATION>/bin;export PATH
PROMSGS=<PROGRESS_LOCATION>/promsgs;export PROMSGS
PROTERMCAP=<PROGRESS_LOCATION>/protermcap;export PROTERMCAP
 
<PROGRESS_LOCATION>/bin/_progres -pf <PATH_TO>/QADFinapp.pf -param "-action ActivateSOD -PROPATH <FULL_PROPATH>" -b -p "<PATH_TO>/qadfin.pl<<program/applicationcontrol.r>>" > <OUTPUT_FILE>.txt
###########################