the 97 pcm cannot be reprogrammed with any other year's file. it's too differnet, including physical hardware.
you either will need to swap pcm's and engine harness, and rewire the bulkhead connector on the firewall, or move pins in the engine harness that you have at the pcm connector.