Category: COBOL

COBOL Tutorial - For Beginners & Professionals

COBOL Program to to produce a report showing the top three Video Suppliers

  COBOL |   Friday, May 8, 2015   3287   5/8/2015 4:08:39 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed Files  Relative Files  Print Files  READ  START  Tables  DIVIDE  COBOL Example  COBOL Program 

Exam paper model answer. The manager of Metropolis Videos has asked you to write a program to produce a report showing the top three Video Suppliers (by total store video earnings) and for each of the top three the most popular video title (by average earnings) must be shown. Read the program specification first. The required data files may be downloaded from there.

COBOL Program to the Pascal Memorial Library pays the author a small sum of money as royalty

  COBOL |   Friday, May 8, 2015   2463   5/8/2015 4:07:35 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed Files  Print Files  READ..NEXT RECORD  READ..KEY IS  START  REWRITE  WRITE  MULTIPLY  SET 

Exam paper model answer. Each time a book is borrowed, the Pascal Memorial Library pays the author a small sum of money as royalty.? Royalties are paid to authors through their agents. A report is required which processes the Authors file and the Books File to produce a report which shows the amount to be sent to each agent, shows the breakdown of the agent payment into author payments, and shows the breakdown of each author payment into royalty payments per book. Read the program specification first. The required data files may be downloaded from there.

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

  COBOL |   Friday, May 8, 2015   2367   5/8/2015 4:06:10 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  Report Writer  Report Section  INITIATE  GENERATE  TERMINATE  READ  WRITE  REWRITE  START  COBOL Program  COBOL Example 

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.

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

  COBOL |   Friday, May 8, 2015   2807   5/8/2015 4:04:51 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  Relative Files  Sequential Files  EVALUATE  COMPUTE  READ  WRITE  REWRITE  START  Report Writer  Report Section  INITIATE  GENERATE  TERMINATE  COBOL Example  COBOL Source Codes 

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.

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

  COBOL |   Friday, May 8, 2015   2364   5/8/2015 4:03:41 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  Print files  READ..NEXT RECORD  START  WRITE  REWRITE  IF  PERFORM  ADD  SUBTRACT  COBOL Program  COBOL Example 

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.

COBOL Program to Reads the Indexed file sequentially on whichever key is chosen by the user

  COBOL |   Friday, May 8, 2015   2661   5/8/2015 4:02:40 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  READ..NEXT RECORD  START  COBOL Example  COBOL Programs 

Reads the Indexed file sequentially on whichever key is chosen by the user. Displays all the records in the file.

COBOL Program to Does a direct read on the Indexed file created by the previous example program

  COBOL |   Friday, May 8, 2015   1713   5/8/2015 4:01:08 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  READ..KEY IS  COBOL Program  COBOL Example 

Does a direct read on the Indexed file created by the previous example program. Allows the user to choose which of the keys to use for the direct read.

COBOL Program to Creates a direct access Indexed file from a Sequential file

  COBOL |   Friday, May 8, 2015   3408   5/8/2015 3:59:39 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Indexed files  Sequential Files  RECORD KEY  ALTERNATE KEY  READ..AT END  WRITE..INVALID KEY  COBOL Program  COBOL Exam 

Creates a direct access Indexed file from a Sequential file. Note that Microfocus Indexed files actually consist of two files - the data file and the index file (.idx). To create the Indexed file you will need to download the supplier file SEQVIDEO.DAT

COBOL Program to Reads the Relative file

  COBOL |   Friday, May 8, 2015   1337   5/8/2015 3:50:59 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Relative files  ACCESS MODE  RELATIVE KEY  FILE STATUS  READ..NEXT RECORD  READ..INVALID KEY  Condition Names  IF  COBOL Program  COBOL Example 

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.

COBOL Program to Creates a direct access Relative file from a Sequential File

  COBOL |   Friday, May 8, 2015   3900   5/8/2015 3:49:41 PM No Comments Yet!!! | No Download | No Demo | Pawan kumar
 Tags: Relative files  Sequential Files  ACCESS MODE  RELATIVE KEY  FILE STATUS  READ..AT END  WRITE..INVALID KEY 

Creates a direct access Relative file from a Sequential File. Note that Relative files are not standard ASCII files and so cannot be created with an editor as Sequential files can. To create the Relative file you will need to download the supplier file SEQSUPP.DAT