SlideShare a Scribd company logo
1 of 12
Download to read offline
Cobol Error? Its states that my patron-line wasnt defined as a data name and none of my header,
column and footers are not defined as data name could you see the error?
IDENTIFICATION DIVISION.
PROGRAM-ID. PROG-ONE.
AUTHOR. MARKIED JONES.
FD PATRON-LIST.
01 PATRON-LINE PIC X(80).
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT PATRON-FILE ASSIGN TO INFILE.
SELECT PATRON-LIST ASSIGN TO OUTFILE.
DATA DIVISION.
FILE SECTION.
FD PATRON-FILE.
01 PATRON-RECORD.
03 PR-NAME PIC X(18).
03 PR-ADDRESS PIC X(18).
03 PR-CITY-STATE-ZIP PIC X(24).
03 PR-TARGET-CONTR PIC 9(4).
03 PR-ACTUAL-CONTR PIC 9(4).
03 PR-CONTR-DATE.
05 PR-CONTR-MONTH PIC XX.
05 PR-CONTR-DAY PIC XX.
05 PR-CONTR-YEAR PIC XX.
03 FILLER PIC X(6).
03 FILLER PIC X.
WORKING-STORAGE SECTION.
01 PATRON-LINE-1.
03 FILLER PIC X.
03 PL-NAME PIC X(18) .
03 FILLER PIC X.
03 PL-ADDRESS PIC X(18).
03 FILLER PIC XX.
03 PL-CITY-STATE-ZIP PIC X(24).
01 WS-HEADER-LINE-1.
03 FILLER PIC X(18) VALUE SPACES.
03 FILLER PIC X(7) VALUE "INDIANA".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(10) VALUE "UNIVERSITY".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(2) VALUE "OF".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(12) VALUE "PENNSYLVANIA".
01 WS-HEADER-LINE-1-UL.
03 FILLER PIC X(18) VALUE SPACES.
03 FILLER PIC X(7) VALUE "-".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(10) VALUE "-".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X VALUE "-".
01 HEADER-LINE-2.
03 FILLER PIC X(20) VALUE SPACES.
03 FILLER PIC X(8) VALUE "COMPUTER".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(7) VALUE "SCIENCE".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(10) VALUE "DEPARTMENT".
01 HEADER-LINE-2-UL.
03 FILLER PIC X(20) VALUE SPACES.
03 FILLER PIC X(8) VALUE ALL "-".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(7) VALUE ALL "=".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(10) VALUE ALL "-".
01 HEADER-LINE-3.
03 FILLER PIC X(22) VALUE SPACES.
03 FILLER PIC X(7) VALUE "LISTING".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(2) VALUE "OF".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(7) VALUE "PATRONS".
01 HEADER-LINE-3-UL.
03 FILLER PIC X(22) VALUE SPACES.
03 FILLER PIC X(7) VALUE "-".
03 FILLER PIC X VALUE SPACE.
03 FILLER PIC X(6) VALUE "-".
03 FILLER PIC X(15) VALUE SPACES.
03 FILLER PIC X(6) VALUE "-".
01 WS-COLUMN-HEADER-2.
03 FILLER PIC X(4) VALUE SPACES.
03 FILLER PIC X(4) VALUE "NAME".
03 FILLER PIC X(8) VALUE SPACES.
03 FILLER PIC X(7) VALUE "ADDRESS".
03 FILLER PIC X(12) VALUE SPACES.
03 FILLER PIC X(14) VALUE "CITY-STATE-ZIP".
01 WS-COLUMN-HEADER-2UL.
03 FILLER PIC X(4) VALUE SPACES.
03 FILLER PIC X(4) VALUE "-".
03 FILLER PIC X(8) VALUE SPACES.
03 FILLER PIC X(7) VALUE "-".
03 FILLER PIC X(12) VALUE SPACES.
03 FILLER PIC X(14) VALUE "-".
01 WS-FOOTER-LINE-1.
03 FILLER PIC X(24) VALUE
"TOTAL # OF PATRONS:".
03 WS-NUM-PATRONS PIC Z9.
01 WS-FOOTER-LINE-2.
03 FILLER PIC X(32) VALUE
"PROGRAMMED BY A COSC 220 STUDENT".
01 WS-EOF-SWITCH PIC X(80).
PROCEDURE DIVISION.
000-PRINT-PATRON-LIST.
OPEN INPUT PATRON-FILE
OUTPUT PATRON-LIST
MOVE "NO" TO WS-EOF-SWITCH
READ PATRON-FILE
AT END MOVE "YES" TO WS-EOF-SWITCH
END-READ
PERFORM 100-PROCESS-PATRON-RECORD
UNTIL WS-EOF-SWITCH IS EQUAL TO "YES"
CLOSE PATRON-FILE PATRON-LIST
STOP RUN
.
050-WRITE-HEADERS-PARA.
WRITE PATRON-LINE FROM WS-HEADER-LINE-1
WRITE PATRON-LINE FROM WS-HEADER-LINE-1-UL
WRITE PATRON-LINE FROM WS-HEADER-LINE-2-UL
WRITE PATRON-LINE FROM WS-HEADER-LINE-3
WRITE PATRON-LINE FROM WS-HEADER-LINE-3-UL
MOVE SPACES TO PATRON RECORD
WRITE PATRON-LINE FROM COLUM-HEADER-1
WRITE PATRON-LINE FROM COLUM-HEADER-1-UL
WRITE PATRON-LINE FROM WS-COLUM-HEADER-2
WRITE PATRON-LINE FROM WS-COLUM-HEADER-2-UL
WRITE PATRON-LINE FROM WS-FOOTER-LINE-1
WRITE PATRON-LINE FROM WS-FOOTER-LINE-2
MOVE SPACES TO PATRON RECORD
WRITE PATRON RECORD
.
100-PROCESS-PATRON-RECORD.
MOVE PR-NAME TO PL-NAME
MOVE PR-ADDRESS TO PL-ADDRESS
MOVE PR-CITY-STATE-ZIP TO PL-CITY-STATE-ZIP
WRITE PATRON-LINE
READ PATRON-FILE
AT END MOVE "YES" TO WS-EOF-SWITCH
END-READ
.
Errors:
144 IGYPS2121-S "PATRON-LINE" was not defined as a data-name. The stateme
Same message on line: 145 146 147 148 149
146 IGYPS2121-S "WS-HEADER-LINE-2" was not defined as a data-name. The st
147 IGYPS2121-S "WS-HEADER-LINE-2-UL" was not defined as a data-name. The
148 IGYPS2121-S "WS-HEADER-LINE-3" was not defined as a data-name. The st
149 IGYPS2121-S "WS-HEADER-LINE-3-UL" was not defined as a data-name. The
150 IGYPS2121-S "PATRON" was not defined as a data-name. The statement wa
Same message on line: 159 160
150 IGYPS2072-S "RECORD" was invalid. Skipped to the next verb, period or
Same message on line: 159 160
152 IGYPS2121-S "COLUM-HEADER-1" was not defined as a data-name. The stat
153 IGYPS2121-S "COLUM-HEADER-1-UL" was not defined as a data-name. The s
154 IGYPS2121-S "WS-COLUM-HEADER-2" was not defined as a data-name. The s
155 IGYPS2121-S "WS-COLUM-HEADER-2-UL" was not defined as a data-name. Th
Solution
IDENTIFICATION DIVISION.
PROGRAM-ID. PROG-ONE.
AUTHOR. MARKIED JONES.
FD PATRON-LIST.
01 PATRON-LINE PIC X(80).
surroundings DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
choose PATRON-FILE ASSIGN TO INFILE.
choose PATRON-LIST ASSIGN TO OUTFILE.
knowledge DIVISION.
FILE SECTION.
FD PATRON-FILE.
01 PATRON-RECORD.
03 PR-NAME PIC X(18).
03 PR-ADDRESS PIC X(18).
03 PR-CITY-STATE-ZIP PIC X(24).
03 PR-TARGET-CONTR PIC 9(4).
03 PR-ACTUAL-CONTR PIC 9(4).
03 PR-CONTR-DATE.
05 PR-CONTR-MONTH PIC XX.
05 PR-CONTR-DAY PIC XX.
05 PR-CONTR-YEAR PIC XX.
03 FILLER PIC X(6).
03 FILLER PIC X.
WORKING-STORAGE SECTION.
01 PATRON-LINE-1.
03 FILLER PIC X.
03 PL-NAME PIC X(18) .
03 FILLER PIC X.
03 PL-ADDRESS PIC X(18).
03 FILLER PIC XX.
03 PL-CITY-STATE-ZIP PIC X(24).
01 WS-HEADER-LINE-1.
03 FILLER PIC X(18) price areas.
03 FILLER PIC X(7) price "INDIANA".
03 FILLER PIC X price area.
03 FILLER PIC X(10) price "UNIVERSITY".
03 FILLER PIC X price area.
03 FILLER PIC X(2) price "OF".
03 FILLER PIC X price area.
03 FILLER PIC X(12) price "PENNSYLVANIA".
01 WS-HEADER-LINE-1-UL.
03 FILLER PIC X(18) price areas.
03 FILLER PIC X(7) price "-".
03 FILLER PIC X price area.
03 FILLER PIC X(10) price "-".
03 FILLER PIC X price area.
03 FILLER PIC X price "-".
01 HEADER-LINE-2.
03 FILLER PIC X(20) price areas.
03 FILLER PIC X(8) price "COMPUTER".
03 FILLER PIC X price area.
03 FILLER PIC X(7) price "SCIENCE".
03 FILLER PIC X price area.
03 FILLER PIC X(10) price "DEPARTMENT".
01 HEADER-LINE-2-UL.
03 FILLER PIC X(20) price areas.
03 FILLER PIC X(8) price ALL "-".
03 FILLER PIC X price area.
03 FILLER PIC X(7) price ALL "=".
03 FILLER PIC X price area.
03 FILLER PIC X(10) price ALL "-".
01 HEADER-LINE-3.
03 FILLER PIC X(22) price areas.
03 FILLER PIC X(7) price "LISTING".
03 FILLER PIC X price area.
03 FILLER PIC X(2) price "OF".
03 FILLER PIC X price area.
03 FILLER PIC X(7) price "PATRONS".
01 HEADER-LINE-3-UL.
03 FILLER PIC X(22) price areas.
03 FILLER PIC X(7) price "-".
03 FILLER PIC X price area.
03 FILLER PIC X(6) price "-".
03 FILLER PIC X(15) price areas.
03 FILLER PIC X(6) price "-".
01 WS-COLUMN-HEADER-2.
03 FILLER PIC X(4) price areas.
03 FILLER PIC X(4) price "NAME".
03 FILLER PIC X(8) price areas.
03 FILLER PIC X(7) price "ADDRESS".
03 FILLER PIC X(12) price areas.
03 FILLER PIC X(14) price "CITY-STATE-ZIP".
01 WS-COLUMN-HEADER-2UL.
03 FILLER PIC X(4) price areas.
03 FILLER PIC X(4) price "-".
03 FILLER PIC X(8) price areas.
03 FILLER PIC X(7) price "-".
03 FILLER PIC X(12) price areas.
03 FILLER PIC X(14) price "-".
01 WS-FOOTER-LINE-1.
03 FILLER PIC X(24) price
"TOTAL # OF PATRONS:".
03 WS-NUM-PATRONS PIC Z9.
01 WS-FOOTER-LINE-2.
03 FILLER PIC X(32) price
"PROGRAMMED BY A COSC 220 STUDENT".
01 WS-EOF-SWITCH PIC X(80).
PROCEDURE DIVISION.
000-PRINT-PATRON-LIST.
OPEN INPUT PATRON-FILE
OUTPUT PATRON-LIST
MOVE "NO" TO WS-EOF-SWITCH
scan PATRON-FILE
AT finish MOVE "YES" TO WS-EOF-SWITCH
END-READ
PERFORM 100-PROCESS-PATRON-RECORD
till WS-EOF-SWITCH IS adequate to "YES"
shut PATRON-FILE PATRON-LIST
STOP RUN
.
050-WRITE-HEADERS-PARA.
WRITE PATRON-LINE FROM WS-HEADER-LINE-1
WRITE PATRON-LINE FROM WS-HEADER-LINE-1-UL
WRITE PATRON-LINE FROM WS-HEADER-LINE-2-UL
WRITE PATRON-LINE FROM WS-HEADER-LINE-3
WRITE PATRON-LINE FROM WS-HEADER-LINE-3-UL
MOVE areas TO PATRON RECORD
WRITE PATRON-LINE FROM COLUM-HEADER-1
WRITE PATRON-LINE FROM COLUM-HEADER-1-UL
WRITE PATRON-LINE FROM WS-COLUM-HEADER-2
WRITE PATRON-LINE FROM WS-COLUM-HEADER-2-UL
WRITE PATRON-LINE FROM WS-FOOTER-LINE-1
WRITE PATRON-LINE FROM WS-FOOTER-LINE-2
MOVE areas TO PATRON RECORD
WRITE PATRON RECORD
.
100-PROCESS-PATRON-RECORD.
MOVE PR-NAME TO PL-NAME
MOVE PR-ADDRESS TO PL-ADDRESS
MOVE PR-CITY-STATE-ZIP TO PL-CITY-STATE-ZIP
WRITE PATRON-LINE
scan PATRON-FILE
AT finish MOVE "YES" TO WS-EOF-SWITCH
END-READ
.
Errors:
144 IGYPS2121-S "PATRON-LINE" wasn't outlined as a data-name. The stateme
Same message on line: a hundred forty five 146 147 148 149
146 IGYPS2121-S "WS-HEADER-LINE-2" wasn't outlined as a data-name. The st
147 IGYPS2121-S "WS-HEADER-LINE-2-UL" wasn't outlined as a data-name. The
148 IGYPS2121-S "WS-HEADER-LINE-3" wasn't outlined as a data-name. The st
149 IGYPS2121-S "WS-HEADER-LINE-3-UL" wasn't outlined as a data-name. The
150 IGYPS2121-S "PATRON" wasn't outlined as a data-name. The statement American state
Same message on line: 159 a hundred and sixty
150 IGYPS2072-S "RECORD" was invalid. Skipped to succeeding verb, period or
Same message on line: 159 a hundred and sixty
152 IGYPS2121-S "COLUM-HEADER-1" wasn't outlined as a data-name. The stat
153 IGYPS2121-S "COLUM-HEADER-1-UL" wasn't outlined as a data-name. The s
154 IGYPS2121-S "WS-COLUM-HEADER-2" wasn't outlined as a data-name. The s
155 IGYPS2121-S "WS-COLUM-HEADER-2-UL" wasn't outlined as a data-name. Th

More Related Content

Similar to Cobol Error Its states that my patron-line wasnt defined as a data .pdf

KNN and regression Tree
KNN and regression TreeKNN and regression Tree
KNN and regression TreeAsmar Farooq
 
RACO Verbation Alarm Monitoring System Schematic
RACO Verbation Alarm Monitoring System SchematicRACO Verbation Alarm Monitoring System Schematic
RACO Verbation Alarm Monitoring System SchematicMiller Energy, Inc.
 
2015 IES LESSONS LEARNED PRESENTATION 2015-10-10
2015 IES LESSONS LEARNED PRESENTATION 2015-10-102015 IES LESSONS LEARNED PRESENTATION 2015-10-10
2015 IES LESSONS LEARNED PRESENTATION 2015-10-10Carl S. Johnson II - ACE
 
Technical specification : SD(Logistics)_Order_Processing
Technical specification : SD(Logistics)_Order_ProcessingTechnical specification : SD(Logistics)_Order_Processing
Technical specification : SD(Logistics)_Order_ProcessingJoshiRavin
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520Jon Fortman
 
Airport traffic control simple database model
Airport traffic control simple database modelAirport traffic control simple database model
Airport traffic control simple database modelmaster student
 
Eng susol acb_ocr_p_stype_modbus_profile
Eng susol acb_ocr_p_stype_modbus_profileEng susol acb_ocr_p_stype_modbus_profile
Eng susol acb_ocr_p_stype_modbus_profileBadam Gantumur
 
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdf
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdfBarcodeSCAN V120 To scann Bills for Oil vending Machine.pdf
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdfAdithyaAR5
 
I phone 5 full Schematic Diagram 820 3141-b
I phone 5 full Schematic Diagram 820 3141-bI phone 5 full Schematic Diagram 820 3141-b
I phone 5 full Schematic Diagram 820 3141-bdiyfix phone
 
Montpelier Steam Plant 1056E-1 thru 5
Montpelier Steam Plant 1056E-1 thru 5Montpelier Steam Plant 1056E-1 thru 5
Montpelier Steam Plant 1056E-1 thru 5David Golen
 
67470573 parts-manual-d6 h-1
67470573 parts-manual-d6 h-167470573 parts-manual-d6 h-1
67470573 parts-manual-d6 h-1Ralph Aramburu
 
avenger96-schematics.pdf
avenger96-schematics.pdfavenger96-schematics.pdf
avenger96-schematics.pdfOskarsAni
 

Similar to Cobol Error Its states that my patron-line wasnt defined as a data .pdf (20)

Instrumentation
InstrumentationInstrumentation
Instrumentation
 
74ls390
74ls39074ls390
74ls390
 
KNN and regression Tree
KNN and regression TreeKNN and regression Tree
KNN and regression Tree
 
RACO Verbation Alarm Monitoring System Schematic
RACO Verbation Alarm Monitoring System SchematicRACO Verbation Alarm Monitoring System Schematic
RACO Verbation Alarm Monitoring System Schematic
 
10004455533
1000445553310004455533
10004455533
 
2015 IES LESSONS LEARNED PRESENTATION 2015-10-10
2015 IES LESSONS LEARNED PRESENTATION 2015-10-102015 IES LESSONS LEARNED PRESENTATION 2015-10-10
2015 IES LESSONS LEARNED PRESENTATION 2015-10-10
 
Technical specification : SD(Logistics)_Order_Processing
Technical specification : SD(Logistics)_Order_ProcessingTechnical specification : SD(Logistics)_Order_Processing
Technical specification : SD(Logistics)_Order_Processing
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520
 
Sch 20589-001 rev4-verizon.pdf_func=doc
Sch 20589-001 rev4-verizon.pdf_func=docSch 20589-001 rev4-verizon.pdf_func=doc
Sch 20589-001 rev4-verizon.pdf_func=doc
 
Airport traffic control simple database model
Airport traffic control simple database modelAirport traffic control simple database model
Airport traffic control simple database model
 
Eng susol acb_ocr_p_stype_modbus_profile
Eng susol acb_ocr_p_stype_modbus_profileEng susol acb_ocr_p_stype_modbus_profile
Eng susol acb_ocr_p_stype_modbus_profile
 
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdf
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdfBarcodeSCAN V120 To scann Bills for Oil vending Machine.pdf
BarcodeSCAN V120 To scann Bills for Oil vending Machine.pdf
 
I phone 5 full Schematic Diagram 820 3141-b
I phone 5 full Schematic Diagram 820 3141-bI phone 5 full Schematic Diagram 820 3141-b
I phone 5 full Schematic Diagram 820 3141-b
 
ABAP Advanced List
ABAP Advanced ListABAP Advanced List
ABAP Advanced List
 
Montpelier Steam Plant 1056E-1 thru 5
Montpelier Steam Plant 1056E-1 thru 5Montpelier Steam Plant 1056E-1 thru 5
Montpelier Steam Plant 1056E-1 thru 5
 
67470573 parts-manual-d6 h-1
67470573 parts-manual-d6 h-167470573 parts-manual-d6 h-1
67470573 parts-manual-d6 h-1
 
Placas Atronic
Placas AtronicPlacas Atronic
Placas Atronic
 
avenger96-schematics.pdf
avenger96-schematics.pdfavenger96-schematics.pdf
avenger96-schematics.pdf
 
Terrain 1
Terrain 1Terrain 1
Terrain 1
 
04 comb ex
04 comb ex04 comb ex
04 comb ex
 

More from rydeberghal13313

Configuration management is particularly important during the transit.pdf
Configuration management is particularly important during the transit.pdfConfiguration management is particularly important during the transit.pdf
Configuration management is particularly important during the transit.pdfrydeberghal13313
 
Cholesterol is an essential component of cellular membranes. It is a(.pdf
Cholesterol is an essential component of cellular membranes. It is a(.pdfCholesterol is an essential component of cellular membranes. It is a(.pdf
Cholesterol is an essential component of cellular membranes. It is a(.pdfrydeberghal13313
 
A correlation coefficient computed for n = 18 and a 10 significance.pdf
A correlation coefficient computed for n = 18 and a 10 significance.pdfA correlation coefficient computed for n = 18 and a 10 significance.pdf
A correlation coefficient computed for n = 18 and a 10 significance.pdfrydeberghal13313
 
1.Using the Internet or other sources to find the definition of CASE.pdf
1.Using the Internet or other sources to find the definition of CASE.pdf1.Using the Internet or other sources to find the definition of CASE.pdf
1.Using the Internet or other sources to find the definition of CASE.pdfrydeberghal13313
 
A fluid of constant density rho enters a duct of width W and height h.pdf
A fluid of constant density rho enters a duct of width W and height h.pdfA fluid of constant density rho enters a duct of width W and height h.pdf
A fluid of constant density rho enters a duct of width W and height h.pdfrydeberghal13313
 
A) Know the four basic tissues, how they differ, and what their gene.pdf
A) Know the four basic tissues, how they differ, and what their gene.pdfA) Know the four basic tissues, how they differ, and what their gene.pdf
A) Know the four basic tissues, how they differ, and what their gene.pdfrydeberghal13313
 
A three point cross was performed using fruit flies. The three loci .pdf
A three point cross was performed using fruit flies. The three loci .pdfA three point cross was performed using fruit flies. The three loci .pdf
A three point cross was performed using fruit flies. The three loci .pdfrydeberghal13313
 
A console lamp in the cabin of a spaceship appears green when the shi.pdf
A console lamp in the cabin of a spaceship appears green when the shi.pdfA console lamp in the cabin of a spaceship appears green when the shi.pdf
A console lamp in the cabin of a spaceship appears green when the shi.pdfrydeberghal13313
 
7. Whats the meaning of these transportation symbols IT Soluti.pdf
7. Whats the meaning of these transportation symbols IT Soluti.pdf7. Whats the meaning of these transportation symbols IT Soluti.pdf
7. Whats the meaning of these transportation symbols IT Soluti.pdfrydeberghal13313
 
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdf
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdfA virus is 50 nm in size. Would you recommend using a stereomicrosco.pdf
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdfrydeberghal13313
 
A division has 12 employees, 8 males and 4 females.Supose that the.pdf
A division has 12 employees, 8 males and 4 females.Supose that the.pdfA division has 12 employees, 8 males and 4 females.Supose that the.pdf
A division has 12 employees, 8 males and 4 females.Supose that the.pdfrydeberghal13313
 
A broth can have more than one type of growth pattern. Explain thi.pdf
A broth can have more than one type of growth pattern. Explain thi.pdfA broth can have more than one type of growth pattern. Explain thi.pdf
A broth can have more than one type of growth pattern. Explain thi.pdfrydeberghal13313
 
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdfrydeberghal13313
 
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdfrydeberghal13313
 
Companies and people often buy and sell stocks. Often they buy the sa.pdf
Companies and people often buy and sell stocks. Often they buy the sa.pdfCompanies and people often buy and sell stocks. Often they buy the sa.pdf
Companies and people often buy and sell stocks. Often they buy the sa.pdfrydeberghal13313
 

More from rydeberghal13313 (15)

Configuration management is particularly important during the transit.pdf
Configuration management is particularly important during the transit.pdfConfiguration management is particularly important during the transit.pdf
Configuration management is particularly important during the transit.pdf
 
Cholesterol is an essential component of cellular membranes. It is a(.pdf
Cholesterol is an essential component of cellular membranes. It is a(.pdfCholesterol is an essential component of cellular membranes. It is a(.pdf
Cholesterol is an essential component of cellular membranes. It is a(.pdf
 
A correlation coefficient computed for n = 18 and a 10 significance.pdf
A correlation coefficient computed for n = 18 and a 10 significance.pdfA correlation coefficient computed for n = 18 and a 10 significance.pdf
A correlation coefficient computed for n = 18 and a 10 significance.pdf
 
1.Using the Internet or other sources to find the definition of CASE.pdf
1.Using the Internet or other sources to find the definition of CASE.pdf1.Using the Internet or other sources to find the definition of CASE.pdf
1.Using the Internet or other sources to find the definition of CASE.pdf
 
A fluid of constant density rho enters a duct of width W and height h.pdf
A fluid of constant density rho enters a duct of width W and height h.pdfA fluid of constant density rho enters a duct of width W and height h.pdf
A fluid of constant density rho enters a duct of width W and height h.pdf
 
A) Know the four basic tissues, how they differ, and what their gene.pdf
A) Know the four basic tissues, how they differ, and what their gene.pdfA) Know the four basic tissues, how they differ, and what their gene.pdf
A) Know the four basic tissues, how they differ, and what their gene.pdf
 
A three point cross was performed using fruit flies. The three loci .pdf
A three point cross was performed using fruit flies. The three loci .pdfA three point cross was performed using fruit flies. The three loci .pdf
A three point cross was performed using fruit flies. The three loci .pdf
 
A console lamp in the cabin of a spaceship appears green when the shi.pdf
A console lamp in the cabin of a spaceship appears green when the shi.pdfA console lamp in the cabin of a spaceship appears green when the shi.pdf
A console lamp in the cabin of a spaceship appears green when the shi.pdf
 
7. Whats the meaning of these transportation symbols IT Soluti.pdf
7. Whats the meaning of these transportation symbols IT Soluti.pdf7. Whats the meaning of these transportation symbols IT Soluti.pdf
7. Whats the meaning of these transportation symbols IT Soluti.pdf
 
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdf
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdfA virus is 50 nm in size. Would you recommend using a stereomicrosco.pdf
A virus is 50 nm in size. Would you recommend using a stereomicrosco.pdf
 
A division has 12 employees, 8 males and 4 females.Supose that the.pdf
A division has 12 employees, 8 males and 4 females.Supose that the.pdfA division has 12 employees, 8 males and 4 females.Supose that the.pdf
A division has 12 employees, 8 males and 4 females.Supose that the.pdf
 
A broth can have more than one type of growth pattern. Explain thi.pdf
A broth can have more than one type of growth pattern. Explain thi.pdfA broth can have more than one type of growth pattern. Explain thi.pdf
A broth can have more than one type of growth pattern. Explain thi.pdf
 
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf
2. A safety net can stand the fall of the total of 2700 pounds of obj.pdf
 
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf
(Linux)A) What is a fixup A) What is Source tree dir. and where.pdf
 
Companies and people often buy and sell stocks. Often they buy the sa.pdf
Companies and people often buy and sell stocks. Often they buy the sa.pdfCompanies and people often buy and sell stocks. Often they buy the sa.pdf
Companies and people often buy and sell stocks. Often they buy the sa.pdf
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Cobol Error Its states that my patron-line wasnt defined as a data .pdf

  • 1. Cobol Error? Its states that my patron-line wasnt defined as a data name and none of my header, column and footers are not defined as data name could you see the error? IDENTIFICATION DIVISION. PROGRAM-ID. PROG-ONE. AUTHOR. MARKIED JONES. FD PATRON-LIST. 01 PATRON-LINE PIC X(80). ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT PATRON-FILE ASSIGN TO INFILE. SELECT PATRON-LIST ASSIGN TO OUTFILE. DATA DIVISION. FILE SECTION. FD PATRON-FILE. 01 PATRON-RECORD. 03 PR-NAME PIC X(18). 03 PR-ADDRESS PIC X(18). 03 PR-CITY-STATE-ZIP PIC X(24). 03 PR-TARGET-CONTR PIC 9(4). 03 PR-ACTUAL-CONTR PIC 9(4). 03 PR-CONTR-DATE. 05 PR-CONTR-MONTH PIC XX. 05 PR-CONTR-DAY PIC XX. 05 PR-CONTR-YEAR PIC XX. 03 FILLER PIC X(6).
  • 2. 03 FILLER PIC X. WORKING-STORAGE SECTION. 01 PATRON-LINE-1. 03 FILLER PIC X. 03 PL-NAME PIC X(18) . 03 FILLER PIC X. 03 PL-ADDRESS PIC X(18). 03 FILLER PIC XX. 03 PL-CITY-STATE-ZIP PIC X(24). 01 WS-HEADER-LINE-1. 03 FILLER PIC X(18) VALUE SPACES. 03 FILLER PIC X(7) VALUE "INDIANA". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(10) VALUE "UNIVERSITY". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(2) VALUE "OF". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(12) VALUE "PENNSYLVANIA". 01 WS-HEADER-LINE-1-UL. 03 FILLER PIC X(18) VALUE SPACES.
  • 3. 03 FILLER PIC X(7) VALUE "-". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(10) VALUE "-". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X VALUE "-". 01 HEADER-LINE-2. 03 FILLER PIC X(20) VALUE SPACES. 03 FILLER PIC X(8) VALUE "COMPUTER". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(7) VALUE "SCIENCE". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(10) VALUE "DEPARTMENT". 01 HEADER-LINE-2-UL. 03 FILLER PIC X(20) VALUE SPACES. 03 FILLER PIC X(8) VALUE ALL "-". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(7) VALUE ALL "=". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(10) VALUE ALL "-". 01 HEADER-LINE-3. 03 FILLER PIC X(22) VALUE SPACES. 03 FILLER PIC X(7) VALUE "LISTING". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(2) VALUE "OF". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(7) VALUE "PATRONS". 01 HEADER-LINE-3-UL. 03 FILLER PIC X(22) VALUE SPACES. 03 FILLER PIC X(7) VALUE "-". 03 FILLER PIC X VALUE SPACE. 03 FILLER PIC X(6) VALUE "-". 03 FILLER PIC X(15) VALUE SPACES. 03 FILLER PIC X(6) VALUE "-". 01 WS-COLUMN-HEADER-2. 03 FILLER PIC X(4) VALUE SPACES.
  • 4. 03 FILLER PIC X(4) VALUE "NAME". 03 FILLER PIC X(8) VALUE SPACES. 03 FILLER PIC X(7) VALUE "ADDRESS". 03 FILLER PIC X(12) VALUE SPACES. 03 FILLER PIC X(14) VALUE "CITY-STATE-ZIP". 01 WS-COLUMN-HEADER-2UL. 03 FILLER PIC X(4) VALUE SPACES. 03 FILLER PIC X(4) VALUE "-". 03 FILLER PIC X(8) VALUE SPACES. 03 FILLER PIC X(7) VALUE "-". 03 FILLER PIC X(12) VALUE SPACES. 03 FILLER PIC X(14) VALUE "-". 01 WS-FOOTER-LINE-1. 03 FILLER PIC X(24) VALUE "TOTAL # OF PATRONS:". 03 WS-NUM-PATRONS PIC Z9. 01 WS-FOOTER-LINE-2. 03 FILLER PIC X(32) VALUE "PROGRAMMED BY A COSC 220 STUDENT". 01 WS-EOF-SWITCH PIC X(80). PROCEDURE DIVISION. 000-PRINT-PATRON-LIST. OPEN INPUT PATRON-FILE OUTPUT PATRON-LIST MOVE "NO" TO WS-EOF-SWITCH READ PATRON-FILE AT END MOVE "YES" TO WS-EOF-SWITCH END-READ PERFORM 100-PROCESS-PATRON-RECORD UNTIL WS-EOF-SWITCH IS EQUAL TO "YES" CLOSE PATRON-FILE PATRON-LIST STOP RUN
  • 5. . 050-WRITE-HEADERS-PARA. WRITE PATRON-LINE FROM WS-HEADER-LINE-1 WRITE PATRON-LINE FROM WS-HEADER-LINE-1-UL WRITE PATRON-LINE FROM WS-HEADER-LINE-2-UL WRITE PATRON-LINE FROM WS-HEADER-LINE-3 WRITE PATRON-LINE FROM WS-HEADER-LINE-3-UL MOVE SPACES TO PATRON RECORD WRITE PATRON-LINE FROM COLUM-HEADER-1 WRITE PATRON-LINE FROM COLUM-HEADER-1-UL WRITE PATRON-LINE FROM WS-COLUM-HEADER-2 WRITE PATRON-LINE FROM WS-COLUM-HEADER-2-UL WRITE PATRON-LINE FROM WS-FOOTER-LINE-1 WRITE PATRON-LINE FROM WS-FOOTER-LINE-2 MOVE SPACES TO PATRON RECORD WRITE PATRON RECORD . 100-PROCESS-PATRON-RECORD. MOVE PR-NAME TO PL-NAME MOVE PR-ADDRESS TO PL-ADDRESS MOVE PR-CITY-STATE-ZIP TO PL-CITY-STATE-ZIP WRITE PATRON-LINE READ PATRON-FILE AT END MOVE "YES" TO WS-EOF-SWITCH END-READ . Errors: 144 IGYPS2121-S "PATRON-LINE" was not defined as a data-name. The stateme Same message on line: 145 146 147 148 149 146 IGYPS2121-S "WS-HEADER-LINE-2" was not defined as a data-name. The st
  • 6. 147 IGYPS2121-S "WS-HEADER-LINE-2-UL" was not defined as a data-name. The 148 IGYPS2121-S "WS-HEADER-LINE-3" was not defined as a data-name. The st 149 IGYPS2121-S "WS-HEADER-LINE-3-UL" was not defined as a data-name. The 150 IGYPS2121-S "PATRON" was not defined as a data-name. The statement wa Same message on line: 159 160 150 IGYPS2072-S "RECORD" was invalid. Skipped to the next verb, period or Same message on line: 159 160 152 IGYPS2121-S "COLUM-HEADER-1" was not defined as a data-name. The stat 153 IGYPS2121-S "COLUM-HEADER-1-UL" was not defined as a data-name. The s 154 IGYPS2121-S "WS-COLUM-HEADER-2" was not defined as a data-name. The s 155 IGYPS2121-S "WS-COLUM-HEADER-2-UL" was not defined as a data-name. Th Solution IDENTIFICATION DIVISION. PROGRAM-ID. PROG-ONE. AUTHOR. MARKIED JONES. FD PATRON-LIST. 01 PATRON-LINE PIC X(80). surroundings DIVISION.
  • 7. INPUT-OUTPUT SECTION. FILE-CONTROL. choose PATRON-FILE ASSIGN TO INFILE. choose PATRON-LIST ASSIGN TO OUTFILE. knowledge DIVISION. FILE SECTION. FD PATRON-FILE. 01 PATRON-RECORD. 03 PR-NAME PIC X(18). 03 PR-ADDRESS PIC X(18). 03 PR-CITY-STATE-ZIP PIC X(24). 03 PR-TARGET-CONTR PIC 9(4). 03 PR-ACTUAL-CONTR PIC 9(4). 03 PR-CONTR-DATE. 05 PR-CONTR-MONTH PIC XX. 05 PR-CONTR-DAY PIC XX. 05 PR-CONTR-YEAR PIC XX. 03 FILLER PIC X(6). 03 FILLER PIC X. WORKING-STORAGE SECTION. 01 PATRON-LINE-1.
  • 8. 03 FILLER PIC X. 03 PL-NAME PIC X(18) . 03 FILLER PIC X. 03 PL-ADDRESS PIC X(18). 03 FILLER PIC XX. 03 PL-CITY-STATE-ZIP PIC X(24). 01 WS-HEADER-LINE-1. 03 FILLER PIC X(18) price areas. 03 FILLER PIC X(7) price "INDIANA". 03 FILLER PIC X price area. 03 FILLER PIC X(10) price "UNIVERSITY". 03 FILLER PIC X price area. 03 FILLER PIC X(2) price "OF". 03 FILLER PIC X price area. 03 FILLER PIC X(12) price "PENNSYLVANIA". 01 WS-HEADER-LINE-1-UL. 03 FILLER PIC X(18) price areas. 03 FILLER PIC X(7) price "-". 03 FILLER PIC X price area. 03 FILLER PIC X(10) price "-". 03 FILLER PIC X price area. 03 FILLER PIC X price "-". 01 HEADER-LINE-2. 03 FILLER PIC X(20) price areas. 03 FILLER PIC X(8) price "COMPUTER". 03 FILLER PIC X price area. 03 FILLER PIC X(7) price "SCIENCE". 03 FILLER PIC X price area. 03 FILLER PIC X(10) price "DEPARTMENT". 01 HEADER-LINE-2-UL. 03 FILLER PIC X(20) price areas.
  • 9. 03 FILLER PIC X(8) price ALL "-". 03 FILLER PIC X price area. 03 FILLER PIC X(7) price ALL "=". 03 FILLER PIC X price area. 03 FILLER PIC X(10) price ALL "-". 01 HEADER-LINE-3. 03 FILLER PIC X(22) price areas. 03 FILLER PIC X(7) price "LISTING". 03 FILLER PIC X price area. 03 FILLER PIC X(2) price "OF". 03 FILLER PIC X price area. 03 FILLER PIC X(7) price "PATRONS". 01 HEADER-LINE-3-UL. 03 FILLER PIC X(22) price areas. 03 FILLER PIC X(7) price "-". 03 FILLER PIC X price area. 03 FILLER PIC X(6) price "-". 03 FILLER PIC X(15) price areas. 03 FILLER PIC X(6) price "-". 01 WS-COLUMN-HEADER-2. 03 FILLER PIC X(4) price areas. 03 FILLER PIC X(4) price "NAME". 03 FILLER PIC X(8) price areas. 03 FILLER PIC X(7) price "ADDRESS". 03 FILLER PIC X(12) price areas. 03 FILLER PIC X(14) price "CITY-STATE-ZIP". 01 WS-COLUMN-HEADER-2UL. 03 FILLER PIC X(4) price areas. 03 FILLER PIC X(4) price "-". 03 FILLER PIC X(8) price areas. 03 FILLER PIC X(7) price "-". 03 FILLER PIC X(12) price areas. 03 FILLER PIC X(14) price "-". 01 WS-FOOTER-LINE-1. 03 FILLER PIC X(24) price "TOTAL # OF PATRONS:".
  • 10. 03 WS-NUM-PATRONS PIC Z9. 01 WS-FOOTER-LINE-2. 03 FILLER PIC X(32) price "PROGRAMMED BY A COSC 220 STUDENT". 01 WS-EOF-SWITCH PIC X(80). PROCEDURE DIVISION. 000-PRINT-PATRON-LIST. OPEN INPUT PATRON-FILE OUTPUT PATRON-LIST MOVE "NO" TO WS-EOF-SWITCH scan PATRON-FILE AT finish MOVE "YES" TO WS-EOF-SWITCH END-READ PERFORM 100-PROCESS-PATRON-RECORD till WS-EOF-SWITCH IS adequate to "YES" shut PATRON-FILE PATRON-LIST STOP RUN . 050-WRITE-HEADERS-PARA. WRITE PATRON-LINE FROM WS-HEADER-LINE-1 WRITE PATRON-LINE FROM WS-HEADER-LINE-1-UL WRITE PATRON-LINE FROM WS-HEADER-LINE-2-UL WRITE PATRON-LINE FROM WS-HEADER-LINE-3 WRITE PATRON-LINE FROM WS-HEADER-LINE-3-UL MOVE areas TO PATRON RECORD WRITE PATRON-LINE FROM COLUM-HEADER-1 WRITE PATRON-LINE FROM COLUM-HEADER-1-UL WRITE PATRON-LINE FROM WS-COLUM-HEADER-2 WRITE PATRON-LINE FROM WS-COLUM-HEADER-2-UL WRITE PATRON-LINE FROM WS-FOOTER-LINE-1
  • 11. WRITE PATRON-LINE FROM WS-FOOTER-LINE-2 MOVE areas TO PATRON RECORD WRITE PATRON RECORD . 100-PROCESS-PATRON-RECORD. MOVE PR-NAME TO PL-NAME MOVE PR-ADDRESS TO PL-ADDRESS MOVE PR-CITY-STATE-ZIP TO PL-CITY-STATE-ZIP WRITE PATRON-LINE scan PATRON-FILE AT finish MOVE "YES" TO WS-EOF-SWITCH END-READ . Errors: 144 IGYPS2121-S "PATRON-LINE" wasn't outlined as a data-name. The stateme Same message on line: a hundred forty five 146 147 148 149 146 IGYPS2121-S "WS-HEADER-LINE-2" wasn't outlined as a data-name. The st 147 IGYPS2121-S "WS-HEADER-LINE-2-UL" wasn't outlined as a data-name. The 148 IGYPS2121-S "WS-HEADER-LINE-3" wasn't outlined as a data-name. The st 149 IGYPS2121-S "WS-HEADER-LINE-3-UL" wasn't outlined as a data-name. The 150 IGYPS2121-S "PATRON" wasn't outlined as a data-name. The statement American state Same message on line: 159 a hundred and sixty 150 IGYPS2072-S "RECORD" was invalid. Skipped to succeeding verb, period or Same message on line: 159 a hundred and sixty
  • 12. 152 IGYPS2121-S "COLUM-HEADER-1" wasn't outlined as a data-name. The stat 153 IGYPS2121-S "COLUM-HEADER-1-UL" wasn't outlined as a data-name. The s 154 IGYPS2121-S "WS-COLUM-HEADER-2" wasn't outlined as a data-name. The s 155 IGYPS2121-S "WS-COLUM-HEADER-2-UL" wasn't outlined as a data-name. Th