6.2.21.7 Data Flow
Except when the BEFORE or AFTER phrase is specified, inspection begins at
the leftmost character position of the inspected item (identifier-1) and
proceeds character-by-character to the rightmost position.
The comparands of the following phrases are compared in the left-to-right
order in which they are specified in the INSPECT statement:
- TALLYING (literal-1 or identifier-3, ... )
- REPLACING (literal-3 or identifier-5, ... )
If any identifier is subscripted, reference modified, or is a
function-identifier, the subscript, reference-modifier, or function is
evaluated only once as the first operation in the execution of the INSPECT
statement.
For examples of TALLYING and REPLACING, see the IBM COBOL Programming
Guide for your platform.
Subtopics:
© 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.