Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment for number 3 *Readdata.cbl example identification division. program-id. a2. environment division. input-output section. file-control. select file-in assign to disk h: ent.txt sequential. con organization

Assignment for number 3 image text in transcribed
image text in transcribed
image text in transcribed
*Readdata.cbl example identification division. program-id. a2. environment division. input-output section. file-control. select file-in assign to disk "h: ent.txt" sequential. "con organization is line select file-out assign to printer, data division. file section fd file-in label records are standard. 01 record-in. 05 Bid-in 05 units-in 05 rent-in 05 annual-rev-in 05 HVAC-in 05 interest-in pic x(3) pic 99. pic 999 pic 999999. pic 9999v99. pic 999999v99. fd file-out label records are omitted. 01 record-out pic x(80) working-storage section. 01 more-records pic x value 'y'. 01 total-cost pic s9 (10)v99. 01 x pic 99 value 0 01 sumx pic 999 value 0. 01 report-date pic 9 (6). 01 yr-mo-dy. 05 year pic 99. 05 month pic 99. 05 dayx pic 99. *Readdata.cbl example identification division. program-id. a2. environment division. input-output section. file-control. select file-in assign to disk "h: ent.txt" sequential. "con organization is line select file-out assign to printer, data division. file section fd file-in label records are standard. 01 record-in. 05 Bid-in 05 units-in 05 rent-in 05 annual-rev-in 05 HVAC-in 05 interest-in pic x(3) pic 99. pic 999 pic 999999. pic 9999v99. pic 999999v99. fd file-out label records are omitted. 01 record-out pic x(80) working-storage section. 01 more-records pic x value 'y'. 01 total-cost pic s9 (10)v99. 01 x pic 99 value 0 01 sumx pic 999 value 0. 01 report-date pic 9 (6). 01 yr-mo-dy. 05 year pic 99. 05 month pic 99. 05 dayx pic 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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions