COBOL/400 Language Help
- Description
- The INSPECT statement specifies that characters in a data item are to be
counted (tallied) or replaced, or both. The INSPECT statement
will:
- Count the occurrence of a specific character (alphabetic, numeric, or
special character) in a data item.
- Fill all or portions of a data item with spaces or zeros.
- Translate characters from one collating sequence to another.
This statement does not support reference modification.
The INSPECT statement has four formats:
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.