Question: Code all required Environment and Data Division entries to handle this problem. A sequential file resides on the hard drive under the name RENTAL.TXT .

Code all required Environment and Data Division entries to handle this problem.
A sequential file resides on the hard drive under the name RENTAL.TXT. Each record on that file relates to an automobile rental and contains the fields described below.
Your lab submission is to code the required entries to establish the required entries for the: Identification division; Environment Division; and Data Division.
NOTE your name must be coded in the AUTHOR entry.
The Data record structure on file for the record CAR-RENTAL on the file RENTAL.TXT is as follows.
Registration number - numeric 8 bytes
Car type - alphanumeric 10 bytes
Model type - alphanumeric 5 bytes
Model Year - numeric 8 bytes (year, month day)
Interest Data
Name - alphanumeric 45 bytes (first name (15 bytes), Initial (2 bytes) last name (28 bytes).
Address - alphanumeric 61 bytes (street address (25 bytes), city name (15 bytes), province (15 bytes) postal code (6 bytes)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!