6.2.21.3.1 Replacement Rules
The following replacement rules apply:
- When the subject field is a figurative constant, the single-character
substitution field (which must be 1 character in length) replaces each
character in the inspected item equivalent to the figurative constant.
- When the substitution field is a figurative constant, the substitution
field replaces each non-overlapping occurrence of the subject field in
the inspected item.
- When the subject and substitution fields are character-strings, the
character-string specified in the substitution field replaces each
non-overlapping occurrence of the subject field in the inspected item.
- After replacement has occurred in a given character position in the
inspected item, no further replacement for that character position is
made in this execution of the INSPECT statement.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
z/OS |
z/OS.e |
TPF |
z/VSE |
z/VM |
IBM Hardware |
IBM System z Redbooks
Glossary:
IBM terminology
Publications:
How to order publications
Readers:
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Library management:
Download IBM Softcopy Librarian
Contacts:
Contact z/OS
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.