Project and Portfolio Management Practitioners Forum
cancel

Im trying to store the output $DB into P.P_DB

SOLVED
Go to solution
Highlighted
davecal
Contributor.

Im trying to store the output $DB into P.P_DB

Hi Guys,

 

Can anyone help me.

 

Im trying to store the output $DB into P.P_DB

 

set DB = `grep /files/csv database.csv | awk -F'[:,]' ' { print $2 } '`  

echo $DB  

ksc_store P.P_DB = $DB  

echo [P.P_DB]  

 

Thanks Dave

2 REPLIES
Jim Esler
Acclaimed Contributor.
Solution

Re: Im trying to store the output $DB into P.P_DB

$DB is a shell variable and is only accessible by shell commands. ksc_store is a PPM command and is not executed by the shell. In order to save the output of the last shell command, use a command like this:

 

ksc_store <token name> ="[EXEC.OUTPUT]"

davecal
Contributor.

Re: Im trying to store the output $DB into P.P_DB

Thank you very much,

 

You're segustion works great.

 

Thanks again,

 

Dave