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

5.3.11.2 Character-String Representation



Symbols That Can Appear More Than Once
The following symbols can appear more than once in one PICTURE character-string:


         A  B  P  X  Z  9  0  /  ,  +  -  *  cs
 X       G  N

At least one of the symbols A, X, Z, 9, or *, or at least two of the symbols +, -, or cs must be present in a PICTURE string.


X The symbol G or N can appear alone in the PICTURE character-string.

An unsigned nonzero integer enclosed in parentheses immediately following any of these symbols specifies the number of consecutive occurrences of that symbol.

Example: The following two PICTURE clause specifications are equivalent:


         PICTURE IS $99999.99CR

PICTURE IS $9(5).9(2)CR

Symbols That Can Appear Only Once
The following symbols can appear only once in one PICTURE character-string:


         S  V  .  CR  DB
 X       E

Except for the PICTURE symbol V, each time any of the above symbols appears in the character-string, it represents an occurrence of that character or set of allowable characters in the data item.


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.