Class Notes
and
Example Source Code

Stern and Stern
Power Point

CIS126 Home

Content Outline

Course Description

Evaluation
Criteria

Project 1

Project 2

Project 3

Project 4

Business Programming II Assignment 1 

Date Due:

Learning Objectives:

   In assignment 1, the student will learn to; a) look at and modify existing COBOL code to create a new structured program, b) understand data definitions and be able to create test data, c) lookup keyed data from a table, and d) understand and apply the basic concept of calculating a customer transaction and creating customer output.   

Definition of Problem:

   You are a programmer maintaining a billing and accounts receivable system written in COBOL for a large established Company "S3C World Wide".  The company has started selling products over the Internet and the demand has been so great that the current Internet server based system cannot efficiently process all of billing for the orders.  Software has been installed to download the orders file to the computer running the existing COBOL system.  The company plan is to process the Internet orders on the COBOL billing and accounts receivable system.

   Your first assignment is to write a COBOL program to perform the following:

1)      Read in the downloaded orders file. 20%

2)      Perform a table lookup to get the Price and Product-Description for the Product-Number. 20%

3)      Calculate the amount of the total order.  The total order amount is only subject to sales tax for New York State residents.  NY sales tax = 7%. 20%.

4)      Write out the customer invoice file. 20%

5)      Write out the customer invoice report. 20%


Total Credit  = 100%


Definition of Data:

1)      The input from the Internet system consists of: a) product number 5 positions, b) quantity ordered 6 positions, c) customer last name, first name, middle initial, d) customer address, street, city, state, zip-code, e) order number 5 positions.

2)      Please see table on next page for the product numbers and pricing information.

3)      The output accounts receivable record and customer invoice report consists of: a) Internet product number, b) product number, c) product description d) quantity ordered, e) unit price, f) before tax total amount, g) tax amount, h) after tax total, e) customer full name and full address, f) order number (YYYYMMDDxxx, where xxx = order-sequence-number).

Product and Pricing  Table  

Product Number

 

Unit Price

Product Description

 

I100

 

10.75

10 ft network cable

 

I200

 

99.97

PCI Ethernet card

 

I250

 

90.00

Network controller

 

I600

 

650.00

Pentium III CPU with bells + whistles

 

I700

 

899.99

Flat 17" space saver monitor

 

I850

 

215.47

Regular 15" monitor

 

 

 

 

 

 

     Please create an input file containing at least 15 orders.  Hand in a listing of your input file, output files, and compiled program listing.