“D” code 340 in 69’ Cuda?

So the number on the front of the engine has no indication of the body VIN whatsoever? Just out of curiosity is the secondary number just a partial VIN or is it a combination of engine size, build date and VIN??
Correct. See the article and discussion from @krazykuda
How to ID a Small Block Engine Block: