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!
RULES OF RENAMES CLAUSE:
The rules below should be observed while using the RENAMES clause:
(i) All RENAMES entries should be written only after the last record description entry.
(ii) The RENAMES clause should be used only with the special level number 66. The level number starts in margin A or any place after it. The Data-name-1 should start from margin B or any position after it. There should be at least one space between the level number and data-name-1.
(iii) The Data-name-2 and data-name-3 can be the names of an elementary items or group items. They, though, cannot be items of the level 01, 66, 77 or 88.
(iv) The Data-name-1 might not be used as the qualifier. It can be qualified only by the name of the record within which it is defined.
(v) Neither data-name-2 nor the data-name-3 can have an OCCURS clause in its neither description entry, nor can they be subordinate to an item which has an OCCURS clause in its data description entry.
(vi) The Data-name-3, if mentioned, should follow data-name-2, in the record and should not be one of its subfields.
RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.
RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing
FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.
Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev
INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub
NESTED IF STATEMENT: The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements
Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.
B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:
PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica
Numeric - Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi
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