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
Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

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

The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

Abbreviation: The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown: (i) When the subjects in the consecutive relational c

Major difference between file and array how does record read from array and file why we are not preparing array for real time

Edit Characters for Numeric Data: The characters below can be used in the PICTURE clause to indicate the editing.   Z    *  $  -    +    CR    DB    .    ,    B    O    /

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh

CONDITIONS-NAME CONDITION:   The condition name is an entity which itself is a condition and these can have either a true or false value. Though, a condition name cannot be d