Blank insertion and zero insertion, COBOL Programming

B (Blank Insertion) :

The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture.

Examples:

1601_blank inserstion.png

0 (Zero Insertion) :

A zero emerging in a picture will be treated in similar way as a B except that 0 will be inserted rather than of a space character.

Examples:

1662_blank inserstion1.png

Posted Date: 10/16/2012 4:14:34 AM | Location : United States







Related Discussions:- Blank insertion and zero insertion, Assignment Help, Ask Question on Blank insertion and zero insertion, Get Answer, Expert's Help, Blank insertion and zero insertion Discussions

Write discussion on Blank insertion and zero insertion
Your posts are moderated
Related Questions
Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

PROGRAM FOR SUBTRACT VERB: We have to write a simple program to elaborate the SUBTRACT verb. You can also use edit characters in the program. Identification division. Pr

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

Example of condition names: The illustration below is of the use of the condition names  77  MARITAL-STATUS     PIC    9   88  SINGLE    VALUE    IS     ZERO   88  MA

PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

Example of Sign condition: The illustration below describes the use of the sign condition. Illustration:     77  BALANCE  PIC  S9 (6) V99.       .       .     I