Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which of the following are valid data-names (variables)? A. FED-TAX-2017 ____ B. 123O456 ____ C. TOTAL PAY ____ D. -AMOUNT- ____ 2. Identify the

 1. Which of the following are valid data-names (variables)? A. FED-TAX-2017 ____ B. 123O456 ____ C. TOTAL PAY ____ D. -AMOUNT- ____ 2. Identify the errors in the following set of data division entries. 01 Record-1 05 NAME PIC 99. 05 HOURS WORKED PEC 99V99. 01 RECORD-2. 05 DATA-LINE X(5). 3. Develop a 01 record to input the following information. ID-NUMBER COLUMNS 1-4 PARTNAME COLUMNS 5-20 AMOUNT-ON-HAND COLUMNS 21-29 COST PER ITEM COLUMNS 30-35 01 record-in. 05 05 05 05 4. GIVEN: WORKING-STORAGE SECTION. 01 X PIC 99V99 VALUE 79.42. 01 DETAIL-LINE-OUT. 05 FILLER PIC X(5) VALUE SPACES. 05 DL-OUT PIC $Z999.99. 05 FILLER PIC X(68) VALUE SPACES. PROCEDURE DIVISION. 100-MAIN. MOVE X TO DL-OUT. WRITE REPORT-RECORD-OUT FROM DETAIL-LINE-OUT AFTER ADVANCING 1 LINE. MOVE 6.789 TO DL-OUT. WRITE REPORT-RECORD-OUT FROM DETAIL-LINE-OUT BEFORE ADVANCING 1 LINE. MOVE 783.95 TO X. MOVE X TO DL-OUT. WRITE REPORT-RECORD-OUT FROM DETAIL-LINE-OUT. WHAT IS PRINTED FROM THE THREE WRITE STATEMENTS? 

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

Students also viewed these Databases questions

Question

Describe the role of the Internet in Vans communication strategy.

Answered: 1 week ago