I love 97's, but I'm no gunsmith.
It is not like modern pumps, and is more complicated yet a good solid platform that has stood the test of time.
You didn't specify the gauge- either 12 or 16 it will be, and the chamber length needs to be checked, as the earlier guns have short chambers in both gauges.
What is the prefix above or below the serial number if any? Is it a solid frame or takedown? Any special markings or features or is there checkering on the stock? If the stock has a pistol grip, is the pistol grip rounded or flat bottomed? Steel or hard rubber buttplate?
The action will likely need a good through cleaning even if it has been well kept- you can do if if you can yourself if mechanically inclined, if not, take it to a good gunsmith- he can also check the lock-up and the chamber length at the same time. The lock up is the single most important thing to check- if it's gummy from years of dried lubrication and powder residue it may not work reliably. Also, I don't know if it is a product of wear or of owners "adjusting" the overtravel screw behind the trigger, but sometimes the screws hold the triggers out too far and do not allow reliable cocking of the hammer when the action is manipulated.
There are some much more knowledgeable fellers on here than me, and they'll be along shortly- there are also some good websites devoted to the 1897, and also a couple of shop manuals that show takedown and some repairs. Just one thing- evaluate it before you have thoughts of hacksawing the barrel to "cowboy" length. I traded a trap model off of a fellow that was bringing it into the shop to have it trimmed for cowboy action three or four years ago.
32" barreled guns also bring a premium- especially to the turkey shoot shooters.