COBOL Program is required to produce a Purchase Requirements Report from the Publisher, Book and Purchase Requirements files

Exam paper model answer. A program is required to produce a Purchase Requirements Report from the Publisher, Book and Purchase Requirements files. The report should be sequenced on ascending Publisher Name and should only detail the purchase requirements for the semester under scrutiny. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

Indexed files Report Writer Report Section INITIATE GENERATE TERMINATE READ WRITE REWRITE START COBOL Program COBOL Example


COBOl Program to required which will apply a file of sorted, validated transactions to the Oil-Stock-File

Exam paper model answer. A program is required which will apply a file of sorted, validated transactions to the Oil-Stock-File and then produce a report based on the contents of both the Oil-Details-File and the Oil-Stock-File. The report writer must be used to produce the report which must be printed sequenced on ascending Oil-Name. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

Indexed files Relative Files Sequential Files EVALUATE COMPUTE READ WRITE REWRITE START Report Writer Report Section INITIATE GENERATE TERMINATE COBOL Example COBOL Source Codes


COBOL Program to which applies a transaction file of student payments to a Student Master File

Exam paper model answer. A program which applies a transaction file of student payments to a Student Master File and which then produces a report showing those students whose fees are partially or wholly outstanding. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

Indexed files Print files READ..NEXT RECORD START WRITE REWRITE IF PERFORM ADD SUBTRACT COBOL Program COBOL Example





COBOL Program to Reads the Relative file

Reads the Relative file - RELSUPP.DAT - created in the previous example program and displays the records. Allows the user to choose to read through and display all the records in the file sequentially, or to use a key to read just one record directly.

Demo & Full Guide

Relative files ACCESS MODE RELATIVE KEY FILE STATUS READ..NEXT RECORD READ..INVALID KEY Condition Names IF COBOL Program COBOL Example



COBOL Program to print a list of the ten best selling books (by copies sold) in the Book Club

Exam paper model answer. The Folio Society is a Book Club that sells fine books to customers all over the world. A program is required to print a list of the ten best selling books (by copies sold) in the Book Club. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

Sequential Files Print Files SORT with Input Procedure and Output Procedure Tables COBOL Program COBOL example program


COBOL Program to required which will produce a file, sorted on ascending email domain, from the unsorted GraduateInfo file

Exam paper model answer. A program is required which will produce a file, sorted on ascending email domain, from the unsorted GraduateInfo file. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

COBOL Program to required which will produce a file SORT with Input Procedure and Output Procedure Sequential Files Pre-Defined Tables Run time filled tables SEARCH


COBOL Program to a program is required to produce a summary sales report from an unsorted sequential file

Exam paper model answer. A program is required to produce a summary sales report from an unsorted sequential file containing the details of sales of essential and base oils to Aromamora customers. Read the program specification first. The required data files may be downloaded from there.

Demo & Full Guide

COBOL Program to a program is required to produce a summary sales report from an unsorted sequential file COBOL Program COBOL example program