ILE COBOL Language Reference
The INSPECT statement specifies that characters in a data item are to be
counted (tallied), or replaced (or both).
- It will count the occurrence of a specific character (alphabetic, numeric,
or special character) in a data item.
- It will fill all or portions of a data item with spaces or zeros.
- It will translate characters from one collating sequence to
another.
The INSPECT statement has four formats:
Related Information:
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.