Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Figurative Constants:
The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.
Consider the statement as shown below:
MOVE ZERO TO COUNTER
Here value 0 will be moved to the COUNTER by the compiler, as it recognizes ZERO and sets the COUNTER with 0. The list of figurative constants is shown below:
Figurative Constant Meaning
ZERO
ZEROS value 0
ZEROES
SPACE
SPACES One or additional blanks
HIGH-VALUE
HIGH-VALUES The Highest value in the Collating sequence
LOW-VALUE
LOW-VALUES Lowest value in the Collating sequence
QUOTE
QUOTES one or more of "
ALL literal one or more of string characters comprising the literal
Example of condition names: The illustration below is of the use of the condition names 77 MARITAL-STATUS PIC 9 88 SINGLE VALUE IS ZERO 88 MA
ON SIZE ERROR OPTION: If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T
PROGRAM FOR PERFORM - VARYING: We have to write a program to elaborate PERFORM ...VARYING Identification division. Program- id. PerfVary. Environment division. Dat
MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a
ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON
RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o
Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,
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
CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is
WRITE Statement: The WRITE statement for a relative file has the format which is as shown below. WRITE record-name [ FORM identifier ]
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd