Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

6.2.39.3 POINTER Phrase



When the POINTER phrase is specified, the value of the pointer field behaves as if it were increased by 1 for each examined character in the sending field. When execution of the UNSTRING statement is completed, the pointer field contains a value equal to its initial value, plus the number of characters examined in the sending field.

When this phrase is specified, the user must initialize identifier-7 before execution of the UNSTRING statement begins.

identifier-7
Is the pointer field. This field contains a value that indicates a relative position in the sending field.

Identifier-7 must be an integer data item defined without the symbol P in the PICTURE string.

It must be described as a data item of sufficient size to contain a value equal to 1 plus the size of the data item referenced by identifier-1.


X When identifier-1 (the sending field) is a DBCS data item,
X identifier-7 indicates the relative DBCS character position (not the
X relative byte position) in the sending field.


Previous Topic Next Topic © 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.