LAB2B - IDENTIFICATION DIVISION. PROGRAM-ID. LAB2B. AUTHOR....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
IDENTIFICATION DIVISION. PROGRAM-ID. LAB2B. AUTHOR. L TRAVIS KEETON. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT ZOO-FILE ASSIGN TO DISK 'ZOO.DAT' ORGANIZATION IS LINE SEQUENTIAL. SELECT PRINT-FILE ASSIGN TO PRINTER 'ZOO.DOC'. DATA DIVISION. FILE SECTION. FD ZOO-FILE. 01 ZOO-RECORD. 05 I-ID PIC 9(6). 05 I-SPECIES PIC XX. 05 I-TYPE PIC XX. 05 I-GROUP PIC 99. 05 I-SEX PIC X. 05 I-QOH PIC 999. 05 I-VALUE PIC 9(6)V99. FD PRINT-FILE. 01 PRINT-RECORD PIC X(79). WORKING-STORAGE SECTION. 01 MISC. 05 EOF PIC X VALUE 'N'. 05 I-TOTAL PIC 9(8)V99. 05 WS-DATE. 10 WS-YY PIC 99. 10 WS-MM PIC 99. 10 WS-DD PIC 99. 05 WS-LINE-COUNT PIC 99 VALUE 0. 05 WS-PAGE-COUNT PIC 99 VALUE 0. 01 PROGRAM-TEMP-CALC-FIELDS. 05 WS-TOT-VALUE PIC 9(8)V99. 01 PROGRAM-ACCUMS. 05 LR-QOH-ACCUM PIC 999 VALUE 0. 05 LR-TOTAL-ACCUM PIC 9(9)V99 VALUE 0. 01 H1. 05 F PIC X(10). 05 F PIC X(33) VALUE 'WILD KINGDOM ZOO INVENTORY REPORT'. 05 F PIC X(5). 05
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

LAB2B - IDENTIFICATION DIVISION. PROGRAM-ID. LAB2B. AUTHOR....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online