Some aftermarket distributors come with a fixed hold-down bracket which doesn’t allow the CMP offset to be set. The fix is to swap the hold down with the original one in order to do the replacement correctly. Not sure if you have that one or not.
P1345 is the CMP correlation, as others said it is adjustable on these.
For P1351, the factory manual has the step-by-step diagnostic tables for it. This site has PDFs of them for most years up to 1998:
Over the years I have collected a bunch of GM service literature. Links to PDF Scans of service and STG manuals and a links to the Parts manuals. You'll need the FREE Adobe Acrobat reader to open these files. Get it directly from Adobe here {http://get.adobe.com/reader/} If you're not...
www.gmt400.com
An alternative would be alldatadiy.com which is a subscription site and has the same information (verbatim generally) as the factory manual. They went up in price recently (it’s now around $60/yr) so I let my subscription expire or I would copy the sections for you.
Edit: here is P1351 from the 98 PDF manual…
View attachment 364567
View attachment 364568
View attachment 364569