Component declaring the structure of the program

Assignment Help COBOL Programming
Reference no: EM133674464

Business Programming

Program Requirements

This project will use the same files as used in Project 2. However, the Student file (STUFILE.TXT) will first be converted into an Indexed Sequential file. The file for the Program Records will remain the same as a Line Sequential file.
First program. Convert the Student File into an Indexed Sequential file.
Second program. Update the Indexed Sequential Student File with on-line (interactive) transactions using a Screen Section. The online transactions to be used will be provided. Note - you must use the Screen Section to handle the transactions needed to update data in records on the file. This program would prompt the user to enter a student number, then, search the file for that student number. If found, it would display the student information on screen for update. Then, accepts user update and updates the Indexed Sequential Student File.
Third Program. Re-run the report program from Project 2 with the following amendments:
1) the Data Division component declaring the structure of the Program Table must be handled as a COPY member;
2) the code which calculates the average must be an externally executed program with a CALL function.

Both files (STUFILE.txt and PROGRAM.txt) will be provided.
The transactions to be used in updating the Student File will be provided.
Record structures for all files (input and output) are the same as for Project 2 but are repeated below for reference.

The required Screen layout will be provided under separate cover.

Input Record Structures
The structure for each student record is below. The file to be used to test your code will be provided with the file name STUFILE.txt for the student records, and PROGRAM.txt for the different Programs of Study. There are five courses for each student record. Each course record (1 through 5) contains the Course Code followed by the average for that course.

Record structure -- Program File (PROGRAM.txt)
(Note - there will be a maximum of 20 occurrences of records)
PROGRAM CODE6 bytes alphanumeric
PROGRAM NAME 20 bytes alphanumeric
(Note - This file is to be loaded into a table for use in the report program)

Record Structure -- Student Record (STUFILE.txt)
STUDENT NUMBER6 bytes numeric
TUITION OWED6 bytes numeric (including 2 assumed decimals)
STUDENT NAME40 bytes alphanumeric..
PROGRAM OF STUDY6 bytes alphanumeric
COURSE CODE 17 bytes alphanumeric
COURSE AVERAGE 13 bytes numeric
COURSE CODE 27 bytes alphanumeric
COURSE AVERAGE 23 bytes numeric
COURSE CODE 37 bytes alphanumeric
COURSE AVERAGE 33 bytes numeric
COURSE CODE 47 bytes alphanumeric
COURSE AVERAGE 43 bytes numeric
COURSE CODE 57 bytes alphanumeric
COURSE AVERAGE 5 3 bytes numeric

Output Record Structure (Student Report File)
Eachoutput record will be a structured on a single line as described below. You must use Each the ORGANIZATION clause as LINE SEQUENTIAL in the SELECT ASSIGN statement.

STUDENT NAME
filler (2 spaces)
STUDENT AVERAGE (This field must be rounded to a whole integer)
filler (4 spaces)
PROGRAM NAME ( retrieved from the table)
filler 4 spaces
TUITION OWED (this field must be edited with inserted decimal point, commas as suppression of leading zeros)

Output Record Structure(Column Header)
You must have a Column Header Record at the top of the report with the words NAME, AVERAGE, PROGRAM, TIUTION OWED in line with the beginning of eachfield.

Processing requirements Student Report file
The report program will handle the same process as that for Project 2. However, some changes will be required.
1) That Cobol source code in the Data Division which declares the structure of the Program Table must be removed from the program code. Place (save) that code in an external file. In the Report Program, you must use the COPY command in your source code to access that code when your program is compiled.
2) The code in the Procedure Division must be removed and set up as a separate program that will be accessed using the CALL command.
3) Reference to the Indexed Sequential file for the Report Program will access the records in a sequential manner as with Project 2.

The program listing will be examined primarily for:
1) relationship to function chart and flowchart;
2) use of prescribed commands as required by the problem specifications;
3) application of standards and structures;
4) use of proper functional constructs (cohesion and coupling);
5) use of internal comments (if required);
6) Successful compilation and execution.

The output reports (hard copy or screen displays if required) will be examined for accuracy of the output information and the prescribed format as noted in the program requirements.

The documentation will be examined to ensure:
1) proper use of symbols and logical diagrams/narratives (i.e. flowcharts);
2) proper structure and content of structure/function/hierarchy charts;
3) clear and accurate report or screen layouts (if required);
4) clear description or comments of the program logic; and,
5) relationship to the program code.

Any violation of the established standards (Standards document in the Course Information content area of Brightspace) will result in a loss of at least 5 points.

Any discrepancy regarding the grading notes above will result in a loss of at least 5 points.

Reference no: EM133674464

Questions Cloud

Can you escape categorization : How do people categorize things and people as either familiar and safe or unfamiliar and possibly dangerous? Why do people categorize?
Discuss with your pod the threats and stressors facing : Discuss with your pod the threats and stressors facing your international beaches. Draw connections to what you've learned in class and do your own research.
Estimate the cost of capital for the forecast horizon : Estimate the cost of capital for the forecast horizon and the steady state period.
Importance of self-care and work-life balance : While my desire to make a positive impact has remained strong, I have also developed a greater appreciation for importance of self-care and work-life balance.
Component declaring the structure of the program : CST8283 Business Programming, Algonquin College - Update the Indexed Sequential Student File with on-line (interactive) transactions using a Screen Section
Why is it important to recognize the likelihood of outrage : Why is it important to recognize the likelihood of outrage when communicating with the public about a risk?
Should the epa be doing more to protect citizens of country : Should the EPA be doing more to protect the citizens of this country or do you feel that the existing laws are adequate?
Discuss the evidence that support the global warming concept : Discuss the evidence that supports the concept that global warming is due to anthropogenic activities, the evidence that supports the concept.
Make sustainable energy more accessible : Tesla's journey into the electric vehicle market began with a vision to revolutionize transportation and make sustainable energy more accessible.

Reviews

len3674464

4/11/2024 2:37:42 AM

Here is cobol assignment I am totaly dependent on you And i want proof of running program as we

Write a Review

COBOL Programming Questions & Answers

  A if you could pick a single source of cash for your

a. if you could pick a single source of cash for your business what would it be? why?nbspb. how can a business earn

  Janice colangelo heads the training centre of the large hr

janice colangelo heads the training centre of the large hr consulting firm emt consulting. the firm has three major

  View the original indexed file as a sequential file

This should be helpful to view the original indexed file as a sequential file and view the modified indexed file as a sequential file.

  Changes on the individual business management

Critically evaluate how the workplace of the 21st Century has developed since F.W.Taylor's work,Principles of Scientific Management.

  Produce a dat file based on transactions

To help you out with this task, I am providing a file Indexed-to-Sequential-Conversion.cbl that, when properly embedded in a project, will convert an indexed file (which is not readable with a text editor) into a sequential file.

  Cobol assignment

For this program you will use a file INFILE (listed here in numbers) that has information about students and their grades on 4 exams. The input file is shown below:

  Cis 3010 advanced cobol programming question

CIS 3010 Advanced COBOL Programming assignment help and assessment help, California State University - Write a function called calc_product_cost that returns.

  Develop a conference management system

Develop a conference management system for APTA that allows conference organizers to manage the events and registrations

  E easy to process in a cobol variable-length record

Which would be easy to process in a COBOL variable-length record or fixed-length record?

  Lenders bank program for cobol

Lenders bank program for cobol

  Deletion transaction matches a master file record

Which of the series of transactions involving the same item number are permitted using the sequential maintenance program - When the sequential maintenance program starts up, the initial settings of the NEED-TRANSACTION, NEED- MASTER, WRITE-MASTER

  Calculate the size of monthly payment

Calculate the size of monthly payment necessary to repay a loan - Compute interest payment for each period and When computing the amortization table the program should report for the end of each year (12 month period) the total of payments, total of..

Free Assignment Quote

Assured A++ Grade

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!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd