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

spaces in .bom data

I have been playing with .bom and have found a limitiation which I hope someone can help me with:

I have an environment variable something like this:
TIME_NOW=.date %c

I then use this in a BOM as follows:
.bom data "Timimngs" "Section1" "EndTime=${TIME_NOW}"

This causes a failure, complaining about unmatched pairs in the BOM data, because the ${TIME_NOW} expands to "Mon 13 Sept....."
If I change the TIME_NOW definition to ".date %H:%M:%S", then the BOM data is stored correctly.

In this particular case it is not a problem for me because I only need to capture the time in my BOM data, but if I did need to ad data to the BOM that contains a space, is there a clever way to do it?

thanks in advance.
Paul

0 votes



3 answers

Permanent link
I have been playing with .bom and have found a limitiation which I hope someone can help me with:

I have an environment variable something like this:
TIME_NOW=.date %c

I then use this in a BOM as follows:
.bom data "Timimngs" "Section1" "EndTime=${TIME_NOW}"

This causes a failure, complaining about unmatched pairs in the BOM data, because the ${TIME_NOW} expands to "Mon 13 Sept....."
If I change the TIME_NOW definition to ".date %H:%M:%S", then the BOM data is stored correctly.

In this particular case it is not a problem for me because I only need to capture the time in my BOM data, but if I did need to ad data to the BOM that contains a space, is there a clever way to do it?

thanks in advance.
Paul


Hi Paul,

What release/build are you using? There is a defect that has been fixed in this area known internally as RATLC01305809 . It should be available in 7.1.1.4 .

bju

0 votes


Permanent link

Hi Paul,

What release/build are you using? There is a defect that has been fixed in this area known internally as RATLC01305809 . It should be available in 7.1.1.4 .

bju


Hi Brent

Interestingly, I am using 7.1.1.4, on a Linux server.

0 votes


Permanent link

Hi Brent

Interestingly, I am using 7.1.1.4, on a Linux server.


Hi,

There have been some changes in the release names over the past couple of months. The defect ticket was validated on what was at the time 7.1.1.4, but since that time the names of the releases changed and the ticket still had the old release name in it. If you were to try the 7.1.2 M5 milestone build at https://jazz.net/downloads/rational-build-forge/milestones/7.1.2M5, it should work for you. I was able to recreate the problem on 7.1.1.4 Build 0139, and the same scenario worked on 7.1.2.0 0265.

bju

0 votes

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

Question asked: Sep 15 '10, 10:37 a.m.

Question was seen: 5,634 times

Last updated: Sep 15 '10, 10:37 a.m.

Confirmation Cancel Confirm