Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.
Solved! Go to Solution.
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 ##"
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?
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 ##"