RTC batch file hangs and does not exit
We have a problem when running a batch file with RTC command. The batch file runs fine how it fails to exit at the end from the dos prompt.
Example syntax of batch file below:
set "lscmLoc=C:\Program Files\IBM\Rational\RTC\6.0.6.1\jazz\scmtools\eclipse\lscm.bat"
call "%lscmLoc%" version
exit
The above batch file runs fine on dos prompt , however it does not exit and hangs on dos prompt after successfully giving output from the "version" command as shown below. Is this a bug? any workarounds ?
H:\>"C:\Program Files\IBM\Rational\RTC\6.0.6.1\jazz\scmtools\eclipse\lscm.bat" version
Build Id: RTC-CLIENT-I20190326-1753
Version: 6.0.6.1
2 answers
Comments
Hi Raplh
I am using v6.0.6.1.
Irrespective if RTC install is located under "Program Files" or not the same problem persists.
When you say it works for you , which version of RTC are you using ?
I have logged a ticket with IBM support and they at able to reproduce this issue with v6.0.5 and this might be a defect, waiting official confirmation from IBM support.
Hi Raplh
I am using v6.0.6.1.
Irrespective if RTC install is located under "Program Files" or not the same problem persists.
When you say it works for you , which version of RTC are you using ?
I have logged a ticket with IBM support and they at able to reproduce this issue with v6.0.5 and this might be a defect, waiting official confirmation from IBM support.
Comments
Thanks for your time. I wanted to reach out on jazz.net to see if other have experienced similar issue.
IBM support have suggested to use path to scm.exe and that has fixed my issue. However I am not sure if there are any repercussions of using scm.exe in a batch file ?