Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link


This works for me. I never install anything Jazz into "Program Files", not sure if that contributes. 

0 votes

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.


Permanent link

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.

0 votes

Comments
I can read and figured from your post that you used 6.0.6.1, even if you did not mention it. I used my 6.0.6.1. I just changed my path in your script. Initially I thought the script syntax was incorrect. Does not seem to make a difference. Windows scripting is weird.

If you already have filed a case with support, why am I spending my time?

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 ?

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,926
× 456

Question asked: Mar 25 '21, 9:34 a.m.

Question was seen: 1,954 times

Last updated: Mar 25 '21, 12:25 p.m.

Confirmation Cancel Confirm