cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

im createfield symtax error

DanR.
12-Amethyst

im createfield symtax error

When I run the following im command I got "*** Error creating field Xxxx_Xxxx Xxx ##: syntax error"

im createfield --hostname=mks --type=date --description="Xxxx_Xxxx Xxx ##" --computation="XXXX_Xxxx Xxx Xxx Xxxx" --storeToHistoryFrequency=never --nostaticComputation --displayName="Xxxx Xxx ##" --name="XXXX_Xxxx Xxx ##"

The computation parameter is another Date field that is already created.

I'm using Integrity 2009 SP5 AIX.

ACCEPTED SOLUTION

Accepted Solutions
DanR.
12-Amethyst
(To:wspadola)

I could not find this in any of the documentation, but I got is to work by inserting a single quote in the computation parameter. Shown in red.

im createfield --hostname=mks --type=date --description="Xxxx_Xxxx Xxx ##"

--computation='"XXXX_Xxxx Xxx Xxx Xxxx"' --storeToHistoryFrequency=never

--nostaticComputation --displayName="Xxxx Xxx ##" --name="XXXX_Xxxx Xxx ##"

View solution in original post

2 REPLIES 2
wspadola
12-Amethyst
(To:DanR.)

I also tried this command, and it seemed to work correctly. Would you be able to provide more detail about the computation, and perhaps more information about the Date field you're referring to?

DanR.
12-Amethyst
(To:wspadola)

I could not find this in any of the documentation, but I got is to work by inserting a single quote in the computation parameter. Shown in red.

im createfield --hostname=mks --type=date --description="Xxxx_Xxxx Xxx ##"

--computation='"XXXX_Xxxx Xxx Xxx Xxxx"' --storeToHistoryFrequency=never

--nostaticComputation --displayName="Xxxx Xxx ##" --name="XXXX_Xxxx Xxx ##"

Announcements


Top Tags