A little unsure of the details. If it has the correct connectors on it and the correct plug for the mains electricity in your area then it should be ok if it's in good condition.
Some cables have a different current rating though, so you need to be a bit careful. A power cable might only have a 7.5Amp rating and your PSU/equipment might normally use a cable with a 10Amp rating, in that case it would be advisable to not use the 7.5Amp rated power cable.
For instance I have used different AC power cables on different equipment before, that all had the correct IDE 3 pin socket, and also the correct 3 pin plug for our country's AC mains electrical supply.
{GoofyOne's 2c worth, which may or may not be actually worth 2c}