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 Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

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

.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture

PROCEDURE DIVISION statements for the indexed files: All the statements which are available for a relative file are also available for an indexed file. READ STTATEMENT :

REWRITE STATEMENT: The REWRITE statement has the format for a relative file as shown below, REWRITE record-name  [ FORM identifier ]

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

PROGRAM FOR MOVE CORRESPONDING: We have to write a simple program to demonstrate Move Corresponding. identification division.   program- id.   environment division.

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the