Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Gary Rubinstein Absent Member.
Absent Member.
1200 views

Error: ksc_store

Jump to solution
I am running PPM v7.1 SP5

I have setup the following execution step:

ksc_store REQ.P.PREV_STATUS_ID = [REQ.STATUS_ID],[REQ.STATUS_NAME]

The data populates correctly in the database however I get the following error when I run the command causing the command to 'Fail'.

============================================
An error occurred during command parsing.
(KNTA-10127) Invalid argument to ksc_store: Expecting -dateFormat in place of 1

Failed
============================================

Can anyone assist with what may be causing this error.

Thanking you,
Gary
0 Likes
1 Solution

Accepted Solutions
Tim Brandish Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
I think the problem lies in the fact that you have the .P. specified for REQ.P.PREV_STATUS_ID. I believe what is happening is that PPM is using the hidden value you are storing to also get the visible value and your second parameter ,[REQ.STATUS_NAME] is being confused for something else and causing the error.
6 Replies
Mahinder Kariro Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
Try this
PREV_STATUS_ID = "[REQ.STATUS_ID]","[REQ.STATUS_NAME]"

Regards
Mahinder
0 Likes
Gary Rubinstein Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
Have already tried that but all that option puts "[REQ.STATUS_NAME]" in the field when it should be saving the field data.

The data is populating correctly but the error indicates it is looking for a dateFormat.

Regards,
Gary
0 Likes
Tim Brandish Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
I think the problem lies in the fact that you have the .P. specified for REQ.P.PREV_STATUS_ID. I believe what is happening is that PPM is using the hidden value you are storing to also get the visible value and your second parameter ,[REQ.STATUS_NAME] is being confused for something else and causing the error.
StefanBienz Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
Hi,

Tim is right, and the thing behind "is being confused for something else and causing the error .." is probably the optional argument to ksc_store :

ksc_store token_name="" -dateFormat ""

(introduced in some ServicePack, long ago ..)

Best regards,

Stefan Bienz
Cirrus Consulting AG
Gary Rubinstein Absent Member.
Absent Member.

Re: Error: ksc_store

Jump to solution
Thank you everyone for you assistance.

I managed to get ksc_store to work using the following:

ksc_store REQ.P.PREV_STATUS_ID = [REQ.STATUS_ID]

Only displays the status id and not the status name, but this allows me to achieve what I am trying to do.

Thanks again,
Gary
0 Likes
Micro Focus Contributor
Micro Focus Contributor

Re: Error: ksc_store

Jump to solution

Hi,

I am getting the same error 

An error occurred during command parsing.
 (KNTA-10127)
CET Invalid argument to ksc_store: Expecting -dateFormat in place of IT

Failed

 i am not sure which command is causing this error as command is working fine for multiple requests however it encountered error in this particular request. Also, we couldn't get and comments in the log written through command steps.

Please advise asap.

Regards,

Avi

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.