Answered step by step
Verified Expert Solution
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.
(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 0124Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started