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
Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi


RELATIONAL CONDITION:   We know that a relational condition specifies a comparison between two operands and has the form.     Operand-1    relational-operator   operand-2

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing

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

WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

What is the difference between subscript and index

LEVEL NUMBERS: The COBOL makes use of the level number concept to explain the hierarchical data structure. A level number is a 2 digit number. The permitted level numbers a

SPECIAL-NAMES: This paragraph is used to associate some hardware names to the user-specified mnemonic names. This paragraph is elective in all compilers. The format of this pa