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.7 Fixed Insertion Editing



This type of editing is valid only for numeric-edited items. The following insertion symbols are used:

In fixed insertion editing, only one currency symbol and one editing sign control symbol can be specified in one PICTURE character-string.

Unless it is preceded by a + or - symbol, the currency symbol must be the first character in the character-string.

When either + or - is used as a symbol, it must be the first or last character in the character-string.

When CR or DB is used as a symbol, it must occupy the rightmost two character positions in the character-string. If these two character positions contain the symbols CR or DB, the uppercase letters are the insertion characters.

Editing sign control symbols produce results that depend on the value of the data item, as shown below:


        Editing Symbol       Result:              Result:
        in PICTURE           Data Item            Data Item
        Character-String     Positive or Zero     Negative

+ + - - space - CR 2 spaces CR DB 2 spaces DB

For example:


         PICTURE         Value of Data    Edited Result

999.99+ +6555.556 555.55+ +9999.99 -6555.555 -6555.55 9999.99 +1234.56 1234.56 $999.99 -123.45 $123.45 -$999.99 -123.456 -$123.45 -$999.99 +123.456 $123.45 $9999.99CR +123.45 $0123.45 $9999.99DB -123.45 $0123.45DB



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.