BLANK WHEN ZERO must not be specified for 66 or 88 level variables or signed fields.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, we need to understand the concept of "BLANK WHEN ZERO" and its application to level variables and signed fields.

In COBOL, "BLANK WHEN ZERO" is a clause that can be used with numeric fields to specify that the field should be displayed as blank if its value is zero. This clause is typically used for output formatting purposes.

However, the "BLANK WHEN ZERO" clause should not be specified for level 66 or 88 variables or signed fields.

Level 66 and 88 are special levels in COBOL that are used for condition names. Level 66 variables are used for boolean conditions, while level 88 variables are used for condition names that represent multiple values. These variables are typically used for conditional statements and comparisons.

Since level 66 and 88 variables are not intended for output formatting, the "BLANK WHEN ZERO" clause should not be specified for them.

Therefore, the correct answer is:

Option A) True - This option is correct because "BLANK WHEN ZERO" must not be specified for 66 or 88 level variables or signed fields.

Find more quizzes: