Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask COBOL Expert


Home >> COBOL

Rules for apply for the condition name:

The rules below apply for the condition name.

(i) The Condition names should be explained at level 88. The level number starts in margin A or any place after it. The condition name should begin from the margin B or any position after it. There should be at least one space between the level number and condition name.

(ii) The general rules for naming a data item can also apply in the case of the condition name.

(iii) If similar condition name is used in more than one place, the condition name should be qualified by the name of its conditional variable.

(iv) The name of the conditional variable can be used as the qualifier for any of its condition names. When the reference to a conditional variable needs qualification or subscripting, the similar combination of qualification or subscripting should also be used for the related condition name.

(v) The values specified throughout the VALUE clause in the condition name entry should not conflict with the data description of the conditional variable. The literal in the VALUE clause can either a numeric literal, non numeric literal or the figurative constant.

(vi) When the THRU/THROUGH phrase is used, literal - 1 should be less than literal - 2 and literal - 3 must be less than the literal- 4.

(vii) The conditional variable can be a group item or an elementary item. Though, it cannot be the other condition name, or a 66- level item or a group containing the JUSTIFY clause, or the SYNCHRONIZED clause or the USAGE clause other than DISPLAY. 

COBOL, Programming

  • Category:- COBOL
  • Reference No.:- M9512057

Have any Question?


Related Questions in COBOL

Write a program that will provide a list of their employees

Write a program that will provide a list of their employees with the following information: Field Size Type Additional Information Employee Number 5 Alphanumeric Employee Name 20 Alphanumeric Position Title (PT) 10 Alpha ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As