The INSPECT statement is a scan and replace verb in COBOL.
INSPECT
Where tallying-phrase is:
tallying-phrase
replacing-phrase is:
replacing-phrase
missing image
before-after-phrase is:
before-after-phrase