You must define the following variables to run a Perl script within the Smarts environment from the command line.:

  • SM_HOME

  • SM_WRITABLE

  • SM_AUTHORITY

  • SM_BROKER

  • SM_BROKER_DEFAULT

  • SM_SITEMOD

  • SM_INCOMING_PROTOCOL

  • SM_OUTGOING_PROTOCOL

    You can find further information on these variables in the Smarts System Administration Guide.

    To set these variables, type the following command to start the bash environment:

                   
                      BASEDIR/Smartss
                   /bin/runcmd bash 
    bash$>
    

    A Perl script to define the variables can now be run within this bash environment.