Where is the camshaft position sensor located in my 2000 Honda Civic EX? on 2000 Honda Civic

The vehicle cuts off at times and has a camshaft position sensor code

Asked by for the 2000 Honda Civic
A bad cam sensor will not cause the vehicle to die.
What would cause it to shut off and set a camshaft position sensor code?
2 more answers , 2 more comments
It's part of the distributor assembly.What is the code # P----? What service history on timing belt? When it's running is there any power loss or sluggishness?
The Timimg belt has been replaced recently
Check dist. and wiring to it, if timing belt is on correct then it might be a problem in the dist. , check it for problems internally-oil inside/excessive shaft movement faulty connections.
Wont start gives camshaft timing solenoid code? Or camshaft positioning solenoid code?