Help on error codes needed

Hello, I have a little problem. Since today, my MKL lights up. Did I just read out the STG with my China part and the following error came: P0340 – camshaft sensor signal faulty (08) – Not available. Does this mean that the sensor is defkt and I simply have to change it? Can the engine take damage if I still drive further? The engine seems to be in an emergency program. Besides, my ABS lamp has been shining for a long time. OP-COM then gave me also follow nd errors from: 00019 – valve relay circuit available. What can this be and what do I have to change for it? Fortunately, I still have an omega standing here for slaughter. Thanks already