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!
THE SIMPLE SORT VERB:
The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illustration, consider the case of a pay roll file where each record consist all the essential information of an employee, like his name, identification number, address, department number, allowances, basic pay, deductions, etc.
Whenever a sequential file is to be sorted, its record exists on the file medium and can be accessed serially. In COBOL, there is no specific feature for the sorting of a table.
Though, its gives a sort verb which can be used to SORT a sequential file. In addition to sort verb, the MERGE verb can be used to merge various sorted files to create a new file containing the records of these files in the sorting order.
The sort verb such as many other COBOL verbs, then have various forms. This form is to be used when it is needed to sort a given input file. The simple sort verb needs the naming of three files - the unsorted input file, sorted output file and the work file. The format of the common SORT verb is as shown below:
PERFORM STATEMENT: The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a
Example of Sign condition: The illustration below describes the use of the sign condition. Illustration: 77 BALANCE PIC S9 (6) V99. . . I
scope of marginal costing
Character Set: To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in
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
can we move spaces to numeric field
FILE UPDATION: The method of modifying an old file with present information is termed as file updating. Master file: A master file is a file which is used as an author
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
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
Example of If- else statement Illustration: IF QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd