im createfield symtax error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Solved! Go to Solution.
- Tags:
- 2009
- cli
- integrity_cli
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 ##"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 ##"