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!
FILE-CONTROL paragraph for the relative files:
The normal format for the SELECT clause for a relative file is as shown below.
SELECT file-name ASSIGN TO implementor-name
[; FILE STATUS IS data-name-2]
Whether the file must be used successively or randomly, must specified through the word SEQUNTIALLY or RANDOMLY in the access mode clause the clause ACCESS MODE IS DYNAMIC it represents that the file is accessed sequentially and / or randomly in the PROCEDURE DIVISION.
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
Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST
PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o
Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th
CLOSE statement: The simplified syntax of the CLOSE statement is as shown below: CLOSE file-name-1 [WITH LOCK ] [ , file-
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
Program for Sequential File Creation & Rewriting We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.
SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr
calculate simple interest
Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)
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