If it is a GMC engine, there is an engine serial number pressed into the block in the ledge/boss just to the rear of where the distributor goes into the block. The code may or may not have a letter or two at the beginning; the first 3 numbers would most likely be the displacement.
At the oldGMCtrucks.com link above, there is additional information regarding date codes and casting codes.
Tim