Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COBOL Could someone explain what the question is asking? do they want the entire code typed up and have file, or record next to each

COBOL

Could someone explain what the question is asking? do they want the entire code typed up and have file, or record next to each line? If you could provide an example from the first question I'd appreciate it very much. image text in transcribed

(c) 05 TAX-RATE PIC 99V99 VALUE 0850, Assignments 1-3 indicate which elements in the specified programs are a mes, (b) record c) fields, (d) numeric literals, (e) nonnumeric literals, and (1) figurative constants. GRAMMING For Assignments 1-3 indicate SIGNMENTS (c) fields, (d) numerichter 1. See Figure 1.10 in Chapter 1. 2. See Figure 1.14 in Chapter 1. 3. See Figure 1.15 in Chapter 1. For Assignments 4-7, write the FD and record description entries. 4. Inventory Record Figure 1.10 Sample COBOL program on coding form. FIRST SAMPLE PROGRAM N. STERN IDENTIFICATION DIVISION PROGRAM ID. SAMPLE. ENVIRONMENT DIVISION INPUT-OUTPUT SECTION. FILE.CONTROLSELECT EMPLOYEE.DATA ASSION TO EMP.DAT SELECT PAYROLL LISTING ASSION TO PRINTER DATA DIVISION FILE SECTION. FDE EMPLOYEE DATA EMPLOYEE - RECORD DS EMPLOYEE - NAME.IN PICTURE X (20) 05 HOURS - WORKED.IN PICTURE 912). 5 HOURLY-RATE IN PICTURE 9V99. PAYROLL-LISTINGI I PRINT-REC. PICTURE X (20). 05 NAME-OUT PICTUREX (2) PICTURE X ( HOURS - OUTI PICTURE 9 (2). PICTURE X (8). RATE-OUT PICTURE 9.99. PICTURE X116) 0.5 A123 WEEKLY - WAGES-OUT PICTURE 999.99. WORKING - STORAGE SECTION 012501 ARE THERE - MORE - RECORDS PICTURE XXX VALUE YES. 0 0 126 PROCEDURE DIVISION. 127 DOMAIN-MODULE. T IDEN INPull FM Poly DATA LILIT 0124

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

f. Did they change their names? For what reasons?

Answered: 1 week ago