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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

im createfield symtax error

DanR.
10-Marble

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.

1 ACCEPTED SOLUTION

Accepted Solutions
DanR.
10-Marble
(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
7-Bedrock
(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.
10-Marble
(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 ##"

Top Tags