setSAPMod.bat 815 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @echo off
  2. rem Licensed Materials - Property of IBM
  3. rem IBM Cognos Products: camaaa
  4. rem (C) Copyright IBM Corp. 2015
  5. rem US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. rem This batch file assumes it is being executed from <root>/bin64
  7. set TARGET_LIB=CAM_AAA_AuthSAP.dll
  8. set RFC_LIB=CAM_AAA_AuthSAP_rfc.dll
  9. set RFCNW_LIB=CAM_AAA_AuthSAP_rfcnw.dll
  10. if %1.==. goto help
  11. if %1==rfc goto copyRFC
  12. if %1==rfcnw goto copyRFCNW
  13. goto help
  14. :copyRFC
  15. @echo on
  16. copy /Y .\%RFC_LIB% .\%TARGET_LIB%
  17. @echo off
  18. goto end
  19. :copyRFCNW
  20. @echo on
  21. copy /Y .\%RFCNW_LIB% .\%TARGET_LIB%
  22. @echo off
  23. goto end
  24. :help
  25. echo setSAPMod rfc --Set rfc version of SAP provider as default
  26. echo setSAPMod rfcnw --Set rfcnw version of SAP provider as default
  27. :end