Blank when zero - edit characters for numeric data, COBOL Programming

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, the edit character asterisk (*) may not be used if BLANK WHEN ZERO is specified. When this clause is used to explain a field whose picture holds an asterisk, it is ignored by the compiler. The syntax of this clause is as shown below:

BLANK WHEN ZERO

Examples:

213_blank with szero.png

 

Posted Date: 10/16/2012 4:17:50 AM | Location : United States







Related Discussions:- Blank when zero - edit characters for numeric data, Assignment Help, Ask Question on Blank when zero - edit characters for numeric data, Get Answer, Expert's Help, Blank when zero - edit characters for numeric data Discussions

Write discussion on Blank when zero - edit characters for numeric data
Your posts are moderated
Related Questions
COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

can we move spaces to numeric field

NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

INPUT-OUTPUT SECTION: This section holds information regarding the files to be used in the program. There are 2 paragraphs in this section- FILE-CONTROL & I-O-CONTROL. The

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

Comparison of the Numeric Operand with Nonnumeric Operand: The numeric operand can be compared to the nonnumeric operand subject to the restrictions which are as follows.

CONDITION - COBOL Programming: The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem