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
FILLER CLAUSE: Consider the statements as shown below: 1) 01 f pic x(80) value all "-". This statement origins a line of 80 characters filled with "-"
ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold
PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration: A) Perform the para-2 5 times. In this situation the specifie
ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable. Though, the processing is not-terminated and the co
PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as
PROGRAM FOR SCREEN SECTION WITH FILES: identification division. program- id. environment division. input-output section. file-control. select
INPUT AND OUTPUT PROCEDURE IN SORT STATEMENT: The common format of the SORT statement can write as shown below: The format of the RELEASE statement is as shown be
Literals: The actual values can too appear in a program. These values are termed as literals. For illustration, the statement MOVE 0 TO TOTAL indicates that the value zero wil
Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.
FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT file-name ASSIGN TO implementor -name
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