Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will create a OpenCOBOL program that will generate a report listing patients who are registered with VaporCare Regional Health Insurance. This batch program will

You will create a OpenCOBOL program that will generate a report listing patients who are registered with VaporCare Regional Health Insurance. This batch program will be named lab4.cob and the input file will be named lab4-in.dat and will be located in the same directory as the lab4 executable (so do not specify a path for the file in the Select statement).The record format for the input file is that of the Patient file, which is described in a separate document. The program is to c reate a formatted report which will be named lab4- out.dat, which will also be located in the same directory as the lab4 executable (so do not specify a path for the file in the Select statement). At a minimum, formatting must include leading zero suppression, visible decimal point, and thousands separator. A currency symbol is optional, and if used must be floating.The lab zip package (lab4.zip) also contains a file named lab4-guide.dat which can be used as a guide for formatting your report. Things to note:

The contents of each line of the report are shown in the report guide file

The spacing between items on a line do not have to match the guide exactly

In the guide, X represents string values and 9 represents numeric values and only show variable location and size, not formatting

The date and time are to be the current date and time. Only get this from the system once.

?M represents either AM or PM, as appropriate

Blank lines (such as the ones before and after the column headers) are required

Allow for 35 lines per page

image text in transcribed

Page: 999 mm/dd/yyyy hh:mm ?M VaporCare Regional Health Insurance Monthly Register Hospital Patient DOB Treatment DOT Claim Amount XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX 1 xxxxx - xxxxxxxxxxxxxxxxxxxx XXX - XXXXXXXXXXXXXXXXXXXX | XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM $9.999.999.99 $9.999.999.99 $9.999,999.99 $9.999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9,999,999.99 $9.999.999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9.999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9,999,999.99 $9,999,999.99 Page: 999 mm/dd/yyyy hh:mm ?M VaporCare Regional Health Insurance Monthly Register Hospital Patient DOB Treatment DOT Claim Amount XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX 1 xxxxx - xxxxxxxxxxxxxxxxxxxx XXX - XXXXXXXXXXXXXXXXXXXX | XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX XXXXX - XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXXXXXXX - XXXXXXXXXXXXXXXXXXXX XXX - XXXXXXXXXXXXXXXXXXXX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XXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX mm/dd hh:mm PM $9.999.999.99 $9.999.999.99 $9.999,999.99 $9.999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9,999,999.99 $9.999.999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9.999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9,999,999.99 $9.999.999.99 $9.999.999.99 $9,999,999.99 $9,999,999.99

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

Students also viewed these Databases questions

Question

How many stores exceeded the KPI target in March 2015?

Answered: 1 week ago

Question

What is the store number of the lowest-performing store?

Answered: 1 week ago