anchor.diff:      call:printf "\nTransitive Closure File generation completed."
   )
   
  -:: Establish the location of MySQL Sever executables
  -set foundfile=""
  -call:getFilePath mysql.exe Server foundfile
  -set "mysqlPath=!foundfile!"
  -call:printf "\nMySQL Path: !mysqlPath!"
  -call:printLog "MySQL Path: !mysqlPath!"
  -if "!mysqlPath!"=="NOT FOUND" (
  -    call:printf "\nUnable to find mysql.exe - Cannot import the data.\n\tPlease install MySQL Community Server and Workbench\n\t(https://dev.mysql.com/downloads/mysql/).\n\tThen configure in line with SnomedRfsMySql recommendations\n\tbefore retrying this import process".
  -    exit /b 1
  -)
   :: Process the SQL template source script to generate the script to be run.
   :: Set sql_file and sql_tmp names for SQL file substitution process
   set "sql_file=!loaderFolder!\!mysqlload!\sct_mysql_load_!loadKey!.sql"
  
positive.code: :: END OF SCRIPT    ::
  ::------------------::
  :debug
      set foundfile=""
      call:getFilePath mysql.exe Server foundfile
      echo !foundfile!
      call:getFilePath perl.exe foundfile
      echo !foundfile!
      call:getFilePath "C:\SnomedCT_ReleaseFiles\SnomedCT_InternationalRF2_PRODUCTION_20190731T120000Z%\Snapshot\Terminology\sct2_Relationship..." "Snapshot" foundfile
      echo !foundfile!
  exit /b
negative.code: setlocal EnableDelayedExpansion
  set tpath=%thisRelease%\Snapshot\Terminology
  set tc_source=""
  :: Locate the snapshot relationships file in the termilogy path.
  call:getFilePath "%tpath%\sct2_Relationship..." "Snapshot" tc_source
  if "!tc_source!"=="NOT FOUND" (
  :: Report error if Snapshot Relationships file cannot be found. This should not happen!
      call:printf "\nError! No Snapshot Relationship file in release package"
      call:printLog "Error! No Snapshot Relationship file in release package"
      exit /b
  )
  :: Get the name for the Transitive Closure file based on the name of the relationships file
  set "tc_target=%thisRelease%\xder_transitiveClosure%tc_source:*_Relationship=%"
  
  