/' .   ',  f, ./,/-.   /y-' •  United States        Office of Air Quality        EPA-450/4-80-009
(• i'  '.jts  '  VI ->-/ *"
                                              -
             ' Environmental Protection   Planning and Standards       May 1980
              Agency           Research Triangle Park NC 2771 1     * I
              Air
v>EFV\      The  Emissions Inventory
              System/Area Source
              User's Guide
Do not weed. This document
should be retained in the EPA
Region 5 Library Collection.

-------
                                        EPA-450/4-80-009
The Emissions  Inventory System/
      Area  Source User's  Guide
                          by

                Larry R. McMaster, Project Leader

                  Research Triangle Institute
            Research Triangle Park, North Carolina 27709
                   Contract No. 68-02-3011
              EPA Project Officer: Lloyd M. Hedgepeth
                       Prepared for

            U.S. ENVIRONMENTAL PROTECTION AGENCY
                Office of Air, Noise, and Radiation
             Office of Air Quality Planning and Standards
            Research Triangle Park, North Carolina 27711

                        May 1980
                              treets
                  fSBftS", i iiuoia 6G3Q4

-------
This report is issued by the Environmental Protection Agency to report
technical data of interest to a limited number of readers.  Copies are
available free of charge to Federal employees, current contractors and
grantees,  and nonprofit organizations - in limited quantities - from the
Library Services Office (MD-35) , U.S. Environmental Protection Agency,
Research Triangle Park, North Carolina 27711; or for a nominal fee,
from the National Technical Information Service, 5285 Port Royal Road,
Springfield, Virginia 22161.
This report was furnished to the Environmental Protection Agency by
Research Triangle Institute,  Research Triangle Park, North Carolina
27709, in fulfillment of Contract No. 68-02-3011.  The contents of this
report are reproduced herein as received from Research Triangle
Institute. The opinions, findings, and conclusions expressed are
those of the author and not necessarily those of the Environmental
Protection Agency.  Mention  of company or product names is not to be
considered as an endorsement by the Environmental Protection Agency.
                   Publication No. EPA-450/4-80-009

-------
 EIS/AS
TABLE OF CONTENTS
Page 1
Release Date: 2/01/80
Update #:  A-l
                              TABLE OF CONTENTS


LIST OF FIGURES	xiii

LIST OF TABLES	    XX

ACKNOWLEDGEMENT	xxi

1.0  INTRODUCTION	     1

     1.1  Organization 	     1
     1.2  Definition of Terms and Conventions	     9

2.0  OVERVIEW OF EIS/AS	    32

     2.1  Introduction	    32
     2.2  Program Structure	    34
     2.3  System Charts	    36

3.0  ECONOMICS	    39

     3.1  Economy Measures 	    39

4.0  FILE CREATION AND MAINTENANCE	    41

     4.1  Introduction	    41
     4.2  Emission Factor File	    42

          4.2.1  Introduction	    42
          4.2.2  Emission Factor File Transaction
                 Sort Program - CSREFTR (EC0010)  	    44

                 4.2.2.1  Description	    44
                 4.2.2.2  File Formats	    44
                 4.2.2.3  Options and Control Cards	    44
                 4.2.2.4  Error Messages 	    44
                 4.2.2.5  Cataloged JCL	    45
                 4.2.2.6  Warnings and Special  Instructions	    45
                 4.2.2.7  Cost Considerations	    45
                 4.2.2.8  Related Programs and Procedures	    46

          4.2.3  Emission Factor File Edit-Maintenance
                 Program - CEMEFAC (EC0020)	    49

                 4.2.3.1  Description	    49
                 4.2.3.2  File Formats	    51
                 4.2.3.3  Options and Control Cards	    51

-------
EIS/AS
TABLE OF CONTENTS
Page 2
Release Date: 2/01/80
Update #:  A-l
                 4.2.3.4  Error Messages  	    52
                 4.2.3.5  Cataloged  JCL -  ECEME10	    58

                          4.2.3.5.1   JCL  Listing 	    59
                          4.2.3.5.2   Cross-reference  of  DD  Names
                                     and  Files	    59
                          4.2.3.5.3   User-supplied  JCL 	    60
                          4.2.3.5.4   Sample  Run Stream 	    60

                 4.2.3.6  Warnings  and Special  Instructions	    61
                 4.2.3.7  Cost  Considerations	    61
                 4.2.3.8  Related Programs and  Procedures	  .    62

     4.3  Master File	    86

          4.3.1   Introduction	    86
          4.3.2   NEDS to EIS/AS Master File  Transaction  Conversion-Edit
                 Program - CCENETR  (EC0030)	    94

                 4.3.2.1  Description	    94
                 4.3.2.2  File  Formats	    96
                 4.3.2.3  Options and Control Cards	    98
                 4.3.2.4  Error Messages  	    98
                 4.3.2.5  Cataloged  JCL -  ECCET10	115

                          4.3.2.5.1   JCL  Listing	115
                          4.3.2.5.2   Cross-reference  of  DD  Names
                                     and  Files	116
                          4.3.2.5.3   User-supplied  JCL 	   116
                          4.3.2.5.4   Sample  Run Stream 	   116

                 4.3.2.6  Warnings  and Special  Instructions	117
                 4.3.2.7  Cost  Considerations	117
                 4.3.2.8  Related Programs and  Procedures	118

          4.3.3   Master File Transaction  Edit Program -
                 CEDMSTR (EC0040)	136

                 4.3.3.1  Description	136
                 4.3.3.2  File  Formats	138
                 4.3.3.3  Options and Control Cards	139
                 4.3.3.4  Error Messages  	   141
                 4.3.3.5  Cataloged  JCL -  ECEDT10	171

                          4.3.3.5.1   JCL  Listing	171
                          4.3.3.5.2   Cross-reference  of  DD  Names
                                     and  Files	171
                          4.3.3.5.3   User-supplied  JCL 	   171

-------
EIS/AS
TABLE OF CONTENTS
Page 3
Release Date: 2/01/80

Update #:   A-l
                          4.3.3.5.4  Sample Run Stream	171

                 4.3.3.6  Warnings and Special  Instructions 	   172
                 4.3.3.7  Cost Considerations 	   172
                 4.3.3.8  Related Programs and  Procedures 	   173

          4.3.4  Master File Internal  Transaction Sort
                 Program - CSRINTR (EC0050) 	   239

                 4.3.4.1  Description 	   239
                 4.3.4.2  File Formats	239
                 4.3.4.3  Options and Control Cards 	   240
                 4.3.4.4  Error Messages	240
                 4.3.4.5  Cataloged JCL 	   240
                 4.3.4.6  Warnings and Special  Instructions 	   240
                 4.3.4.7  Cost Considerations	241
                 4.3.4.8  Related Programs and  Procedures 	   241

          4.3.5  Master File Internal  Transaction Emission
                 Factor Insertion Program - CMSEFIN (EC0060)	244

                 4.3.5.1  Description 	   244
                 4.3.5.2  File Formats	245
                 4.3.5.3  Options and Control Cards 	   245
                 4.3.5.4  Error Messages	247
                 4.3.5.5  Cataloged JCL - ECMST10 	   252

                          4.3.5.5.1  JCL Listing 	   252
                          4.3.5.5.2  Cross-reference of DD Names
                                     and Files	252
                          4.3.5.5.3  User-supplied JCL  	   253
                          4.3.5.5.4  Sample Run Stream  	   253

                 4.3.5.6  Warnings and Special  Instructions 	   254
                 4.3.5.7  Cost Considerations 	   255
                 4.3.5.8  Related Programs and  Procedures 	   255

          4.3.6  Master File Maintenance Program -
                 CFMMSTR (EC0070) 	   264

                 4.3.6.1  Description 	   264
                 4.3.6.2  File Formats	272
                 4.3.6.3  Options and Control Cards 	   273
                 4.3.6.4  Error Messages	274
                 4.3.6.5  Cataloged JCL - ECFMM10 	   280

                          4.3.6.5.1  JCL Listing	280

-------
EIS/AS
TABLE OF CONTENTS
Page 4

Release Date: 2/01/80

Update #:  A-l	
                          4.3.6.5.2  Cross-reference  of DD  Names
                                     and Files	280
                          4.3.6.5.3  User-supplied  JCL  	  281
                          4.3.6.5.4  Sample Run Stream  	  281

                 4.3.6.6  Warnings  and Special  Instructions.  ......  282
                 4.3.6.7  Cost Considerations	282
                 4.3.6.8  Related Programs and  Procedures	283

          4.3.7  Master File Emission Factor Transaction
                 Generator Program - CMSEFGN (EC0080)	305

                 4.3.7.1   Description 	  305
                 4.3.7.2   File Formats	306
                 4.3.7.3   Options and Control  Cards  	  306
                 4.3.7.4   Error Messages  	  307
                 4.3.7.5   Cataloged JCL - ECMSM10  	  311

                          4.3.7.5.1   JCL Listing  	  311
                          4.3.7.5.2   Cross-reference of DD Names
                                      and Files	311
                          4.3.7.5.3   User-supplied JCL  	  312
                          4.3.7.5.4   Sample Run Stream  	  312

                 4.3.7.6   Warnings and Special Instructions 	  312
                 4.3.7.7   Cost Considerations  	  313
                 4.3.7.8   Related Programs and Procedures  .......  313

     4.4  Multi-program Procedures 	  320

          4.4.1  Introduction	320
          4.4.2  Master File Edit-Maintenance - ECEMM10	322

                 4.4.2.1  Description	322
                 4.4.2.2  JCL Listing	322
                 4.4.2.3  Cross-reference of DD Names and Files	322
                 4.4.2.4  User-supplied JCL	324
                 4.4.2.5  Sample Run Stream	324

          4.4.3  Master File Maintenance from NEDS
                 Transactions - ECFMM20	332

                 4.4.3.1  Description	332
                 4.4.3.2  JCL Listing	332
                 4.4.3.3  Cross-reference of DD Names and Files	332
                 4.4.3.4  User-supplied JCL	  334
                 4.4.3.5  Sample Run Stream	334

-------
EIS/AS
TABLE OF CONTENTS
Page 5
Release Date: 2/01/80
Update #:  A-l
          4.4.4  Master File Maintenance from Emission
                 Factor Transactions - ECFMM30 	   342

                 4.4.4.1  Description	342
                 4.4.4.2  JCL Listing	342
                 4.4.4.3  Cross-reference of DD Names and Files.  .  .  .   342
                 4.4.4.4  User-supplied JCL	   343
                 4.4.4.5  Sample Run Stream	344

5.0  DATA ACCESSING AND MANIPULATION	351

     5.1  Introduction	351
     5.2  Retrieval	352

          5.2.1  Introduction	352
          5.2.2  Retrieval Language Processor Program -
                 CRTLNGP (EC0090)	355

                 5.2.2.1  Description	355
                 5.2.2.2  File Formats	355

                          5.2.2.2.1  EIS/AS Retrieval Language ....   356
                          5.2.2.2.2  COBOL Retrievals	366
                          5.2.2.2.3  Batched Retrievals	370

                 5.2.2.3  Options and Control Cards	371
                 5.2.2.4  Error Messages 	   372
                 5.2.2.5  Cataloged JCL - ECRTM10	376

                          5.2.2.5.1  JCL Listing 	   376
                          5.2.2.5.2  Cross-reference of DD Names
                                     and Files	376
                          5.2.2.5.3  User-supplied JCL 	   377
                          5.2.2.5.4  Sample Run Stream 	   377

                 5.2.2.6  Warnings and Special Instructions	377
                 5.2.2.7  Cost Considerations	380
                 5.2.2.8  Related Programs and Procedures	380

          5.2.3  Generated Retrieval  Program - CRTGENR
                 (EC0100)	402

                 5.2.3.1  Description	402
                 5.2.3.2  File Formats	403
                 5.2.3.3  Options and Control Cards	403
                 5.2.3.4  Error Messages 	   403
                 5.2.3.5  Cataloged JCL - ECRTM20	403

-------
EIS/AS
TABLE OF CONTENTS
Page 6
Release Date: 2/01/80
Update #:  A-l
                          5.2.3.5.1   JCL  Listing	   404
                          5.2.3.5.2   Cross-reference  of  DD  Names
                                     and  Files	404
                          5.2.3.5.3   User-supplied JCL 	   404
                          5.2.3.5.4   Sample  Run Stream 	   404

                 5.2.3.6   Warnings and  Special  Instructions	405
                 5.2.3.7   Cost  Considerations.  .	405
                 5.2.3.8   Related Programs and  Procedures	406

     5.3  Master File Sort	412

          5.3.1   Introduction	412
          5.3.2   Master File Sort Program -  CSRMSTR  (EC0110)	414

                 5.3.2.1   Description	414
                 5.3.2.2   File  Formats	414
                 5.3.2.3   Options and Control  Cards	414
                 5.3.2.4   Error Messages  	   415
                 5.3.2.5   Cataloged  JCL - ECSRM10	415

                          5.3.2.5.1   JCL  Listing  	   415
                          5.3.2.5.2   Cross-reference  of  DD  Names
                                     and  files	415
                          5.3.2.5.3   User-supplied  JCL 	   416
                          5.3.2.5.4   Sample  Run Stream 	   416

                 5.3.2.6   Warnings and Special  Instructions	416
                 5.3.2.7   Cost  Considerations	417
                 5.3.2.8   Related Programs  and  Procedures	418

     5.4  Multi-program Procedures 	   426

          5.4.1   Introduction	426
          5.4.2   Retrieval - ECRTM30	427

                 5.4.2.1   Description	427
                 5.4.2.2   JCL Listing	427
                 5.4.2.3   Cross-reference of DD Names and Files.  .  .  .   427
                 5.4.2.4   User-supplied JCL	   428
                 5.4.2.5   Sample Run Stream. .	428

6.0  REPORTS	435

     6.1  Introduction	435
     6.2  EPA-Required Reports  	   436
                                     vm

-------
EIS/AS
TABLE OF CONTENTS
Page 7
Release Date:  2/01/80
Update #:   A-l
          6.2.1   Introduction	436
          6.2.2   Annual  Report  Program -  CRPASNA  (EC0120)	438

                 6.2.2.1  Description	438
                 6.2.2.2  File  Formats	440
                 6.2.2.3  Options  and  Control  Cards	441
                 6.2.2.4  Error Messages  	  442
                 6.2.2.5  Cataloged  JCL - ECRPM10*  	  444

                          6.2.2.5.1  JCL  Listing  	  444
                          6.2.2.5.2  Cross-reference  of  DD  Names
                                    and  Files	445
                          6.2.2.5.3  User-supplied JCL 	  445
                          6.2.2.5.4  Sample  Run Stream 	  445

                 6.2.2.6  Warnings and Special Instructions	446
                 6.2.2.7  Cost  Considerations	447
                 6.2.2.8  Related  Programs and Procedures	447

     6.3  File Listings	460

          6.3.1   Introduction	460
          6.3.2   Master  File Detailed  Report Program  -
                 CRPMSTR (EC0130)   	  465

                 6.3.2.1  Description	465
                 6.3.2.2  File  Formats	465
                 6.3.2.3  Options  and  Control  Cards	465
                 6.3.2.4  Error Messages  	  ...  466
                 6.3.2.5  Cataloged  JCL - ECRPM20	466

                          6.3.2.5.1  JCL  Listing  	  466
                          6.3.2.5.2   Cross-reference  of  DD  Names
                                    and  Files	466
                          6.3.2.5.3   User-supplied  JCL 	  467
                          6.3.2.5.4   Sample  Run Stream 	  467

                 6.3.2.6  Warnings and Special Instructions	467
                 6.3.2.7  Cost  Considerations	467
                 6.3.2.8  Related  Programs and Procedures	468

          6.3.3   Master  File Formatted Dump  Program -
                 CRPDUMP (EC0140)   	  474

                 6.3.3.1  Description	474
                 6.3.3.2  File  Formats	474
                 6.3.3.3  Options  and  Control  Cards	474

-------
EIS/AS
TABLE OF CONTENTS
Page 8
Release Date: 2/01/80

Update #:  A-l
                 6.3.3.4   Error Messages  	   475
                 6.3.3.5   Cataloged  JCL -  ECRPM30	477

                          6.3.3.5.1   JCL  Listing  	   477
                          6.3.3.5.2   Cross-reference  of  DD  Names
                                     and  Files	478
                          6.3.3.5.3   User-supplied  JCL  	   478
                          6.3.3.5.4   Sample Run Stream  	   478

                 6.3.3.6   Warnings  and Special  Instructions	478
                 6.3.3.7   Cost Considerations	479
                 6.3.3.8   Related Programs and  Procedures	479

          6.3.4  Emission Factor File Detailed  Report
                 Program  - CRPEFAC  (EC0150)	486
                 6.3.4.1   Description	486
                 6.3.4.2   File Formats	486
                 6.3.4.3   Options and Control  Cards	486

                 6.3.4.4   Error Messages  	   486
                 6.3.4.5   Cataloged JCL - ECRPE10	488

                          6.3.4.5.1  JCL  Listing  	   488
                          6.3.4.5.2  Cross-reference  of DD  Names
                                     and  Files	488
                          6.3.4.5.3  User-supplied JCL  	   488
                          6.3.4.5.4  Sample Run Stream  	   488

                 6.3.4.6   Warnings and Special  Instructions	488
                 6.3.4.7   Cost Considerations	489
                 6.3.4.8   Related Programs and Procedures	489

     6.4  Quick Look Report	494

          6.4.1  Introduction	494
          6.4.2  Quick Look Edit Program -
                 CRTQLED  (EC0160)	498

                 6.4.2.1   Description	498
                 6.4.2.2  File Formats	498
                 6.4.2.3  Options and Control Cards	499
                 6.4.2.4  Error Messages 	   513
                 6.4.2.5  Cataloged JCL	   521
                 6.4.2.6  Warnings and Special  Instructions	522
                 6.4.2.7  Cost Considerations	522
                 6.4.2.8  Related Programs and Procedures	522

-------
 EIS/AS
TABLE OF CONTENTS
Page 9

Release Date: 2/01/80
Update #:  A-l
          6.4.3  Quick Look Extract Program -
                 CRTQLEX (EC0170) 	  544

                 6.4.3.1  Description 	  544
                 6.4.3.2  File Formats	544
                 6.4.3.3  Options and Control Cards 	  544
                 6.4.3.4  Error Messages	545
                 6.4.3.5  Cataloged JCL 	  545
                 6.4.3.6  Warnings and Special  Instructions 	  545
                 6.4.3.7  Cost Considerations 	  545
                 6.4.3.8  Related Programs and  Procedures 	  546

          6.4.4  Quick Look Report Program -
                 CRPQUIK (EC0180) 	  548

                 6.4.4.1  Description 	  548
                 6.4.4.2  File Formats	548
                 6.4.4.3  Options and Control Cards 	  548
                 6.4.4.4  Error Messages	548
                 6.4.4.5  Cataloged JCL - ECRPM40 	  549

                          6.4.4.5.1  JCL Listing	550
                          6.4.4.5.2  Cross-reference of DD Names
                                     and Files	551
                          6.4.4.5.3  User-supplied JCL  	  551
                          6.4.4.5.4  Sample Run Stream	  .  551

                 6.4.4.6  Warnings and Special  Instructions 	  551
                 6.4.4.7  Cost Considerations 	  552
                 6.4.4.8  Related Programs and  Procedures 	  552

7.0  INTER-FUNCTIONAL PROCEDURES	563

     7.1  Introduction	563
     7.2  Examples	564

          7.2.1  Batched Retrieval, Sort and Formatted Dump	564

8.0  JCL AND GENERAL TOPICS	566

     8.1  IBM JCL	566

          8.1.1  Introduction	566
          8.1.2  JOB Card	567
          8.1.3  EXEC Card	567
          8.1.4  DD Card	568
          8.1.5  Special JCL Cards	569
          8.1.6  Cataloged Procedures 	  569

-------
EIS/AS
TABLE OF CONTENTS
Page 10
Release Date: 2/01/80

Update #:  A-l
     8.2  Updates	578

          8.2.1  Introduction	578
          8.2.2  General  Update Information	578

                 8.2.2.1   Update Numbers 	   578
                 8.2.2.2   Update Packages	579

          8.2.3  Update Installation 	   580

                 8.2.3.1   IBM Utility IEBUPDTE 	   580
                 8.2.3.2   Run Stream for IEBUPDTE	582
                 8.2.3.3   Non-IEBUPDTE Updates 	   583

          8.2.4  Comipling Updated Programs	583

                 8.2.4.1   Cataloged JCL (ECCLC10)	584

                          8.2.4.1.1  JCL Listing 	   584
                          8.2.4.1.2  User-supplied JCL 	   584
                          8.2.4.1.3  Sample Run Stream 	   584

          8.2.5  Testing  Modifications 	   585
          8.2.6  Cost Considerations	585
          8.2.7  Warnings and Special Instructions 	   586

     8.3  Installation of EIS/AS	612

          8.3.1  Introduction	612
          8.3.2  Initial  Preparation 	   612
          8.3.3  Installation Job Execution	613
          8.3.4  Program Modification	614
          8.3.5  Procedure Modification	614
          8.3.6  Compiling Programs	616
          8.3.7  Testing the System	616
          8.3.8  Cost Considerations	617
          8.3.9  Warnings and Special Instructions 	   618

APPENDIX A:  CODE TABLES	632

APPENDIX B:  EIS/AS FILE SPECIFICATIONS	635

APPENDIX C:  SAMPLE LOAD SHEETS	646
                                     XII

-------
EIS/AS
            LIST OF FIGURES
Page 1
Release Date: 2/01/80
Update #:   A-l
Figure
Number

1.1-a
1.1-b
1.1-c
1.1-d
2.3-a
4.2.1-a

4.2.2-a

4.2.2-b
4.2.3-a
4.2.3-b
4.2.3-c

4.2.3-d
4.2.3-e
4.2.3-f
4.2.3-g
4.2.3-h
4.2.3-i
4.2.3-j
4.3-a
4.3-b

4.3~c

4.3-d
                               LIST OF FIGURES
                   Title
          Page
          Number
Function Indicators 	    3
EIS/AS Programs 	    4
File Codes	    6
EIS/AS Cataloged Procedures 	    7
EIS/AS System Flowchart 	   37
Emission Factor File Edit-Maintenance
Flowchart	43
Sort Sequence for Emission Factor File
Transactions	47
Diagnostic Report 	   48
Emission Factor File Format 	   63
Emission Factor File Transaction Format 	   66
Emission Factor File Transaction Field
Definitions	70
Diagnostic Report 	   76
Input Emission Factor File Listing	77
Output Emission Factor File Listing 	   78
Emission Factor File Transaction Listing	79
Option Card Format	   80
Cataloged Procedure ECEME10 	   81
Substitutable Parameters for ECEME10	84
Master File Transaction Edit Flowchart	89
NEDS to EIS/AS Master File Transaction
Conversion-Edit Flowchart 	   90
Master File Internal Transaction
Emission Factor Insertion Flowchart 	   91
Master File Maintenance Flowchart 	   92
                                     Xll 1

-------
EIS/AS
            LIST OF FIGURES
Page 2
Release Date: 2/01/80
Update #:  A-l
Figure
Number

4.3-e

4.3.2-a
4.3.2-b
4.3.2-c
4.3.2-d
4.3.2-e
4.3.2-f
4.3.2-g
4.3.3-a
4.3.3-b

4.3.3-c

4.3.3-d
4.3.3-e
4.3.3-f
4.3.3-g
4.3.3-h
4.3.3-i
4.3.4-a

4.3.4-b
4.3.5-a
4.3.5-b
4.3.5-c
4.3.5-d
                               LIST OF FIGURES
                   Title
          Page
          Number
Master File Emission Factor Transaction
Generator Flowchart 	   93
NEDS Area Source Transaction Formats	119
Diagnostic Report 	  129
Input NEDS Transaction File Listing	„  .  130
Output Internal Transaction File Listing	131
Option Card Format	132
Cataloged Procedure ECCET10 	  133
Substitutable Parameters for ECCET10	135
EIS/AS Master File Transaction Format 	  174
Definition of EIS/AS Internal
Transaction Fields	192
EIS/AS Master File Internal Transaction
Formats	215
Diagnostic Report 	  232
Input Transaction File Listing	233
Output Internal File Listing	234
Option Card Format	235
Cataloged Procedure ECEDT10 	  .236
Substitutable Parameters for ECEDT10	238
Sort Sequence for Master File Internal
Transactions	242
Diagnostic Report 	  243
Valid Insertion Fields	256
Diagnostic Report 	  257
Option Card Format	258
Cataloged Procedure ECMST10 	  259
                                     xiv

-------
EIS/AS
            LIST OF FIGURES
Page 3
Release Date: 2/01/80
Update #:  A-l
Figure
Number

4.3.5-e
4.3.6-a
4.3.6-b
4.3.6-c
4.3.6-d
4.3.6-e
4.3.6-f
4.3.6-g
4.3.6-h
4.3.6-i
4.3.7-a
4.3.7-b
4.3.7-c
4.3.7-d
4.4.2-a
4.4.2-b
4.4.3-a
4.4.3-b
4.4.4-a
4.4.4-b
5.2.1-a
5.2.2-a
5.2.2-b

5.2.2-c
5.2.2-d
                               LIST OF FIGURES
                   Title
          Page
          Number
Substitutable Parameters for ECMST10 	  262
EIS/AS Master File Format	284
Structure of EIS/AS Master File	293
Diagnostic Report	295
Input Master File Listing	296
Output Master File Listing 	  297
Internal Transaction File Listing	298
Option Card Format	299
Cataloged Procedure ECFMM10	300
Substitutable Parameters for ECFMM10 	  303
Diagnostic Report	314
Option Card Format	315
Cataloged Procedure ECMSM10	316
Substitutable Parameters for ECMSM10 	  318
Cataloged Procedure ECEMM10	325
Substitutable Parameters for ECEMM10 	  330
Cataloged Procedure ECFMM20	335
Substitutable Parameters for ECFMM20 	  340
Cataloged Procedure ECFMM30	345
Substitutable Parameters for ECFMM30 	  349
Retrieval Flowchart	354
EIS/AS Retrieval  Control Card	381
Definition of EIS/AS Retrieval  Control
Card Fields	382
Valid Retrieval Data Names	384
Diagnostic Report	392
                                      xv

-------
EIS/AS
LIST OF FIGURES
Page 4
Release Date: 2/01/80
Update #:  A-l
                               LIST OF FIGURES

Figure                                                             Page
Number                              Title                          Number

5.2.2-e          EIS/AS Retireval Language Specification
                 Fields	393
5.2.2-f          Definitions of EIS/AS Retrieval  Language
                 Specification Fields 	  394
5.2.2-g          Truth Values for Boolean Expressions 	  396
5.2.2-h          Examples of Parenthetical Expressions	397
5.2.2-i          Cataloged Procedure ECRTM10	398
5.2.2-j          Substitutable Parameters for ECRTM10 	  401
5.2.3-a          Diagnostic Report	407
5.2.3-b          Cataloged Procedure ECRTM20	408
5.2.3-c          Substitutable Parameters for ECRTM20 	  410
5.3.1-a          Master File Sort Flowchart 	  413
5.3.2-a          Diagnostic Report	419
5.3.2-b          Sort Sequence for Batch Option 	  420
5.3.2-c          Sort Sequence for STND Option	421
5.3.2-d          Option Card Format	  422
5.3.2-e          Cataloged Procedure ECSRM10	423
5.3.2-f          Substitutable Parameters for ECSRM10 .......  425
5.4.2-a          Cataloged Procedure ECRTM30	429
5.4.2-b          Substitutable Parameters for ECRTM30 	  433
6.2.1-a          Annual Report Flowchart	437
6.2.2-a          Cross-reference  of EIS/AS Data Flags 	  448
6.2.2-b          Cross-reference  of NEDS  Data Flags	449
6.2.2-c          Diagnostic Report  	  450
6.2.2-d          Input Master File Listing	451
6.2.2-e          Output Master File Listing 	  452
6.2.2-f          NEDS Area Source Transaction Listing .......  453
                                     xvi

-------
EIS/AS
            LIST OF FIGURES
Page 5
Release Date: 2/01/80
Update #:  A-l
Figure
Number

6.2.2-g
6.2.2-h
6.2.2-i
6.2.2-j
6.3.1-a
6.3.1-b
6.3.1-c
6.3.2-a
6.3.2-b
6.3.2-c
6.3.2-d
6.3.2-e
6.3.3-a
6.3.3-b
6.3.3-c
6.3.3-d
6.3.3-e
6.3.4-a

6.3.4-b
6.3.4-c
6.3.4-d
6.4.1-a
6.4.2-a
6.4.2-b
6.4.2-c
6.4.2-d
                               LIST OF FIGURES
                   Title
          Page
          Number
EIS/AS Internal Transaction Listing 	  454
Option Card Format	455
Cataloged Procedure ECRPM10 	  456
Substitutable Parameters for ECRPM10	458
Master File Detailed Report Flowchart 	  462
Master File Formatted Dump Flowchart	463
Emission Factor File Detailed Report	464
Diagnostic Report 	  469
Master File Detailed Report 	  470
Option Card Format	471
Cataloged Procedure ECRPM20 	  472
Substitutable Parameters for ECRPM20	473
Master File Dump	480
Diagnostic Report 	  481
Option Card Format	482
Cataloged Procedure ECRPM30 	  483
Substitutable Parameters for ECRPM30	485
EIS/AS Emission Factor File Detailed
Report	490
Diagnostic Report 	  491
Cataloged Procedure ECRPE10 	  492
Substitutable Parameters for ECRPE10	493
Quick Look Flowchart	497
Quick Look Control Card Formats	523
Quick Look Control Card Field Descriptions	531
Quick Look Retrieval Edit Report	535
Data Element Abbreviations and Lengths	536
                                     xvn

-------
EIS/AS
            LIST OF FIGURES
Page 6
Release Date: 2/01/80
Update #:  A-l
Figure
Number

6.4.3-a
6.4.4-a
6.4.4-b

6.4.4-c
6.4.4-d
6.4.4-e
7.2-a
8.1.-a
8.1-b
8.1-c
8.1-d
8.2-a
8.2-b
8.2-c
8.2-d
8.2-e
8.2-f
8.2-g
8.2-h
8.2-i
8.2-j

8.2-k

8.2-1
8.2-m
                               LIST OF  FIGURES
                   Title
          Page
          Number
Retrieval  Extract Report 	  547
Quick Look Report	553
Quick Look Report with Totals, Page Breaks,
and Subtotals	554
Pollutant  Summary Report 	  .  	  556
Cataloged  Procedure ECRPM40	557
Substitutable Parameters for ECRPM40 	  561
Example 7.2.1 - Run Streams	565
General Format of JCL Statement	571
JOB Card Format	572
JOB Card Information Fields	573
DD Card Field Specifications	574
Sample Update Message	588
IEBUPDTE Output-Program Listing	  589
Update Letter	591
Update Packing List	595
Update Verification Form 	  596
Tape Contents	597
Checklist for Installing Update	598
Listing of Update Deck	599
Condition Codes for IEBUPDTE 	  600
Message Indicating Completion of IEBUPDTE
Modification 	  601
Condition Codes for Compiler and Linkage
Editor	602
Error Messages from Compiler	604
Linkage Editor Message 	 .  605
                                    XV111

-------
EIS/AS
            LIST OF FIGURES
Page 7
Release Date: 2/01/80
Update #:  A-l
Figure
Number

8.2-n
8.2-0
8.2-p
8.3-a
8.3-b
8.3-c
8.3-d

8.3-e
B-l

B-2
                               LIST OF  FIGURES
                   Title
          Page
          Number
Compiler Version Message 	  606
Cataloged Procedure ECCLC10	607
Substitutable Parameters for ECCLC10 	  610
Checklist for Installing EIS/AS	619
Installation Letter	620
EIS/AS Installation Deck 	  624
System Status/Hardware/Software
Questionaire 	  627
Condition Code for IEHMOVE	631
Sample Job Stream to Reblock a Permanent
File Stored on Disk	644
Sample Job Stream to Reblock an EIS/AS
Program Source Module Library	645
                                     xix

-------
EIS/AS
            LIST  OF  TABLES
Page 1
Release Date: 2/01/80
Update #:  A-l
Table
Number

A-l
B-l
B-2
                               LIST  OF  TABLES
                   Title
          Page
          Number
Valid UTM Zones and Components	.632
Cross-reference of Files and Programs	639
Blocking Factors of EIS/AS Files 	642
                                      xx

-------
EIS/AS
ACKNOWLEDGEMENT
Page 1
Release Date: 2/01/80
Update #:   A-l
                                ACKNOWLEDGEMENT

       This  manual was  prepared  by the Research Triangle  Institute, Research
  Triangle Park,  North  Carolina, for the  Environmental Protection Agency  (EPA)
  under Contract  68-02-3011.  The work has  been conducted under the direction of
  Mr.  Lloyd  M.  Hedgepeth of the  National  Air Data Branch  (NADB), who was  the EPA
  Project Officer for the  contract.

       RTI staff  members principally participating in the development of  this
  document are:

                 R.  C.  Haws, Laboratory Supervisor
                 L.  R.  McMaster, Project  Leader
                 D.  L.  Franke, Analyst/Programmer
                 D.  E.  Warren, Analyst/Programmer
                 W.  M.  Bailey, Programmer
                 F.  A.  Farmer, Programmer
                 K.  C.  Ng, Programmer
                 C.  0.  Scheper,  Programmer
                 A.  F.  Tallant,  Programmer
                 D.  S.  Chase, Secretary
                                      xxi

-------
EIS/AS
ACKNOWLEDGEMENT
Page 2
Release Date;  2/01/80
Update #:  A-l
                                xxn

-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 1
Release Date:  2/01/80
Update #:  A-l
1.0  INTRODUCTION

1.1  ORGANIZATION

     The Emissions Inventory System/Area Source (EIS/AS) is a subsystem of the
Comprehensive Data Handling System (CDHS).  Its major functions are creating
and maintaining a valid area source emissions data base, accessing and
manipulating that data base, and producing reports.   This User's Guide is
structured to reflect these functions; i.e., the programs and procedures in
EIS/AS are documented within these three groupings.   The discussions of the
EIS/AS functions and programs comprise Section 4.0 FILE CREATION AND
MAINTENANCE, Section 5.0 DATA ACCESSING AND MANIPULATION, and Section 6.0
REPORTS.

     Each of these sections contains an introduction, which explains the
particular function, and operating instructions for each of the programs which
comprise that function.  Flow charts illustrating the operation of the
programs are included in each introduction.  The program operating
instructions consist of a description of the program, the formats of the files
accessed by the program, a discussion of program options, and a list of error
messages produced by the program.  A discussion of the JCL for executing the
program, warnings and special instructions, cost estimates, and related
programs and procedures are also included.

     The programs discussed in Sections 5.0 and 6.0 are grouped into
categories according to the specific aspect of the major function which they
perform.  The categories addressed in Section 5.0 DATA ACCESSING AND
MANIPULATION are retrieval and master file sorting.   The categories comprising
Section 6.0 REPORTS are EPA-required reports, file listings, and quick look
report.

-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 2
Release Date: 2/01/80
Update I:  A,]	
     In addition to these program sections, this User's Guide includes
sections which provide information necessary for full  utilization of EIS/AS.
Section 2.0 OVERVIEW OF EIS/AS provides a brief discussion of the subsystem,
explains the program design, and provides a system flowchart.  Section 3.0
ECONOMICS discusses the cost of installing and operating EIS/AS as well  as
ways to reduce operating costs.  Section 7.0 INTER-FUNCTIONAL PROCEDURES
describes sample run streams which execute programs from more than one
functional area, such as producing a report from a retrieved answer file.
Section 8.0 JCL AND GENERAL TOPICS discusses the IBM JCL used in the EIS/AS
cataloged procedures and explains the installation and updating processes.
Additional information concerning the operation of EIS/AS is included in the
four appendices.  An index is provided to aid the user in finding information
contained in the User's Guide.

     Seven-letter names are used for all programs in EIS/AS.  The first
position contains a 'C1 for EIS/AS, positions 2 and 3 contain a function
indicator (see Figure 1.1-a), and positions 4 thru 7 contain information
relating to the file used or type of report.  Each program is also assigned a
program number prefixed by 'EC1.  See Figure 1.1-b for a list of program
names, numbers, and descriptions.

     The cataloged procedures all have seven-character names.  The first two
characters are  'EC1, positions 3 and 4 contain the function indicators
(see Figure 1.1-a), position 5 provides information on the file used (see
Figure 1.1-c), and the last two characters are numeric.  See Figure 1.1-d for
a list of procedures.

-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 3
Release Date: 2/01/80
llnHa-t-o it-  fl-1	
                          Code

                           CV
                           CE
                           ED
                           EM
                           FM
                           MS
                           RP
                           RT
                           SR
                           ST
           Description
           Conversion
           Conversion and Edit
           Edit
           Edit-Maintenance
           File Maintenance
           Miscellaneous
           Report
           Retrieval
           Sort
           Statistical
                      Figure 1.1-a.   Function Indicators

-------
EIS/AS
INTRODUCTION
Program
Name
CCENETR


CEDMSTR

CEMEFAC

CFMMSTR
CMSEFIN

CMSEFGN

CRPASNA
CRPDUMP

CRPEFAC

CRPMSTR

CRPQUIK
CRTGENR
CRTLNGP

CRTQLED
CRTQLEX
CSREFTR




Program
Number
EC0030


EC0040

EC0020

EC0070
EC0060

EC0080

EC0120
EC0140

EC0150

EC0130

EC0180
EC0100
EC0090

EC0160
EC0170
EC0010



SECTION 1.1 Page 4
ORGANIZATION Release Date:
Update #: A-l

Description Reference
NEDS to EIS/AS Master File 4.3.2
Transaction Conversion-
Edit Program
Master File Transaction Edit 4.3.3
Program
Emission Factor File Edit- 4.2.3
Maintenance Program
Master File Maintenance Program 4.3.6
Master File Internal Transaction 4.3.5
Emission Factor Insertion Program
Master File Emission Factor 4.3.7
Transaction Generator Program
Annual Report Program (NEDS) 6.2.2
Master File Formatted Dump 6.3.3
Program
Emission Factor File Detailed 6.3.4
Report Program
Master File Detailed Report 6.3.2
Program
Quick Look Report Program 6.4.4
Generated Retrieval Program 5.2.3
Retrieval Language Processor 5.2.2
Program
Quick Look Edit Program 6.4.2
Quick Look Extract Program 6.4.3
Emission Factor File Transaction 4.2.2
Sort Program
(Page 1 of 2)
Figure 1.1-b. EIS/AS Programs
2/01/80
Page
Number
94


136

49

264
244

305

438
474

486

465

548
402
355

498
544
44




-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 5
Release Date: 2/01/8C
Update #: A-l
Program      Program
 Name        Number
      Description
 Reference
 Page
Number
CSRINTR      EC0050       Master File Internal  Transaction  4.3.4
                            Sort Program
CSRMSTR      EC0110       Master File Sort Program          5.3.2
                                            239
                                            414
                                                              (Page  2  of  2)
                  Figure 1.1-b -  continued.   EIS/AS  Programs

-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 6
Release Date: 2/01/80
        •  A-1
                            Code
                             E
                             M
                             T
                 File
           Emission Factor File
           Master File
           Transaction File
                           Figure 1.1-c.   File Codes

-------
EIS/AS
INTRODUCTION
Procedure
Names
ECCET10

ECEDT10
ECEME10

ECEMM10



ECFMM10

ECFMM20



ECFMM30


ECMSM10

ECMST10

ECRPE10

ECRPM10
SECTION 1.1
ORGANIZATION

Description
NEDS to EIS/AS Master File
Transaction Conversion-Edit
Master File Transaction Edit
Emission Factor File Edit-
Maintenance
Master File Edit-Maintenance



Master File Maintenance

Master File Maintenance from
NEDS Transactions


Master File Maintenance
from Emission Factor
Transactions
Master File Emission Factor
Transaction Generation
Master File Internal Transaction
Emission Factor Insertion
Emission Factor File Detailed
Report
Annual Report (NEDS)
Page 7
Release
Update
Programs
Executed
CCENETR (EC0030)

CEDMSTR (EC0040)
CSREFTR (EC0010)
CEMEFAC (EC0020)
CEDMSTR (EC0040)
CSRINTR (EC0050)
CMSEFIN (EC0060)
CFMMSTR (EC0070)
CSRINTR (EC0050)
CFMMSTR (EC0070)
CCENETR (EC0030)
CSRINTR (EC0050)
CMSEFIN (EC0060)
CFMMSTR (EC0070)
CMSEFGN (EC0080)
CSRINTR (EC0050)
CFMMSTR (EC0070)
CMSEFGN (EC0080)

CSRINTR (EC0050)
CMSEFIN (EC0060)
CRPEFAC (EC0150)

CRPASNA (EC0120)
Date: 2/01/80
#: A-l

Reference
4.3.2.5

4.3..3.S
4.2.3.5

4.4.2



4.3.6.5

4.4.3



4.4.4


4.3.7.5

4.3.5.5

6.3.4.5

6.2.2.5

Page
Number
115

171
58

322



280

332



342


311

252

488

444
Figure 1.1-d.   EIS/AS Cataloged Procedures
                                               (Page 1  of 2)

-------
EIS/AS
INTRODUCTION
SECTION 1.1
ORGANIZATION
Page 8
Release
Update #
Date: 2/01/80
: A-l
Programs
Procedure Description Executed
ECRPM20 Master File Detailed Report CRPMSTR
ECRPM30 Master File Formatted Dump CRPDUMP
ECRPM40 Quick Look Edi
Report

t, Extract, and CRTQLED
CRTQLEX
CRPQUIK
ECRTM10 Retrieval (Generate and Store CRTLNGP
Program)

ECRTM20 Retrieval (Execute Stored CRTGENR
Program)
ECRTM30 Retrieval


CRTLNGP
CRTGENR
ECSRM10 Master File Sorting CSRMSTR
(EC0130)
(EC0140)
(EC0160)
(EC0170)
(EC0180)
(EC0090)

(EC0100)

(EC0090)
(EC0100)
(EC0110)
Reference
6.3.2.5
6.3.3.5
6.4.4.5


5.2.2.5

5.2.3.5

5.4.2

5.3.2.5

Page
Number
466
477
549


376

403

427

415
                                                 (Page 2 of 2)
Figure 1.1-d - continued.   EIS/AS Cataloged Procedures.

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 1
Release Date: 2/01/80
Update #:  A-l	
1.2  DEFINITIONS OF TERMS AND CONVENTIONS

ABORT:
     The termination of a job due to a malfunction.  Any condition that causes
     an abort error message in any of the EIS/AS programs will  cause the
     execution of that program to be terminated immediately but will allow
     any successive programs in the same run stream to be executed; however,
     the results of any such programs are probably invalid.  Programs may also
     abort with a system error message.  In this case, no successive programs
     will be executed.

Action Code:
     An EIS/AS master file transaction field.  See Figure 4.3.3-b for a
     complete description.  Also, an emission factor file transaction field
     (see Figure 4.2.3-c).

AEROS:
     An acronym for the Aerometric and Emissions Reporting System.

Air Basin:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

ANS (ANSI):
     An acronym for the American National Standards Jjnstitute,  which
     establishes the standards for the COBOL and FORTRAN languages.

Answer File:
     A file that is either produced by a (non-batch) retrieval  and is a subset
     of the records in the master file; or a file produced by a set of batched
     retrievals and is a group of subsets of the records in the master file.

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 2
Release Date: 2/01/80
Update I: A-1	
     An answer file may be input to any program that uses the master file for
     the purpose of generating reports; however, an answer file may contain
     duplicate records and may not be in the normal master file order.   See
     Section 5.2.  Note:  an answer file should not replace the master file
     for file maintenance purposes.

AQCR:
     The Mr Duality Control Region is an EIS/AS master file field.  See
     Figure 4.3.3-b for a complete description.

AQCR Name:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

AQMA Number:
     The Air (Duality Maintenance Area number is an EIS/AS master file field.
     See Figure 4.3.3-b for a complete description.

Area Name:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Ash Contents, Anthracite Coal:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Ash Contents, Bituminous Coal:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     10

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 3
Release Date: 2/01/80
Update #:  A-l	
Ash Flag:
     An emission factor file field.  See Figure 4.2.3-c for a complete
     description.

Ash Percentage:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Associated Plant ID:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Attainment Status:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Baseline:
     A version of the EIS/AS system maintained by NADB.  All installation and
     update copies are made from the baseline.  If local modifications are
     made to EIS/AS, a copy of the baseline should be maintained.  Only the
     baseline EIS/AS system is supported by NADB.

Batched Retrievals:
     When more than one retrieval is processed in one execution of the EIS/AS
     retrieval programs, the retrievals are said to be batched.

Block:
      A group of records handled by the computer as a single unit.  The size
      of a block should be set to take best advantage of the size of a track
      if the file is to be stored on disk.
                                     11

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 4
Release Date: 2/01/80
Update #: A-l	
Blocking Factor:
     The number of records in a block.   Information on the blocking factors
     for the files in the EIS/AS system can be found in Appendix D.

Card:
     A punched card used to enter data  into the computer.   The 80-column card
     is used for EIS/AS.  Each column of a card is used to enter a  single
     numeric or alphabetic character, and one card is used for a single
     transaction.  Transactions may be  entered by other methods that do not
     use cards, but the term card is still used to denote  a transaction.

Card Number:
     An EIS/AS master file transaction  field.  See Figure  4.3.3-b for a
     complete description.  Also an emission factor file transaction field
     (see Figure 4.2.3-c).

Catalog:
     A table of descriptive information for files, such as unit, volume, and
     DCB information, which is maintained by the computer.

Cataloged Data Set:
     A data set that has been listed in the system catalog of files.  Items
     such as unit, volume, and DCB information for the data set are contained
     in the system catalog.  A cataloged data set can be used by specifying
     its name and disposition.

Category Adjustment:
     An EIS/AS master file field.  See Figure 4.3.3-b for  a complete
     description.
                                     12

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 5
Release Date: 2/01/80
Update f: A-l	
Category Description:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Category Disaggregation Number:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Category Number:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Category Record:
     A type of record in the EIS/AS master file.  See Section 4.3.6 for a
     complete description.

CDHS:
     The Comprehensive Data Dandling System (CDHS) consists of the Mr Duality
     Data Dandling System II, (AQDHS-II) and the Emissions inventory System
     (EIS).  EIS in turn consists of two parts:  EIS/AS (Area _Source) and
     EIS/PS (Point Source).

COBOL:
     An acronym for £0mmon Business Oriented Language.  It is an
     internationally accepted programming language used for systems which
     handle large data bases.  The statements are English-like but must comply
     with rules established for the language.  All of the programs in EIS/AS
     are written in COBOL.

Comment:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     13

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 6
Release Date: 2/01/80
Update *: A-]	
Comment Record:
     A type of record in the EIS/AS master file.   See Section 4.3.6 for a
     complete description.

Compile:
     To create an object module from source language statements by means of a
     compiler.  While some compilers generate object modules which contain
     machine code that can be executed directly,  most generate code which must
     be further processed by a linkage editor to  produce an executable load
     module.  In most EIS/AS installations, the linkage editor is used.

Concatenate:
     To create one file from several files.

CONDITIONAL:
     A type of error message generated by programs in EIS/AS.  Conditional
     errors are not serious enough to cause rejection of the input data;
     however, the message cannot be suppressed.

Confidence Rating:
     An EIS/AS master file field.  This field is  a confidence rating for the
     emission estimate determined by CFMMSTR (EC0070) using the data
     confidence rating and the emission factor confidence rating.  See Section
     4.3.6 for further clarification.

Control Card:
     A card entered to provide specific instructions to a program.  Used
     interchangeably with 'option card1.

County:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     14

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 7
Release Date:  2/01/80
        i  A-1	
County Name:
     An emission factor file field.  See Figure 4.2.3-c for a complete
     description.

Cylinder:
     Used in allocating space on a direct access device (disk).   As a unit of
     measure, it contains several  tracks, the exact number being dependent
     upon the type of disk.

Data:
     A general  term used to describe the elements of information that can be
     processed by a computer. 'Data' is used to describe all the information
     collected and stored for EIS/AS.

Data Confidence Rating:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Data Set:
     A file used by the computer.   Data sets may be stored on disks or tapes.
     Partitioned data sets are used as libraries to store a collection of
     programs or procedures.
Day:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Days Per Week:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.
                                     15

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS	
Page 8
Release Date: 2/01/80
Update 1: A-l	
Deck:
     A collection or pack of punched cards.   The cards necessary to run a job
     (including JCL, option cards, and transactions)  form a deck.

Defined Area Code:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Description Record:
      A type of record in the EIS/AS master file.  See Section 4.3.6 for a
      complete description.

Diagnostic Report:
     A report printed during the execution of most programs in EIS/AS.   The
     report contains the update messages, information on the options used for
     the program, messages explaining errors encountered during the execution
     of the program, and run statistics indicating the number of records
     processed and the number of errors found.  Those EIS/AS programs that do
     not produce a separate diagnostic report contain the diagnostic
     information at the beginning and end of other printed output.

Diesel Fuel, Heavy Vehicles:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

DISASTER:
     A type of error message printed by EIS/AS programs.  Execution of the
     program will be terminated immediately when a disaster condition is
     encountered, but other programs in the same run stream will be executed
     and produce unpredictable results.  The user should contact NADB for
     information on recovering from a disaster condition.
                                     16

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 9
Release Date: 2/01/80
Update #:  A-l	
Disk:
     A flat circular plate upon which data is stored by a magnetic process.
     Also called a magnetic disk.  In large computer systems, one or more
     magnetic disks are mounted on a spindle and form a disk pack.  Each disk
     is divided conceptually into tracks, and tracks are combined into
     cylinders.  Space may be allocated by tracks or cylinders.   A disk is a
     direct access device.

EIS:
     The ^missions J_nventory System processes emissions data.  It consists of
     two subsystems:  Point Source (EIS/PS) and Area Source (EIS/AS).

Emission Factor:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Emission Factor Confidence Rating:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Emission Factor File:
     An EIS/AS file.  See Section 4.2 for a complete description.

Emission Factor Origin:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Emission Factor Source:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     17

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 10
Release Date: 2/01/80
update #i A-l	
Error Message:
     In EIS/AS, the term is used two ways.   First,  it is used as a general
     term to include all types of messages  (WARNING,  CONDITIONAL, ERROR,
     ABORT, and DISASTER) printed when an error is  encountered by a program.
     Secondly, it refers specifically to messages prefaced by the word ERROR
     which indicate that input data has been rejected due to the error found
     therein, but that processing will continue.

Execute:
     To perform the operations specified by a particular program or
     procedure.

Field:
     A subdivision of a record containing a particular item of data.  Examples
     of fields in EIS/AS include state code, pollutant ID, and area name.

File:
     An organized collection of related records.   The records in a file are
     usually sequenced by some key contained in the records.  Files may be
     stored for future use (permanent) or used by only one job (temporary).
     One or more files may be on a tape or a disk.   Permanent files used by
     EIS/AS include the master file and the emission factor file.

Format:
     A specified or predetermined arrangement of data in a record or on a
     document; synonymous with layout.  Formats given for the files in EIS/AS
     include the position, length, and description of each field.

Gas Fuel, Heavy-Duty Vehicles:
      An EIS/AS master file field.  See Figure 4.3.3-b for a complete
      description.
                                     18

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 11
Release Date: 2/01/80
Update #: A-l
Gas Fuel, Light-Duty Vehicles:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Geographic Suballocation Number:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Hardware:
     The physical equipment making up a computer system.  Hardware includes
     printers, card readers, disk and tape drives, terminals, and the central
     processing unit of a computer.

Heat Content:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Hourly Thruput Percentage, Hours 0 thru 23:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Hours Per Day:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Information Source Code:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Information Source Code Narrative:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     19

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 12
Release Date: 2/01/80
        :  A-1	
Instal1 ation:
     Two definitions are used by EIS/AS.   The first pertains to setting up the
     EIS/AS system for the first time.   The second refers to a particular
     computer system, the personnel  who operate and use it,  the work it does,
     and the place where it is located.

Internal Transaction:
     A record created by either the master file transaction  edit program or
     the NEDS to EIS/AS conversion-edit program and used by  the master file
     maintenance program to update the  master file.  These records are not 80
     characters in length and are not interchangeable with punched cards used
     to enter transactions.

JCL:
     J_ob £ontrol L_anguage.  A programming language used to identify a job and
     describe its requirements to the operating system.  Information on JCL
     can be found in Section 8.1.

Job:
     A unit of work entered into the computer by means of a  single run stream
     containing a single job card.  A job consists of one or more procedures
     or programs.

Key:
     One or more fields within a record used to identify or  control that
     record.  Keys are used by EIS/AS both to sequence files and to match
     transactions with file records when updating a file.

Library:
     An organized set of programs or files.  In EIS/AS, partitioned data sets
                                     20

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 13
Release Date: 2/01/80
Update #:  A-l	
     are used as libraries to store source programs,  load modules,  and
     procedures.

Length-Area:
     An EIS/AS master file field.   See Figure 4.3.3-b for a  complete
     description.

Length-Area Units Code:
     An EIS/AS master file field.   See Figure 4.3.3-b for a  complete
     description.

Line Number:
     An EIS/AS master file field.   See Figure 4.3.3-b for a  complete
     description.

Link Edit:
     To combine object modules into an executable load module.   In  EIS/AS,
     all programs are link edited  after being compiled, and  the  resulting  load
     modules are stored in a load  library.  The system program that performs
     this task is called the linkage editor.

Load Module:
     The output of a linkage editor; a program in a suitable form to  be  loaded
     into memory and executed.  Load modules  are stored in the load library.

Major Activity:
     An EIS/AS master file field.   See Figure 4.3.3-b for a  complete
     description.

Master File:
     An EIS/AS file containing the actual  area source data,  as collected.
                                     21

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS	
Page 14
Release Date: 2/01/80
Update I:  A-1	
     The master file is used to generate reports, including sending the annual
     report to NEDS.  File formats and field descriptions can be found
     in Section 4.3.6.2.

Maximum Hourly Emission:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Maximum Hourly Thruput:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Module:
     A group of records treated as a unit.  Often refers to an individual
     member of a partitioned data set or library.  Each program in EIS/AS  is
     stored as a module in both the source and load libraries.

Monthly Thruput Percentage, January thru December:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

NADB:
     An acronym for the Rational Air Data Branch, which is in the EPA's Office
     of Air Quality Planning and Standards.

NEDS:
     An acronym for Rational Ejnissions JData System.  It refers to both a
     technique for coding emissions data and a data base maintained by EPA
     containing emissions data from the entire United States.
                                     22

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS 	
Page 15
Release Date: 2/01/80
Update I:  A-1	
NEDS A6 Comment:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

NEDS A7 Comment:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

NEDS A7 Emission:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Nitrogen Flag:
     An emission factor file field.  See Figure 4.2.3-c for a complete
     description.

Nitrogen Percentage:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Number of UTM Coordinates:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Object Module:
     A module that is produced by  a compiler from a source module and is  input
     to a linkage editor.   Object  modules are not saved in EIS/AS since the
     compiler and linkage editor are executed within one procedure.
                                     23

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS	
Page 16
Release Date: 2/01/80
UpdatP *: A-1	
Option Card:
     A card used to provide user-specified instructions to a program.   Used
     interchangeably with 'control  card1.  Options are used in EIS/AS to
     indicate such things as whether files should be listed, whether warnings
     should be printed, or the number of lines to be printed on a page.

Partitioned Data Set:
     A file containing several individual  groups of records.  This file can be
     used as a whole, or each group of records (module) can be used alone.   In
     EIS/AS, partitioned data sets  are used as libraries to store the source
     programs, the load modules, and the procedures.

Permanent File:
     A file kept after execution of a job has been completed.  Such a file  may
     be used by later jobs and may  be cataloged.  Examples of permanent files
     in EIS/AS include the master and emission factor files.

Pollutant ID:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Pollutant Name:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Pollutant-Specific Data:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     24

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 17
Release Date:  2/01/80
Update #:  A-l	
Population:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Population Code:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Procedure:
     A series of JCL statements used to execute one or more programs.   In
     EIS/AS, the procedures are stored and cataloged in a procedure library.
     A program may be executed by naming the procedure without supplying all
     the required JCL needed for that program.

Process Rate:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Program:
     A series of statements in a language acceptable to a computer's compiler
     and used to achieve a specified result.

Projected Year:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Record Length:
     An EIS/AS master file field.   See Section 4.3.6 for a complete
     description.
                                     25

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 18
Release Date: 2/01/80
Update #: A-l	
Record Type:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Run Stream:
     A deck consisting of JCL cards and, possibly,  option cards and
     transactions  that is used to  execute one or more successive procedures.
     Generally, a  run stream will  contain one job.

SIP Base Year:
     The State implementation Nan base year is an  EIS/AS master file field.
     See Figure 4.3.3-b for a complete description.

SIP Estimate, TSP, S02, NOX, HC, CO:
     EIS/AS master file fields.  See Figure 4.3.3-b for a complete
     description.

SMS A:
     The Standard  Metropolitan Statistical  /\rea is  an EIS/AS master file
     field.  See Figure 4.3.3-b for a complete description.

Software:
     All programs  which can be used on a particular computer system.  Includes
     compilers, library routines,  and user-written  programs.

Source Program or  Source Module:
     A program written in a programming language that cannot .be directly
     processed by  the computer, but which must be compiled and link edited
     prior to being executed.  The source programs  in EIS/AS are written in
     COBOL.
                                     26

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 19
Release Date: 2/01/80
Update t: A-l	
Source Type:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Space:
     A variable used in JCL to indicate the amount of room occupied by a  file
     on a direct access device (disk).  Space is allocated in either tracks  or
     cylinders.

State:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Structured Programming:
     A coding technique used in EIS/AS.  See Section 2.2.

Sub-Card Number:
     An EIS/AS master file transaction field.  See Figure 4.3.3-b for a
     complete description.

Suballocation Technique Code:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Suballocation Technique Description:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     27

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 20
Release Date: 2/01/80
Update fo A-l	
Substitutable Parameters:
     Variables in the EIS/AS procedures which  the user may  change from  one  run
     of a procedure to the next,  and which can be changed by  specifying
     keywords defined in the procedure along with the values  to  be used.  A
     list of the substitutable parameters is given with the information on
     individual  procedures in the user's guide.

Sulfur Contents, Anthracite Coal:
     An EIS/AS master file field.  See Figure  4.3.3-b for a complete
     description.

Sulfur Contents, Bituminous Coal:
     An EIS/AS master file field.  See Figure  4.3.3-b for a complete
     description.

Sulfur Contents, Residual  Oil:
     An EIS/AS master file field.  See Figure  4.3.3-b for a complete
     description.

Sulfur Flag:
     An emission factor file field.  See Figure 4.3.3-c for a complete
     description.

Sulfur Percentage:
     An EIS/AS master file field.  See Figure  4.3.3-b for a complete
     description.

Systems Personnel:
     Persons involved with the user support and/or operations for a computer
     installation.  Systems personnel can supply information, such as disk  and
     tape drives used, required account codes, and installation-dependent
     conventions, and can give assistance in correcting system problems.
                                     28

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 21
Release Date: 2/01/80
Update #:  A-l	
Tape:
     A magnetic film coated with a substance which allows data to be stored by
     selective magnetism.  Tapes can be used to store files for EIS/AS.   The
     user should consult his systems personnel  for information on the
     characteristics of the tape drives used at his installation.

Temporary File:
     A file used during the duration of one job and then discarded.   Temporary
     files are used to pass data from one program to another within  the  same
     job.

Thruput Ratio:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Top-down:
     A term used in structured programming.  See Section 2.2.
Track:
     A unit of measure for space allocation on a disk.  The size of  a track is
     dependent upon the type of disk used.

Transaction:
     A card (or other record) used to enter data into the system. All
     transactions are edited by the EIS/AS programs prior to being used.

Uniform Hourly:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Uniform Thruput:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     29

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
Page 22
Release Date: 2/01/80
Update #: A-l	
Unit:
     A term used in JCL to specify the device type used for storing  a file.

Units Code:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Units Code Description:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

Update Message:
     A portion of the diagnostic report printed at the beginning  of  the
     execution of each program in  EIS/AS.   The information given  includes  the
     name, revision level, update  status,  and update date of the  program.   The
     information is useful for troubleshooting.

USGS Maps:
     United States Geological  Survey Maps.

UTM, Horizontal:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

UTM, Vertical:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.

UTM Zone:
     An EIS/AS master file field.   See Figure 4.3.3-b for a complete
     description.
                                     30

-------
EIS/AS
INTRODUCTION
SECTION 1.2
DEFINITIONS OF TERMS
AND CONVENTIONS
 Page  23
 Release  Date:  2/01/80
.Update #•  A-1	
Vehicle Miles for Limited Access Roads:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Vehicle Miles for Rural  Roads:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Vehicle Miles for Suburban Roads:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Vehicle Miles for Urban  Roads:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Volume:
     A recording medium, such as a tape or disk, which is mounted and
     dismounted as a unit.  A volume is identified by a volume serial number.

WARNING:
     A type of error message used in EIS/AS to inform the user of an aspect of
     the input data which may warrant his attention.   A warning condition does
     not cause data to be rejected or the execution of the program to be
     terminated.  Warning messages can be suppressed  by the user.

Year:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.

Year of Information:
     An EIS/AS master file field.  See Figure 4.3.3-b for a complete
     description.
                                     31

-------
EIS/AS
OVERVIEW OF EIS/AS
SECTION 2.1
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #;.  Ad	
2.0  OVERVIEW OF EIS/AS

2.1  INTRODUCTION

     The National Air Data Branch (NADB) of the Environmental  Protection
Agency (EPA) has the responsibility of collecting, storing, retrieving, and
analyzing air quality and emissions data for 50 states and 5 territories.   In
order to aid the data flow and to assist the states in the monitoring and
control of atmospheric pollution, EPA has developed and provided the
Comprehensive Data Handling System (CDHS).

     The purpose of CDHS is to provide the user with a systematic approach to
solving the problem of creating and maintaining files, submitting data to  EPA,
doing statistical analysis, and generating internal reports from a large data
base of observed pollutant concentrations or emissions.

     CDHS currently consists of two major systems:  the Emissions Inventory
System (EIS) which processes emissions data, and the Air Quality Data Handling
System (AQDHS-II) which processes ambient air quality and meteorological data.
EIS is further broken down into two subsystems:  Area Source (EIS/AS) and
Point Source (EIS/PS).  This User's Guide deals only with EIS/AS and is
intended to provide the user of EIS/AS with a usable day-to-day reference
document.

     EIS/AS currently consists of 18 computer programs (written in ANS-68
COBOL), which provide the user with a variety of tools to assist him in the
enormous task of organizing, storing, retrieving, and analyzing the area
source emissions data collected by him.
                                     32

-------
EIS/AS
OVERVIEW OF EIS/AS
SECTION 2.1
INTRODUCTION
Page 2
Release Date: 2/01/80
Update t:  A-l	
     A discussion of program structure is provided in Section 2.2,  and a chart
illustrating the interrelationships of the functional areas in EIS/AS is
provided in Section 2.3.   More detailed flow diagrams of each functional area
and its component programs are provided in the section discussing that
particular function.
                                    33

-------
EIS/AS
OVERVIEW OF EIS/AS
SECTION 2.2
PROGRAM STRUCTURE
Page 1
Release Date: 2/01/80
Update #;  A-l	
2.2  PROGRAM STRUCTURE

     The EIS/AS programs are modularized by function; i.e, each program
performs one complete function.  When several  functions are needed for a given
process (such as file maintenance), the separate programs that perform the
component functions are performed in a single procedure.  This modularization
gives the system greater flexibility.  An illustration of this modularity can
be seen in the following example:  CSREFTR (EC0010) sorts emission factor file
transactions, CEMEFAC (EC0020) maintains the emission factor file, and CRPEFAC
(EC0150) prints the emission factor file.  The sort and file maintenance
programs are performed by the procedure ECEME10, and the report by ECRPE10.
Both procedures should be run when the emission factor file is updated, but
the report procedure may be run alone whenever a listing of the emission
factor file is desired.
     All of the programs in EIS/AS are written using American National
Standard (ANS) COBOL as defined in 1968. An attempt has been made to
standardize the programs so that they can be run on a variety of computer
systems with minimal changes.  Currently, the CDHS system has been installed
on IBM 370, UNIVAC 1100, CDC CYBER, Honeywell  6000, AMDAHL, and ITEL series
computers.
     Structured programming techniques have been used in writing the programs;
i.e., the programs are designed using a  'top-down1 technique with control
remaining in a short mainline module.  The program tasks are accomplished by
self-contained modules performed from the mainline.  As a result of this
top-down design, the programs are self-documenting.  These structured
techniques are not in themselves of interest to the user, but they do allow
for easier maintenance of the programs when modifications or troubleshooting
support are needed.
                                     34

-------
EIS/AS
OVERVIEW OF EIS/AS
SECTION 2.2
PROGRAM STRUCTURE
Page 2
Release Date: 2/01/80
Update #:  A-l	
     Several programs contain COBOL sorts which have been developed so that
the user does not have to code system sort procedures or provide control
cards.  The COBOL sort is an ANS structure and should work on most computers;
however, the actual  collating sequence used is determined by the default  value
of the hardware.  As an example, EBCDIC sequence (used on IBM) sorts
alphabetic characters before numeric ones, while ASCII sequence (variations
used by Honeywell, UNIVAC, and CDC) sorts numeric before alphabetic
characters.
                                     35

-------
EIS/AS
OVERVIEW OF EIS/AS
SECTION 2.3
SYSTEM CHARTS
Page 1
Release Date: 2/01/80
Update #:  A-l
2.3  SYSTEM CHARTS

     A system-level flowchart of EIS/AS is shown in Figure 2.3-a.  This
flowchart depicts the relationships of the major processing functions of
EIS/AS.  Included in the flowchart are references to sections of this
document that contain detailed information on each processing function.  More
detailed flowcharts of each function are presented in the referenced sections.
                                     36

-------
EIS/AS

OVERVIEW OF  EIS/AS
SECTION 2.3

SYSTEM CHARTS
Page 2

Release Date:  2/01/80

Update #: A-l
                                                                                 OsJ



                                                                                 o
                                                                                 en
                                                                                 13
                                                                                  o

                                                                                  o
                                                                                  E
                                                                                  a)
                                                                                  CO



                                                                                  oo
                                                                                  1—4

                                                                                  LU
                                                                                   I
                                                                                  oo
                                                                                  OsJ
                                                                                  
-------
 EIS/AS

OVERVIEW OF EIS/AS
SECTION 2.3
Page  3

Release Date:  2/01/80

Update  #: A-l
                                               CO
                c:
                o
                o
                OJ
                oo
                                                ro
                                                 •
                                                LO
                                                c
                                                O
                                                
                                                                         ai
                                                                         (T3
                                                                         Q.
                                                                              rt3
                                                                              ^:
                                                                              o
                                                                              CD
                                                                              OO
                                                                              <

                                                                              oo
                                                                              -a
                                                                              
-------
EIS/AS
ECONOMICS
SECTION 3.1
ECONOMY MEASURES
Page 1
Release Date: 2/01/80
Update #:   A-l
3.0  ECONOMICS

3.1  ECONOMY MEASURES

     Several steps can be taken to reduce the cost of using the EIS/AS system,
such as keeping the size of the files as small as possible, printing files
only when necessary, storing frequently used retrievals, and updating files
only when a substantial number of transactions are available.

     Since the cost of running any program is directly related to the size of
the files processed by that program, the user's files should be as small as
possible.  Note that the file maintenance program only flags master file
records for deletion; that is, deleted records physically remain in the file
and must be processed by every program reading that file.  The annual report
program, CRPASNA (EC0120), physically removes records which are flagged for
deletion from the master file when it creates the NEDS or EIS/AS transactions
from that file.  The size of the input master file which is processed by a
report program can be reduced without actually reducing the size of the master
file by running the retrieval package prior to generating the report; thus,
only the desired data is printed.  See Section 5.2 for information on
retrievals.

     The size of the emission factor file can be controlled by assuring that
it contains only information actually in use; i.e., that it precisely reflects
the master file data.

     Several programs have a LIST option.  This option allows for complete
files to be printed, usually confirmation listings of the input and output
files.  Since printing the files does add to the cost of running these
programs, the LIST option should only be used when a listing or audit trail is
                                     39

-------
EIS/AS
ECONOMICS
SECTION 3.1
ECONOMY MEASURES
Page 2
Release Date: 2/01/80
llprifltp #:—kJ	
required; otherwise, the NOLIST option should be used.   Some programs,
especially those that edit transactions,  also contain a FLAGW option which
causes all warning messages to be printed.   Using the NOFLAGW option (and thus
suppressing the warning messages) will reduce the cost of running these
programs.

     Another cause of unnecessary cost is running the entire retrieval process
using identical retrieval specifications to retrieve the same data from
different files.  If it is known that a set of retrieval specifications will
be executed multiple times, the load module created in the first execution
should be stored.  This allows the retrieval language processor to be bypassed
and only the retrieval itself to be executed.  The cataloged procedures
ECRTM10 (see Section 5.2.2.5) and ECRTM20 (Section 5.2.3.5) are provided to
facilitate the creation and re-execution of retrievals.

     Another form of unnecessarily repeated program execution is updating the
master file each time transactions are edited.  Since a large part of the cost
of updating a file is the actual processing of the file (i.e., reading,
searching, and writing), as many transactions as possible should be entered
in one update run.  This can be accomplished by editing the various batches of
transactions as they are coded, saving the resulting internal transactions,
and concatenating them for one execution of file maintenance.  The cataloged
procedures ECEDT10 (see Section 4.3.3.5) and ECFMM10 (see Section 4.3.6.5)
provide the means of doing this.

     Additional cost considerations are included in the discussions of the
individual EIS/AS programs.  These considerations include the cost of a
sample run of the program and, where applicable, information on how to reduce
the cost.
                                     40

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.1
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #:  A-l	
4.0  FILE CREATION AND MAINTENANCE

4.1  INTRODUCTION

     The EIS/AS master file contains the user's area source emissions data.
EIS/AS allows the user to create and maintain a master file containing area  source
data and to extract data from the master file for reports,  including the EPA
annual report.

     An emission factor file is used to insert emission factor information into
master file transactions and to generate master file transactions when updates to
emission factor information is needed.

     Both of the files in EIS/AS are sequential files (i.e., the file records are
read sequentially from beginning to end).  The emission factor file contains
fixed-length records; the master file contains variable-length records.
                                       41

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2
EMISSION FACTOR FILE
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
4.2.  EMISSION FACTOR FILE

4.2.1.  INTRODUCTION

     Two programs must be executed to create or update the emission factor
file.  The emission factor file transaction sort program, CSREFTR (EC0010), is
executed first, followed by the emission factor file edit-maintenance program,
CEMEFAC (EC0020).  See Figure 4.2.1-a for a flowchart of the emission factor
file maintenance program.

     CSREFTR (EC0010) sorts the EIS/AS emission factor transactions and passes
them to CEMEFAC (EC0020).  CEMEFAC (EC0020) edits the sorted transactions and
uses those transactions that pass the edit criteria to create or update the
emission factor file.  No old emission factor file is input to CEMEFAC (EC0020)
when the initial file is being created; however, when an existing file is being
updated, that file is input to CEMEFAC (EC0020).

     Refer to Sections 4.2.2 and 4.2.3 for detailed discussions of CSREFTR
(EC0010) and CEMEFAC (EC0020), respectively.
                                     42

-------
  E IS/AS
  FILE  CREATION  AND
  MAINTENANCE
         SECTION 4.2
         EMISSION FACTOR FILE
         INTRODUCTION
                       Page 2
                       Release Date:  2/01/80
                       Update  #:  A-l
    OPTION CARD
 /OLD EMISSION
(   FACTOR FILE
V   (Optional)
 /NEW EMISSION
 I   FACTOR FILE
                                 EMISSION  FACTOR
                               \FILE  TRANSACTIONS
                                 CSREFTR  (EC0010)
                                 EMISSION  FACTOR
                                 FILE  TRANSACTION
                                   SORT PROGRAM
                                       SORT WORK FIL
                                        (Temporary)
         /SORTED EMISSION FACTOR
         (    FILE TRANSACTIONS
         V    (Temporary)
                                                                DIAGNOSTIC
                                                                  REPORT
            CEMEFAC (EC0020)
           EMISSION FACTOR FILE
             EDIT-MAINTENANCE
                PROGRAM
DIAGNOSTIC
  REPORT
OLD EMISSION
FACTOR FILE
  LISTING
 (Optional)
NEW EMISSION
FACTOR FILE
  LISTING
 (Optional)
TRANSACTION
FILE LISTING
 (Optional)
          Figure 4.2.1-a.   Emission Factor File Edit-Maintenance  Flowchart
                                         43

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.2
TRANSACTION SORT PROGRAM
CSREFTR (EC0010)	
Page 1
Release Date: 2/01/80
Update #:  A-l	
4.2.2  EMISSION FACTOR FILE TRANSACTION SORT PROGRAM - CSREFTR (EC0010)

4.2.2.1  Description

     CSREFTR (EC0010) sorts emission factor file transactions into the
sequence required by the emission factor file edit-maintenance program,
CEMEFAC (EC0020); Figure 4.2.2-a details this sort order.  All emission factor
file transactions must be sorted by CSREFTR (EC0010) before they can be used
to update (or create) the emission factor file.   See Section 4.2.3 for
additional information on the emission factor file transactions.

4.2.2.2  File Formats

     Input to CSREFTR (EC0010) consists solely of the emission factor file
transactions.  See Figure 4.2.3-b for the emission factor file transaction
formats.

     CSREFTR (EC0010) produces two output files:  a file containing the sorted
emission factor file transactions and a diagnostic report.  The output
transactions are in the same sequence as the emission factor file and can be
used as input to the emission factor file edit-maintenance program, CEMEFAC
(EC0020).  An example of the diagnostic report is shown in Figure 4.2.2-b.
CSREFTR (EC0010) generates a header record on the output sorted transaction
file, so it is expected that the output file has one more record than the
input file.

4.2.2.3  Options

     There are no options.

4.2.2.4  Error Messages

     There are no error messages.

                                     44

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.2
TRANSACTION SORT PROGRAM
CSREFTR (ECQ01Q)	
Page 2
Release Date: 2/01/80
Update *:  A-l	
4.2.2.5  Cataloged JCL

     CSREFTR (EC0010) should always be executed in conjunction with the
emission factor file edit-maintenance program, CEMEFAC (EC0020).   See Section
4.2.3.5 for a discussion of the cataloged procedure ECEME10, which executes
both programs.

4.2.2.6  Warnings and Special Instructions

     Note that  the COBOL sort verb is used in this program; therefore, the
collating sequence for alphanumeric fields is determined by the computer at
the user's particular installation.

     In addition to the diagnostic report produced by CSREFTR (EC0010),
messages generated by the sort-merge package will  be printed.  The format and
content, as well as the physical location, of these messages depend upon the
user's particular installation.

4.2.2.7  Cost Considerations

     The following estimates are for the execution of CSREFTR (EC0010) on an
IBM 370/168:

     Number of  sorted emission factor file transactions:        917 records
     CPU time:                                                  2.71 seconds
     I/O time:                                                 25.49 seconds
     Total time:                                              28.20 seconds

     Estimated  cost:                                          $7.90
                                     45

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.2
TRANSACTION SORT PROGRAM
CSREFTR (EC0010)
Page 3
Release Date: 2/01/80
Update #:  A-l
4.2.2.8  Related Programs and Procedures

     CSREFTR (EC0010) should always be executed in conjunction with the
emission factor file edit-maintenance program, CEMEFAC (EC0020).  The
cataloged procedure ECEME10 will execute both programs.
                                     46

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
     SECTION 4.2.2
     TRANSACTION SORT PROGRAM
     CSREFTR (EC0010)	
Page 4
Release Date: 2/01/80
Update 1:   A-1	
Record Position
1
3
7
12
15


19


24
- 2
- 6
- 11
- 14
- 16
17
18
- 23
80
79
- 28
Description

State Code
County Code
Geographic Suballocation Number
Category Number
Category Disaggregate Number
Emission Factor Origin
Source Type
Pollutant ID
Action Code
Card Type
Emission Factor Date
 Sort Sequence

   Ascending
   Ascending
   Ascending
   Ascending
   Ascending
   Ascending
   Ascending
   Ascending
       *
   Ascending
   Ascending
  Sort sequence is D (delete), A (add), C (change).
     Figure 4.2.2-a.   Sort Sequence for Emission Factor File Transactions
                                    47

-------
EIS/AS

FILE CREATION AND

MAINTENANCE
SECTION 4.2.2

TRANSACTION SORT PROGRAM

CSREFTR (EC0010)   	
Page 5

Release Date: 2/01/80

Uodate #:  A-l
                                                                               O
                                                                               Q.
                                                                               OJ
                                                                               (J
                                                                               •r—
                                                                               a>
                     r o

                     a: i:
                     0. U.
                     T I


                     5 2
                                     48

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 1
Release Date: 2/01/80
Update #:  A-l
4.2.3  EMISSION FACTOR FILE EDIT-MAINTENANCE PROGRAM - CEMEFAC (EC0020)

4.2.3.1  Description

     The emission factor file edit-maintenance program creates and updates the
EIS/AS emission factor file by processing EIS/AS emission factor file
transactions.  Each transaction is edited before being processed, and if any
serious errors are detected, the transaction is rejected.

     The transactions must be sorted into emission factor file sequence by the
emission factor file transaction sort program, CSREFTR (EC0010), before they
are input to CEMEFAC (EC0020).  CSREFTR (EC0010) generates a header record for
the transaction file.  This header record appears as the first transaction but
has no action code or card number.  Valid action codes for the transactions
are 'A1 (add), 'C' (change), and  'D' (delete).  Valid card numbers for the
transactions are  T  (category-1), '2'  (category-2), and '3'  (pollutant).

     The EIS/AS emission factor file consists of two types of records:
category records and pollutant records.  Pollutant records are subordinate to
category records and, therefore, cannot exist in the emission factor file
without corresponding category records.  The file also contains a header
record as the first record in the file.  This record contains the control
date, the previous control date, and the generation number of the file.  The
control date is the date of the most current update run, the previous control
date is the date of the previous update run, and the generation number
indicates the number of times the file has been updated.  The generation
number is set at  'I1  when the file is created and is increased by one during
each update run.   Also during each update run, the previous control  date is
replaced by the control date and the control date is replaced by the control
date from the option card.
                                     49

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 2
Release Date: 2/01/80
Update #:  A-l
     A category record can be added to the emission factor file by processing
a category-1 (type 1) add transaction or by processing both category-1 and a
category-2 (type 2) add transaction for the desired category.   Note that a
category-2 add transaction is not valid unless it is preceded  by a category-1
add transaction with the same key information.

     An existing category record can be changed by processing  a category-1
change transaction and/or a category-2 change transaction.

     An existing category record can be deleted from the emission factor
file by processing a category-1 delete transaction.  A category-2 delete
transaction is not valid; all of the fields in the category record are deleted
by the category-1 delete transaction.  Also, a category-1 delete transaction
deletes all of the pollutant records associated with the category record.

     A pollutant record can be added to the emission factor file by processing
a pollutant (type 3) add transaction; however, the corresponding category
record must exist in the emission factor file.  If it doesn't, it must be
added prior to adding the pollutant record.  This can be accomplished in the
same run since the emission factor file transaction sort program, CSREFTR
(EC0010), sorts the transactions so that pollutant transactions follow their
associated category transactions.

     An existing pollutant record can be changed by processing a pollutant
change transaction.

     An existing pollutant record can be deleted from the emission factor
file by processing a pollutant delete transaction.  Each pollutant delete
transaction deletes a single pollutant record from the emission factor file.
                                     50

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 3
Release Date: 2/01/80
Update #:  A-l
4.2.3.2  File Formats

     Input to this program consists of the current  EIS/AS  emission  factor
file, sorted EIS/AS emission factor file transactions,  and an  option  card.
However, if the emission factor file is being created,  there will be  no  input
emission factor file.  See Figure 4.2.3-a for a description of the  emission
factor file format, Figure 4.2.3-b for a description of the emission  factor
file transaction formats, Figure 4.2.3-c for a description of  the transaction
fields, and Section 4.2.3.3 for a discussion of the options.   Note  that  the
master file fields definitions are the same as those of the corresponding
transaction fields.

     Output consists of a new or updated EIS/AS emission factor file  and a
diagnostic report; and optional listings of the input EIS/AS emission factor
file, the output EIS/AS emission factor file, and the EIS/AS emission factor
file transactions.  See Figure 4.2.3-d for a sample diagnostic report, Figure
4.2.3-e for a sample listing of the input EIS/AS emission  factor file, Figure
4.2.3-f for a smaple listing of the output EIS/AS emission factor file,  and
Figure 4.2.3-g for a sample listing of the emission factor file transactions.

4.2.3.3  Options and Control Cards

     There are three option fields on the option card.   The first option field
occurs in columns 1 through 5 and contains the control  date in the  Julian form
YYDDD, where YY is the year and ODD is the day of the year.  This date will
replace the control date in the emission factor file header record  and,
therefore, it should be the current date of the run.   If this  field is blank
or not numeric, program execution will be terminated.
                                     51

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 4
Release Date: 2/01/80
Update #:  A-l
     The second option field occurs in columns 7 through  11.   The  option  word
'FLAGW1 must be entered in this field for warning messages  to  be printed  in
the diagnostic report.  If this field is blank, or if it  is specified
incorrectly, a default of no FLAGW is assumed, and no warning  messages  will  be
printed.

     The third option field occurs in columns 13 through  16.   The  option  word
'LIST1 must be entered in this field for the listings of  the input emission
factor file, the output emission factor file, and the emission factor file
transactions to be produced.  If this field is blank, or  if it is  specified
incorrectly, a default of no LIST will be assumed, and no files will  be
1isted.

     See Figure 4.2.3-h for a description of the option card format.

4.2.3.4  Error Messages

CEMEFAC 001 ABORT - NO DATE OPTION CARD SUBMITTED
     Meaning:  No option card is present in the runstream;  therefore, the run
               was terminated.
      Action:  Insert an option card in the runstream and resubmit the job.
               Insure that the option card specifies a control date.

CEMEFAC 002 ABORT - OPTION CARD DATE INVALID
     Meaning:  Either the control date on the option card is not  numeric, or
               the day is not valid; therefore, the run was terminated.
      Action:  Correct the error and resubmit the job.

CEMEFAC 003 CONDITIONAL - FLAGW OPTION INVALID, USED DEFAULT OF NOFLAGW
     Meaning:  The FLAGW option is specified incorrectly.
      Action:  If the warning messages should be printed, correct  the error
               and resubmit the job.
                                     52

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 5
Release Date: 2/01/80
Update #:  A-l
CEMEFAC 004 CONDITIONAL - LIST OPTION INVALID, USED DEFAULT OF NOLIST
     Meaning:  The LIST option is specified incorrectly.
      Action:  If listings of the input, output, and transaction files are
               required, correct the error and resubmit the job.

CEMEFAC 005 ERROR - COLUMN 1, STATE INVALID - CARD REJECTED
     Meaning:  The state code is invalid.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 006 ABORT - INPUT EIS/AS EMF FILE OUT OF SEQUENCE - SEE RECORDS ABOVE
     Meaning:  The input EIS/AS emission factor file is not in the proper
               sequence; therefore, program execution was terminated.
      Action:  Insure that the appropriate file is being  used; if necessary,
               sort the file.  Resubmit the job.

CEMEFAC 007 ABORT - TRANSACTION FILE OUT OF SEQUENCE - SEE CARDS ABOVE
     Meaning:  The EIS/AS emission factor file transactions are not in the
               proper sequence; therefore, program execution was terminated.
      Action:  Sort the transactions into emission factor file sequence and
               resubmit the job.

CEMEFAC 008 ERROR - COLUMN 3, COUNTY NOT NUMERIC - CARD REJECTED
     Meaning:  The county code is invalid.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 009 ABORT - EIS/AS EMF FILE DATE GREATER THAN OPTION CARD DATE
     Meaning:  The control date on the emission factor file header record is
               not less than or equal  to the control date on the option card;
               therefore, the run was terminated.
      Action:  Insure that the proper emission factor file is being used.
               Replace the option card date with the appropriate date and
               resubmit the job.
                                     53

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 6
Release Date: 2/01/80
Update #:  A-l
CEMEFAC 010 ERROR - COLUMN 7, SUBALLOCATION NOT NUMERIC - CARD REJECTED
     Meaning:  The suballocation code is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC Oil ERROR - COLUMN 12, CATEGORY NOT NUMERIC -  CARD REJECTED
     Meaning:  The category code is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 012 ERROR - COLUMN 24, EIS/AS DATE INVALID - CARD REJECTED
     Meaning:  The transaction date is not valid.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 013 ERROR - COLUMN 29, EMISSION FACTOR NOT NUMERIC - CARD REJECTED
     Meaning:  The emission factor is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 014 ERROR - COLUMN 38, ASH CONTENT NOT NUMERIC - CARD REJECTED
     Meaning:  The ash content is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 015 ERROR - COLUMN 35, SULFUR CONTENT NOT NUMERIC - CARD REJECTED
     Meaning:  The sulfur content is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 016 ERROR - COLUMN 32, NITROGEN CONTENT NOT NUMERIC - CARD REJECTED
     Meaning:  The nitrogen content is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 017 ERROR - COLUMN 79, CARD TYPE INVALID - CARD REJECTED
     Meaning:  The card type  is not 'I1, '2', or  '3'.
      Action:  Correct the error and resubmit the transaction.
                                     54

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 7
Release Date: 2/01/80
Update #:  A-l
CEMEFAC 018 ERROR - COLUMN 80, ACTION CODE INVALID - CARD REJECTED
     Meaning:  The action code is not 'A', 'C', or 'D'.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 019 ERROR - COLUMN 19, POLLUTANT ID NOT NUMERIC - CARD  REJECTED
     Meaning:  The pollutant identification code is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 020 ERROR - ADD SPECIFIED FOR EXISTING EIS/AS EMF RECORD  - CARD
            REJECTED
     Meaning:  The key of an 'add' transaction matches the key  of an existing
               EIS/AS emission factor file record.
      Action:  Insure that the proper key has been coded on the transaction
               and that the appropriate emission factor file is being used.
               Correct any errors and resubmit the transaction.

CEMEFAC 021 ERROR - CHANGE SPECIFIED FOR NONEXISTENT EIS/AS RECORD - CARD
            REJECTED
     Meaning:  A match for the key of a 'change1 transaction could not be
               found in the EIS/AS emission factor file.
      Action:  Insure that the proper key has been coded on the transaction
               and that the appropriate emission factor file is being used.
               Correct any errors and resubmit the transaction.

CEMEFAC 022 ERROR - DELETE SPECIFIED FOR NONEXISTENT EIS/AS EMF RECORD - CARD
            REJECTED
     Meaning:  A match for the key of a 'delete' transaction could not be
               found in the EIS/AS emission factor file.
      Action:  Insure that the proper key has been coded on the transaction
               and that the appropriate emission factor file is being used.
               Correct any errors and resubmit the transaction.
                                     55

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 8
Release Date: 2/01/80
Update #:  A-l
CEMEFAC 023 ERROR - COLUMN 15, DISAGGREGATION NOT NUMERIC - CARD REJECTED
     Meaning:  The disaggregation code is not numeric.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 024 ERROR - COLUMN 17, EF ORIGIN INVALID - CARD REJECTED
     Meaning:  The emission factor origin code is not 'F1, 'S1,  'L',  or blank.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 025 ERROR - ASH FLAG MUST BE A TO HAVE ASH CONTENT PRESENT -  CARD
            REJECTED
     Meaning:  The ash content field is not blank, and  the ash  flag field does
               not contain an 'A'.
      Action:  Correct the appropriate field and resubmit the transaction.

CEMEFAC 026 ERROR - SULFUR FLAG MUST BE S TO HAVE SULFUR CONTENT - CARD
            REJECTED
     Meaning:  The sulfur content field is not blank, and the sulfur flag
               field does not contain an 'S'.
      Action:  Correct the appropriate field and resubmit the transaction.

CEMEFAC 027 ERROR - NITROGEN FLAG MUST BE N TO HAVE NITROGEN CONTENT - CARD
            REJECTED
     Meaning:  The nitrogen content field is not blank, and the nitrogen flag
               field does not contain an 'N'.
      Action:  Correct the appropriate field and resubmit the transaction.

CEMEFAC 028 DISASTER -NO HEADER FOR EIS/AS EMF FILE
     Meaning:  The input EIS/AS emission factor file does not contain a header
               record.  Since this record is necessary to store control data,
               program execution was terminated.
                                     56

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 9
Release Date: 2/01/80
Update #:  A-l
      Action:  Insure that the proper emission factor file is being used.   If
               the proper file is not being used, correct the error and
               resubmit the job.   If the proper file is being used, call  NADB.

CEMEFAC 029 ERROR - DUPLICATE ADD TRANSACTION - CARD REJECTED
     Meaning:  The key of an 'add' transaction matches the key of a previous
               'add1 transaction.  The duplicate transaction was not
               processed.
      Action:  Insure that the proper key was coded on the rejected
               transaction.  If it is not the proper key, correct the error
               and resubmit the transaction.

CEMEFAC 030 ABORT - NO HEADER RECORD FOR TRANSACTION FILE
     Meaning:  The transaction file does not contain a header record;
               therefore, program execution was terminated.
      Action:  Manually insert a header record for the transaction file (see
               Figure 4.2.3-b), or sort the transactions, using CSREFTR
               (EC0010), to create a header record.  Resubmit the job.

CEMEFAC 031 ERROR - COLUMN 18, INVALID EF SOURCE TYPE - CARD REJECTED
     Meaning:  The emission factor source type field is not blank, numeric, or
               alphabetic.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 032 ERROR - COLUMN 39, EF CONFIDENCE LEVEL INVALID - CARD REJECTED
     Meaning:  The emission factor confidence level field is not blank  or
               numeric.
      Action:  Correct the error and resubmit the transaction.
                                     57

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 10
Release Date: 2/01/80
Update #:  A-l
CEMEFAC 033 ERROR - ADD OF POLLUTANT SPECIFIED FOR NONEXISTENT CATEGORY - CARD
            REJECTED
     Meaning:  A match for the key of a type-3 'add'  transaction was not found
               in the EIS/AS emission factor file.
      Action:  Insure that the proper key has been coded on the transaction
               and that the proper emission factor file is being used.
               Correct any errors and resubmit the transaction.

CEMEFAC 034 ERROR - ACTION CODE INCOMPATIBLE WITH CARD TYPE - CARD REJECTED
     Meaning:  An action code of 'D1  for a type-2 transaction is riot allowed.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 035 ERROR - TYPE-2 ADD SPECIFIED FOR NONEXISTENT CATEGORY - CARD
            REJECTED
     Meaning:  A match for the key of a type-2 'add'  transaction was not found
               in the EIS/AS emission factor file.
      Action:  Correct the error and resubmit the transaction.

CEMEFAC 036 DISASTER - EMF OUTPUT FILE OUT OF SEQUENCE - SEE CARDS ABOVE
     Meaning:  The output emission factor file is not in the proper file
               sequence, indicating an error in the program logic; therefore,
               the run was terminated.
      Action:  Call NADB.

CEMEFAC 037 ERROR - COLUMN 17, EF ORIGIN MUST BE F FOR NEDS CATEGORY -  CARD
            REJECTED
     Meaning:  NEDS categories must have federal  origin.
      Action:  Correct the error and resubmit the transaction.

4.2.3.5  Cataloged JCL - ECEME10
                                     58

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
         SECTION 4.2.3
         EMISSION FACTOR FILE
         MAINT CEMEFAC (EC0020)
  Page 11
  Release Date: 2/01/80
  Update #:   A-l
4.2.3.5.1  JCL listing - CEMEFAC (EC0020) is executed by the cataloged
           procedure ECEME10.   The procedure also executes the emission factor
           file transaction sort program, CSREFTR (EC0010).   See Figure
           4.2.3-i for a listing of this procedure.

4.2.3.5.2  Cross-reference of DP names and files

     Program Name:  CSREFTR (EC0010)
     DP Name

     ECSINPT
     ECSOUTP
     ECSDIAG
  File Description

Unsorted transactions
Sorted transactions
Diagnostic report
     Program Name:  CEMEFAC (EC0020)
     DP Name

     ECSINPT

     ECSOLEF

     ECSOPTN
     ECSNWEF

     ECSDIAG
     ECSTRNL
     ECSOLDL

     ECSNEWL
  File Description

EIS/AS emission factor file
transactions
Current EIS/AS emission factor
file
Option card
Updated EIS/AS emission factor
file
Diagnostic report
Transactions listing
Input emission factor file
1isting
Output emission factor file
1isting
Input/Output

    Input
    Output
    Output
Input/Output

    Input

    Input

    Input
    Output

    Output
    Output
    Output

    Output
                                     59

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 12
Release Date: 2/01/80
Update #:  A-l
4.2.3.5.3  User-supplied JCL - To execute the cataloged procedure ECEME10,
           the user must supply a job card,  an option card,  the transactions,
           and data set names of the input and output emission factor files.
           See Figure 4.2.3-j for a list of  the procedure's  substitutable
           parameters.

4.2.3.5.4  Sample run stream - The following run stream illustrates a file
           creation run; therefore, no input emission factor file is
           specified.  The output emission factor file is 'CN.EPALMH.A087.CDHS.
           HQ.AREA.DATA.ECNEWEMF.  The transaction file is input from cards.
           The FLAGW and LIST options are specified.

           //    EXEC ECEME10
           //SORT.INPUT DD*
           Transactions
           /*
           //UPDATE.ECSOLEF DD DUMMY
           //UPDATE.OPTIONS DD *
           79182 FLAGW LSIT
           /*

                The run stream below illustrates a file update run.  The input
           emission factor file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECNEWEMF1.
           The output emission factor file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
           ECEMF001'.  The transaction file is 'CN.EPALMH.A087.CDHS.HQ.AREA.
           DATA.EFTRAN11.  The default options, no FLAGW and no LIST, are
           assumed.

           //  EXEC ECEME10,
           //       OLDEMFC=ECNEWEMF,
                                      60

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 13
Release Date: 2/01/80
Update #:  A-l
           //     NEWEMFC=ECEMF001
           //SORT.INPUT DD *
           Transactions
           /*
           //UPDATE.OPTIONS DD *
           79185
           /*

4.2.3.6  Warnings and Special  Instructions

     The input emission factor file transactions must be sorted  into  EIS/AS
emission factor file sequence by CSREFTR (EC0010),  or program execution  will  be
terminated.

4.2.3.7  Cost Considerations

     The estimates  listed below are for the execution of CEMEFAC (EC0020)  on  an
IBM 370/168:

     Old EIS/AS emission factor file records:                      0 records
     EIS/AS emission factor file transactions:                   918 transactions
     Updated EIS/AS emission factor file records:                680 records
     CPU time:                                                2.58 seconds
     I/O time:                                                25.29 seconds
     Total  time:                                              27.87 seconds

     Estimated cost:                                          $7.80
                                      61

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 14
Release Date: 2/01/80
Update #:  A-l
4.2.3.8  Related Programs and Procedures

     The cataloged procedure ECEME10 executes the emission factor file
transaction sort program, CSREFTR (EC0010), prior to executing the emission
factor file edit-maintenance program, CEMEFAC (EC0020).
                                      62

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                     SECTION 4.2.3
                     EMISSION FACTOR FILE
                     MAINT CEMEFAC (EC0020)
                   Page 15
                   Release Date: 2/01/80
                   Update #:  A-l
                                 Header Record
Record Position
                          Field Length
                   Description
    1
    7
   11
   29
   34

   39
   44
 6
10
28
33
38

43
90
 6
 4
18
 5
 5

 5
47
All Zeros
Low Values
All Zeros
Control  Date (YYDDD)
Previous Control Date
(YYDDD)
Generation Number
Filler
                                                         (Page 1 of 3)
                  Figure  4.2.3-a.   Emission  Factor  File  Format
                                      63

-------
EIS/AS SECTION 4.2.:
FILE CREATION AND EMISSION FAC1
MAINTENANCE MAINT CEMEFAC
J Page 16
FOR FILE Release Date: 2/01/80
; (EC0020) Update #: A-l
Category Record
Record Position Field Length Description
1-2 2
3-6 4
7-10 4
11-15 5
16-18 3
19-20 2
21 1
22-28 7
29-33 5
34 1
35 1
36 1
37-39 3
40-42 3
43-45 3
46 - 65 20
66 - 90 25
State
County
Filler
Subal location
Category
Disaggregation
Record Type
Filler
Category Date (YYDDD)
Nitrogen Flag
Sulfur Flag
Ash Flag
Nitrogen Content
Sulfur Content
Ash Content
County Name
Category Description
                                             (Page  2  of  3)
Figure 4.2.3-a - continued.   Emission  Factor File Format
                          64

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 17
Release Date: 2/01/80
Update #:  A-l
                                Pollutant Record
Record Position
1
3
7
11
16
19
21
22
23
24
29
34
44
45
60
70
- 2
- 6
- 10
- 15
- 18
- 20



- 28
- 33
- 43

- 59
- 69
- 90
     Field Length

          2
          4
          4
          5
          3
          2
          1
          1
          1

          5
          5

         10
          1
         15
         10
         21
Description

State
County
Filler
Subal location
Category
Disaggregation
Record Type
Emission Factor Origin
Emission Factor Source
Type
Pollutant ID
Emission Factor Date
(YYDDD)
Emission Factor
Confidence Level
Pollutant Name
Pollutant Specific Data
Filler
                                                         (Page 3 of 3)
            Figure 4.2.3-a  -  continued.   Emission  Factor File  Format
                                      65

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 18
Release Date: 2/01/80
Update jji:  A-l
Record Position

    1 - 23
   24 - 80
    Header Record

     Field Length

          23
          57
Description

All Zeros
Filler
                                                         (Page 1  of 4)
            Figure 4.2.3-b.   Emission Factor File Transaction  Format
                                      66

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
                               Type 1  Transaction
Page 19
Release Date: 2/01/80
Update #:  A-l
Record Position
     Field Length
Description
    1 -  2
    3 -  6
    7 - 11
   12 - 14
   15 - 16
   17 - 23
   24 - 25
   26 - 28
        29
        30
        31
   32 - 34
   35 - 37
   38 - 40
   41 - 65
   66 - 78
        79
        80
          2
          4
          5
          3
          2
          7
          2
          3
          1
          1
          1
          3
          3
          3
         25
         13
          1
          1
State
County
Suballocation
Category
Disaggregation
Filler
Year
Day
Nitrogen Flag
Sulfur Flag
Ash Flag
Nitrogen Content
Sulfur Content
Ash Content
Category Description
Filler
Card Number (1)
Action Code
                                                         (Page 2 of 4)
      Figure 4.2.3-b  -  continued.   Emission Factor File Transaction Format
                                     67

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                     SECTION  4.2.3
                     EMISSION FACTOR  FILE
                     MAINT CEMEFAC  (EC0020)
                   Page 20
                   Release  Date:  2/01/80
                   Update #:   A-l
                               Type 2  Transaction
Record Position
                          Field Length
                   Description
    1
    3
    7
   12
   15
   17
   24
   26
   29
   49
 2
 6
11
14
16
23
25
28
48
78
79
80
 2
 4
 5
 3
 2
 7
 2
 3
20
30
 1
 1
State
County
Suballocation
Category
Disaggregation
Filler
Year
Day
County Name
Filler
Card Number (2)
Action Code
                                                         (Page  3  of 4)
      Figure 4.2.3-b - continued.   Emission Factor File Transaction Format
                                      68

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 21
Release Date: 2/01/80
Update #:  A-l
                               Type 3 Transaction
Record Position
     Field Length
Description
    1 -  2
    3 -  6
    7 - 11
   12 - 14
   15 - 16
        17
        18
   19 - 23
   24 - 25
   26 - 28
   29 - 38
        39
   40 - 54
   55 - 64
   65 - 78
        79
        80
          2
          4
          5
          3
          2
          1
          1
          5
          2
          3
         10
          1
         15
         10
         14
          1
          1
State
County
Suballocation
Category
Disaggregation
Emission Factor Origin
Emission Factor Source
Pollutant ID
Year
Day
Emission Factor
Confidence Level
Pollutant Name
Pollutant Specific Data
Filler
Card Number (3)
Action Code
                                                         (Page  4  of  4)
      Figure 4.2.3-b - continued.   Emission Factor File Transaction  Format
                                      69

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 22
Release Date: 2/01/80
Update #:  A-l
Action Code:  Indicates whether the transaction is an add,  change,  or delete.
     Card Number:  All Transactions
     Valid Codes:  A - Add
                   C - Change
                   D - Delete
    Field Length:  1 character

Ash Content:  Indicates the ash content, as weight percentage,  for combustion
         processes.
     Card Number:  1
     Valid Codes:  Field must be numeric
    Field Length:  3 characters with 1 decimal  position assumed

Ash Flag:  Indicates whether or not an ash content is to be used in the
         calculation of an estimated emission.
     Card Number:  1
     Valid Codes:  A - Ash content used
                   blank - Ash content not used
    Field Length:  1 character

Card Number:  Indicates the card number of the  transaction.
     Card Number:  All transactions
     Valid Codes:  1,2,3
    Field Length:  1 character

Category:  Identifies the category number associated with the emission factor.
                                                         (Page 1 of 6)
      Figure 4.2.3-c.  Emission Factor File Transaction Field Definitions
                                      70

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 23
Release Date: 2/01/80
Update #:   A-l
     Card Number:  All transactions
     Valid Codes:  Field must be numeric.  Categories 001-064 correspond to NEDS
                   categories; 065-998 are user-defined categories.
    Field Length:  2 characters

Category Description:  Gives a brief description of the category.
     Card Number:  1
    Field Length:  25 characters

Confidence Level:  Indicates a user-defined value assigned to show reliability
           of emission factor.
     Card Number:  3
     Valid Codes:  Field must be numeric
    Field Length:  1 character

County:  Identifies the county code associated with the emission factor.
     Card Number:  All transactions
     Valid Codes:  Refer to the AEROS Manual Series, Volume V:  AEROS Manual
                   of Codes, Section 2.2.0 for a complete list of county codes.
    Field Length:  4 characters

County Name:  Indicates the name of the county.
     Card Number:  2
    Field Length:  20 characters

Date:  indicates the date of the record in Julian format (YYDDD).
                                                         (Page 2 of 6)
Figure 4.2.3-c - continued.  Emission Factor File Transaction Field Definitions
                                      71

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.2.3
          EMISSION FACTOR FILE
          MAI NT CEMEFAC (EC0020)
Page 24
Release Date: 2/01/80
Update #:  A-l
     Card Number:
     Valid Codes:

    Field Length:
All transactions
Field must be numeric.  Day must be 000-366.   Year must
not be greater than the date entered on the control card.
5 characters
Disaggregation:  Indicates a user-defined code which allows refinement of each
         category.
     Card Number:  All transactions
     Valid Codes:  Field must be numeric.
    Field Length:  2 characters

Emission Factor:  Indicates a statistical average of the rate at which a
         pollutant is released into the atmosphere as a result of some activity.
     Card Number:  3
     Valid Codes:  Field must be numeric.  Refer to AEROS Manual Series, Volume
                   V: AEROS Manual  of Codes for further information.
    Field Length:  10 characters with 3 decimal positions assumed

Emission Factor Origin:  Indicates  the origin of the emission factor
     i nformation.
     Card Number:  3
     Valid Codes:  F - Federal
                   S - State
                   L - Local
                   Blank
    Field Length:  1 character
                                                         (Page 3 of 6)
Figure 4.2.3-c - continued.  Emission Factor File Transaction Field Definitions
                                      72

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 25
Release Date: 2/01/80
Update #:  A-l
Emission Factor Source:   Indicates a user-defined code to identify individual
         local emission  factors.   This code is used in conjunction with the
         emission factor origin to differentiate between local  emission factors.
     Card Number:  3
    Field Length:  1 character

Nitrogen Content:  Indicates a weight percentage amount of nitrogen for a
         combustion process.
     Card Number:  1
    Filed Length:  3 characters with 3 assumed decimal positions

Nitrogen Flag:  Indicates whether or not a nitrogen content is  to be used in
         the calculation of an estimated emission.
     Card Number:  1
     Valid Codes:  N - Nitrogen content used
                   blank - Nitrogen content not used
    Field Length:  1 character

Pollutant ID:  Identifies the specific pollutant whose emission factor
         information is  recorded.  SAROAD parameter codes are used.
     Card Number:  3
     Valid Codes:  The six codes  recognized by EIS/AS for the 5 criteria
                   pollutants and lead are:  11101 - suspended  particulates,
                   12128 - lead,  42401 - carbon monoxide, 42401 - sulfur
                   dioxide, 42602 - nitrogen dioxide, and 43101 - total
                   hydrocarbons.   Refer to AEROS Manual Series, Volume V:
                   AEROS Manual of Codes for a complete listing of SAROAD
                   parameter codes.
    Field Length:  5 characters

                                                         (Page  4 of 6)
Figure 4.2.3-c - continued.  Emission Factor File Transaction Field Definitions
                                      73

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 26
Release Date:  2/01/80
Update #:  A-l
Pollutant Name:  Indicates the name of the pollutant.
     Card Number:  3
    Field Length:  15 characters

Pollutant Specific Data:  Allows the user to include pollutant-related
         information.  This field will be inserted into the master file and
         may be printed in reports.
     Card Number:  3
    Field Length:  5 characters

State:  Identifies the state identification code.
     Card Number:  All transactions
     Valid Codes:  01-55.   Refer to AEROS Manual  Series, Volume V:  AEROS
                   Manual  of Codes, Section 2.1.0.
    Field Length:  2 characters

Suballocation:  Indicates  a user-defined code which allows each county
         to be subdivided  into smaller geographic areas.
     Card Number:  All transactions
     Valid Codes:  Field must be numeric
    Field Length:  5 characters

Sulfur Content:  Indicates a weight percentage amount of sulfur for a
         combustion process.
     Card Number:  1
     Valid Codes:  Field must be numeric
    Field Length:  3 characters with 1 decimal position assumed
                                                         (Page 5 of 6)
Figure 4.2.3-c - continued.  Emission Factor File Transaction Field Definitions
                                      74

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAI NT CEMEFAC (EC0020)
Page 27
Release Date: 2/01/80
Update #:   A-l
Sulfur Flag:  Indicates whether or not a sulfur content is to be used in the
         calculation of an estimated emission.
     Card Number:  1
     Valid Codes:  S - Sulfur content used
                   Blank - Sulfur content not used
    Field Length:  1 character
                                                         (Page  6  of  6)
Figure 4.2.3-c - continued.   Emission Factor File Transaction Field  Definitions
                                      75

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
SECTION  4.2.3
EMISSION FACTOR  FILE
MAINT  CEMEFAC  (EC0020)
Page 28
Release  Date: 2/01/80
Update #:   A-l
                                  i
                                  c
                                                       -3
                                                       a

                                                                                    s-
                                                                                    o
                                                                                    a.
                                                                                    cu
                                                                                    o:
                                                 c =  c c
                                                 X <  i. «
                                                                                    o
                                                    (O
                                                    5
                                             ^ i:  — i  ~ or
                   • a:  >. a  i 3:
                   oj  D ^.'  -~ ^J
                      C.   -
                                                                                   -a
                                                                                   CO
                                                                                   CVJ
                                                                                    a>
                                                                                    3
                                                                                    en
       l — "
       — I  C
        < -j
                                     ^ *
                                     c *
                                     ^ *
                                 — £ « •- 2 Z
                                 u  t-r s- r r
                                 < 00 2 < —< —«
                                 tn a ^- 
-------
EIS/AS

FILE CREATION AND

MAINTENANCE
                           SECTION  4,2.3

                           EMISSION FACTOR  FILE

                           MAINT CEMEFAC  (EC0020)
                                                              Page  29

                                                              Release Date:  2/01/80

                                                              Update #:   A-l
                                                                                               CD
                                                    _J
                                                        z c> o ,j    a ~ o u    2 c u^
               c. c — *-    cr*-1^-    CTN-N-.    cc*-c
                                             a. u **. 2 ^   a. z. u. .
w  C1   r- *: r^
                ~-s~   i   o<^  3  o O => C O
         c. c c c c- c c-
         cccccccco — —
         iOOOOOOCO^C;
         coccc-ccococ
                              'O— CC'OOOOOOOOCOOOOO-S — CSOOOCCO
                              .C-C-CC.CCCC-CCCCC cocceccc zc-cpcc
                              Dcc-coocc-cce.ococ.cciec'occoc-e caccc occ

         ceoeccccc cc cc-c c=c cccc^ccceocccc-cc-c c-cedcc oc cccc-oc

         CCC CCCOCCCCCCC CCCCCC.CCCCC CCCCCOCCCCCCCCC-TCC-CrC
                                                77

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                          SECTION 4.2.3
                          EMISSION  FACTOR FILE
                          MAINT CEMEFAC  (EC0020)
                                           Page  30
                                           Release  Date:  2/01/80
                                           Update #::   A-l
                                                                                                         S-
                                                                                                         o
                                                                                                         o
                                                                                                         fC
                                                                                                         c:
                                                                                                         o
                                                                                                         CO
                                                                                                         to
                                                                                                         UJ
                                      • .i  r   a — *   r   i — c   —  a — c
                                      . — cc i   < x »— y; a:   < x ** '-*! 3:   » •
               To-   _  uJCu.  _   u- !
                                                                                  C CT T   C.
                         • *5 ™   O i i '
                        •rccc-o  c.cc&c
                        c-ccc-c  cccoc
                        rCfxr\,(xix  — — — — —
                                oooc.0   ooooo   cr = -r=j   ooc-oc
                                coccc   cccc-c   occoc   c,cccc.
                                ixrxfXixOj   —i — — — «.   (Xf\jfXprvix   ccc
  c- c c c,
  c c c c
c? cr o- cr c

creooo   nooco   r-c-csoct  SC-OJTC
  cecc   cccoc   c-cccc  cccc-
           "OC-OC1   CCCOC  CCtSCC   CCC
cccco   occcc.   cccoc  cccco   occ.
  C'5'O'C'O & ^ O O'f'O'J'O'C^C'O'^O'O'^'O'^O'C'C'O"
                                                                                    O C   00
                                                                                    o- C" c a o-
                                                                                                         ZJ
                                                                                                         D-
                                                                                                         Zi
                                                                                                         O
                                                                                                          I
                                                                                                         CO
                                                                                                         OsJ
                                                                                                         cu
                                                                                                         13
                                                                                                         01
                                   X X X K X X
                                                  X X X X X X
                                                                XXCXXXXXXXXXXXX.X
               ccoc   ccocc
               rx-ixxi^"   •• f\* n. COOCCCCCOC.OCCOO3COOSC;COCiC-C>
          cccccc-occcoccoccccoccccc occcccocooc occ-ecc ccoc
          CCCC C-CCCCCCCC CCOCC'CC'CCCC C-CC-COOCCCC-COCC-CCOCCCC
          cooocc1 — 030000000000003000000 ooooo cocooooooooo
          ccccc.ccccc.rc-ccc.cce.ceccccc-ccocc'ccccccccccc-ccc^
          ococ cc-cc.ec.e-cc c cccc.cc cec-cc-c-c
          OSOOCOOCCCiCiC =OCSCC>5 — CSSOOC'C
          o c c ccccc>c ccc-c c ccc-ccc ccocccc.
                                                           ececc
                                                    78

-------
E IS/AS

FILE  CREATION AND

MAINTENANCE
              SECTION  4.2.3

              EMISSION  FACTOR  FILE

              MAINT  CEMEFAC  (EC0020)
                                      Page  31

                                      Release Date:  2/01/80

                                      Update  #:    A-l
                                                                                                                c

                                                                                                                +->
                                                                                                                CO
                                                                                                                •*->
                                                                                                                u
                                                                                                                fd
                                                                                                                tn
                                                                                                                c
                                                                                                                as
                                                                                                                S-
                                                                                                                o
                                                                                                                O
                    LJ
                    <
                    ct u^ ;


                    2 x i
                                                                                                                C
                                                                                                                O
                                                                                                                CO
                                                                                                                CO
                                        Z < •
                                        c r* •-
                                        £   2:

                                              ;=  *  * '
                                              x  .£ a: i
                                                          •- _  z c c w *- "  2ccu—zc.di-t-   r
                          x >- ;
                          C X ,
                                               o
                                               221
                        u_ z «a y; c. tr u.
                                               c. x a r  _n j-- :
               o c c- i
              , X % X' •
               cor.
                          o o
                          c, c-
    o c c o <
    o o o c- c
    e = c c =     t
    o o =^ e o
c-   c c - c c     ;
>- o o c- o o —
*- c c o c o —
2 c: C. c O O -«
S o c c c- c e

<_ c c c o c c
  o c c o o c.
iiZ<:^.  r o; — < O   CCZ)«=r   C,
   xi_>o">  •—   y^wjir,   »—   cnuio   p—

   o o * c? o   oc-ooc   ccoro
   ccccc   coerce   ccccc
   ^o^cc-   c-cc-c-c   osrsco
   K-K^K-^iK1   COC-CC   iriTiTXir
   XXiXX'X   — — — — —   XX-XXX
   OOCOC-   CCOCC   CCCCC
   ococo   coooc   occoo
   ccocc   ececo   occ-c-c
   CCSC'C   0 = OCC   OOOCC
   CCC-CC-   CCCC.C   CCCC-C
 C-7-3-7'Cr3-3-3-3-3ia?'77-7'>71ff'i
                                                                                                                CO

                                                                                                                C\J
                                                                                                                o;
              • XX
               o- cr <
                         < X1 —
                         11 C O
                         • ^ —
                         i t\t ""»
           COOOO-3CCOOO— CO- — OCC-OCCOC5C.C:C;OC>*C-3 — OC-=."Oi-^5O^-^OO
           CC.C.^CCCCeC-OOc-CCC'OOC-CCCOC^CCCCCCCOCCCCC.CiCCC.COCCC
           c-C'C-oo — —<—« — -*(XXX'XXX"^>^i''>-11^M"''i'^-''i-'l535 3 ^tyj^yi_Ojl^y f--£ C C  C •C'-^'—r-
           cc ccc-cccccc-ccccccc-cccocc-cccccccccccccccoccoc oc
           CC-CCCOOOOOC'OCO^OOOOOOOOC'OOOOOSCCOOOOC'COOOOCJC'OO
           cc-cccccccccrccccccccc-cccocccccccccc-ccccccrccccc
           OC-OOOCOOOOOCC.C-OOOCfOOCCC^OSC'OCJSOCCOOC'^OC'O^COOOO
           cccocccrcccccccoc cc  cccc-c-ccccc^ccccccccocccce-cc
           TOOCO3OCOOC>C=: OCCC"C^OOC.C^OCCOOi^C;3Or>COeOC: OOOOOO
           c-cccccccccecocecececccc-ccc-cocc.ccccccccccccr'ccc
           oo-ooc,ccoor — c-rc-- — c-oo-co^cocc-cocosooc.cecc-c.oc'ioe
           cc-ccc-cccccc-cc cccccc  cc-c-cccc cccccccceccc oc-ccccce
           C-S^CCCCSCOOCCCiOC'C-^CC-COO^CC'^OSC.CC'OCSC^COCC'CCCOC
           cccccccceccccccccccccocc ccc-cccc ccccrccc ccc-ccrcee
           ooocoC'rocc.cor-os ooocsocoo — coo3c.ooe ccoc c-ic-^ooco-s
           ce cccccccecoccccccc  ccccc c ccccce ccecccc-cccecccc
                                                       79

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION FACTOR FILE
MAINT CEMEFAC (EC0020)
Page 32
Release Date: 2/01/80
Update #:  A-l
                Column Column Column
                  1      7      13
                  YYDDD  FLAGW  LIST
Note:
     1.  Columns 1 through 5 must contain the control  date.
     2.  If either the FLAGW or LIST option is not specified, the respective
         field must contain the blanks.
                      Figure 4.2.3-h.  Option Card Format
                                      80

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
SECTION 4.2.3
EMISSION  FACTOR  FILE
MAI NT  CEMEFAC (EC0020)
Page  33
Release Date:  2/01/80
Update #:   A-l
    //* FHA( Mh/AOH/ Ht (II, h F>F- f M,  l.ltlYI) .-I.
                                                    S'll-S'l'M
    //*    HF v i sum i> vn :  i -no
    //*    I AS I  lll'OA IF  t :  A-l
    //*    OATf  |'IUtuPiiP«TH>:  FFH
    //*
    //*    THI',  PKur.L IMiPf  AlUljS Tut  HS(-K  in IIPOATt   IH(
    //*    MS/AS  MMSblnfi  FAriMK fii.r
    //*
    //*
    //F C M'F I 0 FKllL F'PO.H r 1 = ' Cf.' . F P Al MM . « on / . CPUS. HU . AKt A '
    //               HNtlC-1 =LSK»> Ih,
                                                                                       no') on ) ou
//
//
//
//
//
//
//
//
PF
Ml
U !
M
I IMF
i I
Ul
SI
1)1
vSP
i-l F
OF
-)N1
I)N9 oo
                                                  0000 |  Ii 00
                                                        mo
                                                                                       r> o 0 (j 1 i n o
                                                                                       n o n o 1 y o o
                                                                                       '> () n o i 5 o o
                                                                                       'Ml 00 I 60')
                                                                                       n o o o u n o
                                                                                       0 o n o J H 0 0
                                                                                       nn oo i vdo
                                                                                       n ') o y ? i o o
                                                                                       niioo?ioo
                                                                                       "00 UP. '100
                                 l, 10'
    //*
    //«  SIlHT F IS/AS t-^JSSIIIM  r-Af|l"i<  FH.h  T H A.JS AC T 1 f I'l.S
    //*
    //SIFI'llH   HI)  OSNAilf =H,HI>i|,!tCT ..I i)«0,
    //                i/ULII H =(HI)[VATt ,I.F I A ( )) ,
    //                1)1 ht'sf SMH.t'AoS)
    //SillMt l('   l)h  ijS'N/^ F =SY SI .SUKll hi.
    //                nrifst.sHK.HAss t
    //*
    //*  5HK I r'\i»f,  F IL Mi
    //*
    //SI|HlftKO|   li|l  UN | f = K, [ f M(' ,
    //                ,il'<>rF = i I W / I A^tl'Viv'U'r ) , ,MIM ! ., »
    //*
    //c;(|iV fl'h (V   "D  (lfJ| Isf nH. 'tt'.bf pr.SHI^T .Mil ) ,
    //                St'<»r t = ( FIVK r (^l ill.  h Sf'f ) , ,( up I T(, 1
    //*
    //SuP I >it\0 •,   (Hi  clwj I = f «. fj 'II'. '>F IJ=C SlHv I ,j« i) I , SHiV I >.)• ii^ 11
    //                V'.',( I  r ( IKK , ( ... MiUhS^r I , ,( II"! I I 1,1
    // •
    // *  1 "It'll I  i /. I i\  "•>- 1   -  lltjsii" I F »  I i> n' -y -IL I j 'I j •,
    // •
    //M.S i MM r   !>i,  ,niiiii' ,i z i ,'i'n i ,
                                                 n i] (t o ? y n o
                                                 n u n o ? H n o
                                                 oo oo? 9 ou
                                                                                       n o n o T, i o o
                                                 n a i> ij >,<>«()
                                                 oo no ^qnu
                                                 oooti \boo
                                                 fi 0 'I i; ? >, fi 0
                                                 no no woo
                                                 ny oo S
                                                 "ooo aoo n
                                                 'MlOO'l 1 00
                                                 ^ (It) (tit 50 0
                                                 0 o n (i 
-------
EIS/AS SECTION 4.2.
FILE CREATION AND EMISSION FAC
MAINTENANCE MAI NT CEMEFA

//*
//» (Itllf'UT PA.TA SF 1 - 311* t tO iKAiJSftf 1 I IIMS
//*
//f tSlllll F' I'D D'iNA-'If. =R.NrTrti;i'JMSl IT I'UMJRl
//*
//F(.si>l0r. nil ,sY.siHf=x.ijij|
//*
//* HdlPUf DMA oF|S - RYSIFM (|PLPA f ION
// *
//SYSHIM ni) sv;,fniT=Miii?
//*
//SYSH1-' j Ml Fin iiYbllill =K.IIIM
//*
//SYSI'Hlill J DIJ 3YMHIT=*.LHI|
//*
//SYSDlhPM [i|> .SYSrill 1 =R| III 1
//*
//S YS'IIMMP FM' SY.S'iliT=lU)lir
//*
//*
//iirnATF MFC pr.M^Fvru,?,
// 1 I.-;F = (Kl Ik'F?)
//*
//* ,-'.A|NTA|N I-IS/A5 bMI^SIHM FACIIIH F1LF
//*
//SI FPL I H 1)0 (ISWAMF rK.PW.UhCr . .KlAD,
// VflL HMF = fPI'l VATt ,Hf )Mt:),
// l'TSP=f SUM, PASS)
//*
//* INF'lll OATA :JL 1 - SHUFI) IkA JbAC T KliiS
//*
//F (..S) MP ) 1)0 DS'JAi T = dNSi)H (i.
// H.SF'=rt,Hp,PA;iS)
//*
//* IMPIII U A t A HF/ 1 - IIL.F' F ^/A.S M* I .':ii 1 Ufii F
//*
//FISlllhF DO OSUAi-lf =X *'W,|J(- f I . . Ort 1 A . 
// *
//F I SllT I " 1)1) llfM Al F =1 IP f J M'j"',
// nrurf I KS i /t =fu5
// +
//* HMM'hT DAlji SI | - f'f i | I.S/i'. (• iISSIM.,
//»
//F ( S.M •'( F «!) I:SI A" F -.\PiMi IM 1 . .P" 1 'i . v' t ' F '
3 Page 34
TOR FILE Release Date: 2/01/80
C (EC0020) Update #: A-l
000 OS 7 "0
o o no s h o o
OOOOS90(J
oi/oo^oro
0 0 0 0 M 0 0
no no^^no
o o n o t, <, o o
oooot>'i no
/f si 4110 ) OoOO'iSOO
OoOO^SOO
ooo of, 7 no
0 0 00 h H 0 0
01)0 Of) 9 Ol)
0 0007 0 0 0
OiiO()7 1 01)
(Ml 00 7^00
0000 7 SCO
00 0 'i 7 0
'I ii 0097 0 0
00009HOO
A C 1 1 1 P F I I F '10009900
"(I n l oooo
FT, 000)0100
II 1)0 1 0^00
il 00 1 I) V 0
OHO 1 O'lOO
(li)O 1 OS 00
"oo 1 OM) o
0 o 0 1 n 7 ') t1
')KO 10HOO
Ol)0 1 090(1
F At 1 i>- F 1 1 1- ''(in 1 1 000
Oil 01 1 100
1 ( , nil'i 1 1 ,'"(i
                                             (Page 2 of 3)
Figure 4.2.3-i - continued.   Cataloged Procedure ECEME10
                          82

-------
EIS/AS
FILE  CREATION  AND
MAINTENANCE
                              SECTION 4.2.3
                              EMISSION FACTOR  FILE
                              MAINT  CEMEFAC (EC0020)
Page 35
Release Date:  2/01/80
Update #:   A-l
                    UMJ T=MJH! t ,
                    VM|. t IMF's (I'MlVft It ,NF |A lM,«H.k = f i  -  IW«MH«\L T JON LTSIJ.NI,

                  )|) SYSPIlTslllHl

                               f'll| t''F HLF  MSII'II,
//*
//*  OUTPUT  OATA  SF I  - |Mf'll|
//*
//FLSlllDI    DO  SY:)IMil=ttJtlI
//*
//*  umfllT  D/dft  st I  - UII1PUT
//*
                                              Ll.SJIWt.
             DO  SYSMII r => mi i
     //*
     //*
     //s>sntii
     //*
     //SYSPR I "i i   h|> SY;;II(IT =M)H|
     //*
     //SVSOhilUI   01) hYSMljIsRillll
     //*
     //*
                 Oil SYbllll I =8.(lll (
                                                                            000 I I if)0
                                                                            n o p 1 1 u o o
                                                                            0 0 0 1 1 S 0 0
                                                                            oon I ) 6'Mi
                                                                            0 U I) 1 J / ft i)
                                                                            0 00 1 1 HOI)
                                                                            n ij o 1 1 v i) o
                                                                            IHiO 1
             n o o i ? c" o i)
             0001^ 400
             0001 ?<|IU)
             oon i ?s on
             o o o i ? >> o o
             n o n i ? j o o
             00(1 1 ?tjno
                                                                                oooi ^ (i o o
                                                                                00013100
                                                                                "Of' J
                                                                                o u o i ^ a n o
                                                                            0 0 f) 1 .^ 6 0 0
                                                                            pool 3/00
                                                                            noo 1 T«i>0
                                                                            o o o i u o n o
                                                                            000101 oo
                                                                            nooi /i?oo
                                                                            o u n i 
-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.2.3
             EMISSION FACTOR FILE
             MAI NT CEMEFAC (EC0020)
                   Page 36
                   Release Date:  2/01/80
                   Update #:   A-l
Parameter
  Name

PROJECT
   Default
    Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROG1
PROG2
REGION1
REGION2
TIME1
TIME2
OLDEMFC
NEWEMFC
UNIT
SERIAL
CSREFTR
CEMEFAC
150K
100K
'1,0'
'1,0'
ECOLDEMF
ECNEWEMF
3330
CDHSPK
DISP
 'NEW.CATLG,
DELETE'
              Description

Highest-level  index of data set names
(e. g.,  CN.EPALMH. A087.CDHS.HQ.AREA.DATA.
ECNEWEMF would be the full  data set name
of the  emission factor file)
Emission factor file transaction sort
program
Emission factor file edit-maintenance
program
Region  size allocated for execution of
CSREFTR
Region  size allocated for execution of
CEMEFAC
Time allocated for execution of CSREFTR
Time allocated for execution of CEMEFAC
Lowest-level index of old emission
factor file
Lowest-level index of new (or updated)
emission factor file
Device type to which new (or updated)
emission factor file is to be written
Serial  number of volume to which new (or
updated) emission factor file is to be
written
Disposition of new (or updated) emission
factor file
                                                         (Page 1 of 2)
             Figure 4.2.3-j.  Substitutable Parameters for ECEME10
                                      84

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.2.3
             EMISSION FACTOR FILE
             MAINT CEMEFAC (EC0020)
                   Page 37
                   Release Date: 2/01/80
                   Update #:  A-l
Parameter
  Name

SPCUNIT

PRIMARY

SECNDRY

TEMP
WORKSPC
OUT
   Default
    Value
TRK

20

10

SYSDA
'20,10'
A
              Description

Units in which space for new (or updated)
emission factor file is to be allocated
Primary space allocation for new (or
updated) emission factor file
Secondary space allocation for new (or
updated) emission factor file
Unit type for temporary work space
Space allocation for sort work areas
SYSOUT class for all print files
       Figure 4.2.3-j  -  continued.
                                         (Page  2  of  2)
                    Substitutable Parameters  for  ECEME10
                                      85

-------
EIS/AS
FILE CREATION AND
MATNTFNANflF	.
SECTION 4.3
MASTER FILE
Page 1
Release Date: 2/01/80
4.3  MASTER FILE

4.3.1.  INTRODUCTION

     The EIS/AS master file is created and maintained by EIS/AS master file
internal transactions.  The internal  transactions can be created from either
EIS/AS format or NEDS format transactions.  If the transactions are coded in
EIS/AS format, they are input to the master file transaction edit program,
CEDMSTR (EC0040), which edits the transactions and creates internal
transactions from those that pass the edit criteria.   See Figure 4.3-a for a
flowchart illustrating the EIS/AS master file transaction edit.  If the
transactions are coded in NEDS format, they are input to the NEDS to EIS/AS
conversion-edit program, CCENETR (EC0030).  CCENETR (EC0030) converts the
transactions to EIS/AS format, edits the converted transactions, and creates
internal transactions from those that pass the edit criteria.  See Figure 4.3-b
for a flowchart of the NEDS to EIS/AS master file transaction conversion-edit.

     Emission factor information can be inserted into the internal transactions
produced by either CEDMSTR (EC0040) or CCENETR (EC0030).  The internal
transactions must first be sorted by the master file internal transaction sort
program, CSRINTR (EC0050). The sorted transactions are then passed to the
master file internal transaction emission factor insertion program, CMSEFIN
(EC0060).  See Figure 4.3-c for a flowchart illustrating the master file
internal transaction emission factor insertion.
                                     86

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3
MASTER FILE
INTRODUCTION
Page 2
Release Date: 2/01/80
Update #: A-l	
     After the emission factor insertion has been performed, the internal
transactions are input to the master file maintenance program,  CFMMSTR
(EC0070), to create or update the EIS/AS master file.  No old master file  is
input to CFMMSTR (EC0070) when the intitial  file is being created;  however,  when
an existing file is being updated, that file is input to CFMMSTR (EC0070).   If
no insertion is to be performed, the internal  transactions must be  sorted  by
CSRINTR (EC0050) before they can be used by CFMMSTR (EC0070) to create or  update
the master file.  See Figure 4.3-d for a flowchart illustrating the master file
maintenance procedure.

     The master file emission factor transaction generator program, CMSEFGN
(EC0080), is used to update the emission factor information in  the  EIS/AS  master
file after updates have been made to the emission factor file.   The master file
and the emission factor file are compared, and internal  transactions are
created.  The new or revised emission factor information is inserted in these
transactions using CSRINTR (EC0050) and CMSEFIN (EC0060).  The  completed
transactions are then used to update the master file.  See Figure 4.3-e for  a
flowchart illustrating master file emission factor transaction  generation.

     Detailed discussions of these programs can be found in the following
sections:  4.3.2, CCENETR (EC0030); 4.3.3, CEDMSTR (EC0040); 4.3.4, CSRINTR
(EC0050); 4.3.5, CMSEFIN (EC0060); 4.3.6, CFMMSTR (EC0070); and 4.3.7, CMSEFGN
(EC0080).

     CCENTER (EC0030) is executed by the cataloged procedure ECCET10, which  is
discussed in Section 4.3.2.5; CEDMSTR (EC0040) by ECEDT10, discussed in Section
4.3.3.5; CSRINTR (EC0050) and CMSEFIN (EC0060) by ECMST10, discussed in
                                      87

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3
MASTER FILE
INTRODUCTION
Page 3
Release Date: 2/01/80
llnriatP I;  A-1 	
Section 4.3.5.5; CSRINTR (EC0050) and CFMMSTR (EC0070) by ECFMM10, discussed
in Section 4.3.6.5; and CMSEFGN (EC0080) by ECMSM10, discussed in Section
4.3.7.5.  Other cataloged procedures for creating or updating the master file
are discussed in Section 4.4.
                                     88

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
         SECTION 4.3
         MASTER FILE
         INTRODUCTION
                 Page 4
                 Release Date: 2/01/80
                 Update #:  A-l
      OPTION CARD
  DIAGNOSTIC
    REPORT
                                        E IS/AS MASTER
                                       FILE TRANSACTIONS
                               CEDMSTR (EC0040)
                             MASTER FILE TRANSACTION
                                 EDIT PROGRAM
EDITED INTERNAL
 TRANSACTIONS
INPUT TRANSACTION
 LISTING (Optional)
INTERNAL TRANS
ACTION LISTING
  (Optional)
                                (See Figure 4.3-c.)
            Figure 4.3-a.   Master File Transaction Edit  Flowchart
                                     89

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.3
             MASTER FILE
             INTRODUCTION
                Page  5
                Release  Date:  2/01/80
                Update #:  A-l
     OPTION CARD
  DIAGNOSTIC
    REPORT
                                            NEDS TRANSACTIONS
                               CCENETR (EC0030)
                            NEDS TO EIS/AS MASTER
                           FILE TRANSACTION CONVER-
                              SION-EDIT PROGRAM
/  EDITED EIS/AS
(  INTERNAL TRANSACTIONS!
[MEDS TRANSACTION
-ISTING (Optional)
 EIS/AS TRANS-
ACTION LISTING
  (Optionalj
                                (See Figure 4.3-c.)
            Figure 4.3-b.  NEDS to EIS/AS Master File Transaction
                           Conversion-Edit Flowchart
                                      90

-------
EIS/AS
FILE CREATION AND
MAINTENANCE	
SECTION 4.3
MASTER FILE
INTRODUCTION
Page 6
Release Date: 2/01/80
                           CSRINTR (EC0050)
                         MASTER FILE INTERNAL
                           TRANSACTION SORT
                               PROGRAM
 SORTED INTERNAL TRANS-^
   ACTIONS (Temporary) V
                            CMSEFIN (EC0060)
                          MASTER FILE INTERNAL
                          TRANSACTION EMISSION
                        FACTOR INSERTION PROGRAM
   INTERNAL TRANSACTIONS/
   WITH EMISSION FACTORsl
           B  (See Figure 4.3-d.)
                               /SORT WORK FILE/
                              ~^l  (Temporary)
                                 DIAGNOSTIC
                                    REPORT
                              DIAGNOSTIC
                                 REPORT
               Figure 4.3-c.  Master File Internal Transaction
                              Emission Factor Insertion Flowchart
                                     91

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3
MASTER FILE
INTRODUCTION
Page 7
Release Date: 2/01/80
Update #: A-l
    OLD EIS/AS MASTER,
    FILE (Optional)
     DIAGNOSTIC
       REPORT
                               OPTION CARD
                                CFFMSTR (EC0070)
                            MASTER FILE MAINTENANCE
                                   PROGRAM
    TRANSACTION
     LISTING
    (Optional)
                OLD MASTER FILE
                LISTING  (Optional)
     :W EIS/AS
     STER FILE
                   NEW MASTER
                   FILE  LISTING
                      (Optional)
                    Figure  4.3-d.   Master  File Maintenance  Flowchart
                                     92

-------
EIS/AS
FILE CREATION AND
MAINTENANCE	
SECTION 4.3
MASTER FILE
INTRODUCTION
Page 8
Release Date: 2/01/8C
Mpdat.P *; A-1
       EMISSION FACTO
       V  FILE
            INTERNAL
          TRANSACTIONS
   EIS/AS MASTER/
      FILE
  OPTION CARD
                               CMSEFGN (EC0080)
                         MASTER FILE EMISSION FACTOR
                            TRANSACTION GENERATOR
                                   PROGRAM
                               DIAGNOSTIC
                                  REPORT
                 B )(See Figure 4.3-d.)
       Figure 4.3-e.   Master File Emission Factor Transaction Generator
                      Flowchart
                                     93

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 1
Release Date: 2/01/80
Update #::  A-l
4.3.2  NEDS TO EIS/AS MASTER FILE TRANSACTION CONVERSION-EDIT PROGRAM -
       CCENETR (EC0030)

4.3.2.1  Description

     The EIS/AS master file (county level) can be created and updated using
NEDS format area source transactions.   The NEDS transactions are edited and
converted into EIS/AS internal  transactions by the program CCENETR (EC0030).
The internal transactions can then be sorted using the master file internal
transaction sort program, CSRINTR (EC0050), and input to the master file
internal transaction emission factor insertion program, CMSEFIN (EC0060), and
the master file maintenance program, CFMMSTR (EC0070).

     The NEDS area source transactions include the Al thru A7 cards; refer to
Figure 4.3.2-a for the record layouts for these cards.  All  data fields from
the NEDS transactions are included in the EIS/AS master file.  Each NEDS
transaction is processed separately, and the NEDS file need not be sorted
prior to running CCENETR (EC0030).  Description, category, and NEDS comment
internal transactions are generated from the NEDS transactions.  A NEDS Al add
transaction will generate description transactions used to build a county
description record in the master file.  A NEDS A6 add transaction will add a
NEDS A6 comment record to the master file.  A NEDS A7 or any category record
on the NEDS Al thru A5 cards will generate category transactions necessary to
add the category to the master file.  Note that the county description record
must exist before category or comment records are added for the county.  All
internal transactions produced in CCENETR (EC0030) will have a geographic
suballocation number of zero (that is, only county records).  Category
transactions for categories 001-064 will be generated for those categories
passing edit criteria; the category disaggregation number will be zero.
                                     94

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 2
Release Date:  2/01/80
Update #:   A-l
Records with a nonzero geographic suballocation number, a category number
greater than 064, a nonzero category disaggregatlon number,  or EIS/AS comments
must be created and updated using EIS/AS transactions.

     AH NEDS transactions are edited for valid state,  county, AQCR,  action
code, A-type card, and card number.  If any of these fields  are in error, the
transaction will be rejected, and no EIS/AS internal transactions will  be
created from that NEDS transaction.  An invalid value in any other NEDS field
will result in that field being rejected, but other fields on that card will
be accepted if valid.

     Each EIS/AS transaction has the state, county, AQCR and action code of
the NEDS transaction which generated it.  In addition,  individual fields (when
non-blank) are converted as follows:

     NEDS Al card:  The year is output on a Description 1 transaction;  the SIP
                    estimates, a Description 5 transaction;  and sulfur and ash
                    contents, a Description 3 transaction.  If the NEDS action
                    code is add, Description 7 transactions  are generated for
                    the five criteria pollutants (HC, CO, TSP, NOX, and S02);
                    these transactions contain pollutant ID's and names.  For
                    the other fields, see the discussion of  the category
                    fields.

     NEDS A2 card:  For all fields, see the discussion  of the category fields.

     NEDS A3 card:  The fuel fields (light vehicle gas, heavy vehicle gas,
                    heavy vehicle diesel, and population codes) are output on
                    a  Description 6 transaction.  For all other fields, see
                    the discussion of the category fields.
                                     95

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
         SECTION 4.3.2
         NEDS TO EIS/AS
         PROGRAM CCENETR (EC0030)
Page 3
Release Date: 2/01/80
Update #:  A-l
     NEDS A4 card:
The measured vehicle miles fields (limited access roads,
rural roads, suburban roads, and urban roads)  are output
on a Description 6 transaction.   See the discussion of the
category fields for all  other fields.
     NEDS A5 card:  See the discussion of the category fields for all  fields.

     NEDS A6 card:  The NEDS A6 comment is output on a NEDS comment record
                    (EIS/AS internal  transaction format).
     NEDS A7 card:
The source code is used as the category number.  A
Category 5 transaction containing pollutant ID, pollutant
name, and NEDS A7 emission is generated for each criteria
pollutant with a non-blank emission.  The NEDS A7 comment
is output on a Category 4 transaction.
     Category fields:  All valid non-blank category fields occurring on the
                    A1-A5 cards will be used to generate category records.
                    The NEDS value is used for the process rate on the
                    Category 2 transaction.  For categories 60-63, the second
                    NEDS field is used for the category adjust on the Category
                    2 transaction.  In addition, if the action code is add,
                    Category 5 transactions containing pollutant ID and name
                    are generated for each of the five criteria pollutants
                    (HC, CO, TSP, NOX, and S02).

4.3.2.2  File Formats

     CCENETR (EC0030) uses two input files:  the NEDS transaction file and an
option card file.  See Figure 4.3.2-a for the NEDS transaction formats.
Descriptions of the NEDS fields and instructions for coding the forms can be
                                     96

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 4
Release Date: 2/01/80
Update #:   A-l
found in AEROS Manual  Series, Volume II:   AEROS User's Manual,  Section 3.1.1.
A discussion of the options can be found in the following section of this
manual.

     CCENETR (EC0030)  produces a file containing EIS/AS internal  transactions
and a diagnostic report.  The output internal  transactions are  in the format
required for input to  the master file internal  transaction emission factor
insertion program, CMSEFIN (EC0060), and the master file maintenance program,
CFMMSTR (EC0070).  The internal transaction sort program, CSRINTR (EC0050),
must be run prior to running either CMSEFIN (EC0060) or CFMMSTR (EC0070).
Figure 4.3.3-c illustrates the format of the internal  transactions.

     The diagnostic report consists of a listing of NEDS transactions
containing one or more invalid fields.   Each invalid field is underlined with
a B indicating the beginning character and an E, the ending character.  In
addition, for each error, a message is printed  giving  the error number and a
brief description of the error.  Warning messages are  not printed in the
report unless requested by the user on the option card.  The diagnostic report
also contains the update messages as well  as summary statistics giving the
options in effect, the number of NEDS transactions, the number  of output
internal transactions, and the number of errors detected.  See  Figure 4.3.2-b
for an example of the  diagnostic report.

     CCENETR (EC0030)  produces two optional  listings:   a listing  of all input
NEDS transactions and  a listing of all  output  internal  transactions.   These
listings must be requested on the option card  as described in the following
section.  Figures 4.3.2-c and 4.3.2-d give examples of the NEDS transaction
and the internal  transaction listings,  respectively.
                                     97

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 5
Release Date: 2/01/80
Update #:   A-l
4.3.2.3  Options and Control  Cards

     An option card must be entered into CCENETR  (EC0030);  failure  to  enter
the option card will cause program  execution  to be  terminated  prematurely.
There are three fields on the option card:   the date,  FLAGW, and  LIST.   The
format of the option card is shown  in Figure  4.3.2-e.

     A year must be specified in the date field;  if no year is  coded,  or if  it
is not coded numeric, program execution will  be aborted.   This  specified year
is used to edit the year field in the NEDS  Al transaction  (the  NEDS Al year
must not be greater than the option card year).

     The FLAGW option is used to indicate that warning messages should be
printed in the diagnostic report.   Warning  messages are  used to indicate that
data was accepted, but that the data may be questionable.   A value  of  'FLAGW'
in the field will allow the warning messages  to be  printed; otherwise, no
warning messages will be printed.

     The LIST option is used to indicate that listings of  the  input NEDS
transactions and of the output internal transactions should be  produced.
Examples of these listings are shown in Figures 4.3.2-c  and 4.3.2-d.   A  value
of 'LIST' in the field will produce both listings;  otherwise,  the listings
wil1 not be produced.

4.3.2.4  Error Messages

CCENETR 001 ERROR - COLUMN 49 - INVALID RESIDENTIAL ANTHRACITE  COAL -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
                                     98

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 6
Release Date:  2/01/80
Update #:   A-l
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 002 ERROR - COLUMN 54 - INVALID RESIDENTIAL BITUMINOUS COAL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit a transaction.   Other fields on
               the card were accepted, if valid.

CCENETR 003 ERROR - COLUMN 60 - INVALID RESIDENTIAL DISTILLATE OIL  - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 004 ERROR - COLUMN 65 - INVALID RESIDENTIAL RESIDUAL OIL -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 005 ERROR - COLUMN 69 - INVALID RESIDENTIAL NATURAL  GAS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     99

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 7
Release Date: 2/01/80
Update #:  A-l
CCENETR 006 ERROR - COLUMN 74 - INVALID RESIDENTIAL WOOD - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 007 ERROR - COLUMN 10 - INVALID COMM/INST ANTHRACITE COAL. - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 008 ERROR - COLUMN 15 - INVALID COMM/INST BITUMINOUS COAL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 009 ERROR - COLUMN 20 - INVALID COMM/INST DISTILLATE OIL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 010 ERROR - COLUMN 25 - INVALID COMM/INST RESIDUAL OIL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.
                                     100

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 8
Release Date: 2/01/80
Update #:  A-l
CCENETR Oil ERROR - COLUMN 30 - INVALID COMM/INST NATURAL GAS - FIELD REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 012 ERROR - COLUMN 34 - INVALID COMM/INST WOOD - FIELD REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 013 ERROR - COLUMN 36 - INVALID INDUSTRIAL ANTHRACITE COAL  - FIELD
            REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 014 ERROR - COLUMN 42 - INVALID INDUSTRIAL BITUMINOUS COAL  - FIELD
            REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 015 ERROR - COLUMN 48 - INVALID INDUSTRIAL COKE - FIELD REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     101

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 9
Release Date: 2/01/80
Update #:  A-l
CCENETR 016 ERROR - COLUMN 52 - INVALID INDUSTRIAL DISTILLATE OIL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 017 ERROR - COLUMN 57 - INVALID INDUSTRIAL RESIDUAL OIL - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 018 ERROR - COLUMN 62 - INVALID INDUSTRIAL NATURAL  GAS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 019 ERROR - COLUMN 67 - INVALID INDUSTRIAL WOOD - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 020 ERROR - COLUMN 70 - INVALID INDUSTRIAL PROCESS  GAS - HELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.
                                     102

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 10
Release Date: 2/01/80
Update #:  A-l
CCENETR 021 ERROR - COLUMN 10 - INVALID RESIDENTIAL ON SITE INCINERATION -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 022 ERROR - COLUMN 16 - INVALID INDUSTRIAL ON SITE  INCINERATION -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit a transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 023 ERROR - COLUMN 21 - INVALID COMM/INST ON SITE INCINERATION -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 024 ERROR - COLUMN 25 - INVALID RESIDENTIAL OPEN BURNING -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 025 ERROR - COLUMN 31 - INVALID INDUSTRIAL OPEN BURNING - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     103

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 11
Release Date: 2/01/80
Update #:  A-l
CCENETR 026 ERROR - COLUMN 37 - INVALID COMM/INST OPEN BURNING - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 027 ERROR - COLUMN 45 - INVALID FOREST WILDFIRE TONS/ACRE  BURNED -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 028 ERROR - COLUMN 54 INVALID MANAGED BURNING TONS/ACRE BURNED - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 029 ERROR - COLUMN 63 - INVALID AGR FIELD BURN TONS/ACRE BURNED -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.

CCENETR 030 ERROR - COLUMN 70 - INVALID FROST CONTROL DAYS/FIRED -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted,  if valid.
                                     104

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 12
Release Date: 2/01/80
Update #:   A-l
CCENETR 031 ERROR - COLUMN 79 - CARD IS NOT AREA SOURCE CARD - TRANSACTION
            REJECTED
     Meaning:  This field must contain an 'A'.
      Action:  Correct and resubmit.

CCENETR 032 ERROR - COLUMN 80 INVALID CARD TYPE - TRANSACTION REJECTED
     Meaning:  The valid codes are 1-7.
      Action:  Correct and resubmit.

CCENETR 033 ERROR - COLUMN 14 - INVALID SOURCE TSP EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 034 ERROR - COLUMN 20 - INVALID SOURCE S02 EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 035 ERROR - COLUMN 25 - INVALID SOURCE NOx EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     105

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 13
Release Date: 2/01/80
Update #:  A-l
CCENETR 036 ERROR - COLUMN 31 - INVALID SOURCE HC EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 037 ERROR - COLUMN 37 - INVALID SOURCE CO EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 038 ERROR - COLUMN 12 - INVALID SOURCE-CODE - TRANSACTION REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct and resubmit.

CCENETR 039 ERROR - COLUMN 55 - INVALID OFF HIWAY GAS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 040 ABORT - NO OPTION CARD, PROGRAM ABORTED
     Meaning:  An option card specifying at least a date is required.
      Action:  Include an option card and resubmit the run.

CCENETR 041 ABORT - INVALID OPTION DATE, PROGRAM ABORTED
     Meaning:  The date must be numeric.
      Action:  Correct the option card and  resubmit the run.
                                     106

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 14
Release Date: 2/01/80
Update #:   A-l
CCENETR 042 CONDITIONAL - INVALID FLAGW OPTION, DEFAULT OF NO FLAGW USED
     Meaning:  The field must contain the value 'FLAGW' or be blank.
      Action:  If warning messages must be listed, code the value 'FLAGW'  in
               the field and resubmit the job.

CCENETR 043 CONDITIONAL - INVALID LIST OPTION, DEFAULT OF NO LIST USED
     Meaning:  The field must contain the value 'LIST' or be blank.
      Action:  If listings of the NEDS transactions and of the output internal
               transactions are required, code the value 'LIST'  in the field
               and resubmit the job.

CCENETR 044 ERROR - COLUMN 67 - INVALID OFF HIGHWAY DIESEL - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 045 ERROR - COLUMN 72 - INVALID RAIL LOCOMOTIVE - FIELD  REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 046 ERROR - COLUMN 10 - INVALID MILITARY AIRCRAFT LTO -  FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 047 ERROR - COLUMN 14 - INVALID CIVIL AIRCRAFT LTO  - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.
                                     107

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 15
Release Date: 2/01/80
Update #:   A-l
CCENETR 048 ERROR - COLUMN 20 - INVALID COMMERCIAL AIRCRAFT LTO - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 049 ERROR - COLUMN 25 - INVALID COAL VESSELS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction,.  Other
               fields on the card were accepted, if valid.

CCENETR 050 ERROR - COLUMN 29 - INVALID DIESEL OIL VESSELS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.,  Other
               fields on the card were accepted, if valid.

CCENETR 051 ERROR - COLUMN 33 - INVALID RESIDUAL OIL VESSELS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 052 ERROR - COLUMN 38 - INVALID GASOLINE VESSELS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 053 ERROR - COLUMN 42 - INVALID SOLVENT PURCHASED - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.
                                     108

-------
 EIS/AS
 FILE  CREATION AND
 MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 16
Release Date: 2/01/80
Update #:   A-l
CCENETR 054 ERROR - COLUMN 48 -  INVALID GASOLINE MARKETED - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 055 ERROR - COLUMN 10 -  INVALID DIRT ROAD TRAVELED - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 056 ERROR - COLUMN 17 -  INVALID DIRT AIR STRIPS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 057 ERROR - COLUMN 22 -  INVALID CONSTRUCTION ACRES - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 058 ERROR - COLUMN 28 -  INVALID MISC WIND  EROSION -  FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 059 ERROR - COLUMN 33 - INVALID LAND TILLING - FIELD REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.  Other
               fields  on the card were accepted, if valid.
                                     109

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 17
Release Date: 2/01/80
Update #:  A-l
CCENETR 060 ERROR - COLUMN 38 - INVALID FOREST WILD FIRES - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 061 ERROR - COLUMN 48 - INVALID MANAGED/PRESCRIBED BURNING - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 062 ERROR - COLUMN 57 - INVALID AGRICULTURAL FIELD BURNING - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 063 ERROR - COLUMN 66 - INVALID FROST CONTROL (ORCHARD HEATERS) -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 064 ERROR - COLUMN 73 - INVALID STRUCTURE FIRES - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.
                                     110

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 18
Release Date: 2/01/80
Update #:   A-l
CCENETR 065 ERROR - COLUMN 42 - INVALID LIGHT VEHICLE GAS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 066 ERROR - COLUMN 49 - INVALID HEAVY VEHICLE GAS - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 067 ERROR - COLUMN 61 - INVALID HEAVY VEHICLE DIESEL - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 068 ERROR - COLUMN 77 - INVALID POPULATION CODE - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 069 ERROR - COLUMN 53 - INVALID LIMITED ACCESS ROAD - MVM - FIELD
            REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.  Other
               fields on the card were accepted, if valid.

CCENETR 070 ERROR - COLUMN 59 - INVALID RURAL ROADS - MVM - FIELD REJECTED
     Meaning:   This field must be numeric.
      Action:   Correct this field and submit an input transaction.  Other
               fields on the card  were accepted, if valid.
                                     Ill

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 19
Release Date: 2/01/80
Update #:  A-l
CCENETR 071 ERROR - COLUMN 65 - INVALID SUBURBAN ROADS - MVM - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 072 ERROR - COLUMN 71 - INVALID URBAN ROADS - MVM - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 073 ERROR - COLUMN 10 - INVALID YEAR OF RECORD - FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 074 ERROR - COLUMN 12 - INVALID SIP PARTICULATE EMISSION ESTIMATE -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction..   Other
               fields on the card were accepted, if valid.

CCENETR 075 ERROR - COLUMN 17 - INVALID SIP S02 EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     112

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 20
Release Date: 2/01/80
Update #:   A-l
CCENETR 076 ERROR - COLUMN 21 INVALID SIP NOX EMISSION ESTIMATE - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 077 ERROR - COLUMN 25 - INVALID SIP HC EMISSION ESTIMATE -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 078 ERROR - COLUMN 30 - INVALID SIP CO EMISSION ESTIMATE -  FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 079 ERROR - COLUMN 35 - INVALID ANTHRACITE COAL SULFUR CONTENTS -
            FIELD REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 080 ERROR - COLUMN 37 - INVALID BITUMINOUS COAL SULFUR CONTENTS -
            FIELD REJECTED
     Meaning:  This field must be numeric.
                                     113

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 21
Release Date: 2/01/80
Update #:  A-l
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 081 ERROR - COLUMN 39 - INVALID DISTILLATE OIL SULFUR CONTENTS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 082 ERROR - COLUMN 41 INVALID RESIDUAL OIL SULFUR CONTENTS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 083 ERROR - COLUMN 43 - INVALID ANTHRACITE COAL ASH CONTENTS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.

CCENETR 084 ERROR - COLUMN 46 - INVALID BITUMINOUS COAL ASH CONTENTS - FIELD
            REJECTED
     Meaning:  This field must be numeric.
      Action:  Correct this field and submit an input transaction.   Other
               fields on the card were accepted, if valid.
                                     114

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 22
Release Date: 2/01/80
Update #:  A-l
CCLNETR 085 ERROR - COLUMN 01 - INVALID STATE - TRANSACTION REJECTED
     Meaning:  The valid state codes are 01-55.  Refer to AEROS Manual
               Series, Volume V:  AEROS Manual of Codes, Section 2.1.0 for a
               complete list of state codes.
      Action:  Correct and resubmit.

CCENETR 086 ERROR - COLUMN 3 - INVALID COUNTY - TRANSACTION REJECTED
     Meaning:  The field must be numeric.  Refer to the AEROS Manual Series,
               Volume V:  AEROS Manual of Codes, Section 2.2.0, for a complete
               1ist of county codes.
      Action:  Correct and resubmit.

CCENETR 087 ERROR - COLUMN 07 - INVALID AQCR - TRANSACTION REJECTED
     Meaning:  The valid AQCR codes are 001-247.  Valid AQCR codes for each
               state can be found in the AEROS Manual Series, Volume V:  AEROS
               Manual of Codes, Section 2.3.0.
      Action:  Correct and resubmit.

CCENETR 088 ERROR - COLUMN 78 - INVALID ACTION CODE - TRANSACTION REJECTED
     Meaning:  The valid action codes are A (add), C (change), and D (delete).
      Action:  Correct and resubmit.

4.3.2.5  Cataloged JCL - ECCET10

4.3.2.5.1  JCL listing - CCENETR (EC0030) can be run by executing the
cataloged procedure ECCET10.  See Figure 4.3.2-f for a listing of ECCET10.
                                     115

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
      SECTION 4.3.2
      NEDS TO EIS/AS
      PROGRAM CCENETR (EC0030)
      Page 23
      Release Date: 2/01/8C
      Update #:  A-l
4.3.2.5.2  Cross-reference of DD names and files
     Program Name:  CCENETR (ECC0030)
     DD Name
File Description
Input/Output
     ECSINPT
     ECSOPTN
     ECSOUTP
     ECSDIAG
     ECSINPL
     ECSOUTL
NEDS transactions               Input
Option card                     Input
Internal transactions           Output
Diagnostic report               Output
NEDS transaction listing        Output
Internal transaction listing    Output
4.3.2.5.3  User-supplied JCL - To execute the cataloged procedure ECCET10, the
user must supply the NEDS transactions, an option card, and the data set name
for the internal transaction file.  See Figure 4.3.2-g for a description of
the procedure's substitutable parameters.

4.3.2.5.4  Sample run stream - The following run stream would edit and convert
NEDS transactions.  The year 80 and the LIST option are specified.  The
default value is used for the internal  transaction data set name.

// EXEC ECCET10
//CONVERT.OPTIONS DD *
80       LIST
//CONVERT.INPUT DD *
Transaction cards
/*
                                     116

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 24
Release Date: 2/01/80
Update #:   A-l
4.3.2.6  Warnings and Special  Instructions

     CCENETR (EC0030) edits each non-key field in a transaction independently
of all other fields in the transaction; thus,  only the invalid non-key fields
are rejected.  Any valid fields are accepted,  and the corresponding internal
transactions created.  The invalid fields can  be corrected and resubmitted to
CCENETR in one of two ways, depending on the type of field.   All  fields
except those used to create category records must be resubmitted  as change
transactions; category-related fields must be  resubmitted with the  same action
code as in the previous run of CCENETR (EC0030) since no internal transactions
would have been generated for the corresponding categories.

4.3.2.7  Cost Considerations

     To reduce the cost of running CCENETR (EC0030), use the default options,
no LIST and no FLAGW; i.e., leave the fields blank unless the lists and
warning messages are actually required.

     The estimates listed below are based on the execution of the run stream
discussed in Section 4.3.2.5.4 on an IBM 370/168.

     Number of input NEDS transactions:                   51 transactions
     Number of output internal transactions:             216 transactions
     Number of errors detected:                          158 errors
     CPU time:                                            .3 second
                                     117

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
Page 25
Release Date: 2/01/80
Update #:  A-l
     I/O time:
     Total time:
                         4.7 seconds
                         5.0 seconds
     Estimated Cost:
                        $1.18
4.3.2.8  Related Programs and Procedures

     The cataloged procedure ECFMM20 can be executed to edit and convert NEDS
transactions and update the EIS/AS master file.   See Section 4.4.3 for a
complete discussion of ECFMM20.
                                     118

-------
EIS/AS
FILE CREATION AND
MAINTENANCE

SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
NEDS Al Transaction
Page 26
Release Date: 2/01/80
Update #: A-l

Column # Field Length Data Type Description
1-2 2
3-6 4
7-9 3
10-11 2
12-16 5
17-20 4
21-24 4
25-29 5
30-34 5
35-36 2
Numeric State
Numeric County
Numeric AQCR
Numeric Year of Record
Numeric SIP Estimate - TSP
Numeric SIP Estimate - S02
Numeric SIP Estimate - NOX
Numeric SIP Estimate - HC
Numeric SIP Estimate - CO
Numeric Sulfur Content -
Anthracite Coal
37-38 2
Numeric Sulfur Content -
Bituminous Coal
39-40 2

41-42 2
Numeric Sulfur Content -
Di
still ate Oil
Numeric Sulfur Content -
Residual Oil
43-45 3
Numeric Ash Content -
Anthracite Coal
46-48 3
Numeric Ash Content -
Bituminous Coal
49-53 5
Numeric Residential Fuel -
Anthracite Coal
                                             (Page 1 of 10)



Figure 4.3.2-a.   NEDS Area Source Transaction Formats
                         119

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.3.2
             NEDS TO EIS/AS
             PROGRAM CCENETR (EC0030)
                       Page 27
                       Release Date: 2/01/80
                       Update #:  A-l
Column #

54 - 59

60 - 64

65 - 68

69 - 73

74 - 77

     78
     79
     80
                       NEDS Al Transaction (continued)
Field Length
Data Type
                  Numeric
                  Numeric
4
5
4
1
1
1
Numeric
Numeric
Numeric
Alphabetic
Alphabetic
Numeric
Description

Residential Fuel -
Bituminous Coal
Residential Fuel -
Distillate Oil
Residential Fuel -
Residual Oil
Residential Fuel -
Natural Gas
Residential Fuel •
Wood
Action Code
'A' (Area Source)
'I1 (Card Number)
                                                          (Page 2 of 10)

      Figure 4.3.2-a - continued.  NEDS Area Source Transaction Formats
                                     120

-------
E IS/AS
FILE CREATION AND
MAINTENANCE

SECTION 4.3.2 Page 28
NEDS TO EIS/AS Release Date: 2/01/80
PROGRAM CCENETR (EC0030) Update #: A-l
NEDS A2 Transaction
Column # Field Length Data Type Description
1-2 2
3-6 4
7-9 3
10-14 5

15-19 5

20-24 5

25-29 5

30-33 4

34-35 2

36-41 6

42-47 6

48-51 4

52-56 5

Numeric State
Numeric County
Numeric AQCR
Numeric Commercial Fuel -
Anthracite Coal
Numeric Commercial Fuel -
Bituminous Coal
Numeric Commercial Fuel -
Distillate Oil
Numeric Commercial Fuel -
Residual Oil
Numeric Commercial Fuel -
Natural Gas
Numeric Commercial Fuel -
Wood
Numeric Industrial Fuel -
Anthracite Coal
Numeric Industrial Fuel -
Bituminous Coal
Numeric Industrial Fuel -
Coke
Numeric Industrial Fuel -
Distillate Oil
                                                     (Page 3 of 10)



Figure 4.3.2-a - continued.   NEDS Area Source Transaction Formats
                               121

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.3.2
             NEDS TO EIS/AS
             PROGRAM CCENETR (EC0030)
                       Page 29
                       Release Date: 2/01/80
                       Update #:  A-l
Column #

57 - 61

62 - 66

67 - 69

70 - 73

74 - 77
     78
     79
     80
                       NEDS A2 Transaction (continued)
Field Length
      5

      3

      4

      4
      1
      1
      1
Data Type

Numeric

Numeric

Numeric

Numeric

Blank
Alphabetic
Alphabetic
Numeric
Description

Industrial Fuel -
Residual Oil
Industrial Fuel -
Natural Gas
Industrial Fuel -
Wood
Industrial Fuel -
Process Gas
Unused
Action Code
'A' (Area Source)
'2' (Card Number)
                                                         (Page 4 of 10)

      Figure 4.3.2-a - continued.  NEDS Area Source Transaction Formats
                                     122

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.3.2
             NEDS TO EIS/AS
             PROGRAM CCENETR (EC0030)
                            Page 30
                            Release Date: 2/01/80
                            Update #:  A-l
Column #

 I -  2
 3 -  6
 7 -  9
10 - 15

16 - 20

21 - 24
49 - 54
Field Length

      2
      4
      3
      6
NEDS A3 Transaction

     Data Type

     Numeric
     Numeric
     Numeric
     Numeric

     Numeric

     Numeric
25 - 30
31 - 36
37 - 41
42 - 48
6
6
5
7
Numeric
Numeric
Numeric
Numeric
 Description

 State
 County
 AQCR
 On  Site  Incineration  -
 Residential
 On  Site  Incineration  -
 Industrial
 On  Site  Incineration  -
 Commercial
 Open Burning - Residential
 Open Burning - Industrial
 Open Burning - Commercial
 Gasoline Fuel - Light
 Vehicle
 Gasoline Fuel - Heavy
 Vehicle
 Gasoline Fuel - Off Highway
 Diesel  Fuel - Heavy Vehicle
 Diesel  Fuel - Off Highway
 Diesel  Fuel - Rail
Locomotive
 Population Code
Action  Code
 'A'  (Area Source)
 '3'  (Card Number)
                                                     (Page 5 of 10)
       Figure 4.3.2-a -  continued.   NEDS Area Source Transaction Formats
                  Numeric
55
61
67
72




- 60
- 66
- 71
- 76
77
78
79
80
6
6
5
5
1
1
1
1
Numeric
Numeric
Numeric
Numeric
Numeric
Alphabetic
Alphabetic
Numeric
                                      123

-------
EIS/AS
FILE CREATION AND
MAINTENANCE

SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
NEDS A4 Transaction
Page 31
Release Date: 2/01/80
Update #: A-l

Column # Field Length Data Type Description
1-2 2
3-6 4
7-9 3
10-13 4
14-19 6
20-24 5
25-28 4
29-32 4
33-37 5
38-41 4
42-47 6
Numeric State
Numeric County
Numeric AQCR
Numeric Aircraft - Military
Numeric Aircraft - Civil
Numeric Aircraft - Commercial
Numeric Vessels - Coal
Numeric Vessels - Diesel Oil
Numeric Vessels - Residual Oil
Numeric Vessels - Gasoline
Numeric Evaporation - Solvent
Purchased
48-52 5
Numeric Evaporation - Gasoline
Marketed
53-58 6
Numeric Measured Vehicle Miles -
Limited Access Road
59-64 6
Numeric Measured Vehicle Miles -
Rural Road
65-70 6
Numeric Measured Vehicle Miles -
Suburban Road
71-77 7
Numeric Measured Vehicle Miles -
Urban Road
78 1
79 1
80 1
Alphabetic Action Code
Alphabetic 'A1 (Area Source)
Numeric '4' (Card Number)
                                                  (Page 6 of 10)




Figure 4.3.2-a - continued.   NEDS Area Source Transaction Formats
                               124

-------
EIS/AS
FILE CREATION AND
MAINTENANCE

SECTION 4.3.2 Page 32
NEDS TO EIS/AS Release Date: 2/01/80
PROGRAM CCENETR (EC0030) Update #: A-l
NEDS A5 Transaction
Column # Field Length Data Type Description
1-2 2
3-6 4
7-9 3
10-16 7
17-21 5
22-27 6
28-32 5
33-37 5
38-44 7

45-47 3

48-53 6

54-56 ' 3

57-62 6

63-65 3

66-69 4

70-72 3
Numeric State
Numeric County
Numeric AQCR
Numeric Dirt Roads Traveled
Numeric Dirt Air Strips
Numeric Construction Acres
Numeric Miscellaneous Wind Erosion
Numeric Land Tilling
Numeric Forest Wildfires - Acres
Burned
Numeric Forest Wildfires - Tons pe
Acre Burned
Numeric Managed Burning - Acres
Burned
Numeric Managed Burning - Tons per
Acre Burned
Numeric Agricultural Field Burning
- Acres Burned
Numeric Agricultural Field Burning
- Tons per Acre Burned
Numeric Frost Control - Orchard
Heaters Operating
Numeric Frost Control - Days Fired
                                                  (Page 7 of 10)



Figure 4.3.2-a - continued.  NEDS Area Source Transaction Formats
                               125

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.3.2
             NEDS TO EIS/AS
             PROGRAM CCENETR (EC0030)
                       Page 33
                       Release Date: 2/01/80
                       Update #:  A-l
                             NEDS A5 Transaction (continued)
Column #

73 - 77
     78
     79
     80
Field Length

      5
      1
      1
      1
Data Type

Numeric
Alphabetic
Alphabetic
Numeric
Description

Structure Fires
Action Code
'A' (Area Source)
'5' (Card Number)
                                                         (Page  8  of 10)
       Figure 4.3.2-a -  continued.   NEDS  Area  Source  Transaction  Formats
                                      126

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                        SECTION 4.3.2
                        NEDS TO EIS/AS
                        PROGRAM CCENETR (EC0030)
                                         Page 34
                                         Release Date: 2/01/80
                                         Update #:  A-l
Column #
 1
 3
 7
10
 2
 6
 9
77
78
79
80
Field Length

      2
      4
      3
     68
      1
      1
      1
NEDS A6 Transaction

     Data Type

     Numeric
     Numeric
     Numeric
     Alphanumeric
     Alphabetic
     Alphabetic
     Numeric
Description

State
County
AQCR
Comments
Action Code
'A' (Area Source)
'6' (Card Number)
                                                         (Page 9 of 10)
       Figure 4.3.2-a  -  continued.   NEDS  Area Source Transaction Formats
                                      127

-------
EIS/AS
FILE CREATION AND
MAINTENANCE

SECTION 4.3.2
NEDS TO EIS/AS
PROGRAM CCENETR (EC0030)
NEDS A7 Transaction
Page 35
Release Date: 2/01/80
Update #: A-l

Column # Field Length Data Type Description
1-2 2
3-6 4
7-9 3
10-11 2
12-13 2
14-19 6
20-24 5
25-30 6
31-36 6
37-43 7
44 - 77 34
78 1
79 1
80 1
Numeric State
Numeric County
Numeric AQCR
Numeric Year of Record
Numeric Source Code
Numeric Emission Estimate - TSP
Numeric Emission Estimate - S02
Numeric Emission Estimate - NOX
Numeric Emission Estimate - HC
Numeric Emission Estimate - CO
Alphanumeric Comment
Alphabetic Action Code
Alphabetic 'A1 (Area Source)
Numeric '7' (Card Number)
                                                  (Page  10 of 10)



Figure 4.3.2-a - continued.   NEDS Area Source Transaction  Formats
                               128

-------
EIS/AS

FILE CREATION AND

MAINTENANCE
SECTION 4.3.2

NEDS TO EIS/AS

PROGRAM CCENETR  (EC0030)
Page 36

Release Date: 2/01/80

Update #:  A-l
                                                                                o
                                                                                Q.
                                                                                Ol
                                                                                O
                        u.  <
                        O  X
                                              o — c c y
                                              •C     X
                                                                                CD
                                                                                ro
                                                                                I
                                                                               CM
                                                                               co
                        =J  2
                        =  7.
                        =  3
                                                                                •3
                                                                                CO
                                                                               •r—
                                          C
                                          OJ
                                          z
                                              c a c
                                              JJ TC X.
                                       129

-------
EIS/AS

FILE CREATION AND

MAINTENANCE
SECTION 4.3.2

NEDS TO EIS/AS

PROGRAM CCENETR (EC0030)
Page 37

Release Date: 2/01/80

Update #;  A-l

— X
IX
•?
c
e
c
»•«•. O
r^ C
C C
- c
*• c
— —
*- c
O 5
c
0 -
r-1 c
c s
2
£

o — •
ir —
P
C: c:
t> c
f7
UOIa/ t?

C C


Z>
•C


o r-
X X



i
w
a
-
CO
c/:
2


0
c-
c.
If
(X
0
,_
in
c
c.
f\l
o
c
c
o
U H 0 } « 1

X



i
i-
=•
-
•o
u:
s


t
c.
o
c
0
LT
f\j
=

IT
[OOut'dOuO
?
o
c
X

X
*


ut a:
t- ^
a a
— —
cc er
E i


o c.
c o
C O
c o
3> 0
IP L/"1
Xi fV
C- C-

J" tf '
onopooooi
ooo?uf>ooi
0 C
c c.
'4 M 0 ft 9 (
/J ft 0 0 S (

X1 tJ
» '

tf V6UOO Jb
c

r

C
O
CT-

c.
S
«
»


|
C

.S7-501

0
x>
5

VstoliUOVUOOO^tfSl
V £
C X
c
C:
r
s
"-
c
X1
IT
C
or x

c i"
c c



2 o. or
LJ (^ U
a: tr a-

c •— — •—
a. (/ cr v-.
c- ^ z v
0-
C -
tr ir IT
1 I /I 0 I) 0
00« I ,»000 1
o o a t <• o o o ;
onal<>oooi
f r^" K
C C C C
C C C C
O CC X X1
sc ac a: x a:

X X CC CC at
-C * * ^ *
X (X) X X X

J~
•X
c
•x
c
^
c



c


i
:
J-'
_
c
c
(X
c
*/»
o
c
c
J-
cc

c
X


~

J-
"
c






-
z
fw
unon i ouor
c
c
X

3"
X

fX
c
c
c
"V.
r\'

c
r

P--
c
c


=
c.
c
c-
~n
K
C
0
c


a;

x







fi
r.
c

c
i





;
c


a:

iT -C -*•

X
u
^ *
~ i.
u- —
s a?
cr ?
o-
=r <
c rr
c —
c

^
0
1 S i? 0 0 ^
ooal ?ooo i

c c
>lt»WW
w
•> 6 1 o 0 y

X SC CC

                                                                              (O
                                                                              l/>
                                                                              c
                                                                              (C
                                                                              Q.
                                                                              G
                                                                              U
                                                                               I
                                                                              CM

                                                                              CO
                                                                              Ol
                                       130

-------
EIS/AS

FILE  CREATION AND

MAINTENANCE
                        SECTION 4.3.2

                        NEDS  TO EIS/AS

                        PROGRAM CCENETR  (EC0030)
                            Page  38

                            Release Date: 2/01/80

                            Update #:   A-l
                                                                                         •M
                                                                                         tn
                                                                                         
                                                                                         O
                                                                                         fO
                                                                                         s-
                                                                               ro
                                                                               c

                                                                               C1J
                                                                               •M
                                                                                         -l->
                                                                                         3
                                                                                         Q.
           «s n «= -
           l. er. t_ c
           o c c c-  *- i
                          C— C-CTC
                                                                                         I
                                                                                        CM
                                                                                        CO


                                                                                        ^
                                                                                         cu
                            <1 «3 
                                                            cccccccc
• c c ~ c c •
 o r = ^ ^r
 c c c c c •

 c c c o c -
'00000
 c. ~ e c- c.
                                              J" X
                                              C C
                                              oc^
                                              cc
                     o c c o
                     . o c o o
                     c c c c
                            cccccccc-c
                            oc cc -r
1 O O C O
 cccc ccccccecccc

 c-cocrocccccccc cc

 c-ccc.c-cccccocc.ee

 ccccccccccc-ccrcc
•oos>ooc;oo rooo^oo
 cccccccvcccercccc
                                                                        o o c- c-
                                                                        c c c -
o o o ~
c c c c
> o c* o
c- — — — •


C C. C C '
o c- o o
C C C C '
o © o o
C C C C '
                                            131

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
        SECTION 4.3.2
        NEDS TO EIS/AS
        PROGRAM CCENETR (EC0030)
Page 39
Release Date: 2/01/80
Update #:  A-1	
          COLUMN 1 COLUMN 4 COLUMN 10
            V
      V
            YY
FLAGW  LIST
Blank  Blank
     Note:  A two-digit year must be specified for editing purposes.
                      Figure 4.3.2-e.  Option Card Format
                                      132

-------
EIS/AS SECTION 4.3.
FILE CREATION AND NEDS TO EIS/
MAINTENANCE PROGRAM CCEN
// » ^ ^'Ai MH/AOH 7 Ht f>t,FPf in, LI MYD M. ( v 1 v ) S'4
//*
//* PK'HCM'UMF NAM(-_; M.O. f|0
//» in tf | SKIN LF Vt.l : t -oo
//* 1 AS T IIPDA If ft : A-l
//* "A If. 1 'i( iiwPii^A ) tn : f HiwiiAivy i, IH.S . HO . APh A • , n(iOi)tr>00
// piv(t<.i , L A 1 . (, ,l)F"Lf TF ' ,
// FMlHARY^o"'
// (HI 1 r A
//*
//tnr.ivhM Fxri, IM.M= 0 0
0000? /no
0 0 ') 0 2 rt 0 rt
//* LDUVf-HI NFllS IhA,jr>. Ill f S/AS MAStk>'1 F K.f; IMIF.k'NAI IhAvS. Oono?^')l)
// *
//SII-H.)*1 01) DSl'tAMFsHI'KIKll- r I . .1 UAO»
// VUL'^iF =(PH 1 VATt ,HM « |M) ,
//*
//* 1 MHli T DA I A St I - uh Oy 1 UftMSAC T UHJS
//*
//FLSINI'T r>i> DriiMAi»F = INPUT ,
// I)LH = H| K.SI /^ =>\n
//*
//« lljPMI |)AI» SM - HIM |l>. J LflKP
//*
//M.suPif-' nil i/nijA.fli- =n|Ji |(u, i,
// llT -Hrnl (\S I / t -rM)
//*
//* iilllt'UI DAlA SM - l-.l'i/AS 1nsiH< MLf In
// •
//M, lllllir Ilii liSNA • h rM-'WiP.H I, I . .IM1 a. r. 1 -j 1 H 1 M
// V' i|_H .)F = ( I'l-1 I Vi. Th , i M ' 1 'v, ^L*-1-^ ''
/ / 1 1 ' i 1 1 r », 1 J " | I ,
// nli-Prfc.!'!^!1),
/ / St'iif" 1 = ( > I'M MM 1 I . ( • P" 1 ' ftK > , «.'>!
//*
//* i ni i P.I I LI, T A ;,( I - i) 1 i\i, I'KI 1 1 r "i '' .* 1
//*
//K.';,' 1 ul nil ;, r '-H(i 1 = ,. Ill 1
// *
ooou^uto
0 0 0 0 T I 0 0
Duoo.vo't
n o o o ^y o o
n o n o 1 S o o
1 1 (I 0 (j J f, 0 0
0000 WMj
nooo?rtno
I) 0 0 0 ^ V 0 ')
n()OQfj<)nn
OOOO'I 1 "0
o ooo 'i^ no
('UOO'J i'10
0 00 11/4 '|D(J
It-HilAt 1 HA MS *l. 1 1 UliS OllOO'JS'lO
0 (I 0 0 '1 h 0 0
t 0 0 0 0 '1 / It ()
h 1 A 1 ) , n u n 1 1 a M it o
TllOo'l -/It 0
o onii'M)o ii
'Ji'"v ) ,n -.( j OOOOM oi,
I"MIO IS/AO
ft 'Ml )S $D(l
doruiSnoo
(HlllllSSMII
" n -1 il'm" n
                                       (Page 1 of 2)
Figure 4.3.2-f.   Cataloged Procedure ECCET10
                    133

-------
EIS/AS
FILE  CREATION  AND
MAINTENANCE
                             SECTION 4.3.2
                             NEDS  TO EIS/AS
                             PROGRAM CCENETR (EC0030)
Page  41
Release  Date:  2/01/80
Update #:  A-l
//*  Mlll^Ul
//*
//(• CSIWI
//*
//*  uiimiT
//*
//»
//*
               DATA bf I  - rtFl'S IKA'ISAC J JlHti
               DO
               OATA SMP -
                    sf I -  liilFHUAl
                                              lS LIMl'M,
   //*
   //s t sf P i ''' I  |io :->Yb
   //*
//*
               "I) tSY.Sl>li1=KlMll

               ill) SYM'li
    //*
    //*
                                                                           o 1 1 n i) s H o o
                                                                           'i i) " o ^ I 0 *.)
                                                                           0 01 ()fi r''lll
                                                                           n o f> o f. 6 o f
                                                                           (1 1) II I) fi / 0 I)
                                                                        'iiioo 7 you
                                                                        (10(1071 00
                                                                        (Kind /f'UO
                                                                        (i o n (i 7 i o o
                                                                        0 o 0 U 7 <4 0 i)
                                                                            7M'u
                                                                (Page  2  of 2)
             Figure 4.3.2-f - continued.   Cataloged Procedure CCCLT10
                                           134

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
              SECTION 4.3.2
              NEDS TO EIS/AS
              PROGRAM CCENETR (EC0030)
                      Page 42
                      Release Date: 2/01/80
                      Update #:  A-l
Parameter
  Name

PROJECT
Default
 Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROGRAM
TIME1
UNIT
SERIAL
DISP

SPCUNIT
PRIMARY
SECNDRY
INTRTRN
OUT
REGION1
CCENETR
'1,0'
3330
CDHSPK
'NEW,CATLG,
DELETE'
TRK
20
10
ECINTERN
A
100K
      Description

Highest-level index of data set names (e.g.,
CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECINTERN
would be the full data set name of the EIS/AS
internal transactions)
NEDS to EIS/AS conversion-edit program
Time allocated for execution of CCENETR
Unit type to which internal transactions are
to be written
Volume identification to which internal
transactions are to be written
Disposition of internal transactions

Units in which space for internal
transactions is  to be allocated
Primary space allocation for internal
transactions
Secondary space  allocation for internal
transactions
Lowest-level index of data set to  contain
internal transactions
SYSOUT class for all print files
Region size allocated for execution of
CCENETR
             Figure 4.3.2-g.   Substitutable Parameters  for ECCET10
                                      135

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 1
Release Date: 2/01/80
Update #::  A-l
4.3.3  MASTER FILE TRANSACTION EDIT PROGRAM - CEDMSTR (EC0040)

4.3.3.1  Description

     The EIS/AS master file is created and updated by EIS/AS input
transactions.  These transactions can be either add,  change, or delete
transactions.  The master file transaction edit program edits the input
transactions and converts those that pass the edit criteria into internal
transactions that can be input to the master file maintenance program, CFMHSTR
(EC0070).

     There are four classes of transactions:  description,  category,  NEDS
comment, and EIS/AS comment.   Description transactions are  used to  add,
change, or delete description records for counties or suballocations  of
counties; category transactions, to add, change, or delete  aggregate  or
disaggregate category records for counties or suballocations of counties;  NEDS
comment transactions, to add, change, or delete NEDS  comment records  (county
level only); and EIS/AS comment transactions, to add, change, or delete EIS/AS
comment records.  There are seven formats for description transactions, five
formats for category transactions, one format for NEDS comment transactions,
and one format for EIS/AS comment transactions.  Any  valid  add transaction
will create a master file record.  Thus, a description record can be  added by
entering any one (or more) of the seven description transactions; a category
record, by any one (or more)  of the five category records;  and a comment
record, by any one (or more)  of the two comment transactions.  However,
certain records are subordinate to others and cannot  be added independently.
The following restrictions apply:

     1)   A county description record must be present before any other records
          will be accepted for that county.  This description record  can be
          added in the same run as the other records.
                                     136

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 2
Release Date: 2/01/80
Update #:  A-l
     2)   A description record (county or suballocation) must be present
          before any category records (or category disaggregation records)  can
          be accepted for that geographic area.
     3)   Comment records will only be added if there is a record in the
          master file (description or category)  with matching key information,
          including state, county, geographic suballocation number,  category
          number, and category disaggregation number.

     See Figure 4.3.3-a for an illustration of the various transaction formats
and Appendix C for sample load sheets.

     The input transactions can be entered in any order since the editing of  a
transaction is done independently of other transactions.  CEDMSTR (EC0040)
edits each field of each transaction for proper format and, where possible,
proper content.  See Figure 4.3.3-b for a description of the EIS/AS
transaction fields and their valid codes (note that  if no valid codes are
given for a field, then that field can contain any information the user
desires).  Special edits include checking that UTM coordinates are within
acceptable ranges for the state and that ash and sulfur contents do not exceed
established maximum values.  See Appendix A, Table A-l for a list of
acceptable ranges for UTM coordinates and Appendix A, Table A-2 for a list  of
maximum values for ash and sulfur contents.

     If an optional field in an input transaction does not pass the  edit
criteria, that field is rejected; however, other fields in that transaction
that are valid are accepted.  If a required field in an input transaction does
not pass the edit criteria, the transaction is rejected.  The required
transaction fields are the key fields (state, county, AQCR, geographic
subal location number, category number, and category  disaggregation number),
action code, card number, subal location type, G  code, disaggregation type,  N
code, R code, year (in a description 1 add transaction), and pollutant ID (on
a category 5 transaction).   On a description 7 transaction, which can add,
                                     137

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 3
Release Date: 2/01/80
Update #:  A-l
change, or delete up to two sets  of pollutant  information,  the  pollutant  ID  of
each pollutant to be added, changed, or deleted  must be specified.   All other
transaction fields are optional.

     A change transaction with an asterisk  in  the  first position  of  an
optional field will  cause that field in the master file to  be changed to
blanks (unless blanks are not valid for that field).   For example, the major
activity field in a  master file description record can be changed to spaces  by
entering a description 1 change transaction containing the  correct key fields
and an asterisk in column 47 (see Figure 4.3.3-a).

     The data confidence rating,  emission factor confidence rating,  attainment
status, NEDS A6 comment, uniform hourly thruput, and uniform monthly thruput
fields cannot be blank.  If valid codes are not  specified for these  fields,
default values are assigned as follows:  data  confidence rating and  emission
factor confidence rating, 0; attainment status,  U;  NEDS A6  comment,  GENERATED
BY EIS/AS; and uniform hourly and uniform monthly  thruput,  Y.   These default
values are assumed whenever the fields are  blank or invalid in  an add
transaction or contain an asterisk in the first  position in a change
transaction.

4.3.3.2  File Formats

     CEDMSTR (EC0040) uses two input files: the EIS/AS transaction  file  and
an option card.  See Figure 4.3.3-a for the transaction formats.  The options
are discussed in Section 4.3.3.3.

     CEDMSTR (EC0040) produces a diagnostic report and a file containing
internal transactions.  The output internal transactions are in the  format
required for input to the master file maintenance  program,  CFMMSTR  (EC0070),
or the master file internal transaction emission factor insertion program,
CMSEFIN (EC0060), but are not in the required  sort order.  The  master file
                                     138

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 4
Release Date:  2/01/80
Update #:   A-l
internal transaction sort program, CSRINTR (EC0050), must be run on these
transactions prior to running the master file maintenance program or the
master file internal transaction emission factor insertion program.   (See
Section 4.3.5, Master File Internal Transaction Emission Factor Insertion
Program and Section 4.3.6, Master File Maintenance Program.)  Figure 4.3.3-c
illustrates the formats of the internal  transactions.

     CEDMSTR (EC0040) also produces a diagnostic report containing a listing
of the transactions that contain errors.  The character B will  appear below
the beginning character of each erroneous field and the character E will
appear below the ending character.  An erroneous field with a length of one
character will only have the character B below it.  Also, a reference number
will appear to the right of the transaction indicating its location in the
input transaction file.  See Figure 4.3.3-d for an example of the diagnostic
report.

     An optional listing of the input transactions and an optional  listing of
the output internal transactions can also be produced.  See Section 4.3.3.3
for a discussion of these listings and instructions for producing them.   See
Figures 4.3.3-e and 4.3.3-f for examples of these listings.

4.3.3.3  Options

     Options are specified by the user on an option card read by CEDMSTR
(EC0040).   There are three option fields, which are discussed below.   Figure
4.3.3-g shows the format of the option card.

     The first option card field is the  option year, which is a required
field.  It specifies the largest value to be allowed for the year in the
description 1 transaction (add or change).   Any description 1 transaction with
a year greater than the year on the option card will be rejected.   In the
case of add transactions, if a description 1  add transaction is rejected  by
                                     139

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 5
Release Date: 2/01/80
Update #:   A-l
the master file transaction edit program,  CEDMSTR  (EC0040),  then  all
accompanying description add transactions  for the  same county or  suballocation
will be rejected by the master file maintenance program,  CFMMSTR  (EC0070),
because a description 1 transaction is required to add a  description  record to
the master file.  Furthermore, any add transactions for records subordinate to
the rejected description transactions will  be rejected by the master  file
maintenance program because a description  record is required for  a county or a
subal location in order to add category, NEDS comment,  or  EIS/AS comment
records for that county or suballocation.   Thus, when  the year of a
description 1 add transaction exceeds the  option year, no data for that  county
or subal location is added to the master file.

     The second option field is the FLAGW  option field.  If  FLAGW is
specified, all warning messages generated  by CEDMSTR (EC0040) will be printed
in the diagnostic report along with any other error messages. Note that
warning messages are generated by transaction fields that contain questionable
values but that are not rejected.  If NOFLAGW is specified,  warning messages
are suppressed and only conditional, error, abort, and disaster messages will
appear in the diagnostic report.  If the FLAGW option  field  is not specified,
the default, NOFLAGW, will be in effect.

     The third option field is the LIST field.  If LIST is specified, two
optional listings will be produced.  These are listings of the input
transactions and the output internal transactions.  The list of input
transactions includes all transactions entered, and the list of output
internal transactions includes the internal transactions  which were generated
by the input transactions that passed the  edit criteria.   In both optional
listings, each transaction is accompanied  by a reference  number printed  to the
right of the transaction.  For the input transactions, this  reference number
indicates the location of the transaction  in the input transaction file; for
the output internal transactions, it indicates the location  of the input
                                     140

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEUMSTR (EC0040)
Page 6
Release Date: 2/01/8C
Update #:   A-l
transaction that generated the internal transaction.  See Figures 4.3.3-e and
4.3.3-f for examples of these listings.

4.3.3.4  Error Messages

CEDMSTR 001 ABORT - OPTION CARD MISSING
     Meaning:  An option card must be entered, and it must specify an option
               year.
      Action:  Enter an option card.   Resubmit the job.

CEDMSTR 002 ABORT - YEAR ON OPTION CARD INVALID
     Meaning:  A two-digit year must  be entered on the option card, starting
               i n column one.
      Action:  Correct the option card.  Resubmit the job.

CEDMSTR 003 CONDITIONAL - BLANK OR INVALID FLAGW OPTION, ASSUMING NOFLAGW
     Meaning:  Either no entry or an  invalid entry appears in columns four
               through 10 of the option card.   The valid FLAGW options are
               FLAGW and NOFLAGW, beginning in column four.
      Action:  No action is required  if the NOFLAGW option is desired.
               Otherwise, correct the option card and resubmit the job.

CEDMSTR 004 CONDITIONAL - BLANK OR INVALID LIST OPTION,  ASSUMING NOLIST
     Meaning:  Either no entry or an  invalid entry appears in columns 12
               through 17 of the option card.   The valid LIST options are LIST
               and NOLIST, beginning  in column 12.
      Action:  No action is required  if the NOLIST option is desired.
               Otherwise, correct the option card and resubmit the job.

CEDMSTR 005 ERROR - COLUMN 80 - INVALID ACTION CODE, CARD REJECTED
     Meaning:  The action code is not A, C, or D.
                                     141

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 7
Release Date: 2/01/80
Update #,:  A-l
      Action:  Correct the action code and resubmit the transaction.

CEDMSTR 006 ERROR - COLUMN 78 - INVALID, CARD REJECTED
     Meaning:  Column 78 is not G (for a description transaction),  A or D (for
               a category transaction), N (for a NEDS comment transaction),  or
               R (for an EIS/AS comment transaction).
      Action:  Correct column 78 and resubmit the transaction.

CEDMSTR 007 ERROR - COLUMN 77 - INVALID SUBALLOCATION TYPE,  CARD REJECTED
     Meaning:  The suballocation type is not C or S.
      Action:  Correct the suballocation type and resubmit the transaction.

CEDMSTR 008 ERROR - COLUMN 79 - INVALID CARD NUMBER, CARD REJECTED
     Meaning:  The card number must be 1 through 7 for a description
               transaction, 1 through 5 for a category transaction, 0 for a
               NEDS comment transaction, or 1 or 2 for an EIS/AS comment
               transaction.
      Action:  Correct the card number and resubmit the transaction.

CEDMSTR 009 ERROR - COLUMN 01 - INVALID STATE CODE, CARD REJECTED
     Meaning:  The state code must be a number from 01 through 55.
      Action:  Correct the state code and resubmit the transaction.

CEDMSTR 010 ERROR - COLUMN 03 - INVALID COUNTY CODE, CARD REJECTED
     Meaning:  The county code is not numeric.
      Action:  Correct the county code and resubmit the transaction.

CEDMSTR Oil ERROR - COLUMN 07 - INVALID AQCR, CARD REJECTED
     Meaning:  The AQCR code must be a number from 001 through 247.
      Action:  Correct the AQCR code and resubmit the transaction.
                                     142

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 8
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 012 ERROR - COLUMN 10 - INVALID SUBALLOCATION NUMBER,  CARD  REJECTED
     Meaning:  The geographic suballocation number is not numeric.
      Action:  Correct the suballocation number and resubmit the transaction.

CEDMSTR 013 ERROR - COUNTY WITH NONZERO SUBALLOCATION NUMBER,  CARD  REJECTED
     Meaning:  The suballocation type is C (county),  but the geographic
               suballocation number is nonzero.
      Action:  Correct the suballocation type or the  geographic suballocation
               number.  Resubmit the transaction.

CEDMSTR 014 ERROR - SUBCOUNTY WITH ZERO SUBALLOCATION NUMBER,  CARD  REJECTED
     Meaning:  The suballocation type is S (subcounty), but the geographic
               suballocation number is zero.
      Action:  Correct the suballocation type or the  geographic suballocation
               number.  Resubmit the transaction.

CEDMSTR 015 ERROR - COLUMN 15 - INVALID YEAR  OF RECORD, CARD REJECTED
     Meaning:  The year in a description 1 transaction is not  numeric  or (in
               an add transaction) is blank.
      Action:  Correct or enter the year.  Resubmit the transaction.

CEDMSTR 016 ERROR - COLUMN 15 - YEAR OF RECORD GREATER THAN YEAR ON OPTION
            CARD, CARD REJECTED
     Meaning:  The year in a description 1 transaction is greater than the
               year on the option card.
      Action:  Correct the year in the transaction or the year on the  option
               card.  Resubmit the transaction.

CEDMSTR 017 ERROR - COLUMN 15 - CATEGORY NUMBER INVALID, CARD  REJECTED
     Meaning:  The category number is not numeric  or  is zero.
      Action:  Correct the category number and resubmit the transaction.
                                     143

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 9
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 018 ERROR - COLUMN 18 - DISAGGREGATE NUMBER INVALID,  CARD  REJECTED
     Meaning:  The disaggregate number is not numeric.
      Action:  Correct the disaggregate number and resubmit  the  transaction.

CEDMSTR 019 ERROR - AGGREGATE TRANSACTION WITH NONZERO  DISAGGREGATE NUMBER,
            CARD REJECTED
     Meaning:  The disaggregation type is A (aggregate),  but  the category
               disaggregation number is nonzero.
      Action:  Correct the disaggregation type or the category disaggregation
               number.  Resubmit the transaction.

CEDMSTR 020 ERROR - DISAGGREGATE TRANSACTION WITH ZERO  DISAGGREGATE NUMBER,
            CARD REJECTED
     Meaning:  The disaggregation type is D (disaggregate)  but the category
               disaggregation number is zero or blank.
      Action:  Correct the disaggregation type or the category disaggregation
               number.  Resubmit the transaction.

CEDMSTR 021 ERROR'- COLUMN 20 - LINE NUMBER INVALID,  CARD REJECTED
     Meaning:  The line number is not numeric, or the line  number is zero on
               an add or change transaction.
      Action:  Correct the line number and resubmit the transaction.

CEDMSTR 022 ERROR - COLUMNS 15-76 NOT BLANK FOR DESCRIPTION  DELETE, CARD
            REJECTED
     Meaning:  Columns 15 through 76 must be blank in a description 1 delete
               transaction.
      Action:  Correct and resubmit the transaction.
                                     144

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 10
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 023 ERROR - COLUMNS 20-41 NOT BLANK FOR DESCRIPTION POLLUTANT DELETE,
            COLUMNS 15-41 REJECTED
     Meaning:  Columns 20 through 41 must be blank in a description 7 delete
               transaction.
      Action:  Correct and resubmit the transaction.

CEDMSTR 024 ERROR - COLUMNS 48-69 NOT BLANK FOR DESCRIPTION POLLUTANT DELETE,
            COLUMNS 43-69 REJECTED
     Meaning:  Columns 48 through 69 must be blank in a description 7 delete
               transaction.
      Action:  Correct and resubmit the transaction.

CEDMSTR 025 ERROR - COLUMNS 20-76 NOT BLANK FOR CATEGORY DELETE, CARD REJECTED
     Meaning:  Columns 20 through 76 must be blank in a category 1 delete
               transaction.
      Action:  Correct and resubmit the transaction.

CEDMSTR 026 ERROR - COLUMNS 25-76 NOT BLANK FOR CATEGORY POLLUTANT DELETE,
            CARD REJECTED
     Meaning:  Columns 25 through 76 must be blank in a category 5 delete
               transaction.
      Action:  Correct and resubmit the transaction.

CEDMSTR 027 ERROR - COLUMNS 10-77 NOT BLANK FOR NEDS COMMENT DELETE, CARD
            REJECTED
     Meaning:  Columns 10 through 77 must be blank in a NEDS comment delete
               transaction.
      Action:  Correct and resubmit the transaction.
                                     145

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 11
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 028 ERROR - COLUMNS 23-77 NOT BLANK FOR EIS/AS COMMENT DELETE,
            CARD REJECTED
     Meaning:  Columns 23 through 77 must be blank  in an EIS/AS comment delete
               transaction.
      Action:  Correct and resubmit the transaction.

CEDMSTR 029 ERROR - COLUMN 79 - INVALID CARD NUMBER FOR DELETE TRANSACTION,
            CARD REJECTED
     Meaning:  The action code is D (delete), but the card number is not 1 (to
               delete a description record, a category record, an EIS/AS
               comment, or a line of an EIS/AS comment), 0 (to delete a NEDS
               comment record), 7 (to delete a pollutant from a description
               record), or 5 (to delete a pollutant from a category record).
      Action:  Correct the card number and resubmit the transaction.

CEDMSTR 030 ERROR - COLUMN 17 - INVALID DAY, REPLACING SPACES
     Meaning:  The day is not a number between zero and 366.   It is replaced
               by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 031 ERROR - COLUMN 20 - INVALID AIR BASIN,  REPLACING  SPACES
     Meaning:  The air basin is not numeric.  It is replaced  by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 032 ERROR - COLUMN 23 - INVALID SMSA, REPLACING SPACES
     Meaning:  The SMSA is not numeric.  It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     146

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 12
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 033 ERROR - COLUMN 71 - INVALID SIP BASE YEAR, REPLACING SPACES
     Meaning:  The SIP base year is not numeric.  It is replaced by spaces in
               the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 034 ERROR - COLUMN 73 - INVALID PROJECTED YEAR, REPLACING SPACES
     Meaning:  The projected year is not numeric.  It is replaced by spaces
               in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 035 ERROR - COLUMN 75 - INVALID % RURAL, REPLACING SPACES
     Meaning:  The rural population percentage is not numeric.   It is replaced
               by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 036 ERROR - COLUMN 15 - INVALID POPULATION, REPLACING SPACES
     Meaning:  The population is not numeric.  It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 037 ERROR - COLUMN 15 - INVALID SUBALLOCATION TECHNIQUE CODE,
            REPLACING SPACES
     Meaning:  The subal location technique code is not numeric.  It is
               replaced by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     147

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 13
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 038 ERROR - COLUMN 37 - INVALID DEFINED AREA CODE,  REPLACING SPACES
     Meaning:  The defined area code is not numeric.  It is replaced by spaces
               in the output internal  transaction.
      Action:  Correct and resubmit this field on an input  transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 039 ERROR - COLUMN 40 - INVALID SULFUR-ANTHRACITE COAL,  REPLACING
            SPACES
     Meaning:  The sulfur content-anthracite coal value is  not numeric.  It is
               replaced by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input  transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 040 CONDITIONAL - COLUMN 40 - SULFUR-ANTHRACITE COAL OUT OF RANGE
     Meaning:  The sulfur content-anthracite coal value exceeds  2.0.  However,
               the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 041 ERROR - COLUMN 42 - INVALID SULFUR-BITUMINOUS COAL,  REPLACING
            SPACES
     Meaning:  The sulfur content-bituminous coal value is  not numeric.  It is
               replaced by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input  transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 042 CONDITIONAL - COLUMN 42 - SULFUR-BITUMINOUS COAL OUT OF RANGE
     Meaning:  The sulfur content-bituminous coal value exceeds  7.0.  However,
               the data is accepted.
                                     148

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 14
Release Date: 2/01/80
Update #:  A-l
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 043 ERROR - COLUMN 44 - INVALID SULFUR-DISTILLATE OIL, REPLACING
            SPACES
     Meaning:  The sulfur content-distillate oil value is not numeric.  It is
               replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 044 CONDITIONAL - COLUMN 44 - SULFUR-DISTILLATE OIL OUT OF RANGE
     Meaning:  The sulfur content-distillate oil value exceeds 1.0.  However,
               the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 045 ERROR - COLUMN 46 - INVALID SULFUR-RESIDUAL OIL, REPLACING SPACES
     Meaning:  The sulfur content-residual oil value is not numeric.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 046 CONDITIONAL - COLUMN 46 - SULFUR-RESIDUAL OIL OUT OF RANGE
     Meaning:  The sulfur content-residual oil value exceeds 5.0.  However,
               the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.
                                     149

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 15
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 047 ERROR - COLUMN 48 - INVALID ASH-ANTHRACITE COAL, REPLACING SPACES
     Meaning:  The ash content-anthracite coal  value is not numeric.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 048 CONDITIONAL - COLUMN 48 - ASH-ANTHRACITE COAL OUT OF RANGE
     Meaning:  The ash content-anthracite coal  value exceeds 25.0.   However,
               the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 049 ERROR - COLUMN 51 - INVALID ASH-BITUMINOUS COAL, REPLACING SPACES
     Meaning:  The ash content-bituminous coal  value is not numeric.   It is
               replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 050 CONDITIONAL - COLUMN 51 - ASH-BITUMINOUS COAL OUT OF RANGE
     Meaning:  The ash content-bituminous coal  value exceeds 25.0.   However,
               the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 051 ERROR - COLUMN 54 - UTM ZONE 1 INVALID, REPLACING SPACES
     Meaning:  UTM zone 1 is not numeric.  It is replaced by spaces in the
               output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     150

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 16
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 052 CONDITIONAL - COLUMN 54 - UTM ZONE 1 OUT OF RANGE
     Meaning:  UTM zone 1 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 053 ERROR - COLUMN 56 - UTM HORIZONTAL 1 INVALID, REPLACING SPACES
     Meaning:  UTM horizontal 1 is not numeric.  It is replaced by spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 054 CONDITIONAL - COLUMN 56 - UTM HORIZONTAL 1 OUT OF RANGE
     Meaning:  UTM horizontal 1 is not within the range for the state (refer
               to Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 055 ERROR - COLUMN 60 - UTM VERTICAL I INVALID, REPLACING SPACES
     Meaning:  UTM vertical 1 is not numeric.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 056 CONDITIONAL - COLUMN 60 - UTM VERTICAL 1 OUT OF RANGE
     Meaning:  UTM vertical 1 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.
                                     151

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 17
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 057 ERROR - COLUMN 65 - UTM ZONE 2 INVALID,  REPLACING SPACES
     Meaning:  UTM zone 2 is not numeric.   It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if  valid.

CEDMSTR 058 CONDITIONAL - COLUMN 65 - UTM ZONE 2 OUT OF RANGE
     Meaning:  UTM zone 2 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 059 ERROR - COLUMN 67 - UTM HORIZONTAL 2 INVALID, REPLACING SPACES
     Meaning:  UTM horizontal 2 is not numeric.  It  is replaced by  spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if  valid.

CEDMSTR 060 CONDITIONAL - COLUMN 67 - UTM HORIZONTAL 2 OUT OF RANGE
     Meaning:  UTM horizontal 2 is not within the range for the state (refer
               to Appendix A, Table A-l).   However,  the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 061 ERROR - COLUMN 71 - UTM VERTICAL 2 INVALID, REPLACING SPACES
     Meaning:  UTM vertical 2 is not numeric.  It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if  valid.
                                     152

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 18
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 062 CONDITIONAL - COLUMN 71 - UTM VERTICAL 2 OUT OF RANGE
     Meaning:  UTM vertical 2 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 063 ERROR - COLUMN 15 - UTM ZONE 3 INVALID, REPLACING SPACES
     Meaning:  UTM zone 3 is not numeric.  It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 064 CONDITIONAL - COLUMN 15 - UTM ZONE 3 OUT OF RANGE
     Meaning:  UTM zone 3 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 065 ERROR - COLUMN 17 - UTM HORIZONTAL 3 INVALID, REPLACING SPACES
     Meaning:  UTM horizontal 3 is not numeric.   It is replaced by spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 066 CONDITIONAL - COLUMN 17 - UTM HORIZONTAL 3 OUT OF RANGE
     Meaning:  UTM horizontal 3 is not within the range for the state (refer
               to Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.
                                     153

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 19
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 067 ERROR - COLUMN 21 - UTM VERTICAL 3 INVALID,  REPLACING SPACES
     Meaning:  UTM vertical  3 is not numeric.   It is replaced by spaces in
               the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if valid.

CEDMSTR 068 CONDITIONAL - COLUMN 21 - UTM VERTICAL 3 OUT OF RANGE
     Meaning:  UTM vertical  3 is not within the range for the state (refer to
               Appendix A, Table A-l).  However,  the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated  later by a change
               transaction.

CEDMSTR 069 ERROR - COLUMN 26 - UTM ZONE 4 INVALID, REPLACING SPACES
     Meaning:  UTM zone 4 is not numeric.  It is  replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if valid.

CEDMSTR 070 CONDITIONAL - COLUMN 26 - UTM ZONE 4  OUT OF  RANGE
     Meaning:  UTM zone 4 is not within the range for the state (refer to
               Appendix A, Table A-l).  However,  the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated  later by a change
               transaction.

CEDMSTR 071 ERROR - COLUMN 28 - UTM HORIZONTAL 4  INVALID, REPLACING SPACES
     Meaning:  UTM horizontal 4 is not numeric.  It is replaced by spaces in
               the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if valid.
                                     154

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 20
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 072 CONDITIONAL - COLUMN 28 - UTM HORIZONTAL 4 OUT OF RANGE
     Meaning:  UTM horizontal 4 is not within the range for the state (refer
               to Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 073 ERROR - COLUMN 32 - UTM VERTICAL 4 INVALID, REPLACING SPACES
     Meaning:  UTM vertical 4 is not numeric.  It is replaced by spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction. Other
               fields on the card were accepted, if valid.

CEDMSTR 074 CONDITIONAL - COLUMN 32 - UTM VERTICAL 4 OUT OF RANGE
     Meaning:  UTM vertical 4 is not within the range for the state  (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 075 ERROR - COLUMN 37 - UTM ZONE 5 INVALID, REPLACING SPACES
     Meaning:  UTM zone 5 is not numeric.  It is replaced by spaces  in the
               output internal transaction.
      Action:  Correct and resubmit this field on an input transaction. Other
               fields on the card were accepted, if valid.

CEDMSTR 076 CONDITIONAL - COLUMN 37 - UTM ZONE 5 OUT OF RANGE
     Meaning:  UTM zone 5 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by a change
               transaction.
                                     155

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 21
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 077 ERROR - COLUMN 39 - UTM HORIZONTAL 5 INVALID,  REPLACING SPACES
     Meaning:  UTM horizontal 5 is not numeric.   It is replaced by spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 078 CONDITIONAL - COLUMN 39 - UTM HORIZONTAL 5 OUT OF RANGE
     Meaning:  UTM horizontal 5 is not within the range for the state (refer
               to Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by  a change
               transaction.

CEDMSTR 079 ERROR - COLUMN 43 - UTM VERTICAL 5 INVALID, REPLACING SPACES
     Meaning:  UTM vertical 5 is not numeric.  It is replaced by spaces  in the
               output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 080 CONDITIONAL - COLUMN 43 - UTM VERTICAL 5 OUT OF RANGE
     Meaning:  UTM vertical 5 is not within the range for  the state (refer to
               Appendix A, Table A-l).  However, the data  is accepted.
      Action:  The field may be corrected and the job resubmitted, or the
               master file record may be updated later by  a change
               transaction.

CEDMSTR 081 ERROR - COLUMN 48 - UTM ZONE 6 INVALID, REPLACING SPACES
     Meaning:  UTM zone 6 is not numeric.  It is replaced  by spaces in the
               output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Qther
               fields on the card were accepted, if valid.
                                     156

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 22
Release Date:  2/01/80
Update #:   A-l
CEDMSTR 082 CONDITIONAL - COLUMN 48 - UTM ZONE 6 OUT OF RANGE
     Meaning:  UTM zone 6 is not within the range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 083 ERROR - COLUMN 50 - UTM HORIZONTAL 6 INVALID, REPLACING SPACES
     Meaning:  UTM horizontal 6 is not numeric.   It is replaced by  spaces in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 084 CONDITIONAL - COLUMN 50 - UTM HORIZONTAL 6 OUT OF RANGE
     Meaning:  UTM horizontal 6 is not within the range for the state (refer
               to Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.

CEDMSTR 085 ERROR - COLUMN 54 - UTM VERTICAL 6 INVALID, REPLACING SPACES
     Meaning:  UTM vertical 6 is not numeric.  It is replaced by spaces  in the
               output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 086 CONDITIONAL - COLUMN 54 - UTM VERTICAL 6 OUT OF RANGE
     Meaning:  UTM vertical 6 is not within the  range for the state (refer to
               Appendix A, Table A-l).  However, the data is accepted.
      Action:  The field may be corrected and the job resubmitted,  or the
               master file record may be updated later by a change
               transaction.
                                     157

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 23
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 087 ERROR - COLUMN 59 - SOURCE TYPE INVALID,  REPLACING SPACE
     Meaning:  The source type is not L or A.   It is  replaced by a  space in
               the output internal  transaction.
      Action:  Correct and resubmit this field on an  input  transaction.   Other
               fields on the card were accepted,  if valid.

CEDMSTR 088 ERROR - COLUMN 60 - LENGTH OF LINE-LINK-AREA INVALID, REPLACING
            SPACES
     Meaning:  The length or area is not numeric.  It is replaced by spaces
               in the output internal transaction.
      Action:  Correct and resubmit this field on an  input  transaction.   Other
               fields on the card were accepted,  if valid.

CEDMSTR 089 ERROR - COLUMN 67 - LINE-LINK-AREA CODE INVALID,  REPLACING SPACES
     Meaning:  The length or area units code is  not numeric.   It is replaced
               by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an  input  transaction.   Other
               fields on the card were accepted,  if valid.

CEDMSTR 090 ERROR - COLUMN 15 - SIP ESTIMATE TSP  INVALID, REPLACING SPACES
     Meaning:  The SIP estimate for TSP is not numeric.   It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an  input  transaction.   Other
               fields on the card were accepted,  if valid.

CEDMSTR 091 ERROR - COLUMN 20 - SIP ESTIMATE S02  INVALID, REPLACING SPACES
     Meaning:  The SIP estimate for S02 is not numeric.   It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an  input  transaction.   Other
               fields on the card were accepted,  if valid.
                                     158

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 24
Release Date:  2/01/80
Update #:   A-l
CEDMSTR 092 ERROR - COLUMN 24 - SIP ESTIMATE NOX INVALID, REPLACING SPACES
     Meaning:  The SIP estimate for NOX is not numeric.   It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 093 ERROR - COLUMN 28 - SIP ESTIMATE HC INVALID, REPLACING SPACES
     Meaning:  The SIP estimate for HC is not numeric.   It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 094 ERROR - COLUMN 33 - SIP ESTIMATE CO INVALID, REPLACING SPACES
     Meaning:  The SIP estimate for CO is not numeric.   It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 095 ERROR - COLUMN 16 - POPULATION CODE INVALID, REPLACING SPACE
     Meaning:  The population code is not numeric.   It  is replaced by a space
               in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 096 ERROR - COLUMN 17 - LIGHT VEHICLES-GAS  INVALID, REPLACING SPACES
     Meaning:  The gas fuel for light vehicles is not numeric.  It is replaced
               by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     159

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 25
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 097 ERROR - COLUMN 24 - HEAVY VEHICLES-GAS INVALID,  REPLACING SPACES
     Meaning:  The gas fuel  for heavy vehicles is not numeric.   It is replaced
               by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 098 ERROR - COLUMN 30 - HEAVY VEHICLES-DIESEL INVALID,  REPLACING
            SPACES
     Meaning:  The diesel fuel for heavy vehicles is not numeric.   It is
               replaced by spaces in the output  internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 099 ERROR - COLUMN 36 - LIMITED ACCESS ROADS INVALID, REPLACING SPACES
     Meaning:  The vehicle miles for limited access roads is not numeric.  It
               is replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 100 ERROR - COLUMN 42 - RURAL ROADS INVALID, REPLACING SPACES
     Meaning:  The vehicle miles for rural roads is not numeric.  It is
               replaced by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 101 ERROR - COLUMN 48 - SUBURBAN ROADS INVALID, REPLACING SPACES
     Meaning:  The vehicle miles for suburban roads is not numeric.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     160

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 26
Release Date:  2/01/80
Update #:   A-l
CEDMSTR 102 ERROR - COLUMN 54 - URBAN ROADS INVALID,  REPLACING SPACES
     Meaning:  The vehicle miles for urban roads is  not numeric.   It  is
               replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an  input transaction.   Other
               fields on the card were accepted, if  valid.

CEDMSTR 103 ERROR - COLUMN 15 - POLLUTANT ID 1 INVALID, POLLUTANT 1 REJECTED
     Meaning:  The pollutant ID starting in column 15 is  not  numeric.   Columns
               15 through 41 are rejected.
      Action:  Correct the pollutant ID and resubmit  the  transaction.

CEDMSTR 104 ERROR - COLUMN 35 - ATTAINMENT STATUS 1  INVALID,  REPLACING  WITH U
     Meaning:  The attainment status in column 35 is  not  A, N, or U.   It  is
               replaced by U in the output internal transaction.
      Action:  If U (unclassified) is not the correct attainment  status,
               correct this field and resubmit it on  an input transaction.
               Other fields on the card were accepted, if valid.

CEDMSTR 105 WARNING - COLUMN 35 - REPLACING ATTAINMENT STATUS 1 WITH  U
     Meaning:  The attainment status in column 35 in  an add transaction  is
               blank, or column 35 in a change transaction is an  asterisk.
               The field is replaced by U in the output internal  transaction.
      Action:  If U (unclassified) is not the correct attainment  status,
               correct this field and resubmit it on  an input transaction.
               Other fields on the card were accepted, if valid.

CEDMSTR 106 ERROR - COLUMN 43 - POLLUTANT ID 2 INVALID, POLLUTANT 2 REJECTED
     Meaning:  The pollutant ID starting in column 43 is  not  numeric.   Columns
               43 through 69 are rejected.
      Action:  Correct the pollutant ID and resubmit  the  transaction.
                                     161

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 27
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 107 ERROR - COLUMN 63 -  ATTAINMENT STATUS  INVALID,  REPLACING  WITH  U
     Meaning:  The attainment status in column 63  is  not  A,  N,  or U.   It  is
               replaced by U in  the output internal transaction.
      Action:  If U (unclassified)  is not the correct attainment  status,
               correct this field and resubmit it  on  an input  transaction.
               Other fields on the  card were accepted, if valid.

CEDMSTR 108 WARNING - COLUMN 63  - REPLACING ATTAINMENT STATUS  2 WITH  U
     Meaning:  The attainment status in column 63  in  an add transaction is
               blank, or column  63  in a change transaction  is  an  asterisk.
               The field is replaced by U in the output internal  transaction.
      Action:  If U (unclassified)  is not the correct attainment  status,
               correct this field and resubmit it  on  an input  transaction.
               Other fields on the  card were accepted, if valid.

CEDMSTR 109 ERROR - COLUMN 45 -  YEAR OF INFORMATION  INVALID, REPLACING SPACES
     Meaning:  The year of information is not numeric.  It  is  replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on  an  input  transaction.  Other
               fields on the card v/ere accepted, if  valid.

CEDMSTR 110 ERROR - COLUMN 47 -  PROCESS RATE INVALID, REPLACING SPACES
     Meaning:  The process rate is  not numeric.  It  is replaced by spaces in
               the output internal  transaction.
      Action:  Correct and resubmit this field on an  input  transaction.  Other
               fields on the card were accepted, if  valid.

CEDMSTR 111 ERROR - COLUMN 56 -  CATEGORY ADJUST INVALID,  REPLACING SPACES
     Meaning:  The category adjustment value is not  numeric.  It  is replaced
               by spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an  input  transaction.  Other
               fields on the card were accepted, if  valid.
                                     162

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 28
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 112 ERROR - COLUMN 63 - UNITS CODE INVALID,  REPLACING SPACES
     Meaning:  The units code is not numeric.   It is replaced by spaces in the
               output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if  valid.

CEDMSTR 113 ERROR - COLUMN 20 - UNIFORM MONTHLY INDICATOR INVALID,  REPLACING
            WITH Y
     Meaning:  The uniform monthly thruput field  is  not Y or N.   It is
               replaced by Y in the output internal  transaction.  If monthly
               thruputs are specified, the CEDMSTR 115 message will also be
               generated.
      Action:  If uniform monthly thruputs are not desired, correct this
               field, supply the monthly thruputs, and resubmit  the fields on
               an input transaction.  Other fields on the card were accepted,
               if valid.

CEDMSTR 114 WARNING - COLUMN 20 - UNIFORM MONTHLY INDICATOR BLANK,  ASSUMING Y
     Meaning:  On an add transaction, the uniform monthly thruput field is
               blank.  It  is replaced by Y in  the output internal transaction.
               If monthly thruputs are specified, the CEDMSTR 115 message will
               also be generated.
      Action:  If uniform monthly thruputs are not desired, specify N in this
               field, supply the monthly thruputs, and resubmit  the fields on
               an input transaction.  Other fields on the card were accepted,
               if valid.

CEDMSTR 115 ERROR - COLUMN 21 - MONTHLY THRUPUT %S WITH Y INDICATOR, REPLACING
            UNIFORM %S
     Meaning:  The uniform monthly thruput field  is  Y, but monthly  thruputs
               are entered.  The monthly thruputs are replaced in the output
                                     163

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 29
Release Date: 2/01/80
Update #:   A-l
               internal  transaction by uniform thruputs  (09  for  March,  June,
               September,  and December;  08 for all  other months)  that  add  up
               to 100.
      Action:  If uniform  monthly thruputs are not  desired,  enter N  in  the
               uniform monthly thruput field and  resubmit it on  an input
               transaction.   Other fields on the  card  were accepted,  if valid.

CEDMSTR 116 ERROR - COLUMN XX - YYY THRUPUT % INVALID, REPLACING ZERO
     Meaning:  The percent thruput for month YYY  (beginning  in column  XX),
               where YYY is  the abbreviation for  the month,  is not numeric.
               It is replaced by zero in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if valid.

CEDMSTR 117 ERROR - SUM OF MONTHLY THRUPUT %S INVALID, REPLACING W/UNIFORM
            THRUPUTS
     Meaning:  In an add transaction, the sum of  the percent thruputs  for  all
               months is less than 95 or greater  than  105.  The  thruputs  are
               replaced by uniform thruputs (09 for March, June, September,
               and December; 08 for all  other months)  that add up to 100,  and
               the uniform monthly thruput field  is replaced by  Y in the
               output internal transaction.
      Action:  If uniform thruputs for months are not  desired, correct  the
               thruputs and resubmit them on an input  transaction.  Other
               fields on the card were accepted,  if valid.

CEDMSTR 118 ERROR - COLUMN 45 - HRS/DAY INVALID,  REPLACING SPACES
     Meaning:  The hours per day field is not a number between 00 and 24.   It
               is replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted,  if valid.
                                     164

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (ECOU40)
Page 30
Release Date:  2/01/80
Update #:   A-l
CEDMSTR 119 ERROR - COLUMN 47 - DAYS/WK INVALID, REPLACING SPACE
     Meaning:  The days per week field is not a number between zero and seven.
               It is replaced by a space in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 120 ERROR - COLUMN 48 - WKS/YR INVALID, REPLACING SPACES
     Meaning:  The weeks per year field is not a number between 00 and 52.   It
               is replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 121 ERROR - COLUMN 50 - RATIO OF THRUPUT INVALID, REPLACING SPACES
     Meaning:  The thruput ratio is not numeric.  It is replaced by spaces  in
               the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.

CEDMSTR 122 ERROR - COLUMN 54 - MAX HOURLY THRUPUT INVALID,  REPLACING SPACES
     Meaning:  The maximum hourly thruput is not numeric.  It is replaced by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
CEDMSTR 123 WARNING - COLUMN 64 - REPLACING DATA CONFIDENCE  RATING WITH ZERO
     Meaning:  The data confidence rating is blank in an add transaction  or
               column 64 is an asterisk in a change transaction.  It is
               replaced by zero in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.  Other
               fields on the card were accepted, if valid.
                                     165

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 31
Release Date: 2/01/80
Update #:   A-l
CEDMSTR 124 ERROR - COLUMN 64 -  DATA CONFIDENCE  RATING  INVALID,  REPLACING  ZERO
     Meaning:  The data confidence rating in an  add transaction  is  not
               numeric.  It is replaced by zero  in the  output  internal
               transaction.
      Action:  If a data confidence rating of zero is  not  desired,  correct
               this field and resubmit it on an  input  transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 125 ERROR - COLUMN 64 -  DATA CONFIDENCE  RATING  INVALID,  REPLACING
            SPACE
     Meaning:  The data confidence rating in a change  transaction is not
               numeric.  It is replaced by spaces in the output  internal
               transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 126 ERROR - COLUMN 65 -  % NITROGEN INVALID, REPLACING  SPACES
     Meaning:  The nitrogen percentage is not numeric.   It is  replaced  by
               spaces in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 127 ERROR - COLUMN 68 -  % SULFUR INVALID, REPLACING SPACES
     Meaning:  The sulfur percentage is not numeric.  It is replaced by spaces
               in the output internal transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 128 ERROR - COLUMN 70 - % ASH INVALID, REPLACING SPACES
     Meaning:  The ash percentage is not numeric.  It  is replaced by spaces
               in the output internal transaction.
                                     166

-------
EIS/AS
FILL CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 32
Release Date: 2/01/80
Update #:   A-l
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 129 ERROR - COLUMN 20 - UNIFORM HOURLY THRUPUT INDICATOR INVALID,
            REPLACING WITH Y
     Meaning:  The uniform hourly thruput field is not Y or N.   It is replaced
               by Y in the output internal  transaction.   If hourly thruputs
               are specified, the CEDMSTR 131 message will also be generated.
      Action:  If uniform hourly thruputs are not desired, correct this  field,
               supply the hourly thruputs,  and resubmit  them on an input
               transaction.

CEDMSTR 130 WARNING - COLUMN 20 - UNIFORM HOURLY THRUPUT INDICATOR BLANK,
            ASSUMING Y
     Meaning:  On an add transaction, the uniform hourly thruput field is
               blank.  It is replaced by Y  in the output internal  transaction.
               If hourly thruputs are specified, the CEDMSTR 131 message will
               also be generated.
      Action:  If uniform hourly thruputs are not desired, specify N in  this
               field, supply the hourly thruputs, and resubmit  them on an
               input transaction.

CEDMSTR 131 ERROR - COLUMN 21 - HOURLY THRUPUT %S WITH Y INDICATOR, REPLACING
            UNIFORM %S
     Meaning:  The uniform hourly thruput percentage field is Y, but hourly
               thruputs are entered.   The hourly thruputs are replaced in the
               output internal  transaction  by uniform thruputs  (05 for hours
               beginning 0500,  1100,  1700,  and 2300; 04  for all other hours)
               that add up to 100.
      Action:  If uniform hourly thruputs are not desired, enter N in the
               uniform hourly thruput field and resubmit it on  an  input
               transaction.
                                     167

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 33
Release Date: 2/01/80
Update #:  A-l
CEDMSTR 132 ERROR - COLUMN XX -  HOUR YY THRUPUT % INVALID,  REPLACING  WITH  ZERO
     Meaning:  The thruput for the hour beginning YYOO  (beginning  in  column
               XX) is not numeric.  It  is  replaced by zero  in  the  output
               internal  transaction.
      Action:  Correct and resubmit this field on an input  transaction.  Other
               fields on the card were  accepted, if valid.

CEDMSTR 133 ERROR - SUM OF HRLY  THRUPUT %S INVALID, REPLACING  UNIFORM HRLY
            THRUPUTS
     Meaning:  In an add transaction, the  sum of the thruputs  for  all hours  is
               less than 95 or greater  than 105.  The thruputs for the hours
               are replaced by uniform  thruputs (05 for hours  beginning 0500,
               1100, 1700, and 2300; 04 for all other hours) that  add up to
               100, and the uniform hourly thruput field is replaced  by Y  in
               the output internal transaction.
      Action:  If uniform thruputs for  hours are not desired,  correct the
               thruputs and resubmit them on an input transaction.

CEDMSTR 134 ERROR - COLUMN 20 -  POLLUTANT ID INVALID, CARD  REJECTED
     Meaning:  The pollutant ID  in a category 5 transaction is not numeric.
      Action:  Correct the pollutant ID and resubmit the transaction.

CEDMSTR 135 ERROR - COLUMN 25 -  EMISSION FACTOR INVALID, REPLACING SPACES
     Meaning:  The emission factor is not  numeric.  It  is replaced by spaces
               in the output internal transaction.
      Action:  Correct and resubmit this field on an input  transaction.  Other
               fields on the card were  accepted, if valid.

CEDMSTR 136 WARNING - COLUMN 35 - REPLACING EMISSION FACTOR CONFIDENCE RATING
            WITH ZERO
     Meaning:  The emission factor confidence rating is blank  in an add
               transaction, or column 35 is an asterisk in a change
                                     168

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 34
Release Date:  2/01/80
Update #:   A-l
               transaction.   It is replaced by zero in the output  internal
               transaction.
      Action:  If an emission factor confidence rating of zero is  not  desired,
               correct this  field and resubmit it on an input  transaction.
               Other fields  on the card were accepted, if valid.

CEDMSTR 137 ERROR - COLUMN 35 - EMISSION FACTOR CONFIDENCE RATING  INVALID,
            REPLACING ZERO
     Meaning:  In an add transaction, the emission factor confidence rating  is
               not numeric.   It is replaced by zero in the output  internal
               transaction.
      Action:  If an emission factor confidence rating of zero is  not  desired,
               correct this  field and resubmit it on an input  transaction.
               Other fields  on the card were accepted, if valid.

CEDMSTR 138 ERROR - COLUMN 35 - EMISSION FACTOR CONFIDENCE RATING  INVALID,
            REPLACING SPACE
     Meaning:  In a change transaction, the emission factor confidence rating
               is not numeric.  It is replaced by a space in the output
               internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted,  if valid.

CEDMSTR 139 ERROR - COLUMN 36 - EMISSION FACTOR ORIGIN INVALID, REPLACING
            SPACE
     Meaning:  The emission  factor origin is not  F, L, or S.   It is  replaced
               by a space in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted,  if valid.
                                     169

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (ECQQ4Q)
Page 35
Release Date: 2/01/8C
Update #:  A-l
CEDMSTR 140 ERROR - COLUMN 37 - EMISSION FACTOR SOURCE CODE  INVALID,
            REPLACING SPACE
     Meaning:  The emission factor source code is not a letter or a number.
               It is replaced by spaces in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 141 ERROR - COLUMN 48 - NEDS A7 EMISSION INVALID,  REPLACING SPACES
     Meaning:  The NEDS A7 emission is not numeric.  It is replaced by spaces
               in the output internal  transaction.
      Action:  Correct and resubmit this field on an input transaction.   Other
               fields on the card were accepted, if valid.

CEDMSTR 142 WARNING - COLUMN 10 - REPLACING NEDS COMMENT WITH GENERATED  BY
            EIS/AS
     Meaning:  The NEDS comment is blank in an add transaction or column 10  is
               an asterisk in a change transaction.  GENERATED BY EIS/AS is
               inserted in this field in the output internal  transaction.
      Action:  If a NEDS comment is desired, correct and resubmit this field
               on an input transaction.

CEDMSTR 143 ERROR - ALL NON-KEY FIELDS CONTAIN SPACES, CARD REJECTED
     Meaning:  All non-key fields on this card are blank:   either they were
               blank on the input transaction or they failed edit criteria and
               were replaced by spaces.  This message is never generated for
               description 1, category 1, EIS/AS comment,  or NEDS comment
               transactions.
      Action:  Correct the non-key field(s) or enter at least one non-key
               field.  Resubmit the transaction.
CEDMSTR 144 DISASTER - ERROR NUMBER TABLE OVERFLOW - CALL NADB
     Meaning:  The capacity of an internal table which stores error numbers
               for each transaction has been exceeded.
                                     170

-------
EIS/AS
FILL CREATION AND
MAINTENANCE
    SECTION 4.3.3
    TRANSACTION LUIT
    PROGRAM CEDMSTR (EC0040)
Page 36
Release Date: 2/01/80
Update #:   A-l
      Action:  Call NADB.

4.3.3.5  Cataloged JCL - ECEDT10

4.3.3.5.1  JCL Listing - CEDMSTR (EC0040) can be run by executing the
cataloged procedure ECEDT10.  See Figure 4.3.3-h for a listing of ECEDT10.

4.3.3.5.2  Cross-reference of DP names and files
                i
     Program Name:  CEDMSTR (EC0040)
     DD Name
      File Description
      Input/Output
     ECSINPT
     ECSOPTN
     ECSOUTP
     ECSDIAG
     ECSINPL

     ECSOUTL
EIS/AS input transactions
Option card
Edited internal transactions
Diagnostic report
Optional  input transaction
  1isting
Optional  output transaction
  1isting
         Input
         Input
         Output
         Output
         Output

         Output
4.3.3.5.3  User-supplied JCL - To execute the cataloged procedure ECEDT10,  the
user must specify the data set name of the output internal  transaction file.
An option card must also be included to specify the option  year.   See Figure
4.3.3-i for a description of the procedure's substitutable  parameters.

4.3.3.5.4  Sample run stream - The following run stream would edit input
transactions contained on cards.   The data set name of the  output internal
transaction file will be its default value, 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ECINTERN1.  The option year is 1979.
                                     171

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 37
Release Date: 2/01/80
Update #:   A-l
//  EXEC ECEDT10
//EDIT.OPTIONS DD *
79
/*
//EDIT.INPUT DD *
Transaction cards
/*

4.3.3.6  Warnings and Special  Instructions

     Input transactions may be converted into internal  transactions even if
some of the optional, non-key  fields do not pass the edit criteria and are
therefore rejected.  Thus, when correcting erroneous fields on rejected add
transactions, it may be necessary to change the action  code from A to C or to
create change transactions containing the corrected data in order to post
changes to master file records that were added.
4.3.3.7  Cost Considerations

     To reduce the cost of running CEDMSTR (EC0040), use the NOLIST option
unless you actually need the optional listings.

     The estimates listed below are based on the execution, on an IBM 370/168,
of the run stream discussed in Section 4.3.3.5.4.
     Number of input transactions:
     Number of output transactions:
     CPU time:
     I/O time:
     Total time

     Estimated cost:
                 493  transactions
                 429  transactions
                 .46  seconds
                 .90  seconds
                1.36  seconds
                      $ .19
                                     172

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 38
Release Date: 2/01/80
Update #:   A-l
4.3.3.8  Related Programs and Procedures

     The edited internal transactions produced by CEDMSTR (EC0040) must be
sorted by the master file internal  transaction sort program, CSRINTR (EC0050),
before they can be used as input to either the master file maintenance
program, CFMMSTR (EC0070), or the master file internal  transaction emission
factor insertion program, CMSEFIN (EC0060).   See Sections 4.3.4,  4.3.5, and
4.3.6 for discussions of CSRINTR (EC0050), CMSEFIN (EC0060), and  CFMMSTR
(EC0070), respectively.

     The cataloged procedure ECMST10 may be executed following ECEDT10 to
insert emission factors into the edited transactions.   The procedure ECFMM10
may be executed after ECMST10 to update the master file using the edited
transactions with the inserted emission factors, or ECFMM10 may be executed
after ECEDT10 to update the master file with the edited transactions without
inserted emission factors.  See Sections 4.3.5.5 and 4.3.6.5, respectively,
for a discussion of ECMST10 and ECFMM10.

     The cataloged procedure ECEMM10 may be used to invoke CEDMSTR (EC0040),
CSRINTR (EC0050), CMSEFIN (EC0060), and CFMMSTR (EC0070).  These  programs will
edit EIS/AS master file transactions, sort the edited  transactions,  insert
emission factors into the transactions, and update the master file using the
transactions.  See Section 4.4.2 for a discussion of ECEMM10.
                                     173

-------
E IS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EUIT
PROGRAM CEDMSTR
Page 39
Release Date: 2/01/80
(EC0040) Update #: A-l
Category 1 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 17
18 - 19

20 - 44
45 - 46
47 - 55
56 - 62
63 - 64
65 - 76
77
78
79
80
Field Length
2
4
3
5

3
2

25
2
9
7
2
12
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric

Alphanumeric
Numeric
Numeric
Numeric
Numeric
Alphanumeric
Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Suballocation
Number
Category Number
Category Disaggregation
Number
Category Description
Year of Information
Process Rate
Category Adjustment Value
Units Code
Units Code Description
Subal location Type
Disaggregation Type
Card Number
Action Code
                                        (Page 1 of 18)
Figure 4.3.3-a.   EIS/AS Master File Transaction Formats
                          174

-------
E IS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 40
Release Date: 2/01/80
(EC0040) Update #: A-l
Category 2 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 17
18 - 19

20
21 - 22
23 - 24
25 - 26
27 - 28
29 - 30
31 - 32
33 - 34
35 - 36
37 - 38
39 - 40
41 - 42
43 - 44
45 - 46
47
48 - 49
50 - 53
Field Length
2
4
3
5

3
2

1
2
2
2
2
2
2
2
2
2
2
2
2
2
1
2
4*
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric

Alphabetic
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Description
State
County
AQCR
Geographic Subal location
Number
Category Number
Category Disaggregation
Number
Uniform Monthly Thruput
Thruput for January
Thruput for February
Thruput for March
Thruput for April
Thruput for May
Thruput for June
Thruput for July
Thruput for August
Thruput for September
Thruput for October
Thruput for November
Thruput for December
Hours Per Day
Days Per Week
Weeks Per Year
Thruput Ratio
A one-digit decimal  position is assumed;  e.g.,  21.2 would be coded  as '0212'
                                                          (Page 2 of 18)
    Figure 4.3.3-a - continued.  EIS/AS Master  File Transaction Formats
                                    175

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 41
Release Date: 2/01/80
Update #:  A-l
                      Category 2 Transaction (continued)
Column #
54 -

65 -
68 -
70 -
73 -




63
64
67
69
72
76
77
78
79
80
Field Leng-
10*
1
3**
o***
„****
4
1
1
1
1
                                Data Type

                                Numeric
                                Numeric
                                Numeric
                                Numeric
                                Numeric
                                Alphanumeric
                                Alphabetic
                                Alphabetic
                                Numeric
                                Alphabetic
                     Description

                     Maximum Hourly Thruput
                     Data Confidence Rating
                     Nitrogen Percentage
                     Sulfur Percentage
                     Ash Percentage
                     Heat Content
                     Suballocation Type
                     Disaggregation Type
                     Card Number
                     Action Code
    A three-digit decimal  position is assumed; e.g.,  350.0 would be coded as
    '0000350000'.
  **A three-digit decimal  position is assumed; e.g.,  0.02 would be coded as
    '020'.
 ***A one-digit decimal  position is assumed; e.g., 1.3 would be coded as '13'
****A one-digit decimal  position is assumed; e.g., 7.3 would be coded as
    '073'.
                                                      (Page 3 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
                                     176

-------
EIS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 42
Release Date: 2/01/80
(EC0040) Update #: A-l
Category 3 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 17
18 - 19

20
21 - 22
23 - 24
25 - 26
27 - 28
29 - 30
31 - 32
33 - 34
35 - 36
37 - 38
39 - 40
41 - 42
43 - 44
45 - 46
47 - 48
49 - 50
51 - 52

Figure 4.
Field Length
2
4
3
5

3
2

1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2

Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric

Alphabetic
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric

Description
State
County
AQCR
Geographic Subal location
Number
Category Number
Category Disaggregation
Number
Uniform Hourly Thruput
Thruput for Hour Beginning 0000
Thruput for Hour Beginning 0100
Thruput for Hour Beginning 0200
Thruput for Hour Beginning 0300
Thruput for Hour Beginning 0400
Thruput for Hour Beginning 0500
Thruput for Hour Beginning 0600
Thruput for Hour Beginning 0700
Thruput for Hour Beginning 0800
Thruput for Hour Beginning 0900
Thruput for Hour Beginning 1000
Thruput for Hour Beginning 1100
Thruput for Hour Beginning 1200
Thruput for Hour Beginning 1300
Thruput for Hour Beginning 1400
Thruput for Hour Beginning 1500
(Page 4 of 18)
3.3-a - continued. EIS/AS Master File Transaction Formats
177

-------
EIS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3 Page 43
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Category 3 Transaction
Column #
53 - 54
55 - 56
57 - 58
59 - 60
61 - 62
63 - 64
65 - 66
67 - 68
69 - 76
77
78
79
80
Field Length
2
2
2
2
2
2
2
2
8
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric

Alphabetic
Alphabetic
Numeric
Alphabetic
(continued)
Description
Thruput for Hour Beginning 1600
Thruput for Hour Beginning 1700
Thruput for Hour Beginning 1800
Thruput for Hour Beginning 1900
Thruput for Hour Beginning 2000
Thruput for Hour Beginning 2100
Thruput for Hour Beginning 2200
Thruput for Hour Beginning 2300
Unused
Subal location Type
Disaggregation Type
Card Number
Action Code
                                                 (Page  5  of  18)
Figure 4.3.3-a - continued.   EIS/AS Master  File  Transaction  Formats
                                178

-------
E IS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 44
Release Date: 2/01/80
(EC0040) Update #: A-l
Category 4 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 17
18 - 19

20 - 53
54
55 - 74
75 - 76
77
78
79
80
Field Length
2
4
3
5

3
2

34
1
20
2
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric

Alphanumeric
Alphanumeric
Alphanumeric

Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Subal location
Number
Category Number
Category Disaggregation
Number
NEDS A7 Comment
Information Source Code
Information Source Narrative
Unused
Subal location Type
Disaggregation Type
Card Number
Action Code
                                                 (Page 6 of 18)
Figure 4.3.3-a - continued.   EIS/AS Master File Transaction Formats
                                179

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
               SECTION 4.3.3
               TRANSACTION EDIT
               PROGRAM CEDMSTR (EC0040)
                              Page 45
                              Release Date:  2/01/80
                              Update #:   A-l
Column #
Field Length
1 -
3 -
7 -
10 -
15 -
18 -
20 -
25 -



38 -
48 -
55 -
70 -




2
6
9
14
17
19
24
34
35
36
37
47
54
69
76
77
78
79
80
2
4
3
5
3
2
5
101
1
1
1
10
7
15
7
1
1
1
1
Category 5 Transaction

     Data Type

     Numeric
     Numeric
     Numeric
     Numeric

     Numeric
     Numeric

     Numeric
     Numeric
     Numeric

     Alphabetic
     Alphanumeric
     Alphanumeric
     Numeric
     Alphanumeric

     Alphabetic
     Alphabetic
     Numeric
     Alphabetic
Description

State
County
AQCR
Geographic Suballocation
Number
Category Number
Category Disaggregation
Number
Pollutant ID
Emission Factor
Emission Factor Confidence
Rating
Emission Factor Origin
Emission Factor Source Code
Pollutant-Specific Data
NEDS A7 Emission
Pollutant Name
Unused
Suballocation Type
Disaggregation Type
Card Number
Action Code
   three-digit decimal position is assumed; e.g., 10.35 would be coded as
  '0000010350'.
                                                      (Page 7 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
                                     180

-------
EIS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 46
Release Date: 2/01/80
(EC0040) Update #: A-l
Description 1 Transaction
Column #
1 - 2
3 - 6
7-9
10 - 14

15 - 16
17 - 19
20 - 22
23 - 26
27 - 46
47 - 66
67 - 70
71 - 72
73 - 74
75 - 76
77
78
79
80
Field Length
2
4
3
5

2
3
3
4
20
20
4
2
2
2
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric
Numeric
Numeric
Alphanumeric
Alphanumeric
Alphanumeric
Numeric
Numeric
Numeric
Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Subal location
Number
Year
Day
Air Basin
SMSA
Area Name
Major Activity
Associated Plant ID
SIP Base Year
Projected Year
Rural Population Percentage
Subal location Type
G Code
Card Number
Action Code
                                                  (Page 8 of 18)
Figure 4.3.3-a - continued.   EIS/AS Master File Transaction Formats
                                181

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                        SECTION 4.3.3
                        TRANSACTION EDIT
                        PROGRAM CEDMSTR (EC0040)
                                           Page 47
                                           Release Date:  2/01/80
                                           Update #:   A-l
                          Description 2 Transaction
Column

 1 -  2
 3 -  6
 7 -  9
10 - 14
15
23
22
76
77
78
79
80
Field Length

     2
     4
     3
     5

     8
    54
     1
     1
     1
     1
Data Type

Numeric
Numeric
Numeric
Numeric

Numeric
Alphanumeric
Alphabetic
Alphabetic
Numeric
Alphabetic
Description

State
County
AQCR
Geographic SubaVlocation
Number
Population
AQCR Name
Suballocation Type
G Code
Card Number
Action Code
                                                      (Page  9  of  18)
     Figure 4.3.3-a -  continued.   EIS/AS Master File Transaction  Formats
                                     182

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                             SECTION 4.3.3
                             TRANSACTION EDIT
                             PROGRAM CEDMSTR (EC0040)
       Page 48
       Release Date: 2/01/80
       Update #:  A-l
                          Description 3 Transaction
Column #
              Field Length      Data Type
Description

State
County
AQCR
Geographic Suballocation
Number
Suballocation Technique Code
Suballocation Technique
Description
Defined Area Code
Sulfur Content - Anthracite
Coal
Sulfur Content - Bituminous
Coal
Sulfur Content - Distillate
Oil
Sulfur Content - Residual
Oil
Ash Content - Anthracite
Coal
Ash Content - Bituminous
Coal
UTM Zone 1
 *A one-digit decimal position is assumed; e.g., 1.5 would be coded as '15'.
  :A one-digit decimal position is assumed; e.g., 7.3 would be coded as '073'.

                                                     (Page 10 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
1
3
7
10
15
17
37
40
42
44
46
48
51
54
- 2
- 6
- 9
- 14
- 16
- 36
- 39
- 41
- 43
- 45
- 47
- 50
- 53
- 55
2
4
3
5
2
20
3
2*
2*
2*
2*
3**
3**
2
Numeric
Numeric
Numeric
Numeric
Numeric
Alphanumeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
**
                                     183

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
               SECTION 4.3.3
               TRANSACTION EDIT
               PROGRAM CEDMSTR (EC0040)
                         Page 49
                         Release Date: 2/01/80
                         Update #:  A-l
                    Description 3 Transaction (continued)
Column #
Field Length
56 -
60 -
65 -

67 -
71 -





59
64
66

70
75
76
77
78
79
80
4*
5**
2
•if
4
5**
1
1
1
1
1
Data Type

Numeric
Numeric
Numeric
Numeric
Numeric

Alphabetic
Alphabetic
Numeric
Alphabetic
Description

UTM Horizontal 1
UTM Vertical 1
UTM Zone 2
UTM Horizontal 2
UTM Vertical 2
Unused
Suballocation Type
G Code
Card Number
Action Code
  A one-digit decimal position is assumed; e.g., 67.0 would be coded as
  '0670'.
**A one-digit decimal position is assumed; e.g., 4762.4 would be coded as
  '47624'.
                                                     (Page 11 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
                                     184

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
               SECTION 4.3.3
               TRANSACTION EDIT
               PROGRAM CEDMSTR (EC0040)
                         Page 50
                         Release Date: 2/01/80
                         Update #:  A-l
                          Description 4 Transaction
Column #
Field Length
Data Type
Description

State
County
AQCR
Geographic Suballocation
Number
UTM Zone 3
UTM Horizontal 3
UTM Vertical  3
UTM Zone 4
UTM Horizontal 4
UTM Vertical  4
UTM Zone 5
UTM Horizontal 5
UTM Vertical  5
UTM Zone 6
UTM Horizontal 6
UTM Vertical  6
Source Type
Length or Area
  *A one-digit decimal position is assumed; e.g., 67.0 would be coded as
   '0670'.
 **A one-digit decimal position is assumed; e.g., 4762.4 would be coded as
   '47624'.
***A two-digit decimal position is assumed; e.g., 193.4 would be coded as
    '0019340'.

                                                     (Page 12 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
1
3
7
10
15
17
21
26
28
32
37
39
43
48
50
54

60
- 2
- 6
- 9
- 14
- 16
- 20
- 25
- 27
- 31
- 36
- 38
- 42
- 47
- 49
- 53
- 58
59
- 66
2
4
3
5
2
4*
5**
2
4*
5**
2
4*
5**
2
4*
5**
1
-,***
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
. Numeric
Numeric
Numeric
Numeric
Alphanumeric
Numeric
                                     185

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
               SECTION 4.3.3
               TRANSACTION EDIT
               PROGRAM CEDMSTR (EC0040)
                         Page 51
                         Release Date: 2/01/80
                         Update #:   A-l
                    Description 4 Transaction (continued)
Column #

67 - 68
69 - 76
     77
     78
     79
     80
Field Length
     2
     8
     1
     1
     1
     1
Data Type
Numeric

Alphabetic
Alphabetic
Numeric
Alphabetic
Description
Length or Area Units Code
Unused
Suballocation Type
G Code
Card Number
Action Code
                                                     (Page 13 of 18)
          Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
                                     186

-------
EIS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 52
Release Date: 2/01/80
(EC0040) Update #: A-l
Description 5 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 19
20 - 23
24 - 27
28 - 32
33 - 37
38 - 76
77
78
79
80
Field Length
2
4
3
5

5
4
4
5
5
39
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric
Numeric
Numeric
Numeric

Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Subal location
Number
SIP Estimate for TSP
SIP Estimate for S02
SIP Estimate for NOX
SIP Estimate for HC
SIP Estimate for CO
Unused
Subal location Type
G Code
Card Number
Action Code
                                                (Page 14 of 18)
Figure 4.3.3-a -  continued.   EIS/AS Master File Transaction Formats
                                187

-------
E1S/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 53
Release Date: 2/01/80
(EC0040) Update #: A-l
Description 6 Transaction
Column #
1 - 2
3 - 6
7-9
10 - 14

15
16
17 - 23
24 - 29
30 - 35

36 - 41

42 - 47

48 - 53

54 - 60

61 - 76
77
78
79
80
Field Length
2
4
3
5

1
1
7
6
6

6

6

6

7

16
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric
Numeric
Numeric
Numeric

Numeric

Numeric

Numeric

Numeric


Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Subal location
Number
Subcard Number
Population Code
Gas Fuel for Light Vehicles
Gas Fuel for Heavy Vehicles
Diesel Fuel for Heavy
Vehicles
Vehicle Miles for Limited
Access Roads
Vehicle Miles for Rural
Roads
Vehicle Miles for Suburban
Roads
Vehicle Miles for Urban
Roads
Unused
Suballocation Type
G Code
Card Type
Action Code
                                                (Page  15 of  18)
Figure 4.3.3-a -  continued.   EIS/AS  Master  File  Transaction  Formats
                                188

-------
EIS/AS
FILE CREATION
MAINTENANCE
AND
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR
Page 54
Release Date: 2/01/80
(EC0040) Update #: A-l
Description 7 Transaction
Column #
1 - 2
3 - 6
7 - 9
10 - 14

15 - 19
20 - 34
35
36 - 41
42
43 - 69
70 - 76
77
78 .
79
80
Field Length
2
4
3
5

5
15
1
6
1
27
7
1
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Alphanumeric
Alphabetic
Alphanumeric



Alphabetic
Alphabetic
Numeric
Alphabetic
Description
State
County
AQCR
Geographic Subal location
Number
Pollutant ID
Pollutant Name
Attainment Status
AQMA Number
Unused
Repeat Columns 15-41
Unused
Subal location Type
G Code
Card Number
Action Code
                                                (Page 16 of 18)
Figure 4.3.3-a - continued.   EIS/AS Master File Transaction Formats
                                189

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                        SECTION 4.3.3
                        TRANSACTION EDIT
                        PROGRAM CEDMSTR (EC0040)
                                           Page 55
                                           Release Date:  2/01/80
                                           Update #:   A-l
                          NEDS Comment Transaction
Column #
 1
 3
 7
10
 2
 6
 9
77
78
79
80
Field Length

     2
     4
     3
    68
     1
     1
     1
Data Type
Numeric
Numeric
Numeric
Alphanumeric
Alphabetic
Numeric
Alphabetic
Description

State
County
AQCR
NEDS A6 Comment
N Code
Card Type
Action Code
                                                     (Page 17 of 18)
     Figure 4.3.3-a - continued.  EIS/AS Master File Transaction Formats
                                     190

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 56
Release Date: 2/01/80
Update #: A-l
                         EIS/AS Comment Transaction
Column #
Field Length
1 -
3 -
7 -
10 -
15 -
18 -
20 -
23 -
73 -



2
6
9
14
17
19
22
72
77
78
79
80
2
4
3
5
3
2
3
50
5
1
1
1
Data Type
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric

Numeric
Alphanumeric

Alphabetic
Numeric
Alphabetic
Description

State
County
AQCR
Geographic Suballocation
Number
Category Number
Category Disaggregation
Number
Line Number
Half Comment
Unused
R Code
Card Number
Action Code
                                                     (Page 18 of  18)
     Figure 4.3.3-a -  continued.   EIS/AS Master File Transaction  Formats
                                     191

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 57
Release Date: 2/01/80
Update #:  A-l
Action Code:  Indicates whether the transaction is an add,  change,  or delete
              transaction.
     Transaction:  All  transactions
     Valid Codes:  A -  Add
                   C -  Change
                   D -  Delete (Valid on description 1,  description  7, category
                       1, category 5, NEDS comment, and EIS/AS  comment
                       transactions only.)
                   The  action code is converted to the following values in the
                   output internal transactions:   1 for add,  2  for  change, 0
                   for  delete.
    Field Length:  1 character

Air Basin:  A user-defined  code to specify the air basin.
     Transaction:  Description 1
     Valid Codes:  The  field must be numeric.   Leading spaces are allowed.
    Field Length:  3 characters
                                                                     i
AQCR:  Identifies the air quality control  region (AQCR).   Valid AQCR
          codes for each state can be found in the AEROS  Manual  Series, Volume
          5:  AEROS Manual  of Codes.
     Transaction:  All  transactions
     Valid Codes:  001-247
    Field Length:  3 characters

AQCR Name:  Describes the air quality control  region (AQCR).
     Transaction:  Description 2
    Field Length:  54 characters
                                                             (Page 1 of 23)
     Figure 4.3.3-b.  Definition of EIS/AS Master File Transaction Fields
                                     192

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 58
Release Date:  2/01/80
Update #:   A-l
AQMA Number:  Indicates the air quality maintenance area.
     Transaction:  Description 7
    Field Length:  6 characters

Area Name:  Describes the area, either by indicating the county name or the
          name of the geographic area.
     Transaction:  Description 1
    Field Length:  20 characters

Ash Content-Anthracite Coal:  The percent of ash content (weighted average)
          for anthracite coal consumed by area sources in the geographic area.
     Transaction:  Description 3,
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.   A
                   conditional message is generated if the field value exceeds
                   25.0.
    Field Length:  3 characters with one decimal position assumed.

Ash Content-Bituminous Coal:  The percent of ash content (weighted average)
          for bituminous coal consumed by area sources in the geographic area.
     Transaction:  Description 3
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.   A
                   conditional message is generated if the field value exceeds
                   25.0.
    Field Length:  3 characters with one decimal position assumed.

Ash Percentage:  The ash content for combustion processes.  The ash content is
          expressed as a weight percentage.
     Transaction:  Category 2

                                                             (Page 2 of 23)
Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                             Transaction Fields
                                     193

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 59
Release Date: 2/01/80
Update #::   A-l
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  3 characters with one decimal  position assumed.

Associated Plant ID:  May be used to relate emissions from an area  source to a
          plant (point source) identified in EIS/PS.   For example,  in EIS/PS
          an oil refinery is given a plant ID  number and inventoried as a
          point source with all emissions assigned to points within the
          refinery boundaries.  However, the refinery may be the source of
          additional fugitive emissions which  are actually emitted  from many
          points all around the refinery area.   The fugitive emissions may be
          inventoried as an area source and spatially distributed over the
          refinery area, but can still  be related to the plants and to the
          point source emissions in EIS/PS.
     Transaction:  Description 1
    Field Length:  4 characters

Attainment Status:  Indicates the attainment status of a particular geographic
          area.
     Transaction:  Description 7
     Valid Codes:  A - attainment
                   N - nonattainment
                   U - unclassified
                   If this field is left blank  in an add transaction, or if
                   this field contains an asterisk in a change transaction, U
                   will be assumed and a warning message will be generated.
    Field Length:  1 character

Card Number:   Identifies the format of the card.
                                                            (Page 3 of 23)
Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                             Transaction Fields
                                     194

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 60
Release Date: 2/01/80
Update #:   A-l
     Transaction:
     Valid Codes:
    Field Length:
All transactions
For description transactions:  1-7
For category transactions:  1-5
For NEDS comment transactions:  0
For EIS/AS comment transactions:  1 or 2 (For EIS/AS
comment transactions, 1 indicates a left half and 2
indicates a right half of a comment.)
1 character
Category Adjustment Value:  Used when a category is dependent upon two
          activity levels, such as burning categories.
     Transaction:  Category 1
     Valid Codes:  The field must be numeric.  Leading spaces are
                   a 11 owed.
    Field Length:  7 characters

Category Description:  A description of the category.
      Transaction:  Category 1
     Field Length:  25 characters

Category Disaggregation Number:  Allows the user to refine the activity
          associated with the category.
     Transaction:  All category transactions, EIS/AS comment transaction
     Valid Codes:  Blank or zero for aggregate category transactions.
                   Numeric, nonzero for disaggregate category transactions.
                   For EIS/AS comment transactions, the category
                   disaggregation number should be blank or zero for
                   description-level comments or category-level comments for

                                                             (Page 4 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     195

-------
E1S/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 61
Release Date: 2/01/80
Update #:  A-l
                   aggregate categories.   It should be nonzero and  numeric  for
                   category-level  comments for disaggregations of categories.
                   A leading space is allowed.
    Field Length:  2 characters

Category Number:  Indicates the activity  or process.   Categories  001  through
          064 are reserved for NEDS categories.
     Transaction:  All  category transactions, EIS/AS  comment transaction
     Valid Codes:  The field must  be numeric and nonzero in category
                   transactions.  For EIS/AS comment  transactions,  the field
                   should be blank or zero for description-level  comments and
                   should be numeric and  nonzero for  category-level  comments.
    Field Length:  3 characters

County:  The county code associated with  the source.
     Transaction:
     Valid Codes:
    Field Length:
All transactions
The field must be numeric.   Refer to the AEROS  Manual
Series, Volume V:  AEROS Manual  of Codes, Section 2.2.0
for a complete list of county codes.
4 characters
Data Confidence Rating:  A user-defined field to indicate a confidence rating
          of the data.  This field is used to obtain a confidence rating
          for the emission estimate.
     Transaction:  Category 2
     Valid Codes:  The field must be numeric.  If the field is blank in an add
                   transaction or an asterisk in a change transaction, the
                   field will assume a value of zero.
    Field Length:  1 character
                                                             (Page 5 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     196

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 62
Release Date: 2/01/80
Update #:   A-l
Day:  A Julian day; part of the information date for a description record.
     Transaction:  Description 1
     Valid Codes:  000-366.  Leading spaces are allowed.
    Field Length:  3 characters

Days Per Week:  The number of days during a week in which the activity is
          taking place.
     Transaction:  Category 2
     Valid Codes:  0-7
    Field Length:  1 character

Defined Area Code:  Used instead of UTM area descriptors  when an area is too
          large or complex in shape to be described by coordinates.   The code
          number references an external  file which contains digitized boundary
          information for each area.  An area may be as large as an  Air
          Quality Maintenance Area (AQMA) or Air Conservation Area (ACA) or
          as small as a  census tract; e.g., it may be defined as the eastern
          half of a county or as terrain above a specified altitude.
     Transaction:  Description 3
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
    Field Length:  3 characters

Diesel Fuel  for Heavy Vehicles:  The amount of diesel fuel consumed  by heavy
          vehicles within the area.  The value is expressed in thousands of
          gallons.
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
                                                             (Page  6  of  23)
     Figure 4.3.3-b - continued.   Definition of EIS/AS Master File
                                  Transaction Fields
                                     197

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 63
Release Date: 2/01/80
Update #:   A-l
    Field Length:   6 characters

Disaggregation Type:  Identifies a category transaction  as  a  transaction  for
          an aggregate category or a disaggregate  of  a category.
     Transaction:   All category transactions
     Valid Codes:   A - Aggregate
                   D - Disaggregate
    Field Length:   1 character

Emission Factor:  A statistical average of the rate at which  a  pollutant  is
          released into the atmosphere as a result of some  activity.
     Transaction:   Category 5
     Valid Codes:   The field must be numeric.   Leading spaces are  allowed.
                   The Federal emission factors for each category  can  be  found
                   in Compilation of Air Pollutant Emission Factors, EPA
                   publication no. AP-42.
    Field Length:   10 characters with three decimal positions assumed.

Emission Factor Confidence Rating:  A user-defined field to specify confidence
          in emission factor information.  This field is used in a calculation
          of emission confidence rating.
     Transaction:   Category 5
     Valid Codes:   The field must be numeric.   If  the field is  blank in an  add
                   transaction or an asterisk  in a change transaction,  it will
                   assume a value of zero.
    Field Length:   1 character
     Figure 4.3.3-b - continued.
                                (Page 7 of 23)
     Definition of EIS/AS Master File
     Transaction Fields
                                     198

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 64
Release Date: 2/01/80
Update #:   A-l
Emission Factor Origin:   Indicates the origin of the emission factor
          information.
     Transaction:  Category 5
     Valid Codes:  F - Federal
                   L - Local
                   S - State
    Field Length:  1 character

Emission Factor Source Code:   A user-defined code to specify the origin of
          local emission factor information.
     Transaction:  Category 5
     Valid Codes:  The field must be a number or a letter.
    Field Length:  1 character

G Code:  Identifies a transaction as a description transaction
     Transaction:  All description transactions
     Valid codes:  G
    Field Length:  1 character

Gas Fuel for Heavy Vehicles:   The amount of gas fuel  consumed by heavy
          vehicles within the area.  The value is expressed in thousands of
          gallons.
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  6 characters

Gas Fuel for Light Vehicles:   The amount of gas fuel  consumed by light vehicles
          within the area.   The value is expressed in thousands of gallons.

                                                             (Page 8 of 23)
     Figure 4.3.3-b - continued.   Definition of EIS/AS Master File
                                  Transaction Fields
                                     199

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 65
Release Date: 2/01/80
Update #:  A-l
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  7 characters

Geographic Suballocation Number:  A user-defined number to specify a spatial
          area within a county.
     Transaction:  All description, category,  and EIS/AS comment  transactions
     Valid Codes:  Blank or zero for a county-level  transaction.   Non-zero  and
                   numeric for a suballocation of a  county.   Leading spaces
                   are allowed.
    Field Length:  5 characters

Half Comment:  The left half of an EIS/AS comment if the card number is  1.
          The right half of an EIS/AS comment  if the card number  is 2.
     Transaction:  EIS/AS comment transaction
    Field Length:  50 characters

Heat Content:  The heat content for combustion processes.  Units  are millions
          of BTU per category.
     Transaction:  Category 2
    Field Length:  4 characters
Hours Per Day:  The number of hours during a day in  which the activity  is
          taking place.
     Transaction:  Category 2
     Valid Codes:  00-24.  A leading space is  allowed.
    Field Length:  2 characters
                                                             (Page 9 of 23)
     Figure 4.3.3-b - continued.   Definition of EIS/AS Master File
                                  Transaction Fields
                                     200

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 66
Release Date: 2/01/80
Update #:  A-l
Information Source Code:   A user-defined code to specify the type of source
          from which the rate information was received.
     Transaction:  Category 4
    Field Length:  1 character

Information Source Narrative:  Describes or names the information source.
     Transaction:  Category 4
    Field Length:  20 characters

Length or Area:  The length of either a line or link source, or the area  of an
          area source.
     Transaction:  Description 4
     Valid Codes:  The  field must be numeric.  Leading spaces are allowed.
    Field Length:  7 characters with two decimal positions assumed.

Length or Area Units Code:  A user-defined code to specify the units code used
          for length or area.
     Transaction:  Description 4
    Field Length:  2 characters

Line Number:  A number  assigned by the user sequentially to lines of an  EIS/AS
          comment.  These are user-assigned numbers.
     Transaction:  EIS/AS comment transaction
     Valid Codes:  The  field must be numeric.  The line  number must be
                   nonzero for an add or change transaction.  A zero or  blank
                   line number is allowed for delete transactions to delete
                   all  lines of an EIS/AS comment.  Leading spaces are
                   allowed.

                                                             (Page 10 of  23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     201

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 67
Release Date: 2/01/80
Update #:  A-l
    Field Length:  3 characters

Major Activity:  Describes the major activity of the area.
     Transaction:  Description 1
    Field Length:  20 characters

Maximum Hourly Thruput:  The maximum hourly thruput of the fuel  or material
          used.  The maximum hourly thruput is expressed in units defined by
          by the units code field.
     Transaction:  Category 2
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
    Field Length:  10 characters with three decimal positions assumed.

N Code:  Identifies a transaction as a NEDS comment transaction.
     Transaction:  NEDS Comment
     Valid Codes:  N
    Field Length:  1 character
NEDS A6 Comment:  A comment to be entered on a NEDS A6 card (county records
          only).
     Transaction:
     Valid Codes:
    Field Length:
NEDS comment
This field should not be blank.   If this field is blank in
an add transaction or if the first character of this field
is an asterisk in a change transaction, the field will
assume a value of 'GENERATED BY  EIS/AS1.
68 characters
                                                             (Page 11 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     202

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 68
Release Date: 2/01/80
Update #:   A-l
NEDS A7 Comment:  Indicates information to be entered on a NEDS A7 card.
     Transaction:  Category 4
    Field Length:  34 characters

NEDS A7 Emission:  The emission estimate value to be used on a NEDS A7 card
          (for criteria pollutants).
    Transaction:   Category 5
    Valid Codes:   The field must be numeric.  Leading spaces are allowed.
   Field Length:   7 characters

Nitrogen Percentage:  The nitrogen content for combustion processes.  The
          nitrogen content is indicated as a weight percentage.
     Transaction:  Category 2
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
    Field Length:  3 characters with three decimal positions assumed.

Pollutant ID:  Identifies the pollutant whose emissions are being measured.
          SAROAD parameter codes are used.
     Transaction:  Category 5, Description 7
     Valid Codes:  The field must be numeric.  Refer to the AEROS Manual
                   Series, Volume V:  AEROS Manual of Codes for a complete
                   listing of SAROAD parameter codes.
    Field Length:  5 characters

Pollutant Name:  A prose description of the pollutant.
     Transaction:  Category 5, Description 7
     Valid Codes:  Refer to the AEROS Manual Series, Volume V:  AEROS Manual
                   of Codes for a complete list of pollutant names.

                                                             (Page 12 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     203

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 69
Release Date: 2/01/80
Update #:   A-l
    Field Length:  15 characters

Pollutant-Specific Data:   Provides user-defined supplementary information for
          each pollutant, and is keyed to the pollutant ID code.   For
          instance, this  field will  eventually contain particulate size range
          information for total  suspended particulate emissions  (e,,g.,  it may
          show the percent of total  emitted particulates with average diameter
          less than 2 microns, less  than 7, and less than 10).   In the  case of
          organic gas emissions, this field may contain a code number
          referencing an  emission profile file.
     Transaction:  Category 5
    Field Length:  10 characters
Population:  The population of the area.
     Transaction:  Description 2
     Valid Codes:  The field must be numeric.
    Field Length:  8 characters
                            Leading spaces are allowed.
Population Code:  The EPA population distribution code.
     Transaction:
     Valid Codes:
    Field Length:
Description 6
The field must be numeric.   See the AEROS Manual  Series,
Volume V:  AEROS Manual  of Codes, Section 3.15 for a
complete list of population codes.
1 character
Process Rate:  The thruput during the inventory year of the fuel  or material
          used.  The process rate is expressed in units defined by the units
          code field.

                                                             (Page 13 of 23)
     Figure 4.3.3-b - continued.   Definition of EIS/AS Master File
                                  Transaction Fields
                                     204

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 70
Release Date: 2/01/80
Update #:   A-l
     Transaction:  Category 1
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
    Field Length:  9 characters

Projected Year:  The year for which the projection has been made.
     Transaction:  Description 1
     Valid Codes:  The field must be numeric.
    Field Length:  2 characters

R Code:  Identifies a transaction as an EIS/AS comment transaction.
     Transaction:  EIS/AS comment
     Valid Codes:  R
    Field Length:  1 character

Rural Population Percentage:  The percentage of the area population  that is
          rural.
     Transaction:  Description 1
     Valid Codes:  The field must be numeric.  A leading space is allowed.
    Field Length:  2 characters

SIP Base Year:   The most recent year that the State Implementation Plan was
          revised.
     Transaction:  Description 1
     Valid Codes:  The field must be numeric.
    Field Length:  2 characters
                                                             (Page  14  of 23)
     Figure 4.3.3-b -  continued.   Definition of EIS/AS  Master File
                                  Transaction Fields
                                     205

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 71
Release Date: 2/01/80
Update #:   A-l
SIP Estimate for TSP,  S02,  NOX,  HC,  or CO:   The State Implementation Plan
          emission estimate.   The estimates are expressed in hundreds of tons
          per year.   Additional  spaces in the record are reserved  for future
          criteria pollutants that might be added.
     Transaction:  Description 5
     Valid Codes:  The field  must be numeric.   Leading spaces are  allowed.
    Field Length:  5 characters  each for TSP,  HC,  and CO; 4  characters each
                   for S02  and NOX.

SMSA:  Indicates the standard metropolitan  statistical  area.
     Transaction:
     Valid Codes:
    Field Length:
Description 1
The field must be numeric.   Leading spaces are allowed.
See the AEROS Manual Series, Volume V:   AEROS Manual  of
Codes, Section 2.7.0, for a complete list of SMSA's.
4 characters
Source Type:  Indicates the type of source.
     Transaction:
     Valid Codes:

    Field Length:
Description 4
L - 1ine or link
A - area
1 character
State:  The state identification code for the source.
     Transaction:  All  transactions
     Valid Codes:  01-52.   Refer to the AEROS Manual  Series,  Volume V:   AEROS
                   Manual  of Codes, Section 2.1.0 for a complete list of state
                   codes.
    Field Length:  2 characters

                                                            (Page 15 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     206

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 72
Release Date:  2/01/80
Update #:   A-l
Suballocation Technique Code:  A user-defined code to specify the
          suballocation technique used.
     Transaction:  Description 3
     Valid Codes:  The field must be numeric.  A leading space is allowed.
    Field Length:  2 characters

Suballocation Technique Description:  Describes the suballocation technique.
     Transaction:  Description 3
    Field Length:  20 characters

Suballocation Type:  Identifies a description or category transaction as  a
          transaction for a county or for a suballocation of a county.
     Transaction:  All description records, all category records.
     Valid Codes:  C - county
                   S - suballocation of a county
    Field Length:  1 character

Subcard Number:  This field is generated by CCENETR (EC0030) and is  not
          entered on EIS/AS master file transactions.
     Transaction:  Description 6 internal transaction.
    Field Length:  1 character

Sulfur Content - Anthracite Coal:  The percentage of sulfur content
          (weighted average) for anthracite coal consumed by area sources in
          the geographic area.
     Transaction:  Description 3
     Valid Codes:  The field must be numeric.  A leading space is allowed.  A
                   conditional message is generated if  the value exceeds  2.0.

                                                             (Page 16 of  23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS  Master File
                                  Transaction Fields
                                     207

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 73
Release Date: 2/01/80
Update #:  A-l
    Field Length:  2 characters with one decimal  position assumed.

Sulfur Content - Bituminous Coal:   The percentage of sulfur content
          (weighted average) for bituminous coal  consumed by area sources in
          the geographic area.
     Transaction:  Description  3
     Valid Codes:  The field must  be numeric.   A leading space is allowed.  A
                   conditional  message is generated if the value exceeds 7.0.
    Field Length:  2 characters with one decimal  position assumed.

Sulfur Content - Distillate Oil:  The percentage of sulfur content.
          (weighted average) for distillate oil  consumed by area sources in
          the geographic area.
     Transaction:  Description  3
     Valid Codes:  The field must  be numeric.   A leading space is allowed.  A
                   conditional  message is generated if the value exceeds 1.0.
    Field Length:  2 characters with one decimal  position assumed.

Sulfur Content - Residual Oil:   The percentage of sulfur content
          (weighted average) for residual oil  consumed by area sources in the
          geographic area.
     Transaction:  Description  3
     Valid Codes:  The field must  be numeric.   A leading space is allowed.  A
                   conditional  message is generated if the value exceeds 5.0.
    Field Length:  2 characters with one decimal  position assumed.

Sulfur Percentage:  The sulfur content for combustion processes.  The sulfur
          content is indicated  as  a weight percentage.

                                                             (Page 17 of 23)
     Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                  Transaction Fields
                                     208

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 74
Release Date:  2/01/80
Update #:   A-l
     Transaction:  Category 2
     Valid Codes:  The field must be numeric.   A leading space is allowed.
    Field Length:  2 characters with one decimal position assumed.

Thruput for Hours Beginning 0000 through 2300:   The percentage of the total
          daily thruput processed in each hour.
     Transaction:  Category 3
     Valid Codes:  If the uniform hourly thruput field is Y,  the hourly
                   thruputs should not be entered (thruputs  for hours 0500,
                   1100, 1700, and 2300 will  assume a value  of 05,  while
                   thruputs for all  other hours  will  assume  a value of 04,  so
                   that the sum of the thruputs  will  be 100).  If the uniform
                   hourly thruput field is N,  the hourly thruputs should  be
                   provided.  Each thruput must  be numeric.   A leading space
                   is allowed in each thruput.   In an add transaction, blank
                   thruputs assume a value of  zero.   The sum of the thruputs
                   must be greater than or equal to 95 and less than or equal
                   to 105.
    Field Length:  2 characters each

Thruput for January through December:  The percentage of the total  yearly
          thruput processed in each  month.
     Transaction:  Category 2
     Valid Codes:  If the uniform monthly thruput field is Y, the monthly
                   thruputs should not be entered (thruputs  for March, June,
                   September, and December will  assume a value of 09, while
                   thruputs for all  other months will  assume a value of 08, so
                   that the sum of the thruputs  will  be 100).  If the uniform

                                                             (Page  18 of  23)
      Figure 4.3.3-b - continued.  Definition  of EIS/AS Master File
                                  Transaction Fields
                                     209

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (EC0040)
Page 75
Release Date: 2/01/80
Update #:  A-l
    Field Length:
monthly thruput field is N, the monthly thruputs should be
provided.  Each thruput must be numeric.   A leading space
is allowed in each thruput.  In an add transaction, blank
thruputs assume a value of zero.   The sum of the thruputs
must be greater than or equal  to 95 and less than or equal
to 105.
2 characters each
Thruput Ratio:  Provides an indication of how the operating schedule of the
          activity may vary from an average.   Many area source emissions occur
          infrequently and for brief periods  of time;  although the total
          annual emissions averaged over the  year may  indicate a  small  daily
          output, emission levels while the activity is operating are quite
          high.  The ratio of worst day to average daily thruput  (process rate
          for the inventory year divided by 365 days)  gives an indication of
          what "worst case" emissions could be.  Taking forest fires as an
          example, the ratio of the maximum acres burned on any day on which
          forest fires occurred (or total acres burned in those fires divided
          by the number of days that the fires burned) to the average number
          of acres burned per day (total acres burned  in all  forest fires in
          the activity area during the inventory year, divided by 365) is a
          proper thruput ratio.
     Transaction:  Category 2
     Valid Codes:  The field must be numeric.  Leading spaces are allowed.
    Field Length:  4 characters with one decimal position assumed.

Uniform Hourly Thruput:  Indicates whether or not the  thruputs for hours 0000
          through 2300 are uniform.

                                                              (Page 19 of 23)
      Figure 4.3.3-b - continued.  Definition of EIS/AS Master File
                                   Transaction Fields
                                     210

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 76
Release Date:  2/01/80
Update #:   A-l
     Transaction:  Category 3
     Valid Codes:  Y - Hourly thruputs are uniform (hourly thruput fields
                   should not be coded).
                   N - Hourly thruputs are not uniform (hourly thruput fields
                   should be coded.
                   If this field is  blank in an add transaction,  it will
                   assume a value of Y.
    Field Length:  1 character

Uniform Monthly Thruput:  Indicates  whether or not the thruputs for January
          through December are uniform.
     Transaction:  Category 2
     Valid Codes:  Y - Monthly thruputs  are uniform (monthly thruput fields
                   should not be coded).
                   N - Monthly thruputs  are not uniform (monthly  thruput
                   fields should be  coded).
                   If this field is  blank in an add transaction,  it will
                   assume a value of Y.
    Field Length:  1 character

Units Code:  A user-defined units code for the thruput.
     Transaction:  Category 1
    Field Length:  2 characters

Units Code Description:  Describes the units code.
     Transaction:  Category 1
    Field Length:  12 characters
                                                              (Page 20 of 23)
      Figure 4.3.3-b - continued.   Definition of EIS/AS Master File
                                   Transaction Fields
                                     211

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 77
Release Date: 2/01/80
Update #:  A-l
 UTM Horizontal:  The horizontal  (or easting)  coordinate for the UTM
          (Universal Transversel  Mercator Projection  System) location of
          the source.  UTM coordinates can be  obtained from USGS maps.   Up
          to 6 sets of coordinates are allowed to describe the area.
     Transaction:  Description 3  and 4
     Valid Codes:  See Appendix A, Table A-l.   A conditional message is
          generated if the value  is out of range.
    Field Length:  4 characters with one decimal  position assumed.

UTM Vertical:  The vertical (or northing) coordinate  for the UTM location
          of the source.   UTM coordinates can  be obtained from USGS maps.  Up
          to 6 sets of coordinates are allowed to describe the area.
     Transaction:  Description 3  and 4
     Valid Codes:  See Appendix A, Table A-l.   A conditional message is
                   generated if the value is out of range.
    Field Length:  5 characters with one decimal  position assumed

UTM Zone:  The zone associated with the UTM coordinates given for the source.
          UTM coordinates are given on USGS maps.  Up to 6 sets of coordinates
          are allowed to describe the area.
     Transaction:  Description 3  and 4
     Valid Codes:  See Appendix A, Table A-l.   A conditional message is
                   generated if the value is out of range.
    Field Length:  2 characters

Vehicle Miles for Limited Access  Roads:  The number of measured vehicle  miles
          traveled on limited access roads in the area.  The value is
          expressed  in terms of thousands of miles.

                                                             (Page 21 of 23)
      Figure 4.3.3-b - continued.  Definition of Master File
                                   Transaction Fields
                                     212

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 78
Release Date:  2/01/80
Update #:  A-l
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  6 characters

Vehicle Miles for Rural  Roads:  The number of measured vehicle miles traveled
          on roads in the area.  The value is expressed in tens of thousands
          of miles.
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  6 characters

Vehicle Miles for Suburban Roads:  The number of measured vehicle miles
          traveled on suburban roads in the area.  The value is expressed in
          tens of thousands of miles.
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  6 characters

Vehicle Miles for Urban Roads:  The number of measured vehicle miles traveled
          on urban roads in the area.   The value is expressed in tens of
          thousands  of miles.
     Transaction:  Description 6
     Valid Codes:  The field must be numeric.   Leading spaces are allowed.
    Field Length:  7 characters
                                                              (Page 22 of 23)
      Figure 4.3.3-b - continued.   Definition of EIS/AS File
                                   Transaction Fields
                                     213

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 79
Release Date: 2/01/80
Update #:   A-l
Weeks Per Year:  The number of weeks during the year in  which  the  activity
          takes place.
     Transaction:  Category 2
     Valid Codes:  00-52
    Field Length:  2 characters

Year:  The current year (last two digits)  of information for a description
          record.
     Transaction:  Description .1
     Valid Codes:  The field must be numeric and no  greater than the year on
                   the option card.
    Field Length:  2 characters

Year of Information:  The year (last two digits) of  information for a  category
          record.
     Transaction:  Category 1
     Valid Codes:  The field must be numeric.
    Field Length:  2 characters
                                                              (Page 23 of 23)
      Figure 4.3.3-b - continued.   Definition of EIS/AS  Master File
                                   Transaction Fields
                                     214

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
      SECTION 4.3.3
      TRANSACTION EDIT
      PROGRAM CEDMSTR (EC0040)
          Page 80
          Release Date: 2/01/80
          Update #:  A-l
 Record Position

     1 -  2
     3-6
     7 - 10
    11 - 15
    16 - 18
    19 - 20
         21
    22 - 24
         25
         26
         27
         28
    29 - 31
    32 - 56
    57 - 58
    59 - 67
    68 - 74
    75 - 76
    77 - 88
    89 - 99
Category 1 Internal Transaction
  Field Length          Description
       2
       4
       4
       5
       3
       2
       1
       3
       1
       1
       1
       1
       3
      25
       2
       9
       7
       2
      12
      11
State
County
Reserved Area
Geographic Suballocation Number
Category Number
Category Disaggregation Number
1
Zeroes
Card Number
Action Code
Suballocation Type
Disaggregation Type
AQCR
Category Description
Year of Information
Process Rate
Category Adjustment Value
Units Code
Units Code Description
Unused
                                                          (Page 1 of 17)
       Figure  4.3.3-c.   EIS/AS Master File  Internal Transaction Formats
                                    215

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 81
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Category 2 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 18
19 - 20
21
22 - 24
25
26
27
28
29 - 31
32
33 - 34
35 - 36
37 - 38
39 - 40
41 - 42
43 - 44
45 - 46
47 - 48
49 - 50
51 - 52
53 - 54
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
3 Category Number
2 Category Disaggregation Number
1 1
3 Zeroes
1 Card Number
1 Action Code
1 Subal location Type
1 Disaggregation Type
3 AQCR
1 Uniform Monthly Thruput
2 Thruput for January
2 Thruput for February
2 Thruput for March
2 Thruput for April
2 Thruput for May
2 Thruput for June
2 Thruput for July
2 Thruput for August
2 Thruput for September
2 Thruput for October
2 Thruput for November
Figure 4.3.3-c - continued.
                                 (Page  2  of 17)
EIS/AS Master File Internal  Transaction Formats
                                    216

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                    SECTION 4.3.3
                    TRANSACTION EDIT
                    PROGRAM CEDMSTR (EC0040)
                            Page 82
                            Release  Date:  2/01/80
                            Update #:   A-l
                 Category 2 Internal  Transaction (continued)
 Record Position         Field Length          Description
    55
    57

    60
    62
    66

    77
    80
    82
    85
    89
56
58
59
61
65
75
76
79
81
84
88
99
 2
 2
 1
 2
 4
10
 1
 3
 2
 3
 4
11
Thruput for December
Hours Per Day
Days Per Week
Weeks Per Year
Thruput Ratio
Maximum Hourly Thruput
Data Confidence Rating
Nitrogen Percentage
Sulfur Percentage
Ash Percentage
Heat Content
Unused
 Figure 4.3.3-c - continued.
                                                      (Page  3  of  17)
                     EIS/AS Master File Internal  Transaction Formats
                                     217

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 83
TRANSACTION EDIT Release Date:
PROGRAM CEDMSTR (EC0040) Update #: A-l
2/01/80
Category 3 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 18
19 - 20
21
22 - 24
25
26
27
28
29 - 31
32
33 - 34
35 - 36
37 - 38
39 - 40
41 - 42
43 - 44
45 - 46
47 - 48
49 - 50
51 - 52
53 - 54
2 State
4 County
4 Reserved Area
5 Geographic Suballocation
3 Category Number
2 Category Disaggregation
1 1
3 Zeroes
1 Card Number
1 Action Code
1 Suballocation Type
1 Disaggregation Type
3 AQCR
1 Uniform Hourly Thruput
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni
2 Thruput for Hour Beginni



Number

Number








ng 0000
ng 0100
ng 0200
ng 0300
ng 0400
ng 0500
ng 0600
ng 0700
ng 0800
ng 0900
ng 1000
                                                              (Page 4 of 17)
Figure 4.3.3-c - continued.   EIS/AS  Master  File  Internal Transaction Formats
                                    218

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
    SECTION 4.3.3
    TRANSACTION EDIT
    PROGRAM CEDMSTR (EC0040)
          Page 84
          Release Date: 2/01/80
          Update #:  A-l
                 Category 3 Internal Transaction (continued)
 Record Position
Field Length
Description
55 -
57 -
59 -
61 -
63 -
65 -
67 -
69 -
71 -
73 -
75 -
77 -
79 -
81 -
56
58
60
62
64
66
68
70
72
74
76
78
80
99
2
2
2
2
2
2
2
2
2
2
2
2
2
19
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Thruput
Unused
for
for
for
for
for
for
for
for
for
for
for
for
for

Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour
Hour

Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni
Beginni

ng
ng
ng
ng
ng
ng
ng
ng
ng
ng
ng
ng
ng

1100
1200
1300
1400
1500
1600
1700
1800
1900
2000
2100
2200
2300

 Figure 4.3.3-c - continued.
                                      (Page 5 of 17)
     EIS/AS Master File Internal  Transaction Formats
            219

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 85
TRANSACTION EDIT Release Date:
PROGRAM CEDMSTR (EC0040) Update #: A-l
2/01/80
Category 4 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 18
19 - 20
21
22 - 24
25
26
27
28
29 - 31
32 - 65
66
67 - 86
87 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location
3 Category Number
2 Category Disaggregation
1 1
3 Zeroes
1 Card Number
1 Action Code
1 Subal location Type
1 Disaggregation Type
3 AQCR
34 NEDS A7 Comment
1 Information Source Code



Number

Number









20 Information Source Narrative
13 Unused

                                                              (Page  6  of  17)
Figure 4.3.3-c - continued.   EIS/AS Master File  Internal  Transaction Formats
                                    220

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 86
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Category 5 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 18
19 - 20
21
22 - 24
25
26
27
28
29 - 31
32 - 36
37 - 46
47

48
49
50 - 59
60 - 66
67 - 81
82 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
3 Category Number
2 Category Disaggregation Number
1 1
3 Zeroes
1 Card Number
1 Action Code
1 Suballocation Type
1 Disaggregation Type
3 AQCR
5 Pollutant ID
10 Emission Factor
1 Emission Factor Confidence
Rating
1 Emission Factor Origin
1 Emission Factor Source Code
10 Pollutant-Specific Data
7 NEDS A7 Emission
15 Pollutant Name
18 Unused
                                                              (Page  7  of  17)
Figure 4.3.3-c - continued.   EIS/AS  Master File Internal  Transaction Formats

                                    221

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 87
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Description 1 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 24
25
26
27
28
29 - 31
32 - 33
34 - 36
37 - 39
40 - 43
44 - 63
64 - 83
84 - 87
88 - 89
90 - 91
92 - 93
94 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
9 Zeroes
1 Card Number
1 Action Code
1 Subal location Type
1 G Code
3 AQCR
2 Year
3 Day
3 Air Basin
4 SMSA
20 Area Name
20 Major Activity
4 Associated Plant ID
2 SIP Base Year
2 Projected Year
2 Rural Population Percentage
6 Unused
Figure 4.3.3-c - continued.
                                 (Page 8 of 17)
EIS/AS Master File Internal  Transaction Formats

       222

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                            SECTION 4.3.3
                            TRANSACTION EDIT
                            PROGRAM CEDMSTR (EC0040)
Page 88
Release Date: 2/01/80
Update #:  A-l
 Record Position
1
3
7
11
16




29
32
40
94
- 2
- 6
- 10
- 15
- 24
25
26
27
28
- 31
- 39
- 93
- 99
                     Description 2 Internal  Transaction
                        Field Length          Description
                              2
                              4
                              4
                              5
                              9
                              1
                              1
                              1
                              1
                              3
                              8
                             54
                              6
                                              State
                                              County
                                              Reserved Area
                                              Geographic Suballocation Number
                                              Zeroes
                                              Card Number
                                              Action Code
                                              Suballocation Type
                                              G Code
                                              AQCR
                                              Population
                                              AQCR Name
                                              Unused
Figure 4.3.3-c - continued.
                                                               (Page 9 of 17)
                              EIS/AS Master File Internal  Transaction Formats
                                     223

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
Descri
SECTION 4.3.3 Page 89
TRANSACTION EDIT Release Date:
PROGRAM CEDMSTR (EC0040) Update #: A-l
ption 3 Internal Transaction
2/01/80

Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 24
25
26
27
28
29 - 31
32 - 33
34 - 53

54 - 56
57 - 58
2 State
4 County
4 Reserved Area
5 Geographic Suballocation
9 Zeroes
1 Card Number
1 Action Code
1 Suballocation Type
1 G Code
3 AQCR
2 Suballocation Technique
20 Suballocation Technique
Description
3 Defined Area Code



Number






Code



2 Sulfur Content - Anthracite
   59

   61

   63
60

62

64
2

2

2
Coal
Sulfur Content - Bituminous
Coal
Sulfur Content - Distillate
Oil
Sulfur Content - Residual Oil
Figure 4.3.3-c - continued.
                                                     (Page  10  of  17)
                     EIS/AS Master File  Internal  Transaction Formats
                                    224

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                    SECTION 4.3.3
                    TRANSACTION EDIT
                    PROGRAM CEDMSTR (EC0040)
                                Page 90
                                Release Date: 2/01/80
                                Update #:   A-l
                Description 3 Internal Transaction (continued)
 Record Position
    65
    68
    71
    73
    77
    82
    84
    88
    93
67
70
72
76
81
83
87
92
99
Field Length
     3
     3
     2
     4
     5
     2
     4
     5
     7
Description

Ash Content - Anthracite Coal
Ash Content - Bituminous Coal
UTM Zone 1
UTM Horizontal  1
UTM Vertical  1
UTM Zone 2
UTM Horizontal  2
UTM Vertical  2
Unused
 Figure 4.3.3-c  -  continued.
                                                     (Page  11  of  17)
                     EIS/AS  Master  File  Internal  Transaction Formats
                                    225

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
Descri
SECTION 4.3.3 Page 91
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
ption 4 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 24
25
26
27
28
29 - 31
32 - 33
34 - 37
38 - 42
43 - 44
45 - 48
49 - 53
54 - 55
56 - 59
60 - 64
65 - 66
67 - 70
71 - 75
76
77 - 83
84 - 85
86 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
9 Zeroes
1 Card Number
1 Action Code
1 Subal location Type
1 G Code
3 AQCR
2 UTM Zone 3
4 UTM Horizontal 3
5 UTM Vertical 3
2 UTM Zone 4
4 UTM Horizontal 4
5 UTM Vertical 4
2 UTM Zone 5
4 UTM Horizontal 5
5 UTM Vertical 5
2 UTM Zone 6
4 UTM Horizontal 6
5 UTM Vertical 6
1 Source Type
7 Length or Area
2 Length or Area Units Code
14 Unused
Figure 4.3.3-c - continued.
                                (Page 12 of 17)
EIS/AS Master File Internal  Transaction Formats
       226

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 92
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Description 5 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 24
25
26
27
28
29 - 31
32 - 36
37 - 40
41 - 44
45 - 49
50 - 54
55 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
9 Zeroes
1 Card Number
1 Action Code
1 Suballocation Type
1 Disaggregation Type
3 AQCR
5 SIP Estimate for TSP
4 SIP Estimate for S02
4 SIP Estimate for NOX
5 SIP Estimate for HC
5 SIP Estimate for CO
45 Unused
Figure 4.3.3-c -  continued.
                                (Page 13 of 17)
EIS/AS Master File Internal  Transaction Formats

       227

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
    SECTION 4.3.3
    TRANSACTION EDIT
    PROGRAM CEDMSTR (EC0040)
          Page 93
          Release Date: 2/01/80
          Update #:   A-l
                      Description 6  Internal  Transaction
 Record Position

     1 -  2
     3 -  6
     7 - 10
    11 - 15
    16 - 24
         25
         26
         27
         28
    29 - 31
         32
         33
    34 - 40
    41 - 46
    47 - 52
    53 - 58

    59 - 64
    65 - 70

    71 - 77
    78 - 99
Field Length

     2
     4
     4
     5
     9
     1
     1
     1
     1
     3
     1
     1
     7
     6
     6
     6

     6
     6

     7
    22
Description
State
County
Reserved Area
Geographic Suballocation Number
Zeroes
Card Number
Action Code
Suballocation Type
G Code
AQCR
Subcard Number
Population Code
Gas Fuel for Light Vehicles
Gas Fuel for Heavy Vehicles
Diesel Fuel for Heavy Vehicles
Vehicle Miles for Limited
Access Roads
Vehicle Miles for Rural Roads
Vehicle Miles for Suburban
Roads
Vehicle Miles for Urban Roads
Unused
 Figure 4.3.3-c - continued.
                                     (Page 14 of 17)
     EIS/AS Master File Internal  Transaction Formats
                                     228

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 94
TRANSACTION EDIT Release Date: 2/01/80
PROGRAM CEDMSTR (EC0040) Update #: A-l
Description 7 Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 24
25
26
27
28
29 - 31
32 - 36
37 - 51
52
53 - 58
59
60 - 86
87 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location Number
9 Zeroes
1 Card Number
1 Action Code
1 Subal location Type
1 G Code
3 AQCR
5 Pollutant ID
15 Pollutant Name
1 Attainment Status
6 AQMA Number
1 Unused
27 Repeat Positions 32-58
13 Unused
Figure 4.3.3-c - continued.
                                (Page 15 of 17)
EIS/AS Master File Internal  Transaction Formats

       229

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                    SECTION 4.3.3
                    TRANSACTION EDIT
                    PROGRAM CEDMSTR (EC0040)
                                Page 95
                                Release Date:  2/01/80
                                Update #:   A-l
                      NEDS Comment  Internal  Transaction
 Record Position
     1 -
     3 -
     7 -
    11 -

    22 -
    29
    32
 2
 6
10
20
21
24
25
26
27
28
31
99
Field Length

     2
     4
     4
    10
     1
     3
     1
     1
     1
     1
     3
    68
Description
State
County
Reserved Area
Zeroes
2
Zeroes
Card Number
Action Code
Unused
N Code
AQCR
NEDS A6 Comment
                                                              (Page  16  of  17)
 Figure 4.3.3-c - continued.   EIS/AS  Master File  Internal  Transaction Formats
                                     230

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.3 Page 96
TRANSACTION EDIT Release Date:
PROGRAM CEDMSTR (EC0040) Update #: A-l
2/01/80
Comment Internal Transaction
Record Position Field Length Description
1 - 2
3 - 6
7 - 10
11 - 15
16 - 18
19 - 20
21
22 - 24
25
26
27
28
29 - 31
32 - 81
82 - 99
2 State
4 County
4 Reserved Area
5 Geographic Subal location
3 Category Number
2 Category Disaggregation
1 2
3 Line Number
1 Card Number
1 Action Code
1 Unused
1 R Code
3 AQCR
50 Half Comment
18 Unused



Number

Number









                                                             (Page  17  of  17)
Figure 4.3.3-c - continued.   EIS/AS Master File  Internal  Transaction Formats
                                    231

-------
EIS/AS

FILE  CREATION AND

MAINTENANCE
 SECTION  4.3.3

 TRANSACTION EDIT

 PROGRAM  CEDMSTR (EC0040)
      Page 97

      Release  Date:  2/01/80

      Update #:  A-l
                                     ^ i  c c —  -a c
_ >- «- _> o

T U. _l JJ «
                                                                                          o
                                                                                          Q.
                                                                                          O
                                                                                          CO
                                                                                          O

                                                                                          en
                                                                                          re
                                  c rr tt -.
                              =• a. i T * 53.
                         >. ^   _  >- —

                         i' 2:   — — 2- C^ '
                         ~ ~   "O * Z
                 r^
                 er.
                    -\J T
                    f —

                    j^ i.



                    c ^.
                                                                                          r
                                                                                         n
                                                                                          *
                                                                                         CO

                                 i ^ 2  r
                                 3: "D r ^ r
                                 U. W *- w LJ

                                 ^ c =: x c
                                 — 3^3-^
                                 c o c c c-
                                 j" y. c/; y, v.

                                 c c c c. c
                                 u u (_; u u
               •x 2.
               r\. a:
               x i
               f\. j.'
                                                     C  I


                                                     *T 2.
                                            U U  — l_

•i  V5 :o — —  _T


CT  — «• -: i ^ C", ». .. ti
—  — >^ /• :LT^jy, i'3
                             y,   < 
-------
EIS/AS

FILE  CREATION AND

MAINTENANCE
    SECTION  4.3.3

    TRANSACTION  EDIT

    PROGRAM  CEDMSTR (EC0040)
                      Page 98

                      Release  Date:  2/01/80

                      Update #:   A-l
                                                                                          OJ
                                                                                          C
                                                                                          o
                                                                                          •r-
                                                                                          -P
                                                                                          O
                                                                                          03
                                                                                          CO
                                                                                          C
                                                                                          03
                                                                                          •»->
                                                                                          23
                                                                                          Q.
                                                                   I C. C C
                                                                   1 c; r o c
                                                                   ~ e c c
                                                                c  -^ ~ o
    C C C C '
    o s c c <
    C C C C i
    O 3 O C
                                                                c —

                                                                IT i
                                            r   _) f _) "3 _
                                            r c <• — _ r <
                                            — ~ x: 1 — ^ t

                                            ^r ~ — — S. s. ^

                                                                   i*. a- u- u.
                                                                   i t I i X
                                                                   , e c c <=
                                                                   : = c. c 3
                                                                   — A. w 3
                                                                   i O 5 - -
                                                                   : c- c e c
                                            =. 1 i I i  i t
                                            — — t i ; i T

                                            L_ o^ C C" T" ™ "~

                                            C C C C C C C

                                            \f -C r^ if. Q- c —

                                            c c cr o c c c
c c c; c c
. — — C
; c £ 3"
. e c a-
> * O "
                   o- c- tr i
                   c c- o-
                                            c c o e c c c
                                             J C
                                   I "V "u X


                                    ccc

                            ; X IX '
                            j »\j ft. f
                                                         ceccccccccc
                                                                          O C C i £ £ £
                                                                          e c. c c c c c
                                                                  -V X *V X "V
                                      233

-------
EIS/AS

FILE  CREATION AND

MAINTENANCE
                         SECTION 4.3.3

                         TRANSACTION  EDIT

                         PROGRAM CEDMSTR  (EC0040)
                                              Page  99
                                              Release  Date:  2/01/80
                                              Update #:   A-l
<   u.
<   C: _J
                                                                                                                CD
                                                                                                                03
                                                                                                                E
—   -3 —
J". C
C —
O >7-T?'>^?->>o>ch>>>>>>>
                                                                                                                CL
                                                                                                                3
                                                                                                               o
                                                                               (T C. C C

                                                                     xtr, y:*-~zcc
                                                                     r— .»_ 
                                                                     UCa-t ^O.CC
                                                                                 X  X
                                                                   cr	._j__j^cc
                                                                     <<;-=<:<:_^^^^^CC
                                                                   C C C
                                                                   XXX
                                                                   d C C.
                                                                   XXX
                                                                   c c c

                                                                   c o c
                                                                   XXX
                                                                   T C- O
                                                                   XXX
                                                       c c
                                                       7- >
                                                       r. c
r x x ~ x
C C C C C-
X X X X- X
coc.cc

C. C. C T ~
                                                                                                                01
                                                                         X T
                                                                         c c
                                                                         7- 7-
                                                                   i il 1C 'J5 -t -*3 /; OXXXXX XXX
                                                                                       . c c o c
                                  c-   —  a u_ u. J. .*-
                                                                               'C X X X
                                                                               c c c c
                                                                                   X T
                                                                                  c~ecccccccc
    x r £ c x ^
    c c c c c c
                 oecc.cc ccoc-rccc
                                             ccc. -caoccccccccc.
                                                                                • C -C £
                                                                                 ccc.
                     c o c c c c
                                                                             —i — IX A. '

                                                                             c c: c c <
                                                                                             i ru (X »
                                  CTCC.C.CC.C CCOCCCCCCOCCCC-O
    ^ C-3C-O 3 ^ O C -5OCOC: JOOCSCC.C^^ S33OOS3O — O-iCO ..
    CCCr-X'CC-COC-CC-C'^CCCC'CCOrv.— — ^-^-^ — — — ^ — ^. — *- — ^-.-»- — — ^-^.« — — — — — .— — — — —
    cccor'CiCiSO^^oooc-'^^-sococczJCssoc'tsss-scircc'O^-ro^'r-'i — O'rosos
    cccccccccc  oeccc ^^cccccc:cc-ccc cccccc -c.ccoccccc-cecccrc cc
    oc 5 c c r SOOT  -^c-eco^. = -z r r-  r-^-x^T-j- £->-X'>r> — .-vj-^^y £'--r'?-o--'v1i^-3'j^ c c ^ •- x ^ T
    ccccccccccc-cccoccccc;ccccc:cccoo — ^*-^ — ^-^^-^ — rvcccccccccce —
    -oooooc.r-00-scc.c ^e=>r>oo^oc ^c-^^os^^o ^o^CiO^osC'^-sr-^-r'S-^ o^^c =>
    ccc-c — — -« — co  — — c-trc-acecccccccccccc^cc-cccccc-^ccccccccccccc-
    ^r-cjocoeosr—. — 7-5->7- c>cc>=>c;r>coc:ooor.c:-r-*-^r -o^ooc-c-o = 0 = ^^:00050 r
    ccooccccj-j-£i?c o-c^cc-cccccccccecccc ccccccc-cccocccocrocc —

    c-cocceccccocc'^o-T-cccccccoccccrcocccccc.c-cc'cczcc.cccecc'cc-c-
            C £! £ £ ^ ^
           c c c c
                     C C C C C C:
                    ! *V. *\- l\l —- '
                    ? £ c -c  r
                     c c c o
                                                  ceccccccc
                                                     234

-------
EIS/AS
FILL CREATION AND
MAINTENANCE
SECTION 4.3.3
TRANSACTION EDIT
PROGRAM CEDMSTR (EC0040)
Page 100
Release Date:  2/01/80
Update #:   A-l
         Column Column   Column
          #1    #4      #12
            YY     FLAGW    LIST
                   NOFLAGW  NOLIST
 Note:
 1.    The year option must be present.   It  must  be  a  two-digit  number
      beginning in column one specifying the latest year to  be  allowed  on
      input description 1 transactions.

 2.    The FLAGW option, if it appears,  must begin  in  column  four  and be
      written as either FLAGW or NOFLAGW.
 3.    The LIST option,  if it  appears, must  begin in column 12 and be written
      as either LIST or NOLIST.
                     Figure 4.3.3-g.   Option  Card  Format
                                     235

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                                   SECTION  4.3.3
                                   TRANSACTION EDIT
                                   PROGRAM  CEDMSTR  (EC0040)
                                                                        Page  101
                                                                        Release  Date:  2/01/80
                                                                        Update  #:   A-l
//*  FPA|"M/AOH7  Mt ')I,F. F'F I H, 1.1 HYP  n.

//*    PMIII.F PIIWI  f!A''F !  F I I ill | 0
//*    wt v 1 SI MIM LI" VF I  :  1-no
//*    l A^I  iK'iiA 11  « : ,\-1
//*    ')AH  I N( flKt'lik/t TF I) :  FIH^UftKY  1,
//*
//*    lilJ.S  F'UlK F.fHIKF. ALl n-,s  1
                                                     S'lt-S'J'M
                                                                                        oon no l no
                                                                                        111)0 1
//*    TMF  FIS/AS
//*
//*
//F-C.FOTIO  (MRM = f.
//                Kll-illl

//*
/ / *   tOIT  F1S/A.S  MA3TIH F|l(_  I f A fi S A C I .
//*
       I  1H    DP  DSMAMFzlt'^u.lt C 1 . .LIlAl),
//*   II'JPIII  DAIA  SF T  -  FIS//S.S .lA.STM' FILF  IWttl'SA(t:
//*
//                nr H-IU KSi/f =M"
//*
//*   JWRIII  C/\|A  St I   -  IUTJ On ( MVD
//»
//F LPdl'l U    Hi)  DI'NAii f =I)H1 JON?,
//•                IK H-ii|.KS17t_=-(i>
// *
//*   iiiiri'iiT PATA ^F  i  - t  KS/<\I?  IASIF*  F
//*
//F f SI HI1 P    IM)  I) SUM if- =iliJW||..l|.r" I . . Ptt I »> . <, In I WT KM,
//                HI* I I  -.vlfll  I ,
//                via i ^'i = d'^l i/«U , iv[ i A M, Sf. !' = >•;;' i- I i.l > ,
//                I'l^i'rf si'Mr) ,
//                M ;i(  I = ( >.:.i'i H  J 1 I , ( • -'I J m'-'r , «.'i| < ulin Y ) , ,
//*
//*   iitiil'iil n/iT/j :,i  i  - o l Ai.'i'i . I l r  "(-I'Mt'i
                                                     r,'L i
                                                                                        0 110') (I 6 "(I
                                                                                     o on i) i o'm
                                                                                     oooot i o ii
                                                                                     (I I) 'III t  "'0
                                                                                        IMIIIOS'lllO
                                                                                        rniOi;SS»0
                                                                   (Page  1 of
                    Figure  4.3.3-h.   Cataloged  Procedure ECEDT10
                                                                                     2)
                                                 236

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                            SECTION 4.3.3
                            TRANSACTION  EDIT

                            PROGRAM CEDMSTR (EC0040)
Page  102
Release Date:  2/01/80
Update #:   A-l
     //*
     //*
//*
//l
//*
//S
//*
//s
//*
     //*  i Ml I I'll! DMA  ,-,(-1  -  |lwPU|  IHAMSAC M'liMS I I S T I M;
     //*
     //FI siNi'L   m>  SY.SIHH =K.UU r
     //*
     //*  oiiji'iii DATA  st- 1  -  fi'iinir  IK/IIJSAC i riiHj i. isiim
     //*
                 PAT/I  SHIS  -  srsifM

                 DO  SV,S""jr = k.i|H|

                 nil  oYVHI ! =M)H I

                 IM)  SYSIIin=M)MT

                 iii)  sr.sntn=)iiiiii

                 nil  SY bini ! SK.IIU I
                                                                         f (i 0 u ri B f> 0
                                                                         (i on ii MI on
                                                                         nun DM f>o
              IM) (106900
              01)10 ?0'l(l
              OOli) / 1 00
              (1 1) 0 0 7 
-------
E IS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.3
          TRANSACTION EDIT
          PROGRAM CEDMSTR (ECQ040)
                Page 103
                Release Date: 2/01/80
                UpdatP I:   A-1	
     Parameter
     _ Name

     PROJECT
 Default
  Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROGRAM
REGION1
TIME1
INTRTRN
UNIT
CEDMSTR
100K
'1,0'
ECINTERN
3330
     SERIAL        CDHSPK


     DISP          'NEW,CATLG,DELETE1

     SPCUNIT       TRK

     PRIMARY       20

     SECNDRY       10

     OUT           A
       Description

Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.
DATA.ECINTERN would be the full data
set name of the output internal
transactions)
Master file transaction edit program
Region size allocated for execution
of CEDMSTR
Time allocated for execution of
CEDMSTR
Lowest-level index of the output
internal transactions
Unit type to which the output
internal transactions are to be
written
Serial number of volume to which the
output internal transactions are to
be written
Disposition of the internal
transactions
Units in which space for the internal
transactions is to be allocated
Primary space allocation for the
internal transactions
Secondary space allocation for the
internal transactions
SYSOUT class for all print files
            Figure 4.3.3-i.  Substitutable Parameters for ECEDT10
                                     238

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.4
INTERNAL TRANSACTION SORT
PROGRAM CSRINTR (EC0050)
Page 1
Release Date: 2/01/80
Update #:  A-l
4.3.4.  MASTER FILE INTERNAL TRANSACTION SORT PROGRAM - CSRINTR (EC0050)

4.3.4.1.  Description

     CSRINTR (EC0050) sorts master file internal  transactions into the
sequence required by the master file internal transaction emission factor
insertion program, CMSEFIN (EC0060), and the master file maintenance program,
CFMMSTR (EC0070); Figure 4.3.4-a details this sort order.  All  master file
internal transactions must be sorted by CSRINTR (EC0050) before they can be
used to update (or create) the master file.  See Section 4.3.3  for additional
information on the internal transactions.

4.3.4.2.  File Formats

     Input to this program consists solely of master file internal trans-
actions generated by CEDMSTR (EC0040), the master file transaction edit
program, or CCENETR (EC0030), the NEDS to EIS/AS master file transaction
conversion-edit program.  Refer to Section 4.3.3.2 for a description of the
format of the internal transactions.

     CSRINTR (EC0050) produces two output files:   a diagnostic  report and a
temporary file containing the sorted internal transactions.   The transactions
are in the same sequence as the master file and can be used  as  input to the
master file maintenance program, CFMMSTR (EC0070), or the master file
internal transaction emission factor insertion program, CMSEFIN (EC0060).  An
example of the diagnostic report is shown in Figure 4.3.4-b.
                                     239

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.4
INTERNAL TRANSACTION SORT
PROGRAM CSRINTR (EC0050)
Page 2
Release Date: 2/01/80
Update #:: A-l
4.3.4.3.  Options and Control  Cards

     There are no options.

4.3.4.4.  Error Messages

     There are no error messages.

4.3.4.5.  Cataloged JCL

     CSRINTR (EC0050) should always be executed in conjunction with either the
master file internal transaction emission factor insertion program, CMSEFIN
(EC0060), or the master file maintenance program,  CFMMSTR (EC0070).  See
Section 4.3.6 for a discussion of the cataloged procedure ECFMM10,  which
executes CSRINTR (EC0050) and CFMMSTR (EC0070), and Section 4.3.5.5 for a
discussion of ECMST10, which executes CSRINTR (EC0050)  and CMSEFIN  (EC00060).
                                             f
4.3.4.6.  Warnings and Special Instructions

     Note that the COBOL sort verb is used in this program; therefore, the
collating sequence for alphanumeric fields is determined by the computer at
the user's particular installation.

     In addition to the diagnostic report produced by CSRINTR (EC0050),
messages generated by the sort-merge package will  be printed.  The  format and
content, as well as the physical location, of these messages depend upon the
user's particular installation.
                                     240

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.4
INTERNAL TRANSACTION SORT
PROGRAM CSRINTR (EC0050)
Page 3
Release Date:  2/01/80
Update #:  A-l
4.3.4.7.  Cost Considerat1ons

     The following estimates are for the execution of CSRINTR (EC0050) on an
IBM 370/168:

          Number of internal transactions:             8306 transactions
          CPU time:                                     4.8 seconds
          I/O time:                                    22.6 seconds
          Total time:                                  27.4 seconds

          Estimated cost:                              $4.17

4.3.4.8.  Related Programs  and Procedures

     CSRINTR (EC0050) should always be executed in conjunction with either the
master file internal  transaction emission factor insertion program, CMSEFIN
(EC0060), or the master file maintenance progam, CFMMSTR (EC0070).   The
cataloged procedure ECMST10 executes CSRINTR (EC0050) and EMSEFIN (EC0060);
the cataloged procedure ECFMM10, CSRINTR (EC0050) and CFMMSTR (EC0070).

     CSRINTR (EC0050) is also executed by the three multi-program procedures
discussed in Section  4.4:  ECEMM10, master file edit-maintenance; ECFMM20,
master file maintenance from NEDS transactions; and ECFMM30, master file
maintenance from emission factor transactions.
                                     241

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
 SECTION 4.3.4
 INTERNAL TRANSACTION SORT
 PROGRAM CSRINTR (EC0050)
  Page 4
  Release Date: 2/01/80
  Update #: A-l
     Record Position
1 -
3 -
7 -
11 -
16 -
19 -

22 -


27 -
29 -


34 -
2
6
10
15
18
20
21
24
25
26
28
31
32
33
38
Description

State
County
Filler
Geographic Suballocation
Number
Category Number
Category Disaggregation
Number
Record Type Key
Line Number
Card Number
Action Code
Record Type 2
AQCR
Emission Factor Origin
Emission Factor Source
Category Pollutant ID
Sort Sequence

  Ascendi ng
  Ascending
  Ascending

  Ascending
  Ascending

  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
  Ascending
     Figure 4.3.4-a.  Sort Sequence for Master File Internal Transactions
                                     242

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.4
INTERNAL TRANSACTION  SORT
PROGRAM CSRINTR  (EC0050)
Page 5
Release Date: 2/01/80
Update #: A-l
                                                                              O
                                                                              Q.
                                                                              CD
                                                                              O
                                                                              •1^
                                                                              +J
                                                                              m
                                                                              o
                                                                              c
                                                                              C75
                                                                              (O
                                                                              JO
                                                                               I
                                                                              oo
                                                                              «^
                                                                              i.
                                                                              CD
                                     243

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 1
Release Date: 2/01/80
Update #:  A-l
4.3.5  MASTER FILE INTERNAL TRANSACTION  EMISSION  FACTOR  INSERTION  PROGRAM  -
       CMSEFIN (EC0060)

4.3.5.1  Description

     Emission factor information from the EIS/AS  emission  factor file can  be
inserted into the category-2 and category-5  transactions by  executing CMSEFIN
(EC0060) after EIS/AS master file internal transactions  have been  created  by
either CEDMSTR (EC0040)  or CCENETR (EC0030).   The information to be  inserted,
as well as the conditions for insertion, are specified by  the user via an
option card (see Section 4.3.5.3).  Note that the internal transactions must
be sorted by the master  file internal  transaction sort program, CSRINTR
(EC0050), before they can be input to CMSEFIN (EC0060).

     CMSEFIN (EC0060) matches category-2 transactions to category  records  in
the emission factor file and category-5  transactions to  pollutant  records.
For category-2 transactions, a matching  state- or local-origin record is
sought; if one is not found, a matching  federal-origin record is sought.
Since category-5 records contain a character to indicate federal,  state, or
local origin, a matching record of that  specified origin is  sought.

     If a matching emission factor file  record is found  for  an internal
transaction, the information in that record  is inserted  into the appropriate
fields of the transaction (see Figure 4.3.5-a for a  list of  the valid fields
for insertion).  No changes are made to  any  of the other input internal
transactions.  The output file created by CMSEFIN (EC0060) is in master file
sequence and can be input to the master  file maintenance program,  CFMMSTR
(EC0070), without further sorting.
                                     244

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 2
Release Date: 2/01/80
Update #:  A-l
4.3.5.2  File Formats

     CMSEFIN (EC0060) uses three input files:  the file of sorted EIS/AS
master file internal transactions, the EIS/AS emission factor file, and an
option card.  See Figure 4.3.3-c for the format of the internal  transaction
file and Figure 4.2.3-a for that of the emission factor file.  The option card
is discussed in Section 4.3.5.3.

     Two output files are produced:  the file of completed internal
transactions and a diagnostic report.  The output transactions have the same
format and are in the same sequence as the input transactions; they can be
input directly to CFMMSTR (EC0070) to update the master file.

     The diagnostic report contains the update messages, program statistics,
option messages, and error messages.  A heading is printed on each page of the
diagnostic report to indicate the selected insertion fields and  conditions.
See Figure 4.3.5-b for a sample diagnostic report.

4.3.5.3  Options and Control Cards

     The user can specify via an option card the transaction fields for which
insertion is desired and can specify whether or not data from the emission
factor file should override (i.e., replace) existing data in any of those
fields.  He can also specify whether or not emission factor file data must
satisfy date criteria and whether or not warning messages should be printed.
All options are specified in fixed fields on the option card.  See Figure
4.3.5-c for the format of the option card.

     A transaction field is specified for insertion by coding its identifier
and an T in the appropriate option card field.  The valid fields for
                                     245

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 3
Release Date: 2/01/80
Update #: A-l
insertion and their identifiers  are as  follows:

                        Field                        Identifier

                    Nitrogen Content                   NIT
                    Sulfur Content                      SUL
                    Ash Content                         ASH
                    Emission Factor                    EMISSION
                    Confidence Level                   CONF
                    Pollutant-Specific  Data             SPEC

If no valid fields are specified for insertion,  the-emission  factor  and
confidence level  fields are assumed as  defaults.

     If a valid transaction field has been specified  for  insertion,  that  field
must be blank for any data to be inserted.  If the  user desires  to insert data
into a field regardless of its content, he can specify  an override for that
field by coding an '0' in the appropriate option card field.   If an  override
is specified for a particular field, any data in that field will  be  replaced
with data from the matching emission factor file record.

     Date criteria can be established for insertions  by coding a date
identifier and a date value.  For nitrogen,  sulfur,  and ash content, the  date
identifier is 'CDAT'  (category record date);  for emission factor, confidence
level, and pollutant-specific data, the date identifier is  'PDAT1  (pollutant
record date).  The date value is expressed as a Julian  date;  that is, as  a
5-character number, the first two digits of which represent the  year and  the
last three, the day within the year.  No insertion  will be  made  into a field
if the date of the matching emission factor file record is  prior to  the date
specified for that field.
                                     246

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 4
Release Date: 2/01/80
Update #: A-l
     If no date criteria are specified, insertions into the specified fields
will be made regardless of the dates of the emission factor file records.

     If 'FLAGW is coded in the warning message suppression field of the
option card, all warning messages will be printed in the diagnostic report;  if
'NOFLAGW1  is coded, no warning messages will be printed.  If this field is
left blank or improperly coded, a default of NOFLAGW is assumed.

4.3.5.4  Error Messages

CMSEFIN 001 ABORT - INVALID CATEGORY DATE SPECIFIED
     Meaning:  A nonnumeric value was specified on the option card for the
               category record date; therefore, the run was terminated.
      Action:  Correct the option card and resubmit the job.

CMSEFIN 002 ABORT - INVALID POLLUTANT DATE SPECIFIED
     Meaning:  A nonnumeric value was specified on the option card for the
               pollutant record date; therefore, the run was terminated.
      Action:  Correct the option card and resubmit the job.

CMSEFIN 003 ERROR - NO VALID INSERTIONS SPECIFIED - INSERT EMISSION FACTOR AND
            CONF LEVEL ASSUMED
     Meaning:  No valid fields for insertion were specified on the option
               card; therefore, the default fields (emission factor and
               confidence level) were assumed.
      Action:  If other fields are required, resubmit the job with a valid
               option card.

CMSEFIN 004 ABORT - EMISSION FACTOR FILE CONTAINS ONLY A HEADER RECORD
     Meaning:  The emission factor file specified for this run contains no
               records except the header record; therefore, the run was
               terminated.
                                     247

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 5
Release Date: 2/01/80
Update #: A-l
      Action:  Specify a valid emission factor file and resubmit the job.

CMSEFIN 005 CONDITIONAL - EMISSION FACTOR FILE CONTAINS NON-CRITERIA POLLUTANT
            FOR FEDERAL CATEGORY
     Meaning:  The emission factor file contains a federal-origin pollutant
               record for a non-criteria pollutant; therefore, that, pollutant
               record was bypassed.
      Action:  None required.

CMSEFIN 006 ERROR - EMISSION FACTOR FILE CONTAINS MORE THAN MAXIMUM NUMBER OF
            POLLUTANT RECORDS FOR FEDERAL CATEGORY
     Meaning:  The emission factor file contains more than 16 pollutant
               records for a federal-origin category record; all but the
               criteria pollutants were bypassed.
      Action:  None required.

CMSEFIN 007 DISASTER - INVALID RECORD TYPE IN EMISSION FACTOR FILE
     Meaning:  The emission factor file contains a record that is neither a
               category (record type 1) nor a pollutant (record type 2)
               record; therefore, the run was terminated.
      Action:  Contact personnel at the National Air Data Branch for further
               assistance.

CMSEFIN 008 DISASTER - FEDERAL EMISSION FACTOR RECORD CONTAINS NO CATEGORY
            RECORD
     Meaning:  The emission factor file contains a federal-origin pollutant
               record with no matching category record; therefore, the run was
               terminated.
      Action:  Contact personnel at the National Air Branch for further
               assistance.
                                     248

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 6
Release Date:  2/01/80
Update #:  A-l
CMSEFIN 009 CONDITIONAL - EMISSION FACTOR FILE CONTAINS FEDERAL CATEGORY
            RECORDS FOR CATEGORIES OTHER THAN 1-64
     Meaning:  The emission factor file contains federal-origin category
               records for categories other than 1-64.
      Action:  None required.

CMSEFIN 010 DISASTER - DUPLICATE CATEGORY RECORDS IN EMISSION FACTOR FILE
     Meaning:  The emission factor file contains duplicate category records;
               therefore, the run was terminated.
      Action:  Contact personnel at the National Air Data Branch for further
               assistance.

CMSEFIN Oil WARNING - NO MATCHING STATE OR LOCAL EMISSION FACTOR RECORD FOR
            CATEGORY 2 TRANS
     Meaning:  The emission factor file contains no state- or local-origin
               category record to match the specified category-2 internal
               transaction; therefore, a search is made for a matching
               federal-origin category record.
      Action:  None required.

CMSEFIN 012 CONDITIONAL - NO INSERTION DUE TO CATEGORY  DATE
     Meaning:  A matching emission factor file category record was found, but
               no insertions were made since the record did not meet the user-
               specified date criterion.
      Action:  If an insertion is required for this transaction, specify a
               different date on the option card and resubmit the transaction.
                                     249

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 7
Release Date: 2/01/80
Update #:  A-l
CMSEFIN 013 CONDITIONAL - NO INSERTION DUE TO POLLUTANT DATE
     Meaning:  A matching emission factor file pollutant record was found, but
               no insertions were made since the record did not meet the user-
               specified date criterion.
      Action:  If an insertion is required for this transaction, specify a
               different date on the option card and resubmit the
               transaction.

CMSEFIN 014 CONDITIONAL - NO FEDERAL EMISSION FACTOR RECORD EXISTS FOR THIS
            POLLUTANT ID
     Meaning:  An attempt was made to find a federal-origin emission factor
               file pollutant record for a non-criteria pollutant.
      Action:  None required.

CMSEFIN 015 WARNING - NO MATCHING FEDERAL EMISSION FACTOR RECORD FOR
            CATEGORY-2 TRANS
     Meaning:  The emission factor file contains no federal-origin category
               record to match the category-2 internal transaction.
      Action:  None required.

CMSEFIN 016 WARNING - NO MATCHING FEDERAL EMISSION FACTOR RECORD FOR
            CATEGORY-5 TRANS
     Meaning:  The emission factor file contains no federal-origin pollutant
               record to match the category-5 internal transaction.
      Action:  None required.

CMSEFIN 017 WARNING - NO MATCHING STATE OR LOCAL EMISSION FACTOR RiECORD FOR
            CATEGORY-5 TRANS
     Meaning:  The emission factor file contains no state- or local-origin
               pollutant record to match the specified category-5 internal
               transaction.
      Action:  None required.
                                     250

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 8
Release Date: 2/01/80
Update #:  A-l
CMSEFIN 018 ERROR - UNFLAGGED INPUT CATEGORY-5 TRANSACTION
     Meaning:  An input internal  transaction that was not flagged for
               federal-, state-,  or local-origin was encountered and bypassed.
      Action:  Correct the transaction that created this internal transaction,
               resubmit it to CEDMSTR (EC0040), and resubmit the new internal
               transaction for insertion.

CMSEFIN 019 ERROR - INVALID FLAGW OPTION SPECIFIED - NOFLAGW ASSUMED
     Meaning:  The warning message suppression option was incorrectly
               specified; therefore, the default option, NOFLAGW, was assumed.
      Action:  If a listing of all warning messages is required, correct the
               option card and resubmit the job.

CMSEFIN 020 ABORT - INVALID EMISSION FACTOR FILE SPECIFIED
     Meaning:  The specified emission factor file has an invalid header
               record; therefore, the run was terminated.
      Action:  Specify a valid emission factor file and resubmit the job.

CMSEFIN 021 ERROR - NO OPTION CARD - INSERT EMISSION FACTOR AND CONF LEVEL
            ASSUMED
     Meaning:  No option card was specified; therefore, the default options of
               insert emission factor and confidence level, no overrides, no
               date criteria, and warning message suppression were assumed.
      Action:  If other options are required, resubmit the job with a valid
               option card.

CMSEFIN 022 ERROR - NO VALID OVERRIDES SPECIFIED - NO OVERRIDES ASSUMED
     Meaning:  No valid overrides were specified on the option card;
               therefore, the default of no overrides was assumed.
      Action:  If overrides are required, correct the option card and resubmit
               the job.
                                     251

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
   SECTION 4.3.5
   EMISSION FACTOR INSERTION
   PROGRAM CMSEFIN (EC0060)
 Page 9
 Release Date:  2/01/80
 Update #::  A-l
CMSEFIN 023 WARNING - NO POLLUTANT RECORDS EXIST FOR THIS  CATEGORY RECORD
     Meaning:  The emission factor file contains a federal-origin category
               record with no subordinate pollutant records.
      Action:  None required.

4.3.5.5  Cataloged JCL - ECMST10

4.3.5.5.1  JCL listing - CMSEFIN (EC0060) is executed by the  cataloged
procedure ECMST10.  This procedure also executes the master file internal
transaction sort program, CSRINTR (EC0050).   See Figure 4.3.5-d for a listing
of ECMST10.

4.3.5.5.2  Cross-reference of DP names and files

     Program Name:  CSRINTR (EC0050)
     DD Name
File Description
Input/Output
     ECSINPT       Unsorted internal  transactions
     SORTWK01      Sort work file
     ECSOUTP       Sorted internal  transactions
     ECSDIAG       Diagnostic report
                                Input
                                Internal
                                Output
                                Output
                                     252

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
   SECTION 4.3.5
   EMISSION FACTOR INSERTION
   PROGRAM CMSEFIN (EC0060)
Page 10
Release Date: 2/01/80
Update #: A-l
     Program Name:  CMSEFIN (EC0060)
     DD Name
File Description
 Input/Output
     ECSOPTN       Option card                              Input
     ECSINPT       Sorted internal transactions             Input
     ECSEMFC       EIS/AS emission factor file              Input
     ECSOUTP       Internal transactions with insertions    Output
     ECSDIAG       Diagnostic report                        Output

4.3.5.5.3  User-supplied JCL - To execute the cataloged procedure ECMST10,  the
user must specify the data set names of the EIS/AS emission factor file and
the input and output internal transaction files.   An option card should be
included to select the insertion fields and to specify the conditions for
insertion.  See Figure 4.3.5-e for a description of the procedure's
substitutable parameters.

4.3.5.5.4  Sample run stream - The following run stream would insert
information from the EIS/AS emission factor file 'CN.EPALMH.A087.CDHS.HQ.AREA.
DATA.MASTER' into all of the valid insertion fields for the internal
transactions contained in the file 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.TRANSF31.
The file containing the output transactions would be named 'CN.EPALMH.A087.
CDHS.HQ.AREA.DATA.INSTRAN1.  Note that the FLAGW option, date criteria, and
overrides are specified.

// EXEC ECMST10,
//      EMFCFIL=MASTER,
//      OLDINTR=TRANSF3,
//      NEWINTR=INSTRAN
//INSERT.OPTIONS DD *
FLAGW   NIT 10 SUL 10 ASH 10 EMISSION 10 CONF 10 SPEC 10 CDAT 79179 PDAT 79179
/*
                                     253

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 11
Release Date: 2/01/80
Update #: A-l
4.3.5.6  Warnings and Special  Instructions

     The internal transactions must be sorted by the master file internal
transaction sort program, CSRINTR (EC0050), prior to being input to CMSEFIN
(EC0060).

     If an override option is  specified for an insertion field, any data coded
in that field will be replaced by the data in the matching emission factor
file record.

     The only federal-origin emission factor file records used by CMSEFIN
(EC0060) are those for the 64  federal categories; any other federal-origin
records are bypassed.  Also, to be compatible with the NEDS system,  only
pollutant records for the six  criteria pollutants (total suspended
particulate, carbon monoxide,  sulfur dioxide, oxides of nitrogen, total
hydrocarbons, and lead) currently recognized by NEDS are allowed for
federal-origin category records; any other pollutant records for
federal-origin categories are  bypassed.
                                     254

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 12
Release Date:  2/01/80
Update #:  A-l
4.3.5.7  Cost Considerations

     The estimates listed below are for the execution of CMSEFIN (EC0060)  on
an IBM 370/168:
     Number of internal transactions:
     Number of emission factor file records:
     Number of transactions receiving insertions:
     CPU time:
     I/O time:
     Total time:
                       41 transactions
                      399 records
                       24 transactions
                       .4 second
                      3.9 seconds
                      4.3 seconds
     Estimated cost:
                      $1.34
4.3.5.8  Related Programs and Procedures

     The master file internal transaction sort program,  CSRINTR (EC0050),  must
be executed prior to CMSEFIN (EC0060).   The cataloged procedure ECMST10
executes both of these programs.

     EIS/AS master file internal transactions can be created,  sorted,  have the
insertions made, and be used to update (or create) the master  file by
executing the cataloged procedure ECEMM10 or the cataloged procedure ECFMM20.
See Section 4.4.2 for information on ECEMM10 and Section 4.4.3 for information
on ECFMM20.
                                     255

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 13
Release Date: 2/01/80
Update #:  A-l
     Type of Transaction
              Valid Insertion Fields
         Category-2
         Category-5
                 Nitrogen Content
                 Sulfur Content
                 Ash Content
                 Emission Factor
                 Confidence Level
                 Pollutant-Specific Data
                   Figure 4.3.5-a.   Valid Insertion Fields
                                     256

-------
 EIS/AS
 FILE CREATION AND
'MAINTENANCE
SECTION 4.3.5

EMISSION  FACTOR INSERTION

PROGRAM CMSEFIN (EC0060)
Page 14

Release Date:  2/01/80
Update #: A-l
                                                                                 s-
                                                                                 o
                                                                                 Q.
                                                                                 o
                                                                                 to
                                                                                 o
                                                                                 en
                                                        c u- c c c
                                                        O- I-  T f
                                                        C "•  .£ C
                                                         k    * »
                                                        fv   — rv
                                                                                 in
                                                                                 co
                                                                                 3
                                                                                 D)
                                                        o •- t; a; <
                                                        « u r LU w
                                                        co « _; u* l»
                                                       O. - < c -
             so •-
             a <
             _ c
                                      257

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.5
EMISSION FACTOR INSERTION
PROGRAM CMSEFIN (EC0060)
Page 15
Release Date: 2/01/80
Update #: A-l
     Column  Column  Column Column  Column
                   Column  Column  Column
                  Column
i J
' \
py t
f \
•10 i
' \
f^j i
\
fou *
' \
!"><- 1
' \
fOU j
\
•00 f
' \
•oy
t
     FLAGW   NIT I   SUL I  ASH I   EMISSION I   CONF I   SPEC I   CDAT XXYYY PDAT XXYYY
       or      or      or     or        or        or      or
     NOFLAGW NIT 10  SUL 10 ASH 10  EMISSION 10 CONF 10 SPEC 10
 Note:  1.  XX denotes the year; YYY the Julian date
        2.  Each field must contain one of the possible values indicated for it or be
            blank.
                           Figure 4.3.5-c.  Option Card Format
                                         258

-------
EIS/AS SECTION 4.3.
FILE CREATION AND EMISSION FAC
MAINTENANCE PROGRAM CMSE
5 Page 16
TOR INSERTION Release Date: 2/01/80
CIN (EC0060) Update #: A-l
//» tp/H"H/ftOH7 H|m>FPMH, linYl) "I . f 'M '» ) '-'ll-Vi'JI uiin.ioiou
// *
//» I'WMf.F LMIkf- NAr'f • F(M{,||||
//* Pt v i SIPM IF VH : 1-00
//* i AS I n PDA IF * : A-I
//* OAK lNCMkP(|M/irtr>: FFHPliAKY" 1, I960
//*
IHMMlO^Oll
O'JOilOiOO
0 0 O i| 0 '4 0 0
ooouftsoo
00000*00
001007 0 o
//* IllTy HHilCf-OllKI. ALLC.-JS 1 HI- IISfK Ii) INSM'I I-MISSIDM FACI'IHS OOOOnHOi)
//* IN- TO IHL f IS/AS MASfFK 1- H F T .M 1 t * rt « L 1 « AMS «C 1 1 HliS OiiO(MMO(i
//*
//*
//FCMbTjn PKIU PRli.H C ) = 'rij.( PALMH. A08/.cnhS.
// P^iitl =( 5?rt t'llH',
// PH||IV = CMSH- IN,
// hf GlllNI = 1SHK ,
// ^H,lli'Je?=l<>OK,
// 1 IMF i = • 1 ,o> ,
// I TMF,?r' t ,<>' ,
// f MFTI Ti =icmn ji ,
// Hi iiTNTM = t rj| DIM,
// fjFrt!'JTK = tri4FifiIi,I,
i/ iii\iir— itZu
// ll|vJjl-5SSUf
// sun AI =ciinaPK,
// DtSP= ' Nf rt ,1. A 1 I b,Hl LF. I f ' ,
// Sf'CHNl I = ]PK,
// f-Wl/'AWrs^O,
// SHCMJrtY=10,
// |H-iP = SYSl)A,
// nfll KSP(, = « ?0, 1 0 ' ,
// lj(M=A
//*
//Sili-'l fXf.C P(;M = oo
0 0 0 i) ? I 0 0
OllO Or1 HO (I
OOOuPVOO
OuOO^OdO
0 0 0 (M 1 0 0
ouooWon
000 ll ^iOO
0 1) o o 5 'i o a
0 0 0 0 >, S 0 ()
//* ,'iMM F1S/AH MAI-TFO F 1 1 F_ lMM<»JAI I » A--JS AT I I !)•"« OOO.MbOO
//•
//TFPI 1H 1)1; itSNAMF = (tpi»|i.|f r I . .1 t)AO,
IH) On S 700
00 OU ^HOl)
/ /
                   V '""LI I «F = ( H P I V A H , K f- I « I N ) ,
//Sli"M|H    01)  I'.'ii'jAMf r.SrSI .Sl'Wfl. 1 M,
//*
//*   jHK T  KKlJK  I- t 1  FS
//*
//Si:w I 'ii- 1 1   nu  ii«jii=Kif»,p,
//*
//                 Si'AC( = ( I KK , f v.ini-* SPI ) , , rn" I ! i, )
/•/.'iiif-Ti-Mi,'   nc  i- «.' [ i = ( -. if- "T, i ,
// «
//                 M'.U f = ( I kK , f •*' [!'•> S|T ) , , < 'HI I I I, )
//"'HI' I "JK n S   I'1'  ur'N-f-.Tt 'I' , ,->( f- ( N.IH' | ii|\(l 1 , Mid 1 K«",..P ) ) ,
//*
//                 ..(' '.I i - ( I i
-------
EIS/AS
FILE  CREATION  AND
MAINTENANCE
                                   SECTION 4.3.5
                                   EMISSION  FACTOR  INSERTION
                                   PROGRAM CMSEFIN  (EC0060)
                                                                       Page  17
                                                                       Release Date:  2/01/80
                                                                       Update  #:  A-l
 // *
 //(• I. S I MM    I'h  libuAMI- =X. HPIi.U r I . .IM I ft . -.flUM" I l'»
 //               VH| UM!- =( P" I VA Tf , '« I « I M) ,
 //               nl :>i'=:f ,-!'(*, t'ftss )
 //*
 //*   nllll'HT  liAIA SF I  - SUM H>  I ul Kt'.Ji'Ul.  I KAfjSAL I 1 i
 //*
                  ONI I =K,
                  Olbl' = (uF
                  SI'Af I =(
             IIAIA  h>M  - nl ar,i>iti3 I if
 //
 //*
 //*
 //*
 //K SUI Af;    r>|> ;, rsiniT-d citl I
 //*
 //i   (llllHin  HA I/.  bMS - SrSIf-'"
 //*
        iM     (ID srs  Dl
                        f- =MH1 I lUj^,
                        l tsS I /I- =1"
        1 "I I-' ' 1 1  DA 1 A  Kt T -  S-H I H>  I- t S/AS  " »S I K K I- II. r 1 i-j I Lw I'' I   I '
                                                                      .t>Af T '
//
//*
//.
// *
//H
//
        I HIM  I) A I A  'U 1  -  I 1 S/ V,  f '- I '-ij I u'-  I- A(  I Hi'  Mil

      SI- • M     l'l
                                                                                 n (i 0 II S 7 fMj
                                                                                 fi II 0 1| c, M (i (i
                                                                                 n i, o i if, n on
                                                                                 o( i n 0 M o n
                                                                                 0 (I Oi
                                                                                 OdOO^SOn
                                                                                 OuOU'iMMj
                                                                                 OOOlJfi /')()
                                                                                 tllrOO 70(1(1
                                                                                 (i u 0 il 7 1 0 0
                                                                                 Oi)0»i7,?0(i
                                                                                 on on / sun
                                                                                 00007'! f. 0
                                                                                 0(iOo7S>')ij
                                                                                  01)0077 0 (i
                                                                                  (M) 0(1 7'} flu
                                                                                  (i ii On 74'ln
                                                                                  0 fl 0 0 h (i 0 d
                                                                                   (H) Oof (.00
                                                                                   on OOP /on
                                                                                  ooo n^o no
                                                                                  000(1° 100
                                                                                  0 no nc' ion
                                                                                  0 0009 'I 0 o
                                                                                  On Ou 
-------
 EIS/AS
 FILE CREATION AND
 MAINTENANCE
                                    SECTION  4.3.5
                                    EMISSION FACTOR INSERTION
                                    PROGRAM  CMSEFIN (EC0060)
                              Page 18
                              Release  Date:  2/01/80
                              Update #:  A-l
                                               IKAI'SAC I tlll.S  >'|JTH I i
//*  (ll)IPIM  PATrt SI I  - MAblM' F|IF.  INIHV
//*
//HCSIHIIP    fi|) M SI'rUIMSC) ,
//              vfH.li'M =(PR1 VA IK,Hf- FA |N,S|- kstot KI Al_) .
//              IIM1 T=MJN J I /
//              M'Af (  r (fcsi-'cuuli r t XK'-M^.U^ < , 4St- run ,•<* j , KI 3t )
//              n.SNM-.F = *P MI 1,1 h r 1 . . lirt F A .(vilUMl'M I H
//*
                              Dy T J f PhfllMI
IMrg
//FC.SliI Al,
//*
//»  (.III I PUT
//*
//*
             no 3V,SiMiT = X

             liftlA SMS -  SY

             Pi) 3Y:U1iir=AllMI

             (MI :;*MII>T=X.IIHI
//*
//SYSDHHUJ   DO SYS'iUTri* n'l 1
//*
//SYSliTI-PM   I'll L>Y;-iiiin -mill |
//*
             no ,sv:;(iui =s.nn r
//*
//*
n'iO II '.nil
o 1 1 n i  i m i fi
OUT i  i sno
(H)0 1  1600
(mo 1  1 ^no
'i (if. 1  I HOO
(ii)dl  1900
oiio i?non
o 0 0 J  ? \ n o
000 1  ?£>0(l
OllO l^JOO
o«n i  ?u(>(i
f) i; 0 1  r"a 0 0
000 l?bOO
f> 0 fi 1  ,> 7 (I 0
Odd i  ?ft»u
Pdoj?vno
000]  <000
(i u n 1  i 1 r, o
                                                                             Olio 1
                                                                             Oi/fM
                                                                             Ood 1
                                                                             o o n i 3 1> n o
                                                                             o u n i 3 7 o i)
                                                                      (Page  3 of  3)

            Figure 4.3.5-d  - continued.   Cataloged  Procedure  ECMST10
                                            261

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
         SECTION 4.3.5
         EMISSION FACTOR INSERTION
         PROGRAM CMSEFIN (EC0060)
                Page 19
                Release Date: 2/01/80
                Update #:: A-l
     Parameter
      Name
Default
 Value
             Description
      PROJECT
'CN.EPALMH.A087.
CDHS.HQ.AREA'
PROG1
PROG2
REGION1
REGION2
TIME1
TIME2
EMFCFIL
OLDINTR
NEWINTR
UNIT
CSRINTR
CMSEFIN
150K
100K
'1,0'
'1,0'
ECEMFFIL
ECOLDINT
ECNEWINT
3330
Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.
DATA.ECEMFFIL would be the full data
set name of the emission factor file)
Master file internal transaction sort
program
Master file internal transaction
emission factor insertion program
Region size allocated for execution
of CSRINTR
Region size allocated for execution
of CMSEFIN
Time allocated for execution of
CSRINTR
Time allocated for execution of
CMSEFIN
Lowest-level index of emission factor
file
Lowest-level index of input internal
transaction file
Lowest-level index of output internal
transaction file
Unit type to which output internal
transaction file is to be written
                                                       (Page 1 of 2)
            Figure 4.3.5-e.  Substitutable Parameters for ECMST10
                                     262

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
         SECTION 4.3.5
         EMISSION FACTOR INSERTION
         PROGRAM CMSEFIN (EC0060)
                Page 20
                Release Date: 2/01/80
                Update #:  A-l
     Parameter
      Name

      SERIAL


      DISP

      SPCUNIT
Default
 Value

CDHSPK
'NEW.CATLG,
DELETE1
TRK
PRIMARY
SECNDRY
TEMP
WORKSPC
OUT
20
10
SYSDA
'20,10'
A
             Description

Serial number of volume to which
output internal  transaction file is
to be written
Disposition of output internal
transaction file
Units in which space for output
internal transactions is to be
allocated
Primary space allocation for output
internal transactions
Secondary space allocation for output
internal transactions
Unit type for temporary work space
Space allocation for sort work areas
SYSOUT class for all print files
                                                                (Page 2 of 2)
      Figure 4.3.5-e - continued.  Substitutable Parameters for ECMST10
                                     263

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 1
Release Date: 2/01/80
Update:  A-l
4.3.6  MASTER FILE MAINTENANCE PROGRAM - CFMMSTR  (EC0070)

4.3.6.1  Description

     The master file maintenance program, CFMMSTR (EC0070),  is  used to  create
and/or update the EIS/AS master file.   Internal  transactions produced either
by the master file transaction edit program,  CEDMSTR (EC0040),  or the NEDS  to
EIS/AS conversion-edit program, CCENETR (EC0030), are used  as input to  the
file maintenance program.  These internal transactions must  be  sorted into
master file sequence before they are input into  the master  file internal
transaction sort program (see Section  4.3.4 for  a discussion of the master
file internal transaction sort program).  In  addition, emission factor
information can be inserted into the internal  transactions  prior to running
the file maintenance program (see Section 4.3.5  for a discussion of the master
file internal transaction emission factor insertion program).

     Each internal transaction either  flags for  deletion, creates, or changes
a record in the master file.  Any combination of transactions can be entered
in one execution of the file maintenance program.

     The EIS/AS master file contains three types of records:  description,
category, and comment.  Figure 4.3.6-a shows  formats for these  records.

     The description record contains general  descriptive information
pertaining to a geographic area.  This geographic area may  be either a  county
or a smaller area denoted by a nonzero geographic suballocation number.  The
suballocations can be developed using  any method the user desires.  Up to
99,999 suballocation numbers per county are allowed.
                                     264

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTH (EC0070)
Page 2
Release Date: 2/01/80
Update:  A-l
     Category records contain emission information for a geographic area and
are subordinate to the description record for that area.  There can be up to
999 category records for each geographic area:  category records 001-064 are
used for the NEDS categories; 065-998 are used for user-defined categories,
and category 999 is generated by CFMMSTR (EC0070).  In addition, each category
can be disaggregated with a separate record describing each disaggregation.
Up to 99 disaggregations per category are allowed.  The category 999 record
contains a summary of emissions for all the category records with a
disaggregation number of zero.

     The comment records are used to include additional information for both
geographic areas (county and/or suballocation description records) and
categories (both category and disaggregation).  There can only be one NEDS
comment record for a county description record; all other EIS/AS records can
have up to 999 comment records. .See Figure 4.3.6-b for a chart of the general
structure of the EIS/AS master file.

     All master file records contain flags to indicate their NEDS and EIS
report status to the annual report program, CRPASNA (EC0120).  A record
contains one flag for each type of NEDS area source and EIS/AS transaction
required to create all of its fields.  A code of A for any flag indicates the
record has been added to the EIS/AS master file since the last execution of
CRPASNA (EC0120).  A code of C for a flag indicates some change has been made
to a record field created by the indicated transaction.  A code of D indicates
that the record or pollutant has been deleted.  A code of E indicates that the
record or pollutant has been deleted, but that it had never previously been
reported to NEDS or EIS.  CRPASNA (EC0120) will not generate any delete
transactions for records flagged as E.  Note that deleted records physically
remain in the master file until CRPASNA (EC0120) is run, at which time it
physically removes all such records from the user's master file.
                                     265

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 3
Release Date: 2/01/80
Update:  A-l
     When a record is flagged for deletion,  all  its  subordinate records are
also flagged for deletion.   Thus, if a county description record is flagged
for deletion all records will be flagged until  the next county record is read,
and if a category record is flagged for deletion,  all  comment  records for that
category are flagged.

     When a category record is flagged for deletion, an asterisk is moved to
the thruput field, and for all pollutants, a zero  is moved to  the emission
estimate field and an asterisk to the NEDS A7 emission field.   The pollutant
emission fields are also changed when the individual pollutant is deleted.

     When a comment record is flagged for deletion,  an asterisk is moved to
the comment field.

     Records can be added to the master file subject to the following
restrictions:

     1)  A county description record must be present before any other records
         will be accepted for that county.  This description record can be
         added in the same run as the other records.
     2)  A description record (county or suballocation) must be present before
         any category records (or category disaggregation records) can be
         accepted for that geographic area.
     3)  Comment records will only be added if there is a record in the master
         file (description or category) with matching key information,
         including state, county, geographic suballocation number, category
         number, and category disaggregation number.
     4)  Any add transaction will create a new record provided that conditions
         1-3 are met.
                                     266

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 4
Release Date:  2/01/80
Update:  A-l
     Emission calculations are performed by CFMMSTR (EC0070) for any category
record that is added or changed during the run.  Three types of calculations
are performed:  calculation 1 for categories 1 through 26, 39,  and 44 through
64 (NEDS categories); calculation 2 for categories 27 through 38 and 40
through 43 (NEDS motor vehicle categories); and a general  calculation for all
other categories.  The NEDS category calculations will use information on ash
and sulfur content for coal and oil stored in the description record if no
category information is available.  The NEDS motor vehicle calculations will
use category information such as process rate if available, otherwise
information stored in the description record is used to calculate vehicle
miles traveled. The three types are described below:
     Calculation 1:  The process rate and emission factor are examined and
     set to zero if found to be nonnumeric.  A value of 1  is used for the
     category adjust if it is nonnumeric or zero.  For each pollutant the
     emission estimate is calculated as follows:

                 est = rate * emf * fact 1 * fact 2 * fact 3

     where    est = emission estimate
              rate = process rate
              fact 1=1 for category 57
                       1/2000 for all other categories
              fact 2 = (for TSP) ash content (if numeric)  from
                                   category record
                                 otherwise
                                 ash content - anthracite  coal
                                   from description record
                                   for categories 7 and 13
                                 ash content - bituminous  coal
                                   from description record
                                   for categories 8 and 14
                                 1 (all other categories)

                                     267

-------
EIS/AS
FILE CREATION AND
MAINTENANCE	
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (Er.Q070)
Page 5
Release Date: 2/01/80
         A-1	
                       (for S02) sulfur content (if numeric)  from
                                   category record
                                 otherwise
                                 sulfur content -  anthracite  coal
                                   from description record
                                   for categories  1,  7,  and 13
                                 sulfur content -  bituminous  coal
                                   from description record,
                                   for categories  2,  8,  and 14
                                 sulfur content -  distillate  oil
                                   from description record
                                   for categories  3,  9,  and 16
                                 sulfur content -  residual oil
                                   from description record
                                   for categories  4,  10, and  17
                                 1 (all other categories)
                       1 for everything else

              fact 3 = category adjust if it is numeric  and nonzero,
                       otherwise 1

          The emission estimate is rounded; and if it is greater than 10 , a
     size error message will be printed and a value of zero will  be moved to
     the emission estimate.

     Calculation 2:  The motor vehicle category thruput  information may be
     entered into the category records directly using EIS/AS  transactions.  If
     that information is not available, the information  concerning vehicle
     miles traveled and gasoline consumption may be entered on the county
     description record using either EIS/AS or NEDS transactions.  The
     emission calculation will use category thruput if present; otherwise the
                                     268

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 6
Release Date: 2/01/80
Update:  A-l
     vehicle miles traveled will  be calculated from the county description
     record information (if present) and will  be used for the thruput.

          A zero is used for the emission factor if that field is  nonnumeric
     or zero.  A one is used for category adjust if it is zero or  nonnumeric.
     For each pollutant, values are calculated as follows:

                  est = (rate * emf * adj * 1000)/(2000) *  453.6)

     where        est = emission estimate
                  rate =  process rate if nonzero at the category  level;
                          otherwise, the calculated vehicle miles  traveled is
                          used
                  emf = emission factor
                  adj = category adjust

          The emission estimate is rounded; and if it is greater than 10  , a
     size error message will be printed and a  value of zero will be moved to
     the emission estimate.  The factor 1000/(453.6 x 2000) is used to  convert
     from grams per mile to tons per thousand  miles.

          If the vehicle miles traveled needs  to be calculated for the
     category, the following calculations are  performed.  First the total  of
     motor vehicle miles is calculated:

                   MVM-TOT = MVM-LAR + MVM-SR  + MVM-RR + MVM-UR

     Then percentage of motor vehicle miles for each class  of roads is
     calculated:

              MVM-LAR-% = 0 if MVM-TOT is zero or nonnumeric,
                          MVM-LAR/MVM-TOT otherwise

                                     269

-------
E1S/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 7
Release Date: 2/01/80]
Update:  A-l
                 -UR-% = POP-CODE/10 if MVM-TOT is zero or nonnurneric,
                         MVM-UR/MVM-TOT otherwise
              MVM-SR-% = 0 if MVM-TOT is zero or nonnumeric,
                         MVM-SR/MVM-TOT otherwise

              MVM-RR-% = l-(MVM-UR-%) if MVM-TOT is zero or nonnumeric,
                         MVM-RR/MVM-TOT otherwise

     where    MVM = Motor vehicle miles traveled in the area
              TOT = Total
              LAR = Limited access roads
              UR = Urban roads
              SR = Suburban roads
              RR = Rural roads
              MVM-% = percentage of motor vehicle miles for a class of roads;
                      i.e., any of the four percentages calculated above.

          Next, the vehicle miles traveled on each road type for each class of
     vehicle is calculated.  For each type of road, (LAR, UR, SR, RR), we have:

              VMT-LDV = MVM-% * MPG-LDV * FUEL-LDV * LDV-LDV-%
              VMT-LDT = MVM-% * MPG-LDT * (FUEL-LDV * LDV-LDT-% + FUEL-HDG *
                          HDG-LDT-%)
              VMT-HDG = MVM-% * MPG-HDG + FUEL-HDG * HDG-HDG-%
              VMT-HDD = MVM-% * MPG-HDD * FUEL-HDD
     where    LDV = Light duty vehicle
              LOT = Light duty truck
              HDG = Heavy duty gas
              HDD = Heavy duty diesel
              VMT = Vehicle miles traveled for the above specified classes of
                    vehicles
                                     270

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 8
Release Date: 2/01/8C
Update:  A-l
              MPG = Miles per gallon for the above specified classes of
                    vehicles
              FUEL = Amount of fuel (gas or diesel) consumed by the above
                     specified classes of vehicles in the area (gallons)
              LDV-LDV-% = Percentage of light duty vehicle gallons used by
                          1ight duty vehicles
              LDV-LDT-% = Percentage of light duty vehicle gallons used by
                          1ight duty trucks
              HDG-LDT-% = Percentage of heavy duty gasoline gallons used by
                          1ight duty trucks
              HDG-HDG-% = Percentage of heavy duty gasoline gallons used by
                          heavy duty gasoline vehicles

          The percentages are included in the calculations to properly extract
     light duty trucks from light and heavy duty vehicles.  They are included
     as ElS-defined variables in the program because they have been calculated
     from the Polk vehicle data.  The miles per gallon are also ElS-defined
     variables in the program.  The vehicle miles traveled is only used for
     thruput if the thruput for the category is zero or nonnumeric.

          General Calculation:  The process rate and emission factor are
     examined.  If either field is nonnumeric, a zero will be used for it in
     the calculation.  If the category adjust is nonnumeric or equal to zero,
     a value of 1 is used for it in the calculation.  The calculation is:
              est = (rate * adj * fact 1 * fact 2)/2000

     where    est = emission estimate
              rate = process rate
              adj = category adjust
              fact 1 = emission factor
                                     271

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 9
Release Date: 2/01/8C
Update:  A-l
              fact 2 = sulfur content if numeric and the pollutant  is
                       ash content if numeric and the pollutant  is  TSP
                       nitrogen content if numeric and the pollutant is  NOX
                       1 otherwise

The emission estimate is rounded and if it is greater than 107,  an  error
message will be printed and a value of zero will be moved to the emission
estimate.  The divisor 2000 is used to convert from pounds to tons.

     Each time any type of calculation is performed, a confidence rating for
the emission estimate is determined as follows:

              conf = (data-conf + emf-conf)/2

     where    conf = confidence rating for emission estimate
              data-conf = data confidence rating if numeric
                          0 otherwise
              emf-conf = emission factor confidence rating if numeric
                         0 otherwise

4.3.6.2  File Formats

     CFMMSTR (EC0070) uses three input files:  the current EIS/AS master file,
a file of sorted EIS/AS master file internal transactions, and an option card.

     Whenever CFMMSTR (EC0070) is being executed to create a new EIS/AS  master
file rather than update a current one, there is no input master file.  (See
Figure 4.3.6-a for the format of the EIS/AS master file.)  The fields are the
same as those described for the master file transactions in Figure  4.3.3-b
with the following exception:  each master file record contains  flags to
indicate whether, with respect to NEDS and EIS,  the record has been added (A),
changed (C), or deleted (D, E) since the annual  report program CRPASNA

                                     272

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 10
Release Date: 2/01/80
Update:  A-l
(EP0120) was last run.  The file format for the internal transactions can be
found in Figure 4.3.3-c.  The option card is discussed in Section 4.3.6.3.

     CFMMSTR (EC0070) produces a new (or updated) master file and a diagnostic
report.  The master file format is shown in Figure 4.3.6-a.  The diagnostic
report contains the program update messages, option messages, diagnostic
messages arid summary statistics.  A diagnostic message concerning a particular
internal transaction is printed along with that transaction.  Section 4.3.6.4
lists and explains the diagnostic messages produced by CFMMSTR (EC0070).
Warning messages (and the transactions that caused them) are not listed in the
report unless the user requests the listing via an option card (see Section
4.3.6.3).  (See Figure 4.3.6-c for an example of the diagnostic report.)

     CFMMSTR (EC0070) also produces optional listings of the input and output
master files and of the internal transactions.  See Figures 4.3.6-d, e, and f
for examples of these listings.  The following section describes the use of
the option card to obtain the listings.

4.3.6.3  Options and Control Cards

     An option card should be entered into CFMMSTR (EC0070).  There are three
fields on the option card:  a date, a FLAGW option field, and a LIST option
field.  The format of the option card is shown in Figure 4.3.6-g.
                                     273

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 11
Release Date: 2/01/80
Update:  A-l
     The FLAGW option is used to indicate that warning messages should be
printed in the diagnostic report.   Warning messages are used to indicate that
data was accepted but that it may be questionable.   A value of FLAGW in the
field will allow the warning messages to be printed.   Otherwise, no warning
messages will be printed.

     The LIST option is used to indicate that listings of the input and output
master files and of the internal transactions should be produced.  Examples of
these listings are shown in Figures 4.3.6-d, e, and f.  A value of LIST in the
field will produce all the listings.  Otherwise, the listings will not be
produced.

4.3.6.4  Error Messages

CFMMSTR 001 CONDITIONAL - NO OPTION CARD
     Meaning:  An option card must be included in the run stream.
      Action:  Include an option card and resubmit the run, if desired.

CFMMSTR 002 WARNING - INVALID DATE ON OPTION CARD
     Meaning:  The year date must be numeric.
      Action:  No action need be taken.

CFMMSTR 003 CONDITIONAL - INVALID FLAGW FIELD ON OPTION CARD
     Meaning:  The valid codes are FLAGW and blank.  The default of no FLAGW
               was used.
                                     274

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 12
Release Date: 2/01/80
Update:  A-l
      Action:  If the warnings should be printed, correct the option card and
               resubmit the run.

CFMMSTR 004 ERROR - ATTEMPT TO DELETE NON-EXISTENT DESCRIPTION POLLUTANT -
            CARD REJECTED
     Meaning:  A delete card was entered for an existing master file
               description record, but the specified pollutant was not present
               for that record.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 005 ERROR - NO MATCH ON MASTER FILE FOR TRANSACTION, CARD  REJECTED
     Meaning:  A delete or change transaction was entered, but there was no
               matching record in the master file.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 006 ERROR - ADD TRANSACTION, RECORD ALREADY ON MASTER FILE, CARD
            REJECTED
     Meaning:  An add transaction was entered for a record currently in the
               master file (and not flagged as deleted).
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 007 ERROR - TRANSACTION NOT ADD, BUT NO MASTER ON FILE, CARD REJECTED
     Meaning:  A delete or change transaction was entered for a non-existent
               master file record.
      Action:  Correct and resubmit the transaction if necessary.
                                     275

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 13
Release Date: 2/01/80
Update:  A-l
CFMMSTR 008 CONDITIONAL - INVALID LIST FIELD ON OPTION CARD
     Meaning:  The valid codes are LIST and blank.   The default of no LIST was
               used.
      Action:  If the listings must be produced, correct the option card and
               resubmit the run.

CFMMSTR 009 ABORT - TRANSACTION FILE OUT OF SEQUENCE
     Meaning:  The internal transactions must be sorted prior to being entered
               into CFMMSTR (EC0070).
      Action:  Sort the transactions using CSRINTR  (EC0050) and resubmit the
               run using the sorted transactions.   The procedure ECFMM10
               executes both CSRINTR (EC0050) and CFMMSTR (EC0070).

CFMMSTR 010 ERROR - INVALID ACTION CODE ON TRANSACTION, CARD REJECTED
     Meaning:  The valid action codes are A (add),  C (change), and D (delete).
      Action:  Correct and resubmit the transaction.

CFMMSTR Oil ERROR - INVALID CARD NUMBER ON TRANSACTION, CARD REJECTED
     Meaning:  The valid card numbers are 1-7 for description transactions,
               1-5 for category transactions, and 0-2 for comment
               transactions.
      Action:  Correct and resubmit the transaction.

CFMMSTR 012 ERROR - CATEGORY POLLUTANT ID ALREADY ON FILE, CARD REJECTED
     Meaning:  An add transaction was entered for a pollutant that, already
               exists for the specified category.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 013 ERROR - ATTEMPT TO ADD MORE THAN MAXIMUM NUMBER OF CATEGORY
            POLLUTANTS
     Meaning:  A maximum of 16 pollutants may be specified for a category.
                                     276

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 14
Release Date: 2/01/80
Update:  A-l
      Action:  If more than 16 pollutants are necessary, see Appendix B for
               instructions on program modifications.

CFMMSTR 014 ERROR - NO MATCHING CATEGORY POLLUTANT ID FOR TRANSACTION, CARD
            REJECTED
     Meaning:  A change transaction was input for a pollutant that does not
               exist for the category.
      Action:  Correct and resubrnit the transaction if necessary.

CFMMSTR 015 ERROR - DESCRIPTION POLLUTANT ID ALREADY ON FILE, CARD REJECTED
     Meaning:  An add transaction was entered for a pollutant that already
               exists in the specified description record.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 016 ERROR - ATTEMPT TO ADD MORE THAN MAXIMUM NUMBER OF DESCRIPTION
            POLLUTANTS
     Meaning:  A maximum of 16 pollutants may be specified  in a description
               record.
      Action:  If more than 16 pollutants are necessary, see Appendix B for
               instructions on program modifications.

CFMMSTR 017 ERROR - NO MATCHING DESCRIPTION POLLUTANT ID FOR TRANSACTION, CARD
            REJECTED
     Meaning:  A change transaction was input for a pollutant that does not
               exist in the specified description record.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 018 ABORT - INPUT MASTER FILE OUT OF SEQUENCE
     Meaning:  An out-of-sequence master file record was found; therefore, the
               run was terminated.  Do not use the output from this run.
                                     277

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 15
Release Date: 2/01/80
Update:  A-l
      Action:  Determine if the input master file has been sorted by CSRMSTR
               (EC0110).  If it has,  resubmit the job using a valid master
               file (i.e., a master file that has not been sorted by CSRMSTR
               (EC0110)).   If a valid master file was entered,  there is a
               serious problem with that master file and the user should
               contact NADB.

CFMMSTR 019 CONDITIONAL -  NO HEADER RECORD ON TRANSACTION FILE
     Meaning:  The internal  transaction sort program, CSRINTR (EC0050)
               generates a header record at the beginning of the sorted file.
               If the header record is not present,  this message is printed to
               indicate the possibility that the file was not sorted.  Note
               that ABORT  message CFMMSTR 009 will be printed if the
               transaction file is indeed out of sequence.
      Action:  No action need be taken unless the transaction file is out of
               sequence; in that case, run CSRINTR (EC0050) prior to running
               CFMMSTR (EC0070).

CFMMSTR 020 CONDITIONAL -  MORE THAN MAXIMUM NUMBER OF POLLUTANTS FOR SUMMARY
            RECORD
     Meaning:  A maximum of 16 pollutants will be tracked in the summary
               (category 999) records.
      Action:  If more than 16 pollutants are necessary, see Appendix B for
               instructions on program modifications.

CFMMSTR 021 DISASTER - OUTPUT MASTER FILE OUT OF SEQUENCE
     Meaning:  An attempt  was made to write a master file record out of
               sequence, and therefore the run was terminated.   Do not use the
               output from this run.
      Action:  Contact NADB.
                                     278

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 16
Release Date: 2/01/80
Update:  A-l
CFMMSTR 022 ABORT - INVALID RECORD ON INPUT MASTER FILE
     Meaning:  A master file record was read that was not a description, a
               category, or a comment record.
      Action:  Determine if a correct EIS/AS master file was entered.   If not,
               resubmit the job using the correct input file.   If a correct
               file was used, there is a serious problem with that master file
               and the user should contact NADB.

CFMMSTR 023 ERROR - OVERFLOW FOR EMISSIONS ESTIMATE - RESULT INVALID
     Meaning:  While performing the calculation routine, a value greater than
               107 was found and zero was moved to the emission estimate.
      Action:  Determine if the process rate, emission factor, and other
               fields used in the calculation are correct; if not, correct the
               invalid fields.

CFMMSTR 024 ERROR - ATTEMPT TO ADD COMMENT FOR NON-EXISTENT CATEGORY OR
            GEOGRAPHIC AREA, CARD REJECTED
     Meaning:  Comment records can only be added, when there exist matching
               category or description records.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 025 ERROR - ATTEMPT TO ADD CATEGORY FOR NON-EXISTENT GEOGRAPHIC AREA,
            CARD REJECTED
     Meaning:  Category records can only be added when a description record
               exists for the geographic area.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 026 ERROR - ATTEMPT TO ADD SUBALLOCATION FOR NON-EXISTENT COUNTY, CARD
            REJECTED
     Meaning:  Suballocation description records can only be added when a
               description record exists for the county.
                                    279

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 17
Release Date: 2/01/80
Update:  A-l
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 027 ERROR - ATTEMPT TO DELETE NON-EXISTENT CATEGORY  POLLUTANT,  CARD
            REJECTED
     Meaning:  A delete transaction was entered for a pollutant  which does  not
               exist in the category record.
      Action:  Correct and resubmit the transaction if necessary.

CFMMSTR 028 CONDITIONAL - MONTHLY THRUPUT DOES NOT SUM TO 100
     Meaning:  The monthly thruput percentages should sum to more  than 95%  and
               less than 105%.
      Action:  The monthly thruput values should be corrected,  however, the
               thruputs are accepted.

CFMMSTR 029 CONDITIONAL - HOURLY THRUPUT DOES NOT SUM TO 100
     Meaning:  The hourly thruput percentages should sum to  more than 95% and
               less than 105%.
      Action:  The hourly thruput values should be corrected, however,  the
               thruputs are accepted.

4.3.6.5  Cataloged JCL - ECFMM10

4.3.6.5.1  JCL Listing - CFMMSTR (EC0070) is  executed by the cataloged
procedure ECFMM10.  The procedure also executes the master file  internal
transaction sort program, CSRINTR (EC0050).   See Figure 4.3.6-h  for a listing
of this procedure.

4.3.6.5.2  Cross-reference of DP names

     Program Name:  CSRINTR (EC0050)
                                     280

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
      SECTION 4.3.6
      MASTER FILE MAINTENANCE
      PROGRAM CFMMSTR (EC0070)
Page 18
Release Date: 2/01/80
Update:  A-l
     DP Name
     ECSINPT
     ECSOUTP
     ECSDIAG
     SORTWK01
      File Description
Unsorted internal transactions
Sorted internal transactions
Diagnostic report
Sort work file
      Input/Output
         Input
         Output
         Output
        Internal
     Program Name:  CFMMSTR (EC0070)
     DP Name
     ECSINPT
     ECSOLMF
     ECSOPTN
     ECSNWMF
     ECSDIAG
     ECSTRNL
     ECSOLDL
     ECSNEWL
      File Description
Sorted internal transactions
Old EIS/AS master file
Option card
New or updated EIS/AS master file
Diagnostic report
Internal  transaction listing
Old master file listing
New master file listing
      Input/Output
         Input
         Input
         Input
         Output
         Output
         Output
         Output
         Output
4.3.6.5.3  User-supplied JCL - To execute the cataloged procedure ECFMM10, the
user must specify the data set names of the input (old) master file, the input
internal transactions, and the output (new or updated) master file.   See
Figure 4.3.6-i for a description of the procedure's substitutable parameters.

4.3.6.5.4  Sample run stream - The following run stream would update the
EIS/AS master file 'CN.EPALMH.A087.CDHS.HQ.AREA.ECMASTR11.   The updated file
is named 'CN.EPALMH.A087.CDHS.HQ.AREA.ECMASTR21.  The option card specifies a
year of 80, but no LIST of FLAGW options are specified.  The default name is
used for the input internal transaction file.
                                     281

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 19
Release Date: 2/01/80
Update:  A-l
//EXEC ECFMM10,
//     OLDMSTR=ECMASTR1,
//     NEWMSTR=ECMASTR2
//UPDATE.OPTIONS DD *
80
/*

4.3.6.6  Warnings and Special  Instructions

     There are no warnings or special  instructions.

4.3.6.7  Cost Considerations

     To reduce the cost of running CFMMSTR (EC0070),  use the default options
no LIST and no FLAGW unless you actually need the warning messages  and the
1istings.

     The estimates listed below are for the execution of CFMMSTR (EC0070) on
an IBM 370/168:
     Number of old EIS/AS master file records:
     Number of internal  transactions:
     Number of updated master file records:
     CPU time:
     I/O time:
     Total time:
                               349 records
                               429 records
                               417 records
                              3.54 seconds
                             22.47 seconds
                             26.07 seconds
     Estimated cost:
                              7.30
                                     282

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 20
Release Date: 2/01/80
Update:  A-l
4.3.6.8  Related Programs and Procedures

     The cataloged procedure ECEMM10 may be executed to update the master file
using EIS/AS input transactions.   NEDS transactions may be entered into the
file maintenance procedure ECFMM20 to be converted to EIS/AS internal
transaction format and used to update the master file.  The master file may
also be updated using generated transactions containing emission factor
information by executing the procedure ECFMM30.   See Section 4.4 for
information on these procedures.
                                     283

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 21
Release Date: 2/01/80
Update: A-l
Column #
1 -
3 -
7 -

11 -
16 -
19 -

22 -
25 -
29 -
32 -
34 -
36 -
39 -
42 -
46 -
66 -
86 -
90 -
92 -
94 -
96 -
104 -
158 -
160 -
180 -
2
6
9
10
15
18
20
21
24
28
31
33
35
38
41
45
65
85
89
91
93
95
103
157
159
179
182
2
4
3
1
5
3 •
2
1
3
4
3
2
2
3
3
4
20
20
4
2
2
2
8
54
2
20
3
      Master File Description Record
    Field Length         Description

                         State
                         County
                         Unused
                         Retrieval  Batch Code
                         Geographic Suballocation Number
                         Category Number
                         Category Disaggregation Number
                         Record Type Key
                         Line Number
                         Record Length
                         AQCR
                         Record Type
                         Year
                         Day Code
                         Air Basin
                         SMSA
                         Area Name
                         Major Activity
                         Associated Plant ID
                         SIP Base Year
                         Projected Year
                         Rural Population Percentage
                         Population
                         AQCR Name
                         Suballocation Technique Code
                         Suballocation Technique Description
                         Defined Area Code

                                       (Page 1 of 9)
Figure 4.3.6-a.  EIS/AS Master File Format
                                    284

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6 Page 22
MASTER FILE MAINTENANCE Release Date:
PROGRAM CFMMSTR (EC0070) Update: A-l
2/01/80
Master File Description Record (continued)
Column # Field Length Description
183 - 184 2
185 - 186 2
187 - 188 2
189 - 190 2
191 - 193 3
194 - 196 3
197 1
198 - 199 2
200 - 203 4
204 - 208 5
209 - 210 2
211 - 214 4
215 - 219 5
220 - 221 2
222 - 225 4
226 - 230 5
231 - 232 2
233 - 236 4
237 - 241 5
242 - 243 2
244 - 247 4
248 - 252 5
253 - 254 2
255 - 258 4
259 - 263 5
264 1
265 - 271 7
Sulfur Content - Anthracite
Sulfur Content - Bituminous
Sulfur Content - Distillate
Sulfur Content - Residual Oi
Coal
Coal
Oil
1
Ash Content - Anthracite Coal
Ash Content - Bituminous Coal
Number of UTM Coordinates
UTM Zone 1
UTM Horizontal 1
UTM Vertical 1
UTM Zone 2
UTM Horizontal 2
UTM Vertical 2
UTM Zone 3
UTM Horizontal 3
UTM Vertical 3
UTM Zone 4
UTM Horizontal 4
UTM Vertical 4
UTM Zone 5
UTM Horizontal 5
UTM Vertical 5
UTM Zone 6
UTM Horiztontal 6
UTM Vertical 6
Source Type
Length or Area





















                                                  (Page 2  of 9)
Figure 4.3.6-a - continued.   EIS/AS Master File Format
                         285

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6 Page 23
MASTER FILE MAINTENANCE Release Date: 2/01/80
PROGRAM CFMMSTR (EC0070) Update: A-l
Master File Description Record (continued)
Column # Field Length Description
272 - 273 2
274 - 278 5
279 - 282 4
283 - 286 4
287 - 291 5
292 - 296 5
297 - 351 55
352 1
353 - 359 7
360 - 365 6
366 - 371 6
372 - 377 6

378 - 383 6
384 - 389 6

390 - 396 7
397 - 414 18
415 1
416 1
417 1
418 1
419 1
420 1
421 1
422 1
423 1
Units Code for Length or Area
TSP SIP Estimate
S02 SIP Estimate
NOX SIP Estimate
HC SIP Estimate
CO SIP Estimate
Reserved for Future SIP Estimates
Population Code
Gas Fuel for Light Vehicles
Gas Fuel for Heavy Vehicles
Diesel Fuel for Heavy Vehicles
Motor Vehicle Miles for Limited
Access Roads
Motor Vehicle Miles for Rural Roads
Motor Vehicle Miles for Suburban
Roads
Motor Vehicle Miles for Urban Roads
Unused
NEDS A3 Flag
NEDS A4 Flag
NEDS Al Flag
EIS Description Card 1 Flag
EIS Description Card 2 Flag
EIS Description Card 3 Flag
EIS Description Card 4 Flag
EIS Description Card 5 Flag
EIS Description Card 6 Flag
                                                  (Page 3 of 9)
Figure 4.3.6-a - continued.  EIS/AS Master File Format
                         286

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                             SECTION 4.3.6
                             MASTER FILE MAINTENANCE
                             PROGRAM CFMMSTR (EC0070)
                                 Page  24
                                 Release  Date:  2/01/80
                                 Update:   A-l
Column #
426
431
      430
      445
      446
447 - 452
      453
                  Master File Description Record (continued)
                   Field  Length           Description
 5
15
 1
 6
 1
Pollutant ID
Pollutant Name
Attainment Status
AQMA Number
EIS Description Card 7 Flag
Record positions 426 - 453 may be
repeated up to 15 times
                                                              (Page 4 of 9)
            Figure 4.3.6-a - continued.   EIS/AS Master File Format
                                     287

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
       SECTION 4.3.6
       MASTER FILE MAINTENANCE
       PROGRAM CFMMSTR (EC0070)
Page 25
Release Date: 2/01/80
Update:  A-l
 Column #
1
3
7

11
16
19

22
25
29
32
34



- 2
- 6
- 9
10
- 15
- 18
- 20
21
- 24
- 28
- 31
- 33
- 133
134
135
136
    Master File Comment Record
Field Length         Description
                           2
                           4
                           3
                           1
                           5
                           3
                           2
                           1
                           3
                           4
                           3
                           2
                         100
                           1
                           1
                           1
                     State
                     County
                     Unused
                     Retrieval  Batch Code
                     Geographic Suballocation Number
                     Category Number
                     Category Disaggregation Number
                     Record Type Key
                     Line Number
                     Record Length
                     AQCR
                     Record Type
                     Comment
                     NEDS A6 Flag
                     EIS Comment Card 1 Flag
                     EIS Comment Card 1 Flag
 Note that for NEDS comments, only positions 34 - 101 are used.
                                                              (Page 5 of 9)
            Figure 4.3.6-a - continued.  EIS/AS Master File Format
                                     288

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6 Page 26
MASTER FILE MAINTENANCE Release Date: 2/01/80
PROGRAM CFMMSTR (EC0070) Update: A-l
Master File Category Record
Column # Field
Length Description
1-2 2 State
3-6 4 County
7-9 3 Unused
10
11 - 15
1 Retrieval Batch Code
5 Geographic Subal location Number
16-18 3 Category Number
19-20 2 Category Disaggregation Number
21
1 Record Type Key
22-24 3 Line Number
25-28 4 Record Length
29-31 3 AQCR
32-33 2 Record Type
34 - 58 25 Category Description
59-60 2 Year of Information
61-69 9 Process Rate
70 - 76
7 Category Adjustment Value
77-78 2 Units Code
79 - 90 12 Units Code Description
91
1 Uniform Thruput
92-93 2 January Thruput
94-95 2 February Thruput
96-97 2 March Thruput
98-99 2 April Thruput
100 - 101
2 May Thruput
102 - 103 2 June Thruput
104 - 105 2 July Thruput
106 - 107 2 August Thruput
Figure 4.3.6-a - continued.
                     (Page 6 of 9)
EIS/AS Master File Format
                         289

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6 Page 27
MASTER FILE MAINTENANCE Release Date: 2/01/80
PROGRAM CFMMSTR (EC0070) Update: A-l
Master File Category Record (continued)
Column # Field
Length Description
108 - 109 2 September Thruput
110 - 111 2 October Thruput
112 - 113 2 November Thruput
114 - 115 2 December Thruput
116-117 2 Hours per Day
118
1 Days per Week
119 - 120 2 Weeks per Year
121 - 124 4 Thruput Ratio
125 - 134 10 Maximum Hourly Thruput
135
1 Data Confidence Rating
136 - 138 3 Nitrogen Content
139 - 140 2 Sulfur Content
141 - 143 3 Ash Content
144 - 147 4 Heat Content
148
1 Uniform Hourly Thruput
149 - 150 2 Thruput for Hour Beginning 0000
151 - 152 2 Thruput for Hour Beginning 0100
153 - 154 2 Thruput for Hour Beginning 0200
155 - 156 2 Thruput for Hour Beginning 0300
157 - 158 2 Thruput for Hour Beginning 0400
159 - 160 2 Thruput for Hour Beginning 0500
161 - 162 2 Thruput for Hour Beginning 0600
163 - 164 2 Thruput for Hour Beginning 0700
165 - 166 2 Thruput for Hour Beginning 0800
167 - 168
2 Thruput for Hour Beginning 0900
169 - 170 2 Thruput for Hour Beginning 1000
171 - 172
2 Thruput for Hour Beginning 1100
                                                  (Page  7  of 9)
Figure 4.3.6-a - continued.   EIS/AS Master  File  Format
                         290

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.6
          MASTER FILE MAINTENANCE
          PROGRAM CFMMSTR (EC0070)
Page 28
Release Date: 2/01/80
Update:  A-l
 Column #
173 -
175 -
177 -
179 -
181 -
183 -
185 -
187 -
189 -
191 -
193 -
195 -
197 -

232 -
252 -






278 -
280 -
285 -


174
176
178
180
182
184
186
188
190
192
194
196
230
231
251
271
272
273
274
275
276
277
279
284
294
295
296
2
2
2
2
2
2
2
2
2
2
2
2
34
1
20
20
1
1
1
1
1
1
2
5
10
1
1
Master File Category Record (continued)
   Field Length         Description
                                           Thruput for Hour Beginning 1200
                                           Thruput for Hour Beginning 1300
                                           Thruput for Hour Beginning 1400
                                           Thruput for Hour Beginning 1500
                                           Thruput for Hour Beginning 1600
                                           Thruput for Hour Beginning 1700
                                           Thruput for Hour Beginning 1800
                                           Thruput for Hour Beginning 1900
                                           Thruput for Hour Beginning 2000
                                           Thruput for Hour Beginning 2100
                                           Thruput for Hour Beginning 2200
                                           Thruput for Hour Beginning 2300
                                           NEDS A7 Comment
                                           Information Source Code
                                           Information Source Narrative Unused
                                           Unused
                                           EIS Category Card 1 Flag
                                           EIS Category Card 2 Flag
                                           EIS Category Card 3 Flag
                                           EIS Category Card 4 Flag
                                           NEDS Flag
                                           NEDS A7 Flag
                                           Number of Pollutants
                                           Pollutant ID
                                           Emission Factor
                                           Emission Factor Confidence Rating
                                           Emission Factor Source Code
                                                              (Page 8 of 9)
            Figure 4.3.6-a - continued.  EIS/AS Master File Format
                                     291

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                       SECTION 4.3.6
                       MASTER FILE MAINTENANCE
                       PROGRAM CFMMSTR (EC0070)
                                   Page 29
                                   Release Date:  2/01/80
                                   Update:  A-l
 Column #
298
308
315

331

339
297
307
314
329
330
337
338
344
                   Master File Category Record (continued)
Field Length
     1
    10
     7
    15
     1
     7
     1
     6
Description
Emission Factor Origin
Pollutant Specific Data
NEDS A7 Emission
Pollutant Name
EIS Category Card 5 Flag
Emissions Estimate
Confidence Rating
Maximum Hourly Emission
Record position 285 - 344 may be
repeated up to 15 times
                                                              (Page 9 of 9)
            Figure 4.3.6-a - continued.   EIS/AS Master File Format
                                     292

-------
   EI-S/AS
   FILE CREATION AND
   MAINTENANCE
                     SECTION  4.3.6
                     MASTER FILE MAINTENANCE
                     PROGRAM  CFMMSTR (EC0070)
                                                            Page 30
                                                            Release Date: 2/01/80
                                                            Update: A-l
   i
Per County
Up to 999
per county
                      Continued
                      on page 2
Up to 64
per county
                          Up to 999
                          per category
Up to 934
per county
                                                                                DISAGGRE-
                                                                                GATIONS
                                 Up to 99
                                 per category
                                                       Up to 999
                                                       per category
Key:

 Z\  DESCRIPTION RECORD
 O  CATEGORY RECORD
 n  COMMENT RECORD
                                                    Up to 999
                                                    per disaggregation
                                       Up to 99
                                       ier category
                                                                    p to 999
                                                                    per disaggregation
                                                                        (Page 1 of 2)
                              Figure 4.3.6-b.  Structure of EIS/AS Master File
                 Figure 4.3.6-b.   Structure of  EIS/AS  Master  File
                                            293
                                                                         (Page 1 of 2)

-------
  EIS/AS
  FILE CREATION AND
  MAINTENANCE
      SECTION  4,3,6
      MASTER FILE MAINTENANCE
      PROGRAM  CFMMSTR CECQ07Q1
 Page  9
 Release Date;  2/01/80
 Update; A^l
Up to 999
per suballocation
                   Up to 99, 999
                   per county
           Up to 64
           per suballocation
              Up to 934
              per suballocation
                      Up to 99
                      per category
              ( COMMENTS

               Up to 999
               per category
Up to 99
per category
Up to 999
per category
                  Up To 999
                  per disaggregation
                                 Up to 999
                                 per diasaggregation
                                          (Page 2 of 2)
Figure 4.3.6-b.  Structure of EIS/AS Master File
                   Figure  4,3,6^b  •? continued,
                                          CPage 2 of  21
                       Structure of  EIS/AS Master File
                                           294

-------
EIS/AS
FILE CREATION  AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE  MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 32
Release Date:  2/01/80
Update:  A-l
                                                                               o
                                                                               Q_
                                                                               o;
                                                                               u
                                                                               CO
                                                                               o
                                                                               c
                                                                               en
                      — 0- U.  r u.  C u.
                                                ro
                                                ^
                                                 O)
                                                 D1
                                                       jj  OJ J O
                                                   ~
     C :> cr •-
     I jj < <
     CL 3: _ i.
                                                      r> T x. r s a
                                       295

-------
EIS/AS

FILE  CREATION AND

MAINTENANCE
          SECTION  4.3.6

          MASTER FILE MAINTENANCE
          PROGRAM  CFMMSTR  (EC0070)
Page  33
Release Date:  2/01/80
Update:  A-l
                                                                                    £=

                                                                                    -M
               c c
               o c-
               c c-
        .C c a- 3 cr — f

        -^a.3cr^r-
       - -r — :> •* -x •= >
  c w T-** c ,c fx TT — -x ,&
  •"">•? _n — — — cj"<~ x
  — -i— = C" t C A. ~ c
c C: c c
-C-CJCi
CCCC
                              c- c =
                             'Cr-C'
                              C CC
c c c c c o —
c o => r- c c -r
— » ~ ~ — c C

-r c c c. c c c:



-
r-
c

c
LT
c
c.
^
f
r.

3
£
c-
0

o
c.


0
<
"
?

-
c

c
J-
c
c

u
5

~
-c
c

c
J-

c
0"
LL.
t

3
c

?
c
c

1
^*
^
I
3
C
o

?

c

*


• -
j !>
c c
0 0
c c

- c
y- c
7* C-
C C




0
IX
c


c


~
I
"
c.
^
) V 0 0 u C

o
c
c
c
c
_J
V.
-
c
s
o

=



_
_J
'
<=
fV
1

c
c
0
c-

9
-J
•a
^
e
3
j o o o h n

o
c

~
21
r.
«
=
rx.
3
-O
C

?
-
c
c
r
5
^
c
(X
3
C
c
c

0
c.
c
~
~
-
I
c
rx
3
1

r

c
c
1
z
S
c.
-X
c
c

o
c

c
c
-
-
AHESIDf
o
rv
) «* 0 0 U f

c

e
c
r
C^
?
=
A.
*

5
*
;
~
rr
£
r,
c
^
) 0 0 0 r> (

=


C
-1
-
J
c
fX'
t 0 0 0 6 0

o
o

c
-
r.

c;
•^
c
c:

1

c
"
"c
-',
c.
c
n.
TJ
1 0 0 0 6 0

o
^
0
r
-
•"
j
c
5
c
c-

0

c
c
z
y.
•^
c
5
-C
C-
0

~
0
c
c:
X
*
?
c
fX
c.
c
c

c

c

r
(T
i
C
r-.
o
c

c
c

c

-
<

c
rv
J'lOOoO

o

c

x
s
I.
c;
"^
j ' 1 1 1 0 o 0

*
o
;

T
y
>
=
5
r>

c



-
•c
>
c
AJ
) rt 0 f ' fi f

c
=
,j.
=
r
s
r
c
•x
c

c


~
"*
>•
u
c*
rx
^

c
=
^
r~
*
y^
2
C
rv
J OOOhO

f
0
c
c
*
-
5
c
^
c

0
c

c:
C
^
"*
'-/v
?
c
•x
c
c
C"

~
=
2
c
>
^
?
-
3-
cr

o


c
a.
if-
\
u.
C
A,.
C.

~
=>
^

«4
>f
-
c
rx
) 0 (I 0 h 1

r
=
~_
C
-
t_
-
e
rv
|

^
i
:
c
«-
z
<
C
£
C

•x
=
c
c
2
.c
r
•>
c
•x


r
X


*
1
<
=
A.
C

•^
Lf
C

-
r
5
c.
J;
C

n

c
c
                                                             cu
                                                             -p
                                                             I/)
                                                             fO
                                                                                    Q-
                                                                                    c
                                                                                    I
                                                                                   IO
                                                                                   CO
                                                                                     •
                                                                                   •vl-
                                        296

-------
EIS/AS

FILE  CREATION  AND

MAINTENANCE
                        SECTION  4.3.6

                        MASTER  FILE  MAINTENANCE


                        PROGRAM  CFMMSTR  (EC0070)
Page 34

Release Date:  2/01/80

Update:   A-l
                                                                                                   CD
          a: ^o-or-'v.'s: .c -^ '
                                                                                                   OJ
                                                           ccccccc.cc-
                 — ' .0 _ i* 1. <
                      — C.Q-L,
   ^   _ ,. y,   ^->-J_< — CaZo-

   —   .L—i~— r~x.r —      —  v)
i  I  I i  J"> o y; Jt
i£?irr^z
       c e cc c.occcccccccoccc=ccccc;ccccrc.c.c:c.cc;e:c;cc.
    10   r^TT^ra ir rp-»^'3r*TTC3'!j-3'3'^3j^'Taa^^'rj3'33^3^^^'r'3"'^;T5TJrC53
    «   cc-cccrscrcc-e-cc.ccccoc-cccecoc.c.cccccc-ccc.occc^cc^r^cc-


    tr   cc-ccecc^ccc.coccccc.coccccccocc-c^occccccic— c~ccocc
    —   ^c-c^c-'r-r^r-c^r-c-c-oe^-r^.r-oco^.o^c-ac-o^^^ooc-^c-coc-C'ezr-
    ^   rccccc=cccccccccccccccccccocecccc.c:crccc.cccc;cec.cc



       ^r>-=>o = c?O3c?'=c:-ro=: ^^^o^^o-oroo^ooooots^ t?-=^ = oro = =l^c'co
       «~T ccoc-ccc^cccccc nc^icc ccc-~coc^ccccrcc;c.cc -c-rcccc  cc.
                                                                                     a.
                                                                                     +->
                                                                                     3
                                                                                     o
                                                                                                   OJ
                                                                                                   i
                                                                                                  CO

                                                                                                  «*


                                                                                                   I

                                                                                                   en
                                                                                                  •r-
                                                                                                  U_
          C C
                                                                              : C C

                                                                              ' - ~ O C:
       C—- CCCCC.CCCCCCCC:CCirCCCCCC.CCCCCCCCCCOCOCCC3


       cc-cccc c-tc c-ccccoc-ccc-cccccc cccccccccc-c cc-c ccccccce


       crccc c^cccc — ccc-ccrcccocc ccccc-cc-ccccc-oc ~c coccc-cc1
       •c -c *c
       XXI
                                                 X X X X. X
                                                 X X -f -O i

                                                • X X X XX
                                               297

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION  4.3.6
MASTER FILE MAINTENANCE
PROGRAM  CFMMSTR (EC0070)
Page 35
Release  Date: 2/01/80
Update:   A-l

      •- a: u- :r i  — r j. :r
      a: c. -j — c  a: a _' •- ;
      s « ^ — >•  <= < r —i :
                          s o
                          c *v
                          O O
                                                                                  c
                                                                                  o
                                                                                  •P
                                                                                  O
 IT _T  —
                                                                   CO
                                                                   - o
                                                                   C -S i
                                                                                  OJ
                                                                                  -p
~
~,
c

«_
"
c
•^
~
0
cr
iC S
= = '
o
0
_

~
—

_
r-
iT
C-
>c
3 c
2
^
~


2

.•*•
i

c
IX
=3
X
~l
>—


i

—
_l
tr
c
AJ
~
"
_.
<

•~
LJ

._
c-

r
-
^



y>
cr.
i*

<•
*
c
o
5"

c
3*

—
C.
C:
ceo
~z~
* ^ *
-
o
^

c
^

^
c-
8
cr
a
'
c-
~
— -

c
•J-
o
o
o
^
c
r\,
s?
^
3
C

c
?•
c
—
c
c
c
^
^
c
^
^,

c
J-

—
c
c
^
rv
5?
^ U-
O
—

c
y-
C
^
C
c
c c

3- a
- £
—
L

^>
i—
X

•—
lj_
C fc-
c a:
•^ ^-
o
o
c

c
'XJ
c
~
c
c
c
^
^
c
X
c

c
IXI

c;
o
c-
c
=r
c-
c
3
c

c
•\,
c
—
c;
=
c
3-
^
C ""
O
C-

c
*\,
c
5>
C
c
c —
5- ^
3- *3
_J
_j
i~i

tr.
•M
r

*—
ul
-
*r
~
±
0
c

C-
^
c.
C1
0
e
c

^*
i
O
O

C.
— 1
o
o
c
o
=
3
5
±
s
c.

c
— -1
o
^
c
c:
e
zr
v
^
^
c

c
*-+

*
c

c
•u
^
u. ^
_
<
:z

_j
 0 (
c
-
> 0 0 0 h 1
c
c
c
o
-
OOn^l
o
c
c
~
001)71
c
c
o
c
c
J
1
c
0000)
o
c
-
^00(»71
C1
c
> u 0 o 0
o
?-
> on ooi
0
o
c
o

c
o
0
00 DO 1


|
c
c
c

r
0
c
I 0 0 U 0
c

f
c
0 0 0 0
c

c
c
c
c

o
e
c
o
o
o
c

c
f
1 0 0 0 0
o
c

c
o
c
o
c

c
?
c
o
c

c
?
o
o

c
0
c
c
o
c

c
5
e
c
o

1
o
c
o
o
o
c

c
o
c
c-
o
c
o
c

c
o
c
o
c
o
c

J""
c
e
o
o
c

J"
c
o
c
c
o
c
c

c
o
c
o
c
o
c

c
I
c
o
c
o

%
o
c
c
c
o
0
C1

c
?
c
o
c
0


J".
c
0 0 (> i) _
o
c

\f
c
e
e
o
c
c

o
1
c
o
c
o
o
C-

c
5
o
c
o
o

o
c
c
c
c
o
o
c

C"
c
c
o
c
o
o
e

0
c
c
o
c
o
e

0
o
c
c
o
o
e



o
c

o
o
c
0
c
o
o
c

c
0
cr
c
o
o
c

c
0
1 0 0 0 0


c
1
c
o

= -
c c
c o
O 3
c c

     o o o c-
                                                        sr^cr^B^^sr^a-'a
                                                        * x X' c x x x,x^x«>;c
                                        298

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
          SECTION 4.3.6
          MASTER FILE MAINTENANCE
          PROGRAM CFMMSTR (EC0070)
                             Page 36
                             Release Date: 2/01/80
                             Update:  A-l
          COLUMN 2 COLUMN 4 COLUMN 10
          YY
FLAGW
Blank
LIST
Blank
Note:  YY must be a two-digit number specifying the control date.
                     Figure 4.3.6-g.   Option Card Format
                                     299

-------
EIS/AS SECTION 4.3
FILE CREATION AND MASTER FILE
MAINTENANCE PROGRAM CFMF
//* I'l'Al Mh/AOh 7 Hf lu;F f'F:i H, LLUYII M. f 9 H» ) S<4
//*
//» Pw ML f i ii)h f 'M'-if r f cf''(M1"
//* Wf VJ SI (IN LF V( L : 1-00
// * 1 US 1 Ut'oA If fl ; A-l
//* i>/iit incDwt'df A 1 1 ii : fftpn(;<>=tF "1'isiiv,
// hf 1, I l)l\l 1 = 1 SOI" r
// Kf (, !( lM«? 3 1 0|(ri ,
// I IHf 1 = ' 1 , 0- ,
// 1 IMF f>.= ' 1 , 0 ' ,
// iH.i>";5 ru=Kf"iii DMSI i
// ijFin''of(' = K("NF n''b 1 ,
// ID 1 H 1 Prj = t- T IN 1 f I'M,
// ll'UTr^AO,
// SFKl AI =ri)HSPK,
// i>ISP='i^rt,l. ATl.UrDFLF It • ,
// JjI'LUi'll 1 = 1 I'K r
// lu^Hui,
// VfH HMh = (F'f I VA 1 f- r l«f- f A 1 N) ,
// (Jl SP=( 5>HK r r> A.iS)
//Si 1" 1 1 1 '1 nn (i,SuA»'f=Si'.Sl.bnhfLl * r
// l> I b'1- ( .iHl< r H A,SS )
//*
//* Jjil'< 1 rtiH'K f 1 LI 8
// *
//SMI' I iMivo i OLI IIMI I =«. n i..p,
// i-PA( i- = ( n>" , i < •(ui-'K sm ) , , rii"i i 1 1
tKAijR/vr i iiifi'i oonuovno
n U 0 0 1 0 P U
onoo I 100
H'j. APt « ' , oono 1  o n
o o o o ? o n o
0000?! Oi)
nono?2oo
o u n o ? 3 o o
0 (( 0 i) P /J 0 (J
n i) o o ? ^j (i (/
o i) o o 2 / n o
nono?«0i)
0 0 0 0 f 1 0 0
oono in no
n u o u < 1 n o
o o o o ^ f. o o
0 0 0 0 i i 0 0
011003400
no DO }S 00
f f n i1 i.S n o n i) $6 o n
o o n o ^ / o i)
n o n u i H n o
0 0 " 0 3 9 0 0
oo nou ooo
nooo'i 1 on
nono'Jr'nii
0 0 n o u <, 0 0
'ionoui40o
i n n n n s o o
o y n (i 'i /> n o
) Oono 'i /oo
//*
//Sill' I V'K Oc'   l)|l  UN 1 I = ( 1C H "r', Sf l-'-H IK I rtK U 1 ) ,
//                sn^rf = 11^><, f ^.'ll^•l\':;|Jr >,,rii^ I 11-. i
//*
//Sill' I I.K  I ,i(KiiP ) 1 ,
//                .SI'Aff =( IKK , ( •. -:ll"r- lif'C ) , , fll i\ It. I
//*
//*   | I.I (Ml [  ,)A I A  SI I  -  H.'lSllW I I I/  1 .» I I rV'1,,1  I K'AU.'i \( I I I i i.i
IlilOnSS'iO
                                                               (Page  I  of 3)
                    Figure  4.3.6-h.    Cataloged  Procedure ECFMM10
                                               300

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.3.6
MASTER  FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
Page 38
Release Date:  2/01/80
Update:   A-l
  //K.SINPT    DC PSNAMI-
                                   ,Kf I A I M)
  //*
  //»  iiMMMT  DATA  SF I  - SI Ml Ml IMIfiRiMAL  t W A'^S AC I
  //*
  //H.SllUIP    l>|i hSto/Ulf rfcKSiJP. IH>,
  //               UN i T = « IF HP,
  //               SPALL = (*J>PCHM1 I ,
  //*
  //«  ill) I PUT  liAlA  SF I  - lHARMlSTir  1,'tPlirft
  //*
  //FCSDlAt;    no bYsniii=s.iiH I
  /'/*
  //*  IIUIPUT  DATA  SMS -  S Y S I F *
  //
      SPIJ i f I   nu SYsiiiJT=*inn
  //*
  //st
  //*
       iiTf I'l"  1)1) SYbU'lt =K.IIH|
  //*
  //SYSIIOijMP  nil SYSUllTrfcllUI
  //*
  //*
                                              ooous /on
                                              OudOSMOo
                                              i n) DOS VI i)
                                              ni)it)(> 1 r. i
                                              nn
                                              Oiio (i
                                              o » o 0 fr u 0 a
                                              0 0 " u ^ b (' 0
                                              0 ,J I) 0 6 h 0 o
                                              0 0 0 0 h / « 0
                                              (i II (I Of> MOO
                                              0 0 0 0 f> V 0 0
                                              00007100
                                              000072(10
                                              00007300
                                              00107400
                                              00 00 7 SO 0
                                              n 0 0 (I 7 to 0 0
                                              oo no 7 / oo
                                              ')0(H)7HOO
                                              OO007 900
                                              (i 0 0 I) P 0 fl 0
                                              0 1(0 OH 1 00
                                                    son
                                                    aoo
                                              O000ft'j00
  //*
  //*
  //SIFPI.1I!    DO  OSUA -U rKPUll ItC I  . .Mifto,
  //               VML UI>T = (H,J i vn ft  , KF I A l*v )
  //*
  //*   I'JI'UI  DAIA  SM  - Sui'ltO  (P/\ 'JaAl I |d"(S
  //*
  //I'l.SMt'T    Hi;  oSUC, .if =<\Slli' I [ I',
  //               lil:»"=(iHK,PA.i^)
  // *
  / / *   i r i ,' i H  i > A i A  r; t r  - i IL n  I i s / A ,s  M A ^ n K  i- 1 1 i
  //*
  //fiSllI I'    IM)  OS.JAt h =nt'iM H C I . .')/, r .!.» H(J>'-'S I •(,
  //               «'ii.ii -F = ( i't> \\i r.\t , K( Mil1'),
  //*
  // •   i ',ri' i  ii A i A  ;^ i  - u>' r i n,  i  ^,.,i>
  // «
  //f LS'lM •)   Dl'  Ol'nf'  .1 :i II'T | Mi 1-1 ,
  //               Dr>l = 'il KS I /f =Hi)
  // >  1,1 1 r I1 in DA I A  il I  -  n 'i r  I :./.r.  •> vfi i »  »  ill
                                              OllOUH'HlO
                                              oo n OH v oo
                                              n o o o 9 o n n
                                                   l 00
                                                                                  o o o o <» j r i o
                                                                                  10 009 a do
                                              o (i n o l» / o o
                                              00 'i I Oil 00
                                              0.10 1 0 1 (I,)
                                              0001 Odd!)
                                              (MiO 1 0 400
                                              (MM1 ) (1 '40 I)
                                              o i) 'i i ri'ji'd
                                              n o o i o >} ti y
                                              ooo i o /fio
                                              dud 1 Oh
                                                                                  rum i ^
                                                                     (Page 2  of  3)
              Figure 4.3.6-h -  continued.   Cataloged Procedure  ECFMM10
                                              301

-------
EIS/AS
FILE  CREATION  AND
MAINTENANCE
SECTION 4.3.6
MASTER FILE MAINTENANCE
PROGRAM CFMMSTR (EC0070)
                                                                      Page 39
                                                                      Release  Date:  2/01/80
                                                                      Update:   A-l
           Oil DSNM-iF =*
//*
                              r I. .o* I A .;-.ui v.iisi i',



                             III, (MJH |MAWy . x,si f NDI'Y ) ,
//*
//*  ntllPin  I)AT a Shi -  1)1 AHii'MSl 1C  I-'H'HM
//*
//Ft'SUlAG    01) SYSMUl =MIU I
//*
//*  itilll'liT  HAFA Ml -  INIFMJAl. I HA J,S AC I TUU > LfSIl'
//*
//FLSINIil    I'D :,YMMJl=X,IH.M
//*
//*  HlllHUF  DAIA Ml -  1'JHilI  MS/AS  NASIFK 1-tLF II'
//*
//F-LSllLOl    DL) SYSiliJT = M|il|
//*
//*  IIIIIIMIT  n«TA 3M -  UUFPtll F|.'i/A:j  MASH." F1LI-  I
//*
                                                                            dim | I 400
                                                      Tun
           O.\TA  se is - SYSiFM

           I)D  SYSC'ITsk-IH)!
//*
//*  iil'K
//*
//sir SIMM
//*
//SYSh-flHI   01) SYSMnTslciJlll
//*
//SYSOHIill I   Ol) SYS(HjT = Rtll)I
//*
//SYSI)TMoo
                                            11 /no
                                            11 « o o
                                            I I l> 0 0
                                            1 ? 0 0 0
                                                                             t) n 1 f 1 o 0
                                         0 0 o 1 ? 4 0 0
                                         000]
                                         0 0 (' 1 ?
                                         oon i ?tjiio
                                         n o o i f i o o
                                         OOOI?BOO
                                         ouo i?voo
                                         01)0
                                         oon
                                                                                1000
                                                                                M oo
                                         000
                                         000
                                         ono

                                         ooo
                                         ooo
                                         ooo
                                         ooo 57oo
                                                                                VHM)
                                                                                tMIO
    "< M o o
    "4 •/ a o
    '10 0 0
o o n i«i o o
0001/1^00
0 0 0 1 H <, 0 0
o o o l u « n o
0001 'i so 0
nun i uboo
o 0 o i 
-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                 SECTION 4.3.6
                 MASTER FILE MAINTENANCE
                 PROGRAM CFMMSTR (EC0070)
                        Page 40
                        Release Date: 2/01/80
                        Update:  A-l
Parameter
  Name

PROJECT
   Default
    Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROG1
PROG2
REGION1
REGION2
TIME1
TIME2
OLDMSTR
NEWMSTR
UNIT
SERIAL
DISP

SPCUNIT
PRIMARY
SECONDRY
CSRINTR
CFMMSTR
150K
100K
'1,0'
'1,0'
ECOLDMST
ECNEWMST
3330
CDHSPK
'NEW.CATLG,
DELETE1
TRK
20
10
                  Description

Highest-leval index of data set names (e.g.,
CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECOLDMST
would be the full data set name of the old
master file)
Master file internal transaction sort program
Master file maintenance program
Region size allocated for execution of CSRINTR
Region size allocated for execution of CFMMSTR
Time allocated for execution of CSRINTR
Time allocated for execution of CFMMSTR
Lowest-level index of old master file
Lowest-level index of new (or updated master
file
Unit type to which new (or updated) master
file is to be written
Serial number of volume to which new (or
updated) master file is to be written
Disposition of new (or updated) master file

Units in which space for new (or updated)
master file is to be allocated
Primary space allocation for new (or updated)
master file
Secondary space allocation for new (or updated)
master file
                                                     (Page 1  of 2)
             Figure 4.3.6-i.   Substitutable Parameters  for ECFMM10
                                      303

-------
E IS/AS
FILE CREATION AND
MAINTENANCE
                 SECTION 4.3.6
                 MASTER FILE MAINTENANCE
                 PROGRAM CFMMSTR (EC0070)
                        Page 41
                        Release Date: 2/01/80
                        Update:  A-l
Parameter   Default
  Name       Value

TEMP        SYSDA
WORKSPC     '20,10'
INTRTRN     ECINTERN
OUT
A
                  Description

Unit type for temporary work space
Space allocation for sort work areas
Lowest-level index of unsorted internal
transactions
SYSOUT class for all print files
                                                         (Page 2 of 2)
       Figure 4.3.6-i - continued.  Substitutable Parameters for ECFMM10
                                      304

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 1
Release Date: 2/01/80
Update #:  A-l
4.3.7  MASTER FILE EMISSION FACTOR TRANSACITON GENERATOR PROGRAM - CMSEFGN
       (EC0080)

4.3.7.1  Description

     CMSEFGN (EC0080) compares the EIS/AS master file to the EIS/AS emission
factor file and creates internal  transactions to update the emission factor
information in the master file with data from the emission factor file.   Date
criteria which must be satisfied by the emission factor file records can be
specified by an option card (see Section 4.3.7.3).   The internal transactions
generated by CMSEFGN (EC0080) must be sorted by the master file internal
transaction sort program, CSRINTR (EC0050), and input to the master file
maintenance program, CFMMSTR (EC0070), to update the master file.

     CMSEFGN (EC0080) matches master file category records to emission factor
file records.  A matching state- or local-origin record is sought for each
master file category record; if none is found, a matching Federal-origin
record is sought.  Note that the Federal-origin emission factor file records
exist only for the six criteria pollutants (total suspended particularte,
carbon monoxide, sulfur dioxide, oxides or nitrogen, total hydrocarbons, and
lead).

     If a matching emission factor file record is found for a master file
category record, the dates of the emission factor file record are compared to
the user-specified dates.  If the date of the emission factor file category
record is greater than that specified by the user for category records,  a
category-2 internal transaction is generated to change the nitrogen, sulfur,
and ash contents in the master file record.  The emission factor file
pollutant records for each pollutnat ID in the master file record are then
examined.  If the date in the pollutant record is greater than that specified
by the user for pollutant records, a category-5 internal transaction is
generated to change the emission factor, confidence level, and specific  data
for that pollutant ID.

                                     305

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 2
Release Date: 2/01/80
Update #:  A-l
     Only category-2 and category-5 change transactions are generated.   These
transactions are master file internal  format transactions and can be input
directly to CSRINTR (EC0050) and CFMMSTR (EC0070).

4.3.7.2  File Formats

     CMSEFGN (EC0080) uses three input files:   the  EIS/AS master file,  the
EIS/AS emission factor file, and an option card.   See Figure 4.3.6-a for the
format of the master file and Figure 4.2.3-a for that of the emission factor
file.  The option card is discussed in Section 4.3.7.3.

     Two output files are produced:  a diagnostic report and a file containing
the generated internal transacations.   The output transactions are in master
file internal transaction format (see Figure 4.3.3-c) and can be used to
update the master file.  The diagnostic report contains the update messages.
program statistics, option messages, and error messages; see Figure 4.3.7-a
for a sample diagnostic report.

4.3.7.3  Options and Control Cards

     An option card is input to  CMSEFGN (EC0080)  to specify date criteria for
the emission factor file and to  specify whether or  not warning messages should
be printed.  All options are specified in fixed fields on the option card;  see
Figure 4.3.7-b for the format of the option card.

     The date criteria specify a category date and  a pollutant date.  A
category date must be specified  for any category-2  internal transactions to be
generated; likewise, a pollutant date must be specified for any Category-5
internal transactions to be generated.  Also,  the date of an emission factor
file category record must be greater than the specified category date for a
Category-2 transaction to be created, and the date  of an emission factor file
pollutant record must be greater than the specified pollutant date for a
Category-5 transaction to be created.   A category date is specified by coding

                                     306

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 3
Release Date: 2/01/80
Update #:  A-l
'CDAT' and a five-digit Julian date;  a pollutant date,  by 'PDAT1  and  a
five-digit Julian date.  Either type, or both types can be specified; however,
at least one type must be specified.   If no date is specified,  or if  a  date
is specified incorrectly, program execution will be terminated.

     If 'FLAGW  is coded in the warning message suppression field of  the
option card, all warning messages will be printed in the diagnostic report;  if
'NOFLAGW  is coded, no warning messages will be printed.   If this field is
left blank or improperly coded, a default of NOFLAGW is assumed.

4.3.7.4  Error Messages

CMSEFGN 001 ABORT - INVALID CATEGORY  DATE SPECIFIED
     Meaning:  Either a nonnumeric value was specified  for the  date,  or the
               identifier,  CDAT, was  coded incorrectly; therefore, program
               execution was terminated.
      Action:  Correct the  option card and resubmit the job.

CMSEFGN 002 ABORT - INVALID POLLUTANT DATE SPECIFIED
     Meaning:  Either a nonnumeric value was specified  for the  date,  or the
               identifier,  PDAT, was  coded incorrectly; therefore, program
               execution was terminated.
      Action:  Correct the  option card and resubmit the job.

CMSEFGN 003 ABORT - NO VALID CATEGORY OR POLLUTANT DATE SPECIFIED
     Meaning:  If a date was specified, it was specified  incorrectly;
               therefore, program execution was terminated.
      Action:  Correct the  option card and resubmit the job.
                                     307

-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 4
Release Date: 2/01/80
Update #:  A-l
CMSEFGN 004 ABORT - EMISSION FACTOR FILE CONTAINS ONLY A HEADER RECORD
     Meaning:  The emission factor file specified for this run contains no
               records except the header record;  therefore,  program execution
               was terminated.
      Action:  Specify a valid emission factor file and resubmit the job.

CMSEFGN 005 CONDITIONAL - EMISSION FACTOR FILE CONTAINS NON-CRITERIA POLLUTANT
            RECORDS FOR FEDERAL CATEGORY
     Meaning:  The emission factor file contains  a Federal-origin pollutant
               record for a non-criteria pollutant; therefore, that pollutant
               record was bypassed.
      Action:  None required.

CMSEFGN 006 ERROR - EMISSION FACTOR FILE CONTAINS MORE THAN  MAXIMUM NUMBER OF
            POLLUTANT RECORDS FOR FEDERAL CATEGORY
     Meaning:  The emission factor file contains  more than 16 pollutant
               records for a Federal-origin category record; all but the
               criteria pollutants were bypassed.
      Action:  None required.

CMSEFGN 007 DISASTER - INVALID RECORD TYPE IN EMISSION FACTOR FILE
     Meaning:  The emission factor file contains  a record that is neither a
               category (record type 1) nor a pollutant (record type 2)
               record; therefore, program execution was terminated.
      Action:  Contact personnel  at the National  Air Data Branch for further
               assistance.

CMSEFGN 008 DISASTER - FEDERAL EMISSION FACTOR RECORD CONTAINS NO CATEGORY
            RECORD
     Meaning:  The emission factor file contains  a Federal-origin pollutant
               record with no matching category record; therefore,  program
               execution was terminated.
                                     308

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 5
Release Date: 2/01/80
Update #:  A-l
      Action:  Contact personnel at the National  Air Data Branch for further
               assistance.

CMSEFGN 009 CONDITIONAL - EMISSION FACTOR FILE CONTAINS FEDERAL CATEGORY
            RECORDS FOR CATEGORIES OTHER THAN 1-64
     Meaning:  The emission factor file contains  Federal-origin category
               records for categories other than  1-64.
      Action:  None required.

CMSEFGN 010 DISASTER - DUPLICATE CATEGORY RECORDS IN EMISSION FACTOR FILE
     Meaning:  The emission factor file contains  duplicate cateogry records;
               therefore, program execution was terminated.
      Action:  Contact personnel at the National  Air Date Branch for further
               assistance.

CMSEFGN Oil WARNING - NO MATCHING EMISSION FACTOR RECORD
     Meaning:  There is no emission factor file record to match the specified
               master file record.
      Action:  None required.

CMSEFGN 012 WARNING - NO TRANSACTION GENERATED DUE TO CATEGORY DATE
     Meaning:  A matching emission factor file category record was found, but
               no Category-2 transaction was generated since the record did
               not meet the user-specified date criterion.
      Action:  If a transaciton is required for this record, specify a
               different date on the option card  and resubmit the job.

CMSEFGN 013 WARNING - NO TRANSACTION GENERATED DUE TO POLLUTANT DATE
     Meaning:  A matching emission factor file pollutant  record was found,  but
               no Category-5 transaction was generated since the record did
               not meet the user-specified date criterion.
                                     309

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 6
Release Date: 2/01/80
Update #:  A-l
      Action:  If a transaction is required for this record,  specify a
               different date on the option card and resubmit the job.

CMSEFGN 014 CONDITIONAL - NO FEDERAL EMISSION FACTOR RECORD EXISTS FOR THIS
            POLLUTANT ID
     Meaning:  An attempt was made to find a Federal-origin emission factor
               file pollutant record for a non-criteria pollutant.
      Action:  None required.

CMSEFGN 015 WARNING - NO MATCHING EMISSION FACTOR RECORD FOR  THIS POLLUTANT ID
     Meaning:  There is no emission factor file pollutant record to match this
               pollutant ID in the master file record.
      Action:  None required.

CMSEFGN 016 ERROR - INVALID FLAGW OPTION SPECIFIED - NOFLAGW ASSUMED
     Meaning:  The warning message suppresion option was incorrectly
               specified; therefore, the default option, NOFLAGW, was
               assumed.

CMSEFGN 017 ABORT - INVALID EMISSION FACTOR FILE SPECIFIED
     Meaning:  The specified emission factor file has an invalid header
               record; therefore, program execution was terminated.
      Action:  Specify a valid emission factor file and resubmit the job.

CMSEFGN 018 ABORT - NO OPTION CARD
     Meaning:  No option card was entered; therefore, program execution was
               terminated.
      Action:  Enter an option card specifying at least one date option and
               resubmit the job.
                                     310

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
       SECTION 4.3.7
       TRANSACTION GENERATOR
       PROGRAM CMSEFGN
 Page 7
 Release Date: 2/01/80
 Update #:  A-l
CMSEFGN 019 WARNING - NO NITROGEN, SULFUR, OR ASH CONTENTS FOR THIS KEY
     Meaning:  A matching emission factor file category record was found, but
               it contained no nitrogen, sulfur, or ash contents; therefore,
               no Category-2 transaction was generated.
      Action:  None required.

CMSEFGN 020 WARNING - NO POLLUTANT RECORDS EXIST FOR THIS CATEGORY RECORD
     Meaning:  The emission factor file contains a Federal-origin category
               record with no subordinate pollutant records.
      Action:  None required.

4.3.7.5  Cataloged JCL - ECMSM10

4.3.7.5.1  JCL listing - CMSEFGN (EC0080) is executed by  the cataloged
procedure ECMSM10.  See Figure 4.3.7-c for a listing of ECMSM10.

4.3.7.5.2  Cross-reference of DP names and files

     Program Name:  CMSEFGN (EC0080)
     DO Name
File Description
Input/Output
     ECSMSTR
     ECSEMFC
     ECSOPTN
     ECSINTR
     ECSDIAG
EIS/AS master file
EIS/AS emission factor file
Option card
Internal  transactions
Diagnostic report
   Input
   Input
   Input
   Output
   Output
                                     311

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 8
Release Date: 2/01/80
Update #:  A-l
4.3.7.5.3  User-supplied JCL - To execute the cataloged procedure ECMSM10, the
user must specify the data set names fo the EIS/AS master file,  the EIS/AS
emission factor file, and the file of generated internal  transactions.   An
option card must be included to specify date criteria.   See Figure 4.3.7-d for
a description of the procedure's substitutable parameters.

4.3.7.5.4  Sample run stream -The following run stram would generate internal
transactions for the EIS/AS master file 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ASMSTR1, using the EIS/AS emission factor file 'CN.EPALMH.A087.CDHS.HQ.AREA.
DATA.ASEMFL1.  The file containing the generated transactions would be  named
'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ASINTR'.   Note that the NOFLAGW option and
data criteria are specified.

// EXEC ECMSM10,
//      MSTRFIL=ASMTR,
//      EMFCFIL=ASEMFL,
//      INTRTRN=ASINTR
//GENERATIONS  DD *
NOFLAGW     CDAT 79340     PDAT 79340
/*

4.3.7.6  Warnings and Special Instructions

     The only federal-origin emission factor file record  used by CMSEFGN
(EC0080) are those for the 64 federal categories; any other federal-origin
records are bypassed.  Also, to be compatible with the NEDS system,  on!
pollutant records for the six criteria pollutants currently recognized  by NEDS
are allowed for federal-origin category records; any other pollutant records
for federal-origin categories are bypassed.
                                     312

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 4.3.7
TRANSACTION GENERATOR
PROGRAM CMSEFGN
Page 9
Release Date: 2/01/80
Update #:  A-l
     If no valid cateogry date is specified on the option card,  no Category-2
internal transactions will be generated.  Likewise, if no valid  pollutant date
is specified, no Category-5 internal  transactions will be generated.   If
neither a valid category date nor a valid pollutant date is specified,  program
execution will be aborted.

4.3.7.7  Cost Considerations

     The estimates listed below are for the execution of CMSEFGN (EC0080) on
an IBM 360/168:

     Number of master file records:                          412 records
     Number of emission factor file records:                  570 records
     Number of category-2 transactions:                       32 transactions
     Number of category-5 transactions:                    1,730 transactions
     CPU time:                                              2.51 seconds
     I/O time:                                             12.79 seconds
     Total time:                                           15.30 seconds

     Estimated cost:                                      $ 4.28

4.3.7.8  Related Programs and Procedures

     The cataloged procedure ECFMM30  executes CMSEFGN (EC0080) to generate
internal transactions, CSRINTR (EC0050) to sort the generated transactions,
and CFMMSTR (EC0070) to update the master file with the generated
transactions.  See Section 4.4.4 for  information on ECFMM30.
                                     313

-------
EIS/AS

DATA  ACCESSING  AND

MANIPULATION
SECTION 4.3.7

TRANSACTION GENERATOR

PROGRAM CMSEFGN
Page  10

Release Date:  2/01/80

Update #::  A-l
                                                                                       i.
                                                                                       O
                                                                                       Q.
                                                                                       OJ
                                                                                      o;

                                                                                       u
                                                                                      •r-
                                                                                      4J
                                                                                       W
                                                                                       O

                                                                                       CD
                                                                                       to
                                                                                       IO
                                                                                      OO
                                                                                       £
                                     C. j.

                                     c cr.
                                               (X tr
                                               — e
                                         314
                      " * ° u
                      < « j; c',
                      ^J ^ £T 7.
                      Z 3: ~ 1,

                      co C >- «-

                      tt 1. «= <
                      d  .0 J5
                      U Q: "2 J
                      uj T <; «
                      ac *- a i
                       j _ _
                      U,1 «
                      -J U. 'VJ J-i
                      —  I I
                                                                 .' ^5 JO «
                                                                  «_ u^ tr,
                                                                  -5 J iC
                                                               ^ — * i <

                                                               -crrrr
                                                                  '

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
    SECTION 4.3.7
    TRANSACTION GENERATOR
    PROGRAM CMSEFGN
                Page 11
                Release Date:  2/01/80
                Update #:   A-l
            Column
            #1
            FLAGW
            NOFLAGFW
Column
#13
Column
#28
                                        1
CDAT xxyyy     PDAT xxyyy
    Note:  xx denotes the year; yyy, the Julian date
                     Figure 4.3.7-b.   Option  Card  Format
                                     315

-------
EIS/AS SECTION 4.3
DATA ACCESSING AND TRANSACTION
MANIPULATION PROGRAM CMS
.7 Page 12
GENERATOR Release Date: 2/01/80
EFGN Update #: A-l
//* M'HMH/AOH/ IH-OCFHF IH, LHIYI> HI. C/I«H s»ji-s ! FFHI'OAKV 1, I'JMO
//*
//* THUS HRilCt IH.IKK AbLHi-.S ThF U3FH 1 fl ('.HI- A
000 0 O £ 0 !l
0 0 0 l) 0 \ 0 0
0 0 0 O 0 H 0 i)
ooooosoo
nonodhO'l
o 00 o'l 1 no
T I. oonoo MOO
//* F. IS/AS 1VT( WML FMISSllHi ML I'm I H ft ,-KS AT 1 I (IMS 000004OO
//*
//*
//FC^S'-'l (1 PKHC PKII.II r 1 = T j.tF'.M M-t. AiiH/.tdHS.
// pPiii;KAM = cM,SFF';i'j,
// kK.TilMl = 1 I) UK ,
// I IMF" 1 = ' t , 0 ' ,
// F'-'-FCF IL = tC'bMF'F ft..
// N'SIK'I IL=t_rul UM jT ,
// I N 1 W I«N = eC IC'IFHfi,
// UN j T= 5440,
// SFM »i rnmsr*,.
// 0 1 SP = ' Nf '".(. A II I.,I)FLF IF ' ,
// p^jM/iRY=?n,
// SF ( M|)Wy= 1 0,
// Illl 1 =A
//*
//Rtf|F" FA.FC ('(.MsuPKIH.HA^,
// i
//*
00 00 1 00 0
0000 1 100
HU.AHhA ' , 100(1 1? 09
00001300
o () o i) i u o o
no no is no
ooQu 1 t>no
0000 i/oo
0000 1 MOO
0000)400
o LI o o ? o n o
oono? i oo
0000? SO 0
O00i)?'|0(l
o(ioo?soo
0 0 0 0 ? b 0 0
OijOi)? ?oi)
0 0 0 0 ,' B n 0
oono?voo
0 (! 0 0 < 0 n 0
//* (,FijFH S n o
OOOO^hOO
F J L F o j n o -^ 7 n o
n 0(io < Ft oo
//tlSf'IM Oil hSNA^lF =K.PU|i,H r 1 . .DAT A.iCFrtFCF 11 , 00004900
// h'l'sPrfSH^HA.sS,"^1 fAU)'
//*
//* I'lHHI HA | A Si- I - f IS/f.1! iiA;,lL^ F ILL
//*
"V'V'V''U
o 0 n u 'i 1 o u
Olll UUr'OO
OllOoil 400
nnoo-'idou
//FuS^.'-lK I'll DSljA ^ =K,l'Mi l.lh C f . . hft T A . '.IILPin 1 ", OoOoaSOO
// viLUvit -(PR i v^ it ,i Ti 1 ' lv,,/i| ( *i i s-
no no 'Hi no
o ooou /oo
n o n o 'l M (i 0
o ii o i| (i v n o
MO" 'is on o
o 0 n (1 S 1 0 0
•liiooS^oo
0 ;IO OS 400
1 1 \j F ,,( 1 Hi/ 1 l i.'i.-iAl T | f| S 0 00 OS '(0 II
//*
//i ( s I 'i I '<   mi  ii.Si' " 'I -^I'^li.K I" I . . i'» I •> . .1 -I I lO I- •!,
                                                             (Page  1  of 2)
                Figure 4.3.7-c.  Cataloged Procedure  ECMSM10
                                       316

-------
EIS/AS
DATA  ACCESSING  AND
MANIPULATION
                             SECTION 4.3.7
                             TRANSACTION  GENERATOR
                             PROGRAM CMSEFGN
Page  13
Release  Date:  2/01/80
Update #:  A-l
//*
//»
//*
X/K
//*
//*
//*
//S
//*
//.S
//*
               Ill'l 1 rRUUl 1 ,
                 U'MF = ( l'«l
                 3^=f tn I SO ,
                                             = R SF K 1 »i(_ J ,
         IMITF'OT
         (lllTf'UT DATft  i>MS  -

                "U SYSHlll=1(IUI

             I   OH :iVSi)llT=RIIH|
//*
//Sf SI) ff f'-l
//*
                   ijYS'UH =d.nll I
    //*
    //*
            OOO(lSMfll)
            00
                                                                            i on <>h 1 on
            fMIOOh/OO
            n 0 0 0 *• H (' 0
            11 0 0 (I h 4 (> 0
            000(1700')
            Oof) II 7100
            o 0 o o 7 
-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
               SECTION 4.3.7
               TRANSACTION GENERATOR
               PROGRAM CMSEFGN
                     Page 14              !
                     Release Date: 2/01/80
                     Update #:  A-l
Parameter
  Name

PROJECT
Default
 Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROGRAM
REGION1
TIME1
EMFCFIL
MASTRFIL
I NTRTRN
UNIT
SERIAL
DISP

SPCUNIT
PRIMARY
CMSEFGN
100K
'1,0'
ECEMFFIL
ECOLDMST
ECINTERN
3330
CDHSPK
'NEW.CATLG,
DELETE1
TRK
20
             Description

Highest-level index of data set. names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ECEMFFIL would be the full  data set name
of the emission factor file)
Master file emission factor transaction
generator
Region size allocated for execution of
CMSEFGN
Time allocated for execution of CMSEFGN
Lowest-level index of emission factor file
Lowest-level index of master file
Lowest-level index of generated internal
transaction file
Unit type to which generated internal
transaction file is to be written
Serial number of volume to which generated
internal transaction file is to be written
Disposition of generated internal
transaction file
Units in which space for generated
internal transactions is to be allocated
Primary space allocation for generated
internal transactions
                                                         (Page 1  of 2)
            Figure 4.3.7-d.   Substitutable Parameters  for ECMSM10
                                     318

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
               SECTION 4.3.7
               TRANSACTION GENERATOR
               PROGRAM CMSEFGN
                     Page 15
                     Release Date: 2/01/80
                     Update #:  A-l
Parameter      Default
  Name          Value
                                  Description
SECNDRY
OUT
10
A
Secondary space allocation for generated
internal  transactions
SYSOUT class for all print files
                                                         (Page 2 of 2)
      Figure 4.3.7-d  -  continued.   Substitutable  Parameters  for ECMSM10
                                     319

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4
MULTI-PROGRAM PROCEDURES
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
4.4.  MULTI-PROGRAM PROCEDURES

4.4.1.  INTRODUCTION

     The cataloged procedures ECEMM10,  ECFMM20,  and  ECFMM30  allow the  user to
combine various file creation and maintenance  functions  into one  job step.

     ECEMM10 edits EIS/AS master file transactions  and creates  or updates  the
master file.  The programs executed by  this  procedure are  the master file
transaction edit program, CEDMSTR (EC0040);  the  master file  internal
transaction sort program, CSRINTR (EC0050);  the  master file  internal
transaction emission factor insertion program, CMSEFIN  (EC0060);  and the
master file maintenance program, CFMMSTR (EC0070).

     ECFMM20 allows the user to create  or update the master  file  using NEDS
transactions.   This procedure executes  the NEDS  to  EIS/AS  master  file
transaction conversion-edit program, CCENETR (EC0030); the master file
internal transaction sort program, CSRINTR (EC0050); the master file internal
transaction emission factor insertion program, CMSEFIN  (EC0060);  and the
master file maintenance program, CFMMSTR (EC0070).

     ECFMM30 creates or updates the master file  using transactions generated
from the emission factor file.  Thus, when updates  are made  to  the emission
factor file, ECFMM30 can be executed to update the  emission  factor data in the
master file.  This procedure executes the master file emission  factor
transaction generator program, CMSEFGN  (EC0080); the master  file  internal
transaction sort program, CSRINTR (EC0050);  and  the  master file maintenance
program, CFMMSTR (EC0070).
                                     320

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4
MULTI-PROGRAM PROCEDURES
INTRODUCTION
Page 2
Release Date: 2/01/80
Update #:  A-l
     Refer to Sections 4.4.2, 4.4.3, and 4.4.4 for detailed discussions of
ECEMM10, ECFMM20, and ECFMM30, respectively.
                                    321

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4.2
MASTER FILE MAINTENANCE
PROCEDURE ECEMM10
Page 1
Release Date: 2/01/80
Update #:  A-l
4.4.2  MASTER FILE ED IT-MAINTENANCE - ECEMM10

4.4.2.1  Description

     The cataloged procedure ECEMM10 allows the user to edit  EIS/AS
transactions, insert emission factor information into those transactions,  and
then update (or create) the EIS/AS master file.  This procedure executes the
master file transaction edit program CEDMSTR (EC0040), the master file
internal transaction sort program CSRINTR (EC0050),  the master file internal
transaction emission factor insertion program CMSEFIN (EC0060), and the master
file maintenance program CFMMSTR (EC0070).

4.4.2.2  JCL Listing

     See Figure 4.4.2-a for a listing of this procedure.

4.4.2.3  Cross-reference of DP Names and Files

     Program Name:  CEDMSTR (EC0040)
       DP Name              File Description

       ECSINPT       EIS/AS master file transactions
       ECSOPTN       Option card
       ECSOUTP       Edited internal  transactions
       ECSDIAG       Diagnostic report
       ECSINPL       Input transaction listing
       ECSOUTL       Output internal  transaction listing
                               Input/Output

                                   Input
                                   Input
                                   Output
                                   Output
                                   Output
                                   Output
                                     322

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
Program Name:
DD Name
ECSINPT
ECSOUTP
ECSDIAG
SORTWK01
Program Name:
DD Name
ECSINPT
ECSEMFC
ECSOPTN
ECSOUTP
ECSDIAG
Program Name:
DD Name
ECSINPT
ECSOLMF
ECSOPTN
ECSNWMF
ECSDIAG
ECSTRNL
ECSOLDL
ECSNEWL
SECTION 4.4.2
MASTER FILE MAINTENANCE
PROCEDURE ECEMM10
CSRINTR (EC0050)
File Description
Unsorted internal transactions
Sorted internal transactions
Diagnostic report
Sort work files
CMSEFIN (EC0060)
File Description
Sorted internal transactions
Emission factor file
Option card
Page 2
Release Date: 2/01/80
Update #: A-l

Input/Output
Input
Output
Output
Internal

Input/Output
Input
Input
Input
Internal transactions with insertions Output
Diagnostic report
CFMMSTR (EC0070)
File Description
Output

Input/Output
Internal transactions with insertions Input
Old EIS/AS master file
Option Card
New or updated EIS/AS master file
Diagnostic report
Transaction listing
Old master file listing
New master file listing
Input
Input
Output
Output
Output
Output
Output
323

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4.2
MASTER FILE MAINTENANCE
PROCEDURE ECEMM10
Page 3
Release Date: 2/01/80
Update #:  A-l
4.4.2.4  User-supplied JCL

     To execute the cataloged procedure ECEMM10,  the user must supply job
accounting information, input transactions,  the data set names of both the old
and the updated (or new)  EIS/AS master file  and the emission factor file, and
option cards to specify any desired options.   See Figure 4.4.2-b for a
description of the procedure's substitutable parameters.

4.4.2.5  Sample Run Stream

     The following run stream illustrates the use of ECEMM10 to create an
EIS/AS master file from input transactions stored in a disk  data set named
CN.EPALMH.A087.HQ.AREA.DATA.ECTRANS.   The new master file will be named
CN.EPALMH.A087.HQ.AREA.DATA.ECMASTR1.   The emission factor file name is
CN.EPALMH.A087.HQ.AREA.DATA.ECEMFL1.   No LIST or FLAGW options are specified
for CEDMSTR (EC0040) or CFMMSTR (EC0070); an option year of  80 is used in both
programs.   The options specified for CMSEFIN (EC0060) are NOFLAGW and
insertions for nitrogen,  sulfur, ash,  emission factor, confidence level,  and
pollutant-specific data.

// EXEC ECEMM10,
//      NEWMSTR-ECMASTR1,
//      EMFCFIL=ECEMFL1
//EDIT.INPUT DD DSN=CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECTRANS,
//      DISP=OLD
//EDIT.OPTIONS DD *
80
//INSERT.OPTIONS DD *
NOFLAGW NIT I  SUL I  ASH I  EMISSION I  CONF I  SPEC I
//UPDATE.ECSOLDMF DD DUMMY
//UPDATE.OPTIONS DD *
80
/*
                                     324

-------
EIS/AS SECTION 4.4.
FILE CREATION AND MASTER FILE
MAINTENANCE PROCEDURE EC
2 Page 4
MAINTENANCE Release Date: 2/01/80
:EMM10 Update #: A-l
//* M'ALMH/AOH7 Ml OuM-'F. |H, UUYI) M. f  ! ffHMjAKY 1, I"M(I
//*
//* iHib pidirFOijwt Aii'i'iS IMF nsr K ic r n^ i\
OOnOdcM'O
0 0 0 0 () i 0 0
OOOOOUOO
0(iOO"bOO
oo ')»() MI u
00000 700
It AMI) ,J|A|M|A1N OOOOOnno
//• IMF MS/US MAsu.f FIM mi'Ji; MS/AS TRAMSAI i in* :, 110000900
// *
//*
//(-U'l'ito Ph'ii. PMI.ILC 1 = ' rn.tPftl i"'H. Aoft i . tons.
// ppftr. i=cn)i-':>i h1.
// t'l'UI. ,> = (". SH lull K,
// ppui- 4=t. nsf- 1 i M,
// Hl'llH'l =l> MM 3 1 K ,
// M I, JUPIlr 1 OOK,
// t'f U I UN?= 1 S(IK ,
// tM)WY = lP,
// f ( .'IP = SYSl>A ,
// «HMK3P(;= ' ?0» 1 0 ' ,
// nUl-A
//*
//M)TI MFC lK'[:'^'('ll '1A.SHN flM TKA'-lSAf t !HN;J
//*
//.'•> 1 MJI I l> Oil DR,gA.'Jit-=li,l>l,
// VULHi-'F = (Pt* 1 VA 1 1 ,KMA1I')»
// 1)1 Sf'=fbHH, PASS J
//*
//« I'il'Ml DATA SM - f IS/AS hAMM' flit H'4
//*
//f (;. s | t'JH T Oil I.D.I H if r 1 ,'jt'O 1 ,
// D( rt = t'l K S 1 71 nil)
// *
//» l(H'tl| i)A|rt Shi - 'If'TlII'M I /. ,< r
// »
//r(c;i(p|'i DO i>!' 0 0
0000? 100
oooo;voo
n o n o ? 400
oooo? a do
000()?bO()
0 0 0 0 ? 7 0 o
0|)PO?BdO
00002900
0 () 0 0400 U
00004100
oooo^oo
00003401)
o o o o 3 u n o
oooo ^soo
0 P 0 0 4 h 0 0
00004700
0000 4Vd 0
0000/1000
OOOO'I 1 00
o o o o 'i i1. o o
n IIP o/i 400
DOOo'lUIH)
01)00 /I ',0(1
0000/4^00
01)00 '4 700
N j A 1 I 1 ( 1 >M ^ 0 0 0 I) '1 H 0 0
0 0 0 0 '4 V 0 0
oi) loSonu
HO 10S 1 00
(Ml lO'irMH)
n.) MiS son
110 Hisy (iii
DOOoV-illo
diiilu'inn i)
Figure 4.4.2-a.
                       (Page 1
Cataloged Procedure ECEMM10
                                                of 5)
                    325

-------
CIS/AS SECTION 4.4
FILE CREATION AND MASTER FILE
MAINTENANCE PROCEDURE E(
//*
//* lIUIPliT DA Irt SM - LI.'i/AS ''AS|M> Mil M
//*
//H.SllUtP I1t> OSiJA -If = » «.H> 1 1 H> •
// UN 1 TrU. If -IP,
// i) I SP = ( fit .v , PAoS ) ,
// SPACt = ( (vSPtllN 1 1 f I *. ill IP K 'iP(. ) , WL
// or»= ( Ptci- ''-»• M,LPi_n_ = *•)'>, HLK s I /
//*
//* iiHIPllT «i>TA i,F 1 - I'l AChl'ST IT Ri-P'lHI
//*
//I ( SDI AC I'l) 3Y:;"'II = K,llll|
2 Page 5
MAINTENANCE Release Date: 2/01/80
^EMMIO Update #: A-l
P ii o o s / o o
HPNAl 1 ^AfSAC 1 l!.<3 fi(i(',)S«lio
(tdPiiSVOO
(i ii IMII-.II (Mi
PII oof. loo
OOOOhcMiO
si ) , nooot-ioo
F-=^S7'l) dono^MOP
POOO^SOO
0 0 0 0 h 6 0 ()
0 u Pud /no
OOO.J^RflO
//* lllllPUT PIAIA .SI1 I - 1MHIU Ik.U.SAL 1 I'li-IS IISF1IJC "OP070PO
//*
//(•CSINKL ID S Y S1 I'J T s^lJU I
//*
"0007100
00 'Ml iVO
01)007300
//* rii.llPur DATA SI- 1 - 111! I PUT I.Jlf-^jAL 1 H A'i3-'it F I 'it'S 1 |<:|J'ii- OOP07UOo
//*
//ruitll'FI I'D .SYSI'liF=K,IIUI
//*
//* nlllf'iir DAlA SFIS - SYSIR. HPewATPIiJ
//*
//*
//SYSP^ril DO SYSIItH=K,illl|
//*
//SY S|)i«iHI| 00 SYSIIHTsC 'ID 1
//*
//SY^D I tP'"1 DU jYS'HI' sRiin 1
//*
//SYSIJDUMP DO UYStl'ITsHOUT
//*
//*
//SilM ^K^(, PGMs^PHIII,?,
// Kf- u Ii|M = K'oo
00007 /no
00 Ou /MOO
0 0 0 0/90 0
00" OK 1 0 0
0 0 P 0 V £ 0 0
') (III OH 3P()
OdOOPiJPO
o o n o HS 0 0
(ii)OijflbOo
OOOOH700
OoOoP.HOO
o o o i.i H 9 n o
nyoimooo
000091 00
ooou'JiiOO
no () 09 400
01)009(400
//* S'H- I r|S/Ap= f '(UK , r A.,S )
//'Mi'-'HlH Di) ,).',i. Ai'F =SfS | . ;,ni' Ii In,
// i>TSP= ( SHrt,PASS)
// *
// » ,S. IK1 \iiPK M LI- :>
//*
//Sil^ |.-:KP1 111) lie | T:<, | 1 .11',
// .-.Pftf F =( TW , f -. "uKiv  mi ; ii. | I = ( >. Tl '••'' , ->t P = ;i"i, 1 ir 1 1 ) ,
/ / o t A r 1 - 1 T H K , ( i •• ii > i '• .' (, ) , , ( I ' . ' M I
// *
// SI in 1 'ii f. (M I'l/ ll'l 1 | :. ( N 1 | 't1 , .< i'r ( , li. I v il | , ,u ,
// ;,i nff rM ' " , I v m ' '-!'( ) , ,r .i.'l ii
nooo'1 /oo
ooPu"dno
o o o o 9 9 o o
ooo i noou
POP 1 n 1 "0
OOP 1 fVOO
00010400
000 1 (1140 0
nun i osoo
) oooint.no
POO I n /no
000 1 OHOO
) o (.1 P i o '} n o
POO 1 1 O'tn
1 K I,/ ) ) , ,|,,.| | 1) ,),)
i On" 1) r>no
                                              (Page 2 of 5)
Figure 4.4.2-a - continued.   Cataloged Procedure ECEMM10
                          326

-------
EIS/AS
FILE  CREATION  AND
MAINTENANCE
                                 SECTION 4.4.2
                                 MASTER  FILE MAINTENANCE
                                 PROCEDURE  ECEMM10
Page 6
Release Date:  2/01/80
Update  #:   A-l
    // *   I NCI) I  I)A I A  S) I  - U«HliW I I- D  I '' I I «'-"> I  IIMuSAf. II 'I'1' >
    // »
    //f LSIW1    Dl) II^IM/VMF rK.k.F Dt[F I).
    //               |)I SP = f SHK'.HAtjS)
    //*
    //*   lilllPUl  I1A1A  ,SF I -  bllwTH)  T'v'TfcfoiAI.  | W ANS AC I 1 HNS
    //*
    //iLSni'iP    no DOHA -t =t*3np ir .),
    //               Uf'l I =R tf M',
    //               I'l SP = CMFf.,PASS ) ,
                                               , HLKS I
    //*
    //*   IHIIPlir  DATA  riK I  -  01 ANNUM K RtPii
    //*
    //H SKI A';    no h/suti r = MiH i
    //*
    //*   illllPUT  DATA  bFIS - SYSK--1  (IPhP /• I 1
    //*
    //SySiMJl     Dl) .SV.S'IUI = RIJIM
    //*
            lf'l   Oh SYSMiiTsHilill
// *
//
//*
//SH
//»
//*
//1"
//
//
                      r'l-  i = X('WII(, J,
                      I'l I- Ill'lr^ht- l,ll|li S ,
                      I 1-FrUTi '<». <)
                            MC'IJI-'S  1  III  I f( 1 fc W 'J A L  I f- A'-S AC I I n.
     //*   Ir.'SFNT  Fi'H
     //*
     //S1»-PI  |H    Dl)  DSlvAhl- =K.PKII.It f I . .LilAI;,
     //                WH . IIMI =(P» I VA 1 I- , Hf- I A ll.i ) ,
     //                h toP= ( bHh , I'ASS )
     / / *
     //*   (MI-HI  DAM  se r  -  SIIWIFD  )^ifK!|f.i  r WA J^AT nu" .1
     //*
     //(•(SI'iKl    iii>  I'.ifia -if -t ts'i.-' 1 1 n,
     / /                I ' I 1 V - ( o " « / I ' » S S )
     //*
     // «   I "PI I I  DA U,  Se 1  -  \ I S/ AS  I " I ">,,1 I I'l  I AT | Ilk Ml>
         St- '11- r    "i)  D.Sl.jA
                                      I . .DAT A. < F MF ( f II ,
                                       , *r i i\ i ,j ) ,
     //                !>1 SPr ( ^IIK , (' A.iS
     //*
     // «   i"tni  ,IA i ,1  ••! i   -  nt r i " .
     //(I S |l' I 'I   D.)  ., .,, (, ,| =i IH I Id"'.,

     //                l.f •> - M| f\ >- I >\  -(Ml
                                                                                  HIM) I
                                                                                  i) n n i
                                                                                  0 0 1 I
                                                                                  000 1
                                                                                  nooi
                                                                                             S10
                                                                                             /inn
                                                                                        /no
                                                                                        HOO
                                                                                  00011900
                                                                                  IM)0 1 ?00()
                                                                                  Oil" 1 ? 1 00
                                                                                  0001? $00
                                                                                  1)00 1 ?1 00
                                                                                  000 ]
                                                                                  o o o i ? r o o
                                                                                  0 0 0 1  0 0
             01(011600
             0 0 0 I (I / 0 0
             0 0 0 I /| n 0 0
             0 0 0 1 '19 0 0
             0 0 0 1 S 0 0 0
             0 0 0 1 S 1 0 o
             o tj 0 1 s f n o

             fi 0 0 1 'i 'I 0 0
             0001SS00
             000 1=1800
             o o o i s t o o
             0001 SHOO
             1II 0 1 S <) 0 i)
             0 0 0 1 >> 0 0 0
             0001M 00
             000 I 'i^O i)
             0 0 0 1 h i 0 (
             'Illp 1 >,4 (II
             f! 11 ft \ f^ ', 11 (
             TOO 1 >,b
-------
EtS/AS
FILE CREATION  AND
MAINTENANCE
                                SECTION  4.4.2
                                MASTER FILE  MAINTENANCE
                                PROCEDURE ECEMM10
                                                                   Page  7
                                                                   Release Date:  2/01/80
                                                                   Update #:   A-l
//*
//(
//
//
     HlllPUl  OATlV  lit I  -  IMIFrtMAI  Ti(A,Jr,Af I liliJS

    S'IHI P   r>|>  uS'viA «i| =« TKA.MS,
                 uMt t=f. IF .IP,
                 i;T.SP = f 'If A, PASS) ,
                 SPAH =(X.;,"l.llfin , (*.'t
//*
//S
//•
             on  sYsi)iiT=K,i)in

             Oi)  SY;,iniT = K.HIJ I
//.
           FXFC
             F-IS/AS

             no
     //
                      VML I
                                  F 1 1>  n->f. ,  1 !

                                   itr i . .1 uuo,
                                 i VAIL , I'M A| IJ ) ,
//*
//*   I'JPHT DA1A SIT  -  hIS/A.S
                                             F[IK iNJFKilAI. I R A iSAC I [(!• S
                       I ,'JP= ( tiHK, PASS )
                                          :,  -\A;iII-V (• 1 1  t
//
//*
//*   ir-JKill  DATA St r  -  INP'IT
//*
//FCSill i-iF    1)1' DSuA'-'F- =\pi<|i l| ' I . .i.n I A . '.: \\_li, i'i I t-
//               VIH II, H = ( r>l> 1 V A 1 h , l-'l  I'M1-),
//               i) rsp= f sit-*,i'A,,S)
     / / ^ ( '; 1 1 n I ' i    i ' 1 1  1 1 1 > is A " I = 1 1 r I 1 u M s ,
     //               .ir!' = ni>'.i n - '""i
     //»
     // <   inlTPuT  mi T A ,,h I  -  if 1 1 nil  I |  ,/ n.,  ••, f j I f •'  Mil
     //
                      1 1 si.. A' t =>.P'• -H.^t I' 1 .1  I ,
                                                                                      00017000
                                                                                      0(M) 1 7 1 00
                                                                                      000I7^M>0
                                                                                      ouoi7OU
                                                                                      0 (] 0 1 7 7 I) 0
                                                                                      0001 /M0()
                                                                                      o o o i 7  n n
                                                                                      OllO^I i'MI
                                                                                         
-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                              SECTION 4.4.2
                              MASTER  FILE  MAINTENANCE
                              PROCEDURE  ECEMM10
Page 8
Release Date:  2/01/80
Update #:   A-l
//*
//*
//*
//*
//*  .I
//*
//»
//*
//*
//S
//*
//S
//*
//S
//*
     //*
     //*
//              nf'i r = M ""ANY , <.°>| f UOI'Y ) , HI it)
//'
//«  tlUfl'ilT  DATA  ;SF I - I) 1 AO.'I'IH f 1 f  "ffuKf
//*
//K,SI)IAf;    (HI  SYSlMjT = li.i)M|
//*
//*  illMPUT  liAFA  :if I - INItHHAI  T WAJSAC I llJM.s  IISIIJU
//*
                                           FJ1J
                                            ( \\_ u n c1 1 v o o
                                                                                 I") fir' 'ID 01)
                                                                                 Oilf
                                                                                 n n  r? 'I »•> 0 I)
                                                                            n (/ o t> a / n o
                                                                            o o n ,"4 H o o
                                                                            o o n 
-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                  SECTION 4.4.2
                  MASTER FILE MAINTENANCE
                  PROCEDURE ECEMM10
                          Page 9
                          Release Date: 2/01/80
                          Update #:   A-l
Parameter
  Name
    Default
     Value
        Description
PROJECT
'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROG1
PROG2
PROGS
PROG4
REGION1
REGION2
REGIONS
REGION4
TIME1
TIME2
TIME3
TIME4
OLDMSTR
NEWMSTR
EMFCFIL
UNIT
CEDMSTR
CSRINTR
CMSEFIN
CFMMSTR
100K
150K
100K
100K
'1,0'
'1,0'
'1,0'
'1,0'
ECOLDMST
ECNEWMST
ECEMFFIL
3330
SERIAL
DISP
CDHSPK

'NEW.CATLG,
DELETE1
Highest-level index of data set names (e.g.,
CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECNEWMST would
be the full data set name of the new master file)
Master file transaction edit program
Master file internal  transaction sort program
Master file internal  transaction emission
factor insertion program
Master file maintenance program
Region size allocated for execution of CEDMSTR
Region size allocated for execution of CSRINTR
Region size allocated for execution of CMSEFIN
Region size allocated for execution of CFMMSTR
Time allocated for execution for CEDMSTR
Time allocated for execution of CSRINTR
Time allocated for execution of CMSEFIN
Time allocated for execution of CFMMSTR
Lowest-level index of old master file
Lowest-level index of new (or updated) master
file
Lowest-level index of emission factor file
Unit type to which new (or updated) master file
is to be written
Serial number of volume to which new (or updated)
master file is to be written
Disposition of new (or updated) master file
                                                         (Page  1  of 2)
             Figure 4.4.2-b.   Substitutable Parameters  for ECEMM10
                                     330

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
              SECTION 4.4.2
              MASTER FILE MAINTENANCE
              PROCEDURE ECEMM10
                          Page 10
                          Release Date: 2/01/80
                          Update #:  A-l
Parameter
  Name

SPCUNIT

PRIMARY

SECNDRY

TEMP
WORKSPC
OUT
Default
 Value

TRK

20

10

SYSDA
'20,10'
A
        Description

Units in which space for new (or updated) master
file is to be allocated
Primary space allocation for new (or updated)
master file
Secondary space allocation for new (or updated)
master file
Unit type for temporary work space
Space allocation for sort work areas
SYSOUT class for all print files
                                                         (Page  2  of  2)
       Figure 4.4.2-b -  continued.   Substitutable  Parameters  for  ECEMM10
                                     331

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
 SECTION 4.4.3
 MASTER FILE MAINTENANCE
 PROCEDURE ECFMM20
Page 1
Release Date: 2/01/80
Update #:  A-l
4.4.3  MASTER FILE MAINTENANCE FROM NEDS TRANSACTIONS  -  ECFMM20

4.4.3.1  Description

     The cataloged procedure ECFMM20 allows  the user to  edit  and  convert  NEDS
transactions, insert emission factor information into  the  converted internal
transactions, and update (or create) the EIS/AS master file.   This  procedure
executes the NEDS to EIS/AS master file transaction  conversion-edit program,
CCENETR (EC0030); the master file internal transaction sort program,  CSRINTR
(EC0050); the master file internal transaction emission  factor insertion
program, CMSEFIN (EC0060);  and the master file maintenance program, CFMMSTR
(EC0070).

4.4.3.2  JCL Listing

     See Figure 4.4.3-a for a listing of this procedure.

4.4.3.3  Cross-reference of DD Names and Files
     Program Name:  CCENETR (EC0030)
       DD Name
File Description
   Input/Output
       ECSINPT
       ECSOPTN
       ECSOUTP
       ECSDIAG
       ECSINPL
       ECSOUTL
NEDS transactions
Option card
EIS/AS internal  transactions
Diagnostic report
NEDS transaction listing
Internal transaction listing
       Input
       Input
       Output
       Output
       Output
       Output
                                     332

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
Program Name:
DD Name
ECSINPT
ECSOUTP
ECSDIAG
SORTWK01
Program Name:
DD Name
ECSINPT
ECSEMFC
ECSOPTN
ECSOUTP
ECSDIAG
Program Name:
DD Name
ECSINPT
ECSOLMF
ECSOPTN
ECSNWMF
ECSDIAG
ECSTRNL
ECSOLDL
ECSNEWL
SECTION 4.4.3
MASTER FILE MAINTENANCE
PROCEDURE ECFMM20
CSRINTR (EC0050)
File Description
Unsorted internal transactions
Sorted internal transactions
Diagnostic report
Sort work files
CMSEFIN (EC0060)
File Description
Sorted internal transactions
Emission factor file
Option card
Internal transactions with inserti
Diagnostic report
CFMMSTR (EC0070)
File Description
Page 2
Release Date: 2/01/80
Update #: A-l

Input/Output
Input
Output
Output
Internal

Input/Output
Input
Input
Input
ons Output
Output

Input/Output
Internal transactions with insertions Input
Old EIS/AS master file
Option card
New or updated EIS/AS master file
Diagnostic report
Transaction listing
Old master file listing
New master file listing
Input
Input
Output
Output
Output
Output
Output
333

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4.3
MASTER FILE MAINTENANCE
PROCEDURE ECFMM20
Page 3
Release Date: 2/01/80
Update #:  A-l
4.4.3.4  User-supplied JCL

     To execute the cataloged procedure ECFMM20, the user must supply job
accounting information, input transactions, the data set names of both the old
and the updated (or new) EIS/AS master file and the emission factor file, and
option cards to specify any desired options.  See Figure 4.4.3-b for a
description of the procedure's substitutable parameters.

4.4.3.5  Sample Run Stream

     The following run stream illustrates the use of ECFMM20 to create an
EIS/AS master file from input transactions stored in a disk data set named
CN.EPALMH.A087.HQ.AREA.DATA.NEDTRAN.  The new master file will be named
CN.EPALMH.A087.HQ.AREA.DATA.ECMASTR1.   The emission factor file name is
CN.EPALMH.A087.HQ.AREA.DATA.ECEMFL1.  No LIST or FLAGW options are specified
for CCENETR (EC0030) or CFMMSTR (EC0070); an option year of 80 is used in both
programs.  The options specified in CMSEFIN (EC0060) are no FLAGW and
insertions for nitrogen, sulfur, ash,  emission factor, confidence level, and
pollutant-specific data.

// EXEC ECFMM20,
//      NEWMSTR=ECMASTR1,
//      EMFCFIL=ECEMFL1
//CONVERT.INPUT DD DSN=CN.EPALMH.A087.CDHS.HQ.AREA.DATA.NEDTRAN,
//      DISPOLD
//CONVERT.OPTIONS DD *
80
//INSERT.OPTIONS DD *
NOFLAGW NIT I  SUL I  ASH I  EMISSION I  CONF I  SPEC I
//UPDATE.ECSOLDMF DD DUMMY
//UPDATE.OPTIONS DD *
80
/*
                                     334

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4.3
MASTER FILE MAINTENANCE
PROCEDURE ECFMM20
Page 4
Release Date: 2/01/80
Update #: A-l
//*
//*
// *
//»
//*
//*
//*
//*
//*
                    firt''i :  I CF •-
               M LF i/f-L:  l-oo
         ,M UPl.AIf  *:  A-l
         , FF IJUIHF
       THT:,  pwuu
       F
 Al Lt'rtS  IMF  lliiF4  |H fnFAU
Flit U"|f'G liF-OS  TWA'M.i&C I IONS
                                                               "A I N I A J N  I Hf
                   PKU.IFC I rTM.FPAl i-iM. AOHf.CHHS.HM.APt A ' ,
                   F't'lir.1 rLCtMl Trf ,
                            SF FIN,
                   WE i
                   KF i, I nN« = i OOK ,
                   n f F: i = • i, o •,

                   I JMF_S=' 1 ,0' ,
                   I J*'F«=' 1 ,0' ,
                            «>,
                   sf KT«i=r
                   l;1 SI'r ' M *,I,A 11.1., DFLF If. ' ,

                   PK J (''AI?Y =?0»
                   v>f C'MDPY = 10,
                           = ' ?l>, 1 n • ,
                   OUI=/
             FXF(
                   lif (, ] UfJrK,in 1, I II'H ,
                   1 1'iF r (>, t Iftl )
      F HI F  MAS |F h  F 1 LI

      - PI 1H
                                    1  III l.i
 //*
 / / *
 //F (
 // *

 //*
                   |iSN6t \ rVPlMl.If I'. I . . I. llAll,
                   V'lLH/. f z ( I'FM VA I I , lif 1 A l'i ) ,
               A | A  lU 1  -  uE P.'i  I 'V.1" .iAI. I III IS

               (>D ur.NA. F - TmF':i r,


               A. | A  ^F I  -  Ml- f lu,i  ( A"''
Onoiio 1 Oil
00 "1)0/0 0
OiiOdO ^00
OilO i) 0/1 Oil
no ondsno
0 n 0 0 0 r>0 ii
o o (i 0 n / o i/
OOOOIIMOO
0 i; 0 0 0 'V 0 0
01)001 000
00001100
OOOw 1 20 il
o o fl o i i n o
ooo o i 'too
o o o o i s o o
0 0 fi 0 1 6 0 0
00001 / 0')
n o o v i 8 o o
(I (i 0 0 I V 0 0
0 0 0 0 'f 0 0 0
ooo,)? i on
                                                                                        0 0 0 0 ? .S 0 ii
                                                                                        0 0 0 0 ? '4 0 0
                                                                                        OoOO?SO(l
                                                                                        OOOOPbOO
                                                                                        onOOP /oo
                                                                                        0 (i 0 0 3 00 (I
                                                                                        0000 il00
                                                                                        000(1 ^r?OO
                                                                                        oooo Vino
                                                                                        00 On V400
                                                                                        n n n o 'i S n (i
                                                                                        o (i fi o 3 h n (i
                                                                                        0 u 0 H 3 7 0 u
                                                                0000 '
                                                                0 0 0 0 'I 0 0 0
                                                                0 0 0 »/i 1 0 i)
                                                                f1l|0(MJc?0(l

                                                                o o o,) n u o o
                                                                fill Mi (IS dO
                                                                     'j a o u


                                                                0 n (I ( r^ 1 (i U

                                                                oiif>nr son
                                                                         (Page  1 of
                 Figure  4.4.3-a.    Cataloged  Procedure ECFMM20
                                                                                        5)
                                             335

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                                   SECTION 4.4.3
                                   MASTER  FILE MAINTENANCE
                                   PROCEDURE  ECFMM20
Page  5
Release Date: 2/01/80
Update #:   A-l
   //*
   //»
                 DA I A sf I  - fih/AS >«AS|fn Mil   infH'u/>L  II-'AM.S'U. 1 1 nu.s
                 PO I) SNAMh =K.n
                    IM-il I =< If ..if,
                    i)i:,P=f 'Jt •• ,CASS) ,
                    ,'jPAC.t Mfi.'SIH 'M I  r , (
                    IK H = (Nhf>
   //*
   //*
//*
//»
//*
                 DATA MT  - [)I Afi'iribl 1 T PLPUM

       soiAf;    'IP pvjifnji = 4init

         III)!POT  DATA hi- I  - MDS iiIS«P U IINb  I. I Ii I I "U
//*
//*
//*
                      srrs -  sy

                 Hi) SYSHlll =K.I(lir
   //*
   //*
   //*
//*
//«
//*
/VM
//
//
             't   on svs'io? -K.IIII i
              Fvf-L Pl.h =K,Pkdf;?,
                    Kf (-luM = Rh'f li lll'V,
                    I \t-t =( X.1 I Mt ,->)
            i  i IS/A,-,
                               FIO  if'?(""'U-  Ti| VA 1 ( ,I I . 'iHt, It I o,
                    ') I SI'r ( -il'K, I'ft.S1^ )
                      It
      1 :M\()
   / /
                 no H'j i i = f \ i ^ •')• , ;.f p-:->"r> i ih ,i i j .
                    ,>r/if h = I  I nr , ( *. MI^C, 'if-T ) , , r i|i I I 1 1, )

                 III' llr ] I - ( •. I I 'i (', :,! I'r ( 'in" I . ., .1 | , jill I
                     .'•«( I = (  I M- , ( ,• • i '  \ - I
                                                                                          i)S 70(1
                                                                                      oon i
                                                                                   000 (If, .
                                                                                         /Oil
            P I) 0 0 7 (I 0 I)
            o ii r. i; 7 1 n it
            0(i 00 7 1? 01)
            lynn 7 4 no
            OuOO 714110
            000 i) 7S 00
            ooo ii "/ft oo
            oooo 7700
            0 0 ') 0 7 H 0 0
            Oy On 79(10
            0 0 0 (i R 0 0 o
            0 0 0 0 H 1 0 o
            00008^00
            0 0 0 1) R } 0 0
            0 ijO Of oOo
                                                                                      000((H /III)
                                                                                      IMlOHMHOO
            oooovooo
            0(|0o9 1 0(1
            0 O 0 0 "5 <•> 0 ()
            ooou'j 50(1
            oooo'Jiioo
            100||' :t ii
            0 1)0 '/9'HlO
            0 0 0 I 0 0 '1 ()
            0 (i 0 1 (i 1 flu
            "00 1 f',Ml
-------
EIS/AS SECTION 4.4.
FILE CREATION AND MASTER FILE
MAINTENANCE PROCEDURE EC
//•
//» |fJf'Ul DMA SIT - UNSDWIF-I p'tM'NAi ru
// Hi i)Pr ( SHK, IJA:>S )
//*
//» IHMF'ni ItAIA oM - SI'F'IH1 INllKNAl M'A
// *
//F-LSdH I'J IMi DSuAr F =KX,SitME Ii,
// u"(l 1 = t 1 F HI',
// l> 1 Sl> = f Nf- .i, t'A.S^ ) ,
// SF1 \( 1 = ( <;ilM:' 'ii I , ( < VilHK.si'i. ) ,
// i>r rt= i"i ri- **=»• i- ,i Hi.ri_= >l>, tsi K'I
// «
//* iimiMii DATA SF- I - i>T Afjun.si ir (•MPHWI
//*
//M.SDIAH CD 3 Y SIHI T = &ijl) 1
//*
//* MUTF'MI pAlA SMS - SY.ilf* i IHI i< A I 1 1 |M
//*
//SfSfHH UK SYSHOT =*iin l
//*
//S>Si'H|'U |l(i SYSddl = X.i)tM
//*
//S YSDHIHI I I'll SYSHiirrMJl'l
// *
//srsoTf-.Ki"' no .srsnu r = «.i)iM
//*
, //^Y Simil^F' Du SYSIMIT -Kllll I
//»
//«
//I^SF-IM F x[ C I'f.MnwHK'ir, \ ,
// t<( U 1 ilti = K.i i> DSiJA "t =X.n5iil-M F i, ,
// 1- I M'= ( ^"l< , l'A:.'i )
//*
//* IMMM I)A|A ;U T - I-I^/A,, h .-USStllN FAT
// *
//f- 1 '->i ViF r no DSwAi-'t =iijwi i,ti r i . . •!« i a . '. f " F i
// \/"l M'-'F -(("•' 1 V« 1 t ,hf 1 A I 'i ) ,
// P 1 .)( = ( ,illi<, t'A,,^ )
// *
//< I'.PMI HA(A SF I - ill-till,. l.Ai-?"
// »
//I ( M>l' I J PD H'liiA • F ^i h' M II- is ,
// M liri I f ': | /( r -t'l
3 Page 6
MAINTENANCE Release Date: 2/01/80
FMM20 Update #: A-l
n.M.i too
AJSA( 1 I IHv J Oi,0 '100
fino /no
(Hi 0 H On
'('jA(. I [ H'.iS 0"0 1  40i|
1' L S F ) , 0 o 0 1 f n 0 0
1 /I- :^S /'I) 0-10 1 ? jrn
0(10 1 ?hOil
0 0 (i 1 7 1 0 0
000 1 ,>l)00
0(lO 1 ^VOO
OU 0) 5000
0001 ?1 0(1
000 1 'V(M)
000 1 ^.^00
000 1 V400
Ov>0 1 J'^OO
0 (JO 1 T, ()0 0
0 ,) 0 l 5 / 0 0
0001 ^MOO
OO'i 1 WOO
ouo i 'toon
OHO i /i i r>\i
000 1 flr'OO
ooo i u j oo
o u o i '4 'i o 0
(Kjoi'isou
0 0 0 1 t| 1) 0 0
o u o i 't / o o
1 MA'J.'iAL T 1 IHJ'i OUOI'IMOO
0001 '1 v 0(1
Odd ISO 0(1
o o o ) s i o 0
o o o l S c1 r, o
0 0 0 1 S 6 f- 0
SA< t TU'vIS 000 1 ',.400
000 iSS'di
0 1 1 0 1 S (> 0 0
n.jfi 1 S ?'io
On 01 SHOO
(IK F 1 1 F '")0 1 S--*0(j
0 0 0 1 l-ti) 0 0
III, 0 o 0 M 0 0
OllO fir1 00
OnO I. Soil
OllO fit) Oil
OiiO ?. •} 0 ,1
oiiO *> ^ o ii
doo >>/r, „
'"M 1 f 1 ^ l> A U
Figure 4.4.3-a - continued.
                 (Page 3 of
Cataloged Procedure ECFMM20
                                                         5)
                          337

-------
EIS/AS SECTION 4.4.
FILE CREATION AND MASTER FILE
MAINTENANCE PROCEDURE EC
„
XX
XX
,
* OUtPUt OA1A SM - IfJIFriNAI 1 K ANJirtC 1 1 1^
*
XXICSlHMP I'D (I'lHA'lh =*< TKANS,
XX
XX
XX
XX
XX
XX
XX
UK i frii, 1 1 MI*,
|it,Sf'=(ut-;i »iii 0 1 0 0
XX
XX
Vf)|_1'"''F-:=(P1?IVA!hr!''^ !A1'I)P
^(^^^(SHWff'ASH)
0 0 0 d 0 2 0 0
1)00^0 500
XX*
xx*   ini'iit  |)A|^  sir  -  MSXAS I-'AHTKK  f-nt  i"j|f«MM
XX*
XXf-I.S|NcT    00  niiiM'lt =nnMi>'- f .>Hi~ , IJA  iS )
OAIA  si i  -  nt'tin.) f, />ki

 in1  nOijA.-H =irc T i n\ s ,
//»   li'
XX*
x/fi."i)P
XX                iint = .i i = ( ('i,' i v.i II , ff  I i I i, 'n r. - \ 'it  " I , I  ) ,
           Figure  4.4.3-a  - continued.   Cataloged
                                                                         (IllOr'OHOO
no «2 1 oo n
HO 0^1 100
••> 0 T ? 1 d 0 »
o 1 1 n r< i 5 ii o
n o n ^ i /i o o
no iv I 'j ii n
O(M>
-------
 EIS/AS
 FILE  CREATION AND

 MAINTENANCE
                                   SECTION 4.4.3
                                   MASTER FILE MAINTENANCE
                                   PROCEDURE  ECFMM20
Page  8
Release Date: 2/01/80
Update #:   A-l
//
                (IH I TrMIN f T ,
                              T ,
//*
//*  UDTPUI DATA  SM  -
//*
                                K
//*
//*  HlirPUT  HATA  3M  - INIFKNAI.  I M »NSAC I I I/NS
//*
//FCSIWiJI     f)f)
//*  UUH'UT  OATA  SF I  - 1NPM1 cASltW  F [ I f-
//*
//K.SIILDL    r>o  SYS'HII = R.IHM
//*
//*  ilUH'UT  DATA  Sf- I  - (.I'M Pill MflSIFH  F1LF
//*
//FCStJFJWl    111)  SYSIUJT=«,IJI)I
//*
//*  IllllPlir  DATA  SfIS  - t!Y.StF^ UPfAlI'lN
//*
//srsnui     on  sYsnuT=*ijii|
//*
     HWjMf   1)1)
//*
//SY
//*
//SYSpTtl.'f-   01'  .S
//*
//S I SljI'liMP   1)1)  SYSlltJ 1 =ttl)H I
//*
//*
                                                                                 too
                                                                           o o n ^ ? « oi)
                                                                           nun ^5 100
                                                                           0 1) 0  i i n 0
                                                                           Olid^ 46 f, 0
                                                                           ooo? }/no
                                                                           n n o 1 1\ i o o
                                                                                n on
                                                                           n o i) ^ a s fi (i
                                                                           " o o r1 'i 6 1) o
                                                                           0 ill) t"i 701)
                                                                           00S JIM)
                                                                           n y n ^ s it o o
                                                                                   i)
                                                                    (Page  5  of 5)
              Figure  4.4.3-a -  continued.   Cataloged Procedure ECFMM20
                                            339

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
                  SECTION 4.4.3
                  MASTER FILE MAINTENANCE
                  PROCEDURE ECFMM20
                           Page  9
                           Release  Date:  2/01/80
                           Update #:   A-l
Parameter
  Name

PROJECT


PROG1
    Default
     Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1

CCENETR
PROG2
PROGS
PROG4
REGION1
REGION2
REGIONS
REGION4
TIME1
TIME2
TIMES
TIME4
OLDMSTR
NEWMSTR
EMFCFIL
UNIT
CSRINTR
CMSEFIN
CFMMSTR
100K
150K
100K
100K
'1,0'
'1,0'
'1,0'
'1,0'
ECOLDMST
ECNEWMST
ECEMFFIL
3330
SERIAL     CDHSPK

DISP       'NEW.CATLG,
           DELETE1


             Figure 4.4.3-b.
           Description

 Highest-level  index  of data  set  names  (e.g.,
 CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECOLDMST  would
 be the full  data set name  of the old master file)
 NEDS to EIS/AS master  file transaction
 conversion-edit program
 Master file  internal transaction sort  program
 Master file  internal transaction emission
 factor insertion program
 Master file  maintenance program
 Region size  allocated  for  execution of CCENETR
 Region size  allocated  for  execution of CSRINTR
 Region size  allocated  for  execution of CMSEFIN
 Region size  allocated  for  execution of CFMMSTR
 Time allocated for execution for CCENETR
 Time allocated for execution of  CSRINTR
 Time allocated for execution of  CMSEFIN
 Time allocated for execution of  CFMMSTR
 Lowest-level index of  old  master file
 Lowest-level index of  new  (or updated) master
 file
 Lowest-level index of  emission factor  file
 Unit type to which new (or updated) master file
 is to be written
 Serial number of volume to which new  (or updated)
 master file  is to be written
 Disposition  of new (or updated)  master file


                           (Page  1 of  2)
Substitutable Parameters for  ECFMM20
                                     340

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
              SECTION 4.4.3
              MASTER FILE MAINTENANCE
              PROCEDURE ECFMM20
                          Page 10
                          Release Date: 2/01/80
                          Update #:  A-l
Parameter
  Name

SPCUNIT

PRIMARY

SECNDRY

TEMP
WORKSPC
OUT
Default
 Value

TRK

20

10

SYSDA
'20,10'
A
           Description

Units in which space for new (or updated) master
file is to be allocated
Primary space allocation for new (or updated)
master file
Secondary space allocation for new (or updated)
master file
Unit type for temporary work space
Space allocation for sort work areas
SYSOUT class for all print files
       Figure 4.4.3-b -  continued.
                                          (Page  2  of  2)
                     Substitutable Parameters  for  ECFMM20
                                     341

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
    SECTION 4.4.4
    MASTER FILE MAINTENANCE
    PROCEDURE ECFMM30
  Page 1
  Release Date:  2/01/80
  Update #:;   A-l
4.4.4  MASTER FILE MAINTENANCE FROM EMISSION FACTOR TRANSACTIONS -  ECFMM30

4.4.4.1  Description

     The cataloged procedure ECFMM30 allows the user to create or update the
EIS/AS master file using transactions generated from the emission factor file.
Thus, when updates are made to the emission factor file, ECFMM30 can be
executed to update the emission factor data in the master file.   This
procedure executes the master file emission factor transaction generator
program, CMSEFGN (EC0080); the master file internal transaction sort program,
CSRINTR (EC0050); and the master file maintenance program, CFMMSTR  (EC0070).

4.4.4.2  JCL listing

     See Figure 4.4.4-a for a listing of this procedure.

4.4.4.3  Cross-reference of DD Names and Files
     Program Name:  CMSEFGN (EC0080)
     DD Name                File Description
     ECSMSTR
     ECSEMFC
     ECSOPTN
     ECSINTR
     ECSDIAG
EIS/AS master file
EIS/AS emission factor file
Option card
Internal  transactions
Diagnostic report
Input/Output
   Input
   Input
   Input
   Output
   Output
                                     342

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
        SECTION 4.4.4
        MASTER FILE MAINTENANCE
        PROCEDURE ECFMM30
Page 2
Release Date: 2/01/80
Update #:  A-l
     Program Name:

     DP Name

     ECSINPT
     ECSOUTP
     ECSDIAG
     SORTWK01
CSRINTR (EC0050)
       File Description

  Unsorted internal  transactions
  Sorted internal  transactions
  Diagnostic report
  Sort work file
Input/Output

   Input
   Output
   Output
  Internal
     Program Name:  CFMMSTR (EC0070)
     DP Name

     ECSINPT
     ECSOLMF
     ECSOPTN
     ECSNWMF
     ECSDIAG
     ECSTRNL
     ECSOLDL
     ECSNEWL
       File Description

  Sorted internal  transactions
  Old EIS/AS master file
  Option card
  New or updated  EIS/AS  master  file
  Diagnostic report
  Internal  transaction listing
  Old master file  listing
  New master file  listing
4.4.4.4  User-supplied JCL
Input/Output
   Input
   Input
   Input
   Output
   Output
   Output
   Output
   Output
     To execute the cataloged procedure ECFMM30,  the user must  supply job
accounting information; the data set names of the old master file,  the updated
master file, and the emission factor file; also option cards to specify the
desired options.  See Figure 4.4.4-b for a description of the procedure's
substitutable parameters.
                                     343

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
SECTION 4.4.4
MASTER FILE MAINTENANCE
PROCEDURE ECFMM30
Page 3
Release Date: 2/01/80
Update #:  A-l
4.4.4.5  Sample Run Stream

     The following run stream illustrates the use of ECFMM30 to update the
EIS/AS master file named 'CN.EPALMH.A087.CDHS.HQ.AREA.ECMSTR1', using the
EIS/AS emission factor file named 'CN.EPALMH.A087.CDHS.HQ.AREA.ECEMFL21.   The
new master file will be named 'CN.EPALMH.A087.CDHS.HQ.AREA.ECMSTR21.   The
specified category date for CMSEFGN (EC0080) is 79340; the pollutant  date,
79340.  An option year of 79 is specified for CFMMSTR (EC0070).  Warning
message suppression is specified for CMSEFGN (EC0080) and for CFMMSTR
(EC0070); no LIST option is specified for CFMMSTR (EC0070).

// EXEC ECFMM30,
//   EMFCFIL=ECEMFL2,
//   OLDMSTR=ECMSTR1,
//   NEWMSTR=ECMSTR2
//GENER.OPTIONS  DD *
NOFLAGW     CDAT 79340     PDAT 79340
/*
//UPDATE.OPTIONS   DD *
79
/*
                                     344

-------
EIS/AS
FILE  CREATION AND
MAINTENANCE
                     SECTION  4.4.4
                     MASTER FILE  MAINTENANCE
                     PROCEDURE ECFMM30
                                    Page 4
                                    Release Date:  2/01/80
                                    Update  #:   A-l
//*  F F'Ai MH/MIH 7 Htl'i-H'tlH,  Li-(iYi> M.  fy|«) sm-S'Cvi
//*
//*    I'KflLFIMIKF  IJAMt :  fLFciMJO
//*    ft. Visuifi LF. VFL:  l-oo
// •    i AS i  IIPDA i r  u :  A- i
//*    I)«IF  I NfJlKPlil'h IF I):  FHUVtlAKY 1,  1 C>.'U)
//*
//+    1 H1 8  I'MiH't PIII-'F  ALUl.ilR IllF  USFH  |li MAINIAIM  I Fit  fc.T:s/AS
// *    MA SI ri'  F I LF  tly t N(>  1 !>' TH'NAL  fc M I SS I DM F AC 11"-1  I !•* A..IS A (. 1 1 f if)S
//*
//FLF'-iN'^o F'knr:
r t = TN.F_F'At il'.AOP/.CnHS.tllJ. AKt A ' ,
                 ivr GTH'Ii = t OOK ,
                 h F'l, I IHV= 1 Soh ,

                 1 IMF 1 = ' 1 ,(>' ,
                 I IMF ^r' 1 ,"' ,
                 I If't 3=' 1 ,0 • ,
                 FT/FTF IL=Ff( MFF II ,



                 SFk I AL rCI'HSF'h ,
                 I)IS(»='NF,.,I A |l,ii,UF LF IF ' ,
                 IF
           F XF L
//*
//*   (,FNF«AIF  F. IS/A.v  j(i|Fwg«l  F "''I Ii S I ( I'M  ^r^^.]^\f< TlfAiJ-SAfF
                              .!( f 1 . .LllAI),

                 l) I ,Sf'=( SUM,HASP )
                   SI I  -
                                 t i> I SSUl'l  F «C I ill'  F ILF
/ / *   I N' l' I U  I'
//»
//FlSfcf'Fl     Dl) USllA "I- rXPI'n ?Kf I . .HA I A . <. f ,.|F (.F H ,



//*
/ / *   I ' i F' U I  I: A I A  '•'. F r - F I'. / n ,.  • ^ S I F i.  F I L F
//*
// I ( S IS I U    H| I ('•!,«/. I'F =V.»'l.'il.iF-_( I . .I'n I f> . vdl I) IS I l' ,
//               l/lll M.'iF = ( f'lrf I V« I t , |. I | ''- )
                                                            OOOdO I 00
                                                            000 i|P poo
                                                            nuti00 400
                                                            O <) 0 0 0 1| 0 0
                                                            OU'i'iObdO
                                                            o o i o o r o o
                                                            0 (/')() 0 8 0 0
                                                            (Hintiovoo
                                                            ooooiooo
                                                            oiioo l loo
                                                            0 0 0 0 1 i 0 0
                                                            noooiuoo
                                                            o o o o l s o o
                                                            0 (ift U 1 6 o 0
                                                            'l 0 0 0 I 700
                                                            H(i do 1800
                                                            (I n 00 I VOO
                                                            (I0dl/?00(l
                                                                  I 00
                                                            (KlOOPiOO
                                                            nooo?yno
                                                            Oii0i)^6d0
                                                            0000? /Oil
                                                            0 0 0 0 3 U 0 0
                                                            d no (Ml do
                                                            nnnoi^nn
                                                            00003300
                                                            0000 J400
                                                            00003SOO
                                                            0000 5600
                                                            0 0004/0 0
                                                            oono 48oo
                                                            COOU 5901)
                                                            OOd 0/400(1
                                                            o o o o a 11 o
                                                            (i OlltHlif 0 0
                                                            00(10 fl 30 I)
                                                            n i) d i) /i 4 o o
                                                            no onuson
                                                            n o n o /i / o n
                                                            OOOOUMIIII

                                                            0(iOllSi;0 (I
                                                            OOP OS I on
                                                            I ,!(' ()S/40ll
                                                            'iiioossnn
                                                           (Page  1 of 4)

       Figure 4.4.4-a.   Cataloged Procedure ECFMM30
                                 345

-------
E1S/AS
FILE  CREATION  AND
MAINTENANCE
                                SECTION  4.4.4
                                MASTER  FILE MAINTENANCE
                                PROCEDURE  ECFMM30
                                                                       Page 5
                                                                       Release Date:  2/01/80
                                                                       Update  #:   A-l
//*   KJ^ill  I)A|A JUT.-  Ht'TlOU  CAKI)
//*
//Fl.SIII' I I!    Ill)  iH'NAMt rdtMlflN.S,
//                i>rn = H.*-Sl /F =HO
// *
//*   IIIIII'IIT DAlA SM  -  M:-i/AS l-lltl'UAI. hMS.'iJUFI  FACI'lw  I I- A'JS AC I 1 1 INS
      //
//*   HUIfH'T f'AIA  .ST I  -  01 rtUNOST J f.  RtPilWI
/ / *
//FLSIjFAi;   111) bYSIH)T = *Ul)|
//*
//*   ilMU'UI I>AT«  Sf IS  - r-VSU  'I  Dt-'t^rtT MM1
              I'D OSM/ihh =K,n I
                  UN I 1 = fUF Mf>,
                  HI Sf-'rOll'i'i, CAoP) ,
                  JiPAffr (KSI'( UUI I ,
/ / *
//S
/ / *
//s
//*
         IMI   00 oYSMUI=»C(Mll

               nn r,Y,sM(ii = U U'
/ / *
//*   SilhT F IS/AS  INIFKMAI
      //
      //
//
// *
//*   SOI, I
//SI I'-' I » V 0 I    IM; I'll) 1 rri I F '-M,
//                t,(-'fll (. = ( 1l,K , f X'
// *
//SllH I «H 0,'   "n HfJ I T= ( < I t 'U>, ,SF t'r;;i'l< TfiK II I ) ,
//                M'Af ». = ( IK* , t •.•Mil'Kr.Pf ) , , f 'I' |I(,1
// *
// <|i-' I ' r " ^   i'l> ("• 1 1 - ( '. II  •!', .->' tj = ( oiM' I .• i\ o 1 . SUN I .(-. n,; ) ) ,
//                ;,I>M I  =< ''•" , f > . M< HSHT j , , r lit* i ii,)
// t
// *   I r,(.'|i I   |,A I 4  :SM   -  ll (Sue U i)  1 " I F ••' '.I  I I- «i.:.i\i 1 I n '  >
// «
//MSl'it-T    '•.' I'S gA   !^%

, VHI.II^it = (Pk I VATI , h'f [AIM), I) I fSf'r ( .Sdk , CA J.S) "I) DSKAi-if r SY*51 .hf'l- 11. I l*» II I S"= f hHk.KASS J tfLFS If, ) n uo'i SHOO OOOOS'KM) ODOOMioii (toon* | no OuO(i6c?00 Pi)0 iiiSn 0 i 00007000 OliOo7lOO 0(1 00 7^ 01) OOOuT^dO 0|i"07» 0 'J (IDO)I'IOO '' oo l fvno OyOIOJOl) 0(I010'400 lltlO I (I '5 (I I) nun I o


-------
EIS/AS SECTION 4.4.4
FILE CREATION AND MASTER FILE M
MAINTENANCE PROCEDURE ECF
XX*
XX* imiPill OAF/v ;,f 1 - S"WTM) IMt»NA|_
XX*
XXM.SiilllP IX) iiSuApf = »X,Sniv IHi,
XX OH 1 F = lt 1 t IP,
xx i> IHP= ( NH'.PASS) ,
XX yt'ACI- =( KSt'UlfM 1 , < 4WIINH SF
XX iH'Hr (Kt Cf '^ = f It, L"E rL = 9^r f
XX*
XX* IHIIPUI DAlrt SF 1 - I)T ARiJOST I r PI- pill
XX*
XXFCSiMAH HO SYolHI F-MIll |
XX*
Page 6
AINTENANCE Release Date: 2/01/80
MM30 Update #: A-l
noo 1 1 i no
hMlSSHIM FATIIIK IPAMSAl ? IflN.S 00011'1'K)
ooo ] i son
on 01 !„(.()
000 11/01)
000 1 t MOO
H.),PLSL), Oooiwiii
U KSIZf =r>S /'4 ) 0001?ilf)U
ooo | £> j do
'f OOOI^f-OO
Ol)0 I ? 40(1
o y o i ? .4 o y
OllOlr'SOO
XX* nllJPUT ilATA SFI.'i - SYS If M ilPLI« A F 1 1 IN Ouoj^hOI)
XX*
XXSYSi'UI IX; :>YVMil =Kor I
XX*
XXSYSpWINI DO .SY8liljT=ROII|
XX*
//SYSD'IMllI 1)1) SYSI1O1 = K.f|ll F
XX*
XXS YS|>H P;-' 01) SYb"ll1 = A I A Sf T - HI 1 in,, t "I'D
XX '
XXF I Si il> I \i IX) or < A( F =O|' F I ')'!.•. ,
xx oi >' = tii K c; i /f =MI
XX*
XX* OHIPOI I)/, ) A I.* 1 - .If /i 1 l.iXn'i MAf!l
XX •
XXF (,Si\tn f l)|> I'SilAi 1 r >. I". . l.lh r I . . Diy ] A . vl
XX II ' 1 T : X.i II 1 1 ,
0 0 0 1 ? 1 0 ()
0001 J'HOO
000 1 ? i) o
0001/1400
O')0 1 Ut O'1
r o o i '4 s o o
r OoOlUhOO
ooo ; n i oo
0 I) 0 1 (4 M 0 0
l!J,'i OlJO 1 /|40()
ooo IS 000
o o o i s i o o
000 IS VI)
•(Flit o o o i s o o n
noo i ssotj
ILH^S |P, oooi St>oo
, 0(>0 1 S /Oil
"DO 1 SMMI
0 U 0 I S J 1 0
OllO 1 (i 1)0 11
0 U 0 1 (, | 0 ii
o
OOd 1 hi, "0
,[ "i '.', | i- , 11,11 | >, / ,iy
0,1(1 lf-,,1'0
                                              (Page 3 of 4)



Figure 4.4.4-a - continued.   Cataloged Procedure ECFMM30





                          347

-------
EIS/AS
FILE CREATION  AND
MAINTENANCE
                SECTION  4.4.4
                MASTER FILE MAINTENANCE
                PROCEDURE  ECFMM30
Page 7
Release  Date:  2/01/80
Update #:   A-l
     //               V(HU?.H = (PPIVAM,nFTAlNfSEH = *SFKT«l. )r
     //               I>H>P=(RIMSP) ,
     //               Sl'Hf [ ~ ( R SI'C'N I I r ( p-11" I ''«H Y , f,Shf :*l"' Y ) , nt Sf J
     //*
     //*   niiif'UT luvfA  t>F. I  - oi Af,rint;T ir PFPHWI
     //*
     //rr.SDiAf;   ho  ,SYjMui=Mini
     //*
     //*   llilH'iJT hATA  Sf I  - IMFKNAL  I HA'jSA( I I ((MS  MSI I'M,
     //*
                                         .S i^ASIFK  MI.E LITItNU
                                                    MU- LlSl
//*
//*  i n I I PUT  DATA SI- I  -  I "IP
//*
//f-CSUU'l    01) SYSntlTrPIJII I
//*
//*  iHMIMIT  DATA SM  -  IHltPIIT FJS/AS
//*

//*
//*  tiMIPiJT  DATA SMS - SrSHM
//*
//:>YS(HM     Dl) 'jYS
                           =K,i.U)|
     //*
     //SYSOTf
     //*
111) SYSI'H r = Ri)'l I

IH) ,SYSrH)T=RIUM
                                                                nnn i (, ',100
                                                                o no i 7 on i)
                                                                n. MI I / 1 nn
                                                                ("to 1 7,' no
                                                                00017 *0(j
                                                                f) o n 1 7 '( o a
                                                                mini 7SDO
                                                                oyn I 7f,o«»
                                                                "0017/00
                                                                0 i) 0 1 7 H 0 (,
                                                                "DO I 7900
                                                                OHO 180IID
                                                                000 I 81 01;
                                                                '1 1) 0 1 « ? (M)
              il 00 1 By no
              oooj a son
              OiJOlHbOO
              fid 0 1 « / 0 0
              o o o i n n i o
              0(10 1 H40|)
              0 I) 0 1 <> I) (I 0
              OllPlV I 01)
              000 ) VcMHI
              OilO 1 'J {()()
              ODD 1 ^4 no
              OHO l')V>0
              OOlll V600
              0 I) 0 1  n 1 0 o
                                                                     (Page  4  of  4)

             Figure 4.4.4-a  - continued.   Cataloged  Procedure  ECFMM30
                                            348

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.4.4
             MASTER FILE MAINTENANCE
             PROCEDURE ECFMM30
                     Page 8
                     Release Date: 2/01/80
                     Update #:  A-l
Parameter
  Name
PROJECT
PROG3
REGION1

REGION2

REGIONS

TIME1
TIME2
TIME3
EMFCFIL
OLDMSTR
NEWMSTR

UNIT
    Default
     Value

'CN.EPALMH.A087.
CDHS.HQ.AREA'
PROG1
PROG2
CMSEFGN
CSRINTR
CFMMSTR
100K

150K

100K

'1,0'
'1,0'
'1,0'
ECEMFFIL
ECOLDMST
ECNEWMST

3330
           Description

Highest-level index of data set names
(e.g., CN.EPLAMH.A087.CDHS.HQ.AREA.DATA.
ECOLDMST would be the full data set name
of the old master file)
Master file emission factor transaction
generator program
Master file internal transaction sort
program
Master file maintenance program
Region size allocated for execution of
CMSEFGN
Region size allocated for execution of
CSRINTR
Region size allocated for execution of
CFMMSTR
Time allocated for execution of CMSEFGN
Time allocated for execution of CSRINTR
Time allocated for execution of CFMMSTR
Lowest-level index of emission factor file
Lowest-level index of old master file
Lowest-level index of new (or updated)
master file
Unit type to which new (or updated)
master file is to be written
                                                         (Page 1  of 2)
            Figure 4.4.4-b.   Substitutable Parameters for ECFMM30
                                     349

-------
EIS/AS
FILE CREATION AND
MAINTENANCE
             SECTION 4.4.4
             MASTER FILE MAINTENANCE
             PROCEDURE ECFMM30
                     Page 9
                     Release Date: 2/01/80
                     Update #,:  A-l
Parameter
  Name

SERIAL

DISP

SPCUNIT

PRIMARY

SECNDRY
    Default
     Value

CDHSPK

'NEW.CATLG,
DELETE1
TRK

20

10
TEMP
WORKSPC
OUT
SYSDA
'20,10'
A
           Description

Serial number of volume to which new (or
updated) master file is to be written
Disposition of new (or updated) master
file
Units in which space for new (or updated)
master file is to be allocated
Primary space allocation for new (or
updated) master file
Secondary space allocation for new (or
updated) master file
Unit type for temporary work space
Space allocation for sort work areas
SYSOUT class for all print files
                                                         (Page 2 of 2)

      Figure 4.4.4-b - continued.  Substitutable Parameters for ECFMM30
                                     350

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.1
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
5.0  DATA ACCESSING AND MANIPULATION

5.1  INTRODUCTION

     EIS/AS provides the user with the capability to extract or retrieve
specific data from the master file.  This can be done using either the EIS/AS
retrieval capability or the quick look capability.  The retrieval  capability
is discussed in Section 5.2; the quick look capability in Section  6.4.
                                     351

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2
RETRIEVAL
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
5.2  RETRIEVAL

5.2.1.  INTRODUCTION

     The retrieval  function in EIS/AS is performed by executing two programs:
the retrieval language processor program, CRTLNGP (EC0090), and the generated
retrieval  program,  CRTGENR (EC0100).   The retrieval  language processor program
must be executed first.   All  user-supplied retrieval  specifications are
processed  by CRTLNGP (EC0090); based upon those retrieval  specifications,
CRTLNGP (EC0090) produces the generated retrieval program^ CRTGENR (EC0100).
This generated retrieval program must be compiled and link edited before it can
be executed.  When CRTGENR (EC0100) is executed, it  processes master file
records and selects those records which satisfy the  user-supplied retrieval
specifications that were entered into CRTLNGP (EC0090).   The selected records
are written to an output file, which is referred to  as an answer file.  The
answer file has the same format as the EIS/AS master file and may be used as
input to any EIS/AS program that uses the master file as input.  Refer to Figure
5.2.1-a for a flowchart of the EIS/AS retrieval function.

      Detailed information on CRTLNGP (EC0090) and on the retrieval
specifications can be found in Section 5.2.2.  Detailed  information on CRTGENR
(EC0100) can be found in Section 5.2.3.

      Three procedures are available for executing the retrieval programs.  They
are ECRTM10, ECRTM20, and ECRTM30.  ECRTM30 executes CRTLNGP (EC0090) and
compiles,  link edits, and executes the generated retrieval program, CRTGENR
(EC0100).   CRTGENR (EC0100) is not saved.  See Section 5.3.2 for additional
information on ECRTM30.
                                     352

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2
RETRIEVAL
INTRODUCTION
Page 2
Release Date: 2/01/80
Update #: A-l
     If the user frequently performs the same retrieval, he should save the
load module of the generated retrieval program created by CRTLNGP (EC0090) for
that retrieval.  He can then perform the retrieval  by executing this load
module directly, using the cataloged procedure ECRTM20 (see Section 5.2.3.5).
The load module can be created and saved by executing the cataloged procedure
ECRTM10 (see Section 5.2.2.5).
                                     353

-------
  EIS/AS
  DATA ACCESSING AND
  MANIPULATION
SECTION 5.2
RETRIEVAL
INTRODUCTION
Page 3
Release Date: 2/01/80
Update #: A-l
    RETRIEVAL
  SPECIFICATIONS
/GENERATED RETRIEVAL
(    PROGRAM SOURCE
V     MODULE
  COBOL COMPILE AND
    LINK EDIT
                              CRTLNGP  (EC0090)
                             RETRIEVAL  LANGUAGE
                              PROCESSOR PROGRAM
                                     I
 EIS/AS MASTER FILE
                        / RETRIEVAL SKELETON
                        I   PROGRAM (CRTSKEL)
    DIAGNOSTIC
      REPORT
                                CRTGENR (EC0100)
                           GENERATED RETRIEVAL PROGRAM
  ANSWER FILE
   DIAGNOSTIC
     REPORT
                       Figure 5.2.1-a.  Retrieval  Flowchart
                                       354

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 1
Release Date: 2/01/80
Update #:  A-l
5.2.2  RETRIEVAL LANGUAGE PROCESSOR PROGRAM - CRTLNGP (EC0090)

5.2.2.1  Description

     CRTLNGP (EC0090) is the first of two EIS/AS programs used to retrieve
data from the EIS/AS master file.  The generated retrieval program, CRTGENR
(EC0100), must be compiled, link edited, and executed after CRTLNGP (EC0090)
is run to complete the retrieval process.

     The retrieval language processor program, CRTLNGP (EC0090), uses the
retrieval skeleton member, CRTSKEL, and user-supplied retrieval specification
cards to build a generated retrieval program, CRTGENR (EC0100).  All options
and retrieval requirements are contained in the specification cards (see
Section 5.2.2.2).

     The retrieval requests can be written in either the EIS/AS retrieval
language (see Section 5.2.2.2.1) or in COBOL (see Section 5.2.2.2.2).  COBOL
statements may be included on cards with the execution JCL.

     The user can request to retrieve description, category, or comment
records or any combination of these by specifying his choice on the $$SELECT
card (see Figures 5.2.2-a and 5.2.2-b for information on the $$SELECT control
card).  If no selection is specified, a default of description and category
record selection will be used.

5.2.2.2  File Formats

     CRTLNGP (EC0090) uses two input files:  the retrieval skeleton member,
CRTSKEL, which is stored in a cataloged source library, and the retrieval
specification card file.  The retrieval specification cards consist of
retrieval control cards and retrieval request cards.   The control cards
indicate the beginning and end of the retrieval specification file, the
                                     355

-------
E[S/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 2
Release Date: 2/01/80
Update #:  A-l
language the requests are written in, and the type of records to be retrieved.
Figure 5.2.2-a illustrates the format of the control  cards,  and Figure 5.2.2-b
contains the field definitions.

     The retrieval requests precisely identify the data to be retrieved from
the master file.  The data names that can be used for these  requests are
listed in Figure 5.2.2-c.  The EIS/AS retrieval language requirements are
discussed in Section 5.2.2.2.1;  the COBOL requirements in Section 5.2.2.2.2.

     Two output files are produced:  a temporary file containing the
retrieval source program, CRTGENR (EC0100), and a diagnostic report (see
Figure 5.2.2-d).

5.2.2.2.1  EIS/AS retrieval language -The EIS/AS retrieval language is
designed to allow the user to select records from the EIS/AS master file based
upon the value of specific fields.  See Figure 5.2.2-c for a list of those
master file fields that can be used in the EIS/AS retrieval  language.  The
EIS/AS retrieval language specifications are written in the  format described
in Figure 5.2.2-e.  See Figure 5.2.2-f for the definitions of the fields in
these statements.

     There are two types of operators used in the EIS/AS retrieval language:
the relational and the Boolean.   The relational operator indicates the
relationship between a subject name and an object name.  That is to say, the
relational operator actually asks a question and assigns a truth value (true
or false) depending on the answer to that question.  The valid relational
operators are  '=' (equality), '>' (greater than), and  '<' (less than).  The
construction of a relationship is as follows:

          'subject name1   'relational operator'   'object name'.

An easy way to determine the truth value of the relationship is to ask the
following question:
                                     356

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 3
Release Date: 2/01/80
Update #:  A-l
          Is 'subject name1  'relational  operator'  'object  name1?

     If the answer is 'yes', the truth value of that relationship  is  true,  if
the answer is 'no', the truth value is false.   Following are  examples of
relationships and their truth values:

Subject Name     Relational  Operator      Object Name      Truth  Value

     11                   =                    11               True
     11                   =                    12               False
     11                   <                    12               True
     11                   <                    10               False
     11                   >                    10               True
     11                   >                    12               False

     The Boolean operator determines a truth value for a relationship or  a  set
of relationships.  The valid Boolean operators are NOT,  AND,  and OR.   The
construction of a Boolean expression involving AND or OR is as  follows:

          'Relationship I1  'Boolean operator1  'Relationship 2'.

     An easy way to determine the truth  value of an expression  using  AND  is to
ask the question:

          Is the truth value of both relationships true?

     If the answer is 'yes1, the truth value of the expression  is  true; if  the
answer is 'no', the truth value is false.   An easy way to  determine the truth
value of a Boolean expression using OR is  to ask the question:
                                     357

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 4
Release Date: 2/01/80
Update #:;  A-l
          Is the truth value of either one of the relationships true?

     If the answer is 'yes', the truth value of the expression is true and if
the answer is 'no1, the truth value is false.

     The basic construction of a Boolean expression using NOT is as follows:

          'NOT1   'relationship'.

     An easy method to determine the truth value of the NOT expression is to
reverse the truth value of the relationship; in other words,  if the truth
value of the relationship is true, then the truth value of the NOT
relationship is false and vice versa.  A table of truth values for Boolean
expressions is shown in Figure 5.2.2-g.

     The use of relationships and Boolean expressions in EIS/AS retrievals is
shown in the following set of examples.  The examples will be structured as
follows:   (1) an assumption concerning the specific data to be retrieved from
an existing master or answer file; (2) the EIS/AS retrieval statements needed
to accomplish the request; (3) a brief discussion of how the computer will
evaluate the retrieval specifications; and (4) a brief discussion of the
records which qualify for retrieval.  It will be extremely helpful to keep in
mind that during a retrieval, the computer is examining only one single record
at a time.  After that record has been examined, and its qualification for
retrieval determined, the following record in the file is then examined.

Example 1

     Assume you want to retrieve all of the data in the master file for county
0400.  Coding 0, 1, 2 on the $$SELECT card will allow all records to be
retrieved (see Figure 5.2.2-b).  The retrieval control statements to
accomplish that request are:
                                     358

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                SECTION 5.2.2
                RETRIEVAL PROCESSOR
                CRTLNGP (EC0090)
                               Page 5
                               Release Date: 2/01/80
                               Update #:  A-l
Column 1-8   Column 10
Card Type
               Retrieval  Control Card

             Column 15          Column 17
Language
Keyword
Description
Selection Field
Category
Selection Filed
Column 19
Comment
Selection Field
$$SELECT
                  0
                        1
Col 1-31
COUNTY
 Col 33
 Retrieval Request Cards

    Col 35         Col 37-67
                                 '0040'
                  Col  69-71
Subject
Name
Negation
Flag
Relational
Operator
Object
Name
Boolean
Operator
                            Retrieval Control Card
Column 1-8
Card Type
$$END
     Each record in the input master file will be individually and
sequentially examined, and the question 'is the county equal to 0040?' will be
asked.  Thus, in this retrieval only those records in the master file which
have a 0040 in the COUNTY field will be retrieved.

Example 2

     Assume you want to retrieve the category records for county 0040 and
geographic suballocation number 00125.  The retrieval statements for this
request are:
                                     359

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
               SECTION 5.2.2
               RETRIEVAL PROCESSOR
               CRTLNGP (EC0090)
                              Page 6
                              Release Date: 2/01/80
                              Update #:  A-l
                            Retrieval Control Card
Column 1-8    Column 10
             Column 15
                  Column 17
Column 19
Card Type
Language
Keyword
Description
Selection Field
Category
Selection Field
Comment
Selection Field
$$SELECT
Col 1-31
Col 33
Retrieval Request Cards

   Col 35         Col  37-67
Col 69-71
Subject
Name
Negation
Flag
Relational
Operator
COUNTY
GEOG-SUBALLOCATION-NBR
Object
Name
'0040'
'00125'
Boolean
Operator
AND
                            Retrieval Control Card
Column 1-8
Card Type
$$END
     In this retrieval we have a Boolean expression containing two
relationships.  For each individual category record in the master file, the
computer evaluates each relationship separately and then evaluates the Boolean
expression.  Thus, it determines if the COUNTY field of the record is 0040 and
then if the GEOG-SUBALLOCATION-NBR field is 00125. After obtaining the truth
value for each relationship, it then evaluates the Boolean expression.  If,
and only if, the truth value of both relationships is true, then the Boolean
expression AND is true, and that record will be retrieved.
                                     360

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 7
Release Date: 2/01/80
Update #:   A-l
Example 3
     Assume you want to retrieve category data from category 008 (commercial
fuel - bituminous coal) for sulfur dioxide (42401) and particulates (11101).
The retrieval statements to accomplish the request are:

                            Retrieval Control Card
Column 1-8 Column 10
Card Type Language
Keyword
$$SELECT

Col 1-22 Col 24
Subject Negation
Name Flag
CATEGORY-NUMBER
CAT-POLLUTANT-ID
CATEGORY-NUMBER
CAT-POLLUTANT-ID

Column 1-8
Card Type
Column 15 Column 17
Description Category
Selection Field Selection Field
1
Retrieval Request Cards
Col 26 Col 28-67
Relational Object
Operator Name
'008'
'42401'
'008'
'11101'
Retrieval Control Card


Column 19
Comment
Selection Field


Col 69-71
Boolean
Operator
AND
OR
AND




$$END
     In this retrieval we have four relationships and two different Boolean
operators.  The computer now has the problem of which operator to evaluate
                                     361

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 8
Release Date: 2/01/80
Update #:  A-l
first.  That is, what is the hierarchy of the relational and Boolean
operators?  If an expression does not contain parentheses, the computer
evaluates according to the following hierarchy:

     1st (level 1)                             All relational  operators
     2nd (level 2)                             Boolean NOT
     3rd (level 3)                             Boolean AND
     4th (level 4)                             Boolean OR
If there are operators on the same level, the computer evaluates those
operators from left to right (top to bottom).

     Therefore, using these rules for evaluating expressions,  the computer
will determine a truth value for the entire expression for each individual
record as follows:

     Step                               Operation

       1                         CATEGORY-NUMBER = '008'
       2                         CAT-POLLUTANT-ID = '42401'
       3                         CATEGORY-NUMBER = '008'
       4                         CAT-POLLUTANT-ID = '11101'
       5                         Result of Step 1 AND result of Step 2
       6                         Result of Step 3 AND result of Step 4
       7                         Result of Step 5 OR result of Step 6

     Referring to Figure 5.2.2-g, for a category 008 record containing
particulates, Step 7 will be evaluated as 'False1 OR 'True', which has a value
of 'True1, and the record will be retrieved.  For a category 008 record
containing sulfur dioxide, Step 7 will be evaluated as  'True'  OR 'False',
which is 'True', and the record will be retrieved.  For any other record, Step
7 will be 'False'; thus any record not containing particulates for category
008 or sulfur dioxide for category 008 will not be retrieved.
                                     362

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 9
Release Date: 2/01/80
Update #:  A-l
     In Example 3, we used the expression CATEGORY-NUMBER = '008' twice
because of the order in which the Boolean operators are evaluated.  By using
parentheses, we can express the same retrieval with one less statement, as
shown in Example 4.

Example 4

     Same as Example 3, but this time parentheses will be used.  That is,
retrieve sulfur dioxide (42401) and particulates (11101) for category 08. We
will retrieve both category and comment records. The retrieval statements to
accomplish this request are:

                            Retrieval Control Card
Column 1-8 Column 10.
Card Type Language
Keyword
$$SELECT

Col 1-22 Col 24
Subject Negation
Name Flag
CATEGORY-NUMBER
(CAT-POLLUTANT-ID
CAT-POLLUTANT-ID
Column 15
Description
Selection Field

Retrieval Request
Col 26
Relational
Operator
.
=
=
Column 17
Category
Selection Field
1
Cards
Col 28-67
Object
Name
'008'
'42401'
'11101')
Column 19
Comment
Selection Field
2

Col 69-71
Boolean
Operator
AND
OR

                                     363

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 10
Release Date: 2/01/80
Update #:  A-l
                            Retrieval Control Card

Column 1-8
Card Type
$$END
     In this retrieval, parentheses were used to alter the hierarchy of
evaluation of the expression.  To evaluate parenthetical expressions, the
computer will first find the least most inclusive pair (i.e., the innermost
pair) of parentheses (see Figure 5.2.2-h) and derive a truth value for that
parenthetical expression using the normal method of evaluation.  It then
proceeds through all sets of parentheses determining the truth value for each
set of parentheses.  After the parenthesized portion of the expression has
been evaluated, the nonparenthesized expression is evaluated as we have shown
previously.  Thus, the computer evaluates this retrieval example a;; follows:

     Step                                  Operation

       1                           CAT-POLLUTANT-ID = '42401'
       2                           CAT-POLLUTANT-ID = '11101'
       3                           (Result of Step 1 OR result of Step 2)
       4                           CATEGORY-NUMBER = '008'
       5                           Result of Step 4 AND result of Step 3

Example 5

     As an example of the NOT Boolean operator, consider a retrieval for
description records with population not less than 100,000 and with a carbon
monoxide pollutant (42101).  The retrieval statements are:
                                     364

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Retrieval Control Card
Column 1-8 Column 10 Column 15 Column 17
Card Type Language Description Category
Keyword Selection Field Selection
$$SELECT
0
Page 11
Release Date: 2/01/80
Update #: A-l
Column 19
Comment
Field Selection Field

Col 1-22
          Col 24
Retrieval Request Cards

      Col 26         Col 28-67
                            Retrieval Control Card
Column 1-8
Card Type
Col 69-71
Subject
Name
Negation
Flag
Relational
Operator
POPULATION N <
DESC-POLLUTANT-ID
Object
Name
'00100000'
'42101'
Boolean
Operator
AND
$$END
     The steps for evaluating this retrieval would then be:
                                          Operation

                                 POPULATION < '00100000'
                                 DESC-POLLUTANT-ID = '42101'
                                 NOT (Result of Step 1)
                                 Result of Step 3 AND result of Step 2
1
2
3
4
                                     365

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 12
Release Date: 2/01/80
Update #:  A-l
5.2.2.2.2  COBOL retrievals - In-line COBOL language specifications are
entered immediately following the $$SELECT card which has USER coded as the
language keyword.  These cards are punched according to COBOL rules for syntax
and punctuation.  Any user-defined paragraph or section name should begin with
the prefix USER to avoid conflict with other names in the program.  Any valid
PROCEDURE DIVISION statements, with the exception of DECLARATIVES, may be
entered.  Since the retrieval language processor program does not examine the
COBOL statements, any errors could result in COBOL diagnostics or
uripredict-able results.  The data fields named CAT-SUB and DESC-SUB (PIC 99
COMP SYNC) are provided for use as subscripts for referencing repeating data
names in the category and description records. The COBOL reserved data name
TALLY may be used as an accumulator.   All valid data names shown in Figure
5.2.2-c may be used.  The statement 'PERFORM RECORD-QUAL-PARA THRU
RECORD-QUAL-PARA-END1 should be used  when a record has qualified.

NOTE:  The user is reminded that the  above rules are only valid for user-
       supplied COBOL retrievals.

     Any retrieval that can be run using the EIS/AS retrieval language can
also be run using the USER option and COBOL statements, but nothing is gained
in these retrievals by using COBOL.  However, some retrievals can only be
accomplished by using COBOL.  An example follows to illustrate the advantages
of COBOL retrievals.

     When running the EIS/AS language retrievals, each record in the answer
file is exactly the same as the corresponding record in the input master file:
no changes to the records can be made.  In a COBOL retrieval, changes can be
made to the answer file records.  Example 1 illustrates one use of this
capability.
                                     366

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 13
Release Date: 2/01/80
Update #:   A-l
Example 1

     Assume that a local user has submitted his area source data to the state
using the annual report program, CRPASNA (EC0120), and that he is required to
resubmit that data for some unforeseen reason.  If copies of the transactions
file were not kept, it will be necessary to re-execute CRPASNA (EC0120).
However, the status flags in the master file indicate that the data has been
sent.  The following in-line COBOL retrieval will  change all the flags from S
(sent) to A (add) and write the records which have been changed to the answer
file.  The transactions, either EIS/AS or NEDS, can then be generated from the
answer file using CRPASNA (EC0120).

$$SELECT USER 0 1 2
           IF RECORD-IS-DESCRIPTION
             PERFORM USER-DESC-PARA THRU USER-DESC-PARA-END
           ELSE
             IF RECORD-IS-CATEGORY
               PERFORM USER-CAT-PARA THRU USER-CAT-PARA-END
             ELSE
               PERFORM USER-COMM-PARA THRU USER-COMM-PARA-END.
           PERFORM RECORD-QUAL-PARA THRU RECORD-QUAL-PARA-END.
           GO TO USER-QUALIFICATION-END.
         USER-DESC-PARA.
           IF NEDS-A1-FLAG EQUAL TO 'S1
             MOVE 'A' TO NEDS-A1-FLAG.
           IF NEDS-A3-FLAG EQUAL TO 'S1
             MOVE 'A' TO NEDS-A3-FLAG.
           IF NEDS-A4-FLAG EQUAL TO 'S1
             MOVE 'A1 TO NEDS-A4-FLAG.
           IF EIS-FLAG-CARD-0-1 EQUAL TO 'S1
             MOVE 'A' TO EIS-FLAG-CARD-0-1.
                                     367

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 14
Release Date: 2/01/80
Update #:  A-l
           IF EIS-FLAG-CARD-0-2 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-0-2.
           IF EIS-FLAG-CARD-0-3 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-0-3.
           IF EIS-FLAG-CARD-0-4 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-0-4.
           IF EIS-FLAG-CARD-0-5 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-0-5.
           IF EIS-FLAG-CARD-0-6 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-0-6.
           MOVE BINARY-1 TO DESC-SUB.
           PERFORM USER-DESC-REPEAT-PARA
                DESC-NBR-POLL TIMES.
         USER-DESC-PARA-END.
           EXIT.
         USER-DESC-REPEAT-PARA.
           IF EIS-FLAG-CARD-0-8 (DESC-SUB) EQUAL TO 'S1
             MOVE 'A'  TO EIS-FLAG-CARD-0-7  (DESC-SUB).
           ADD BINARY-1 TO DESC-SUB.
         USER-DESC-REPEAT-PARA-END.
           EXIT.
         USER-CAT-PARA.
           IF NEDS-FLAG EQUAL TO 'S1
             MOVE 'A1  TO NEDS-FLAG.
           IF NEDS-A7-FLAG EQUAL TO  'S1
             MOVE 'A'  TO NEDS-A7-FLAG.
           IF EIS-FLAG-CARD-1-1 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-1-1.
           IF EIS-FLAG-CARD-1-2 EQUAL TO 'S1
             MOVE 'A1  TO EIS-FLAG-CARD-1-2.
                                     368

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 15
Release Date: 2/01/8C
Update #:  A-l
           IF EIS-FLAG-CARD-1-3 EQUAL TO 'S'
             MOVE 'A1 TO EIS-FLAG-CARD-1-3.
           IF EIS-FLAG-CARD-1-4 EQUAL TO 'S1
             MOVE 'A' TO EIS-FLAG-CARD-1-4.
           MOVE BINARY-1 TO CAT-SUB.
           PERFORM USER-CAT-REPEAT-PARA
                CAT-NBR-POLL TIMES.
         USER-CAT-PARA-END.
           EXIT.
         USER-CAT-REPEAT-PARA.
           IF EIS-FLAG-CARD-1-5 (CAT-SUB) EQUAL TO 'S1
             MOVE 'A' TO EIS-FLAG-CARD-1-5  (CAT-SUB).
           ADD BINARY-1 TO CAT-SUB.
         USER-CAT-REPEAT-PARA-END.
           EXIT.
         USER-COMM-PARA.
           IF NEDS-A6-FLAG EQUAL TO 'S1
             MOVE 'A1 TO NEDS-A6-FLAG.
           IF EIS-FLAG-CARD-2-1 EQUAL TO 'S1
             MOVE 'A1 TO EIS-FLAG-CARD-2-1.
           IF EIS-FLAG-CARD-2-2 EQUAL TO 'S1
             MOVE 'A' TO EIS-FLAG-CARD-2-2.
         USER-COMM-PARA-END.
           EXIT.
$$END
                                     369

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 16
Release Date: 2/01/80
Update #:  A-l
5.2.2.2.3  Batched retrievals - Up to 10 retrievals can be run in one
execution of the retrieval procedure.  Such retrievals are said to be
'batched'.  Only EIS/AS language retrievals may be batched.  When batching
retrievals, each retrieval begins with a $$SELECT card.  Only the first
$$SELECT card can contain options to specify types of records to be retrieved;
all remaining retrievals will assume the same record types.  One $$END card
occurs at the end of all the retrievals.

     The output answer file will contain all retrieved records.  Each record
in the answer file will contain a number, 0-9, in the batch indication field
to indicate which retrieval selected the record.   If a given record is
selected by more than one retrieval, it will appear once in the answer file
for each retrieval that selected it.  The master file sort program, CSRMSTR
(EC0110), must be run using the BATCH option to sort the answer file so that
each retrieval's answer records are grouped together.  Once the answer file
has been sorted, it may be used as input to any of the report programs.  A,
batched answer file should never be used in place of an EIS/AS master file in
any procedures except those that produce reports, since the batched answer
file may contain duplicate records (that is, if a record satisfies more than
one of the batched retrievals, a copy of the record will be on the answer file
fur each retrieval that it satisfiedj.

     The following example makes use of batched retrievals:

Example 1
     Assume a user wanted detailed reports requested by several counties:
county 0140 wanted all information on category 123; county 0210 wanted
information for NOX (42603); and county 0340 wanted information from counties
0180 and 0340 with a projected year of 1985.
                                     370

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 17
Release Date: 2/01/80
Update #:  A-l
     The following retrieval statements would be used for this retrieval:
$$SELECT         0     1     2
COUNTY                            =              '0140'               AND
CATEGORY-NUMBER                   =              '123'
$$SELECT
COUNTY                            =              '0210'               AND
CAT-POLLUTANT-ID                  =              '42603'
$$SELECT
(COUNTY                           =              '0180'               OR
COUNTY                            =              '0340')              AND
PROJECTED-YEAR                    =              '85'
$$END
     The answer file produced by this retrieval must be sorted by CSRMSTR
(EC0110) using the BATCH option.  The sorted answer file would then be used as
input to CRPMSTR (EC0130) to produce the desired detailed report.

5.2.2.3  Options and Control Cards

     The options allowed for CRTLNGP (EC0090) are specified on the $$SELECT
retrieval control card.  Information on this card can be found in Figures
5.2.2-a and 5.2.2-b.
                                     371

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 18
Release Date: 2/01/80
Update #:  A-l
5.2.2.4  Error Messages

CRTLNGP 001 CONDITIONAL - $$END CARD MISSING
     Meaning:  The last card for the retrieval  specifications must be a $$END.
               If this card is missing, the error message will be printed,
               but program execution will continue.
      Action:  No action required unless other errors have been detected.
               Code a $$END card to avoid this message.

CRTLNGP 002 ABORT - NO CONTROL CARDS IN INPUT STREAM
     Meaning:  There must be at least a $$SELECT and a $$END card in the input
               run stream.  The run was aborted.
      Action:  Include control cards as shown in Section 5.2.2.5.4, and
               resubmit the job.

CRTLNGP 003 ABORT - FIRST CONTROL CARD NOT $$SELECT
     Meaning:  The first control card for specifying a retrieval must be a
               $$SELECT card.  If this card is not present, the run is
               aborted.
      Action:  Include the $$SELECT card and resubmit the job.

CRTLNGP 004 ABORT - COLUMN 10 - LANGUAGE KEYWORD INVALID
     Meaning:  Valid language keywords are  'USER' for a COBOL retrieval and
               blank for an EIS/AS retrieval.
      Action:  Correct the $$SELECT card and resubmit the job.

CRTLNGP 005 ABORT - COLUMN 15 - DESCRIPTION RECORD SELECTION FIELD INVALID
     Meaning:  A value of '0' must be used to select description records; a
               blank field indicates no description records are to be output.
      Action:  Correct the field and resubmit the job.
                                     372

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 19
Release Date: 2/01/80
Update #:  A-l
CRTLNGP 006 ABORT - COLUMN 17 - CATEGORY RECORD SELECTION FIELD INVALID
     Meaning:  A value of '!' must be used to select category records; a blank
               field indicates no category records are to be output.
      Action:  Correct the field and resubmit the job.

CRTLNGP 007 ABORT - COLUMN 19 - COMMENT RECORD SELECTION FIELD INVALID
     Meaning:  A value of '2' must be used to select comment records; a value
               of blank indicates no comment records are to be output.
      Action:  Correct the field and resubmit the job.

CRTLNGP 008 ABORT - ONLY THE FIRST $$SELECT CARD CAN SPECIFY OPTIONS
     Meaning:  Only the first $$SELECT card can specify options.  Columns nine
               through 72 of all subsequent $$SELECT cards must be blank.  The
               run was aborted.
      Action:  Correct the retrieval and resubmit the job.

CRTLNGP 009 ABORT - NUMBER OF RETRIEVALS EXCEEDS BATCH LIMIT
     Meaning:  More than 10 retrievals have been batched in one run;
               therefore, the run was aborted.
      Action:  Resubmit the job with no more than 10 retrievals batched in one
               run.

CRTLNGP 010 ABORT - COLUMN 33 - INVALID NEGATION CHARACTER
     Meaning:  The character N should be used as the negation flag; otherwise,
               the negation flag field should be blank.  The run was aborted.
      Action:  Correct the error and resubmit the job.

CRTLNGP Oil ABORT - COLUMN 35 - INVALID RELATIONAL OPERATOR
     Meaning:  The only valid relational operators are = (denoting equal to),
               > (denoting greater than), and < (denoting less than); any
               other symbol  will be rejected.  The run was aborted.
                                     373

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 20
Release Date: 2/01/8(
Update #::  A-l
      Action:  Correct the error and resubmit the job.

CRTLNGP 012 ABORT - COLUMN 69 - INVALID BOOLEAN OPERATOR
     Meaning:  The valid Boolean operators are AND and  OR.   The run was
               aborted.
      Action:  Correct the error and resubmit the job.

CRTLNGP 013 ABORT - SPECIFICATION FIELDS NOT FROM SAME  TYPE RECORD
     Meaning:  The subject name (column 1) and the object name (column 37)
               must refer to fields in the same type record.
      Action:  Correct the error and resubmit the job.

CRTLNGP 014 ABORT - COLUMN 1 - SUBJECT NAME INVALID
     Meaning:  The subject name must be spelled exactly, including hyphens, as
               spelled in the valid retrieval data names; see Figure 5.2.2-c.
               The run was aborted.
      Action:  Correct the subject name (underlined) and resubmit the job.

CRTLNGP 015 ABORT - COLUMN 37 - OBJECT NAME INVALID
     Meaning:  The object name must be spelled exactly, including hyphens, as
               spelled in the valid retrieval data names; see Figure 5.2.2-c.
               The run was aborted.
      Action:  Correct the object name (underlined) and resubmit the job.

CRTLNGP 016 ABORT - MORE THAN ONE REQUEST IN USER-WRITTEN COBOL RUN
     Meaning:  With the USER option specifying COBOL language statements, only
               one retrieval ($$SELECT card) is allowed per run.  The run was
               aborted.
      Action:  Delete the additional retrievals and resubmit the job.
                                     374

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 21
Release Date: 2/01/8(
Update #:  A-l
CRTLNGP 017 ABORT - PARLNTHLSLS UNBALANCED
     Meaning:  The number of left and right parentheses must be equal
               within the statements for one batch.
      Action:  Correct the error and resubrnit the job.

CRTLNGP 018 ABORT - NO BOOLEAN CONNECTOR BETWEEN STATEMENTS
     Meaning:  An EIS/AS retrieval language card with no Boolean operator was
               followed by another retrieval language card.  Since only the
               last retrieval language card in a retrieval can have no Boolean
               operator, the run was aborted.
      Action:  Correct the error and resubmit the job.

CRTLNGP 019 ABORT - BOOLEAN CONNECTOR NOT FOLLOWED BY STATEMENT
     Meaning:  The last EIS/AS retrieval language card in a retrieval  had a
               Boolean operator with no matching relationship.  The last
               retrieval language card in a retrieval must not contain a
               Boolean operator; therefore, the run was aborted.
      Action:  Correct the error and resubmit the job.

CRTLNGP 020 ABORT - CONTROL CARD FOLLOWING A $$SELECT CANNOT BE A $$SELECT OR
            $$END CARD
     Meaning:  There were no valid retrieval cards behind the $$SELECT card.
      Action:  Correct the error and resubmit the job.

CRTLNGP 021 ABORT - LIMIT OF 5 SETS OF PARENTHESES HAS BEEN EXCEEDED
     Meaning:  Parentheses may only be nested 5 deep.
      Action:  Correct the error and resubmit the job.
                                     375

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
        SECTION 5.2.2
        RETRIEVAL PROCESSOR
        CRTLNGP (EC0090)
Page 22
Release Date: 2/01/8(1
Update #:  A-l
5.2.2.5  Cataloged JCL - ECRTM10

     The cataloged procedure ECRTM10,  which is discussed below,  executes the
retrieval  language processor program,  CRTLNGP (EC0090),  compiles and link
edits the generated retrieval  program, CRTGENR (EC0100), and stores the
resulting load module.  The cataloged  procedure ECRTM20  is  used  to execute the
stored load module and produce an answer file.  See Section 5.2.3,5 for
information on ECRTM20.

     The cataloged procedure ECRTM30 executes the retrieval language processor
program, then compiles,  link edits,  and executes the generated retrieval
program.  The corresponding load module is not saved.   See  Section 5.3.1 for
information on ECRTM30.

5.2.2.5.1  JCL listing - See Figure  5.2.2-i for a listing of the cataloged
procedure ECRTM10.

5.2.2.5.2  Cross-reference of DP names and files

     Program Name:  CRTLNGP (EC0090)
     DD Name
      File Description
     Input/Output
     ECSSKEL
     ECSINPT
     ECSRTRV
     ECSDIAG
Retrieval skeleton program
Retrieval specification cards
Generated retrieval source program
Diagnostic report
       Input
       Input
       Output
       Output
                                     376

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 23
Release Date: 2/01/80
Update #:   A-l
5.2.2.5.3  User-supplied JCL -To execute the cataloged procedure ECRTM10, the
user must supply job accounting information and the name for the generated
retrieval program to be stored.  See Figure 5.2.2-j for a description of the
procedure's substitutable parameters.

5.2.2.5.4  Sample run stream - The following run stream uses the cataloged
procedure ECRTM10 to create the retrieval load module CRTGEN1.  This retrieval
module can then be executed using the procedure ECRTM20; see Section 5.2.3.5.4
for that run stream.  The EIS/AS retrieval specifications entered indicate
that the retrieval will be for state 12 and AQCR 001.

//  EXEC   ECRTM10,
//         PGMSAVE=CRTGEN1
//GENER.INPUT DD *
$$SELECT
STATE                    = '12'                                     AND
AQCR                     = '001'
$$END
/*

5.2.2.6  Warnings and Special  Instructions

     The retrieval language processor program, CRTLNGP (EC0090), edits the
retrieval specification control cards and the EIS/AS retrieval language
cards but does not edit user-written COBOL retrieval statements.

     Both cataloged procedures (ECRTM30 and ECRTM10) execute the COBOL
compiler after CRTLNGP (EC0090) to compile the generated retrieval  source
program.  During the compilation  of the generated retrieval  source  program,
                                     377

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 24
Release Date: 2/01/80
Update #:  A-l
errors may be encountered that were not detected by CRTLNGP (EC0090).  Also,
errors in the user-written COBOL retrieval statements will be detected by the
COBOL compiler.  Thus, when executing procedure ECRTM30 or ECRTM10, error
messages may be generated by the COBOL compiler.  When this occurs, the user
should examine the retrieval specification cards for errors.  If no errors can
be found, the user should contact NADB for assistance.

     General rules for retrieval specification control cards are presented
below:

          Only the first $$SELECT card is edited for special option
     fields.  When coded, these optional  fields must occur in exactly
     the columns specified and must be spelled exactly as shown in
     Figures 5.2.2-a and 5.2.2-b.

          When batching retrievals, each retrieval is preceded by a
     $$SELECT card.  Batched retrievals may only use the EIS/AS
     language specifications.  No $$SELECT card except the first may
     contain optional fields.  A maximum of ten batches is allowed.

          A $$END card must be the last card in the specification.   If
     any other cards follow the $$END card, they will be ignored.

For EIS/AS language specifications, the following rules apply:

          Names must be spelled exactly as shown in Figure 5.2.2-cSl
     including any hyphens.
                                     378

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 25
Release Date: 2/01/80
Update #:   A-l
          All literals should be enclosed in quotes, and should be the
     same length as that specified in Figure 5.2.2-c for the compared
     field.

          If any repeating field satisfies the retrieval criteria, the entire
     record qualifies for retrieval.

     COBOL retrieval statements are not edited by CRTLNGP (EC0090).  COBOL
statements should follow ANS COBOL specifications.

     All records retrieved from a batched retrieval are written to the same
answer file.  The master file sort program, CSRMSTR (EC0110), must be run
using the BATCH option to sort the records by batch numbers.  This sorted file
can then be used as input to any of the report programs.  See Section 5.3 for
information on CSRMSTR (EC0110).

     When CRTLNGP (EC0090) is run and encounters an abort error, the generated
retrieval source program, CRTGENR (EC0100), will contain statements that will
cause compilation errors.  Thus, the generated retrieval load module will not
be produced nor executed.  When an abort occurs, correct the error encountered
by CRTLNGP (EC0090), and resubmit the job.

     The language processor program, CRTLNGP (EC0090), must always be run
prior to running the generated retrieval program, CRTGENR (EC0100).  The two
programs may be run together using the cataloged procedure ECRTM30, or the
generated retrieval module may be stored using the cataloged procedure ECRTM10
and run later using the cataloged procedure ECRTM20.

     When specifying a generated load module name during a run using the
cataloged procedure ECRTM10, the load module name must be specified as the
value of the substitutable parameter PGMSAVE in the user-supplied JCL.
                                     379

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 26
Release Date: 2/01/80
Update #:  A-l
5.2.2.7  Cost Considerations

     The following example provides an estimate of the cost of executing
CRTLNGP (EC0090) and then compiling and link editing CRTGENR (EC0100), using
the cataloged procedure ECRTM10.   ECRTM10 was executed on an IBM 370/168 for
this example.

     Size of skeleton program:                      786 records
     Number of retrieval  specifications:             12 records
     Size of generated program:                     909 records
     CPU time:                                     5.6 seconds
     I/O time:                                    38.5 seconds
     Total  time:                                  44.1 seconds

     Estimated cost:                              $8.99

5.2.2.8  Related Programs and Procedures

     CRTLNGP (EC0090) must always be executed in conjunction with CRTGENR
(EC0100).  The procedure ECRTM30  executes both of these programs, while
ECRTM10 executes CRTLNGP (EC0090) and ECRTM20 executes CRTGENR (EC0100).
                                     380

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                     SECTION 5.2.2
                     RETRIEVAL PROCESSOR
                     CRTLNGP (EC0090)
                               Page 27
                               Release Date:  2/01/80
                               Update #:   A-l
Record Position
              Field Length
                           Description
    1

   10
   20 -
 8
 9
13
14
15
16
17
18
19
80
 8
 1
 4
 1
 1
 1
 1
 1
 1
61
Card Type
Unused
Language Keyword
Unused
Description Selection Field
Unused
Category Selection Field
Unused
Comment Selection Field
Unused
               Figure 5.2.2-a.   EIS/AS Retrieval  Control  Card
                                     381

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 28
Release Date: 2/01/80
Update #:  A-l
Card Type:  Identifies the type of control card.
     Valid Codes:  $$SELECT - Specifies the beginning of a retrieval request.
                   $$END - Specifies the end of a retrieval request and must
                           appear alone on the card.
     Field Length:  8 characters

Language Keyword:  Identifies the type of retrieval  language to be used.
    Valid Codes:  USER - Retrieval specifications will be COBOL language
                         statements.
                  blank - Retrieval specifications will be EIS/AS retrieval
                          language statements.
     Field Length:  4 characters

Description Selection Field:  Indicates whether or not description records are
           to be retrieved.
     Valid Codes:  0 - Select description records.
                   blank - Do not select description records.
                   0 is the default value used when all three selection fields
                   are blank.
     Field Length:  1 character

Category Selection Field:  Indicates whether or not category records are to be
           retrieved.
     Valid Codes:  1 - Select category records.
                   blank - Do not select category records.
                   1 is the default value used when all three selection fields
                   are blank.
     Field Length:  1 character


                                                           (Page 1 of 2)

     Figure 5.2.2-b.  Definition of EIS/AS Retrieval  Control Card Fields
                                     382

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 29
Release Date:  2/01/80
Update #:  A-l
Comment Record Field:  Indicates whether or not comment records are to be
           retrieved.
     Valid Codes:  2 - Select comment records.
                   blank - Do not select comment records.
                   Blank is the default value used when all three selection
                   fields are blank.
     Field Length:  1 character
                                                                (Page 2 of 2)
         Figure 5.2.2-b - continued.   Definition of EIS/AS Retrieval
                             Control  Card Fields
                                     383

-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 30
Release Date: 2/01/80
Update #:  A-l
                Valid Data Names for Retrieval  -  All  Records

     The following data names can be referenced in either EIS/AS retrieval
language specifications or COBOL language specifications:
           Data Name

     AQCR
     CATEGORY-DISAGGREG-NBR
     CATEGORY-NUMBER
     COUNTY
     GEOG-SUBALLOCATION-NBR
     LINE-NUMBER
     RECORD-TYPE
     RECORD-TYPE-KEY
     STATE
             Field Length

                  3
                  2
                  3
                  4
                  5
                  3
                  2
                  1
                  2
                                                           (Page 1 of 8)
                 Figure 5.2.2-c.   Valid Retrieval  Data Names
                                     384

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
            Page 31
            Release Date: 2/01/80
            Update #:  A-l
             Valid Data Names for Retrieval - Description Record

     The following data names from the description record can be referenced in
either EIS/AS retrieval language specifications or COBOL language
specifications:
       Data Name
Field Length
    Data Name
Field Length
AIR-BASIN
ASH-ANTHRACITE-COAL
ASH-BITUMINOUS-COAL
ASSOC-PLANT-ID
DAY-CODE
DEFINED-AREA-CODE
HEAVY-DUTY-DIESEL
HEAVY-DUTY-VEHICLE
LENGTH-AREA
LENGTH-AREA-UNITS-CODE
LIGHT-DUTY-VEHICLE
LIMITED-ACCESS
MAJOR-ACTIVITY
POPULATION
POPULATION-CODE
PROJECTED-YEAR
RURAL
RURAL-POPULATION-PERCENT
SIP-BASE-YEAR
     3
     3
     3
     4
     3
     3
     6
     6
     7
     2
     6
     6
    20
     8
     1
     2
     6
     2
     2
SIP-ESTIMATE-CO           5
SIP-ESTIMATE-HC           5
SIP-ESTIMATE-NOX          4
SIP-ESTIMATE-S02          4
SIP-ESTIMATE-TSP          5
SMSA                      4
SOURCE-TYPE               1
SUBALLOC-TECH-CODE        2
SUBURBAN                  6
SULFUR-ANTHRACITE-COAL    2
SULFUR-BITUMINOUS-COAL    2
SULFUR-DISTILLATE-OIL     2
SULFUR-RESIDUAL-OIL       2
URBAN                     7
UTM-HORIZONTAL-1          4
UTM-HORIZONTAL-2          4
UTM-HORIZONTAL-3          4
UTM-HORIZONTAL-4          4
UTM-HORIZONTAL-5          4
UTM-HORIZONTAL-6          4
                                                               (Page 2 of 8)
           Figure 5.2.2-c - continued.   Valid Retrieval  Data Names
                                     385

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
          SECTION 5.2.2
          RETRIEVAL PROCESSOR
          CRTLNGP (EC0090)
          Page 32
          Release Date: 2/01/80
          Update #:  28
       Valid Data Names for Retrieval  - Description Record (continued)
  Data Name
UTM-VERTICAL-1
UTM-VERTICAL-2
UTM-VERTICAL-3
UTM-VERTICAL-4
UTM-VERTICAL-5
UTM-VERTICAL-6
Field Length
     5
     5
     5
     5
     5
     5
 Data Name
UTM-ZONE-1
UTM-ZONE-2
UTM-ZONE-3
UTM-ZONE-4
UTM-ZONE-5
UTM-ZONE-6
YEAR
Field Length
     2
     2
     2
     2
     2
     2
     2
     The following names can only be referenced in COBOL language
specifications:
AQCR-NAME
AREA-NAME
EIS-FLAG-CARD-0-1
EIS-FLAG-CARD-0-2
EIS-FLAG-CARD-0-3
EJS-FLAG-CARD-0-4
EIS-FLAG-CARD-0-5
EIS-FLAG-CARD-0-6
                            NEDS-A1-FLAG
                            NEDS-A3-FLAG
                            NEDS-A4-FLAG
                            SUBALLOC-TECH-DESC
                                                               (Page 3 of 8)
           Figure 5.2.2-c - continued.  Valid Retrieval Data Names
                                     386

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 33
Release Date: 2/01/80
Update #:  A-l
      Valid Data Names for Retrieval - Description Record Repeating Names

     The following data names from the repeating section of the description
record can be referenced in either EIS/AS retrieval  language specifications or
COBOL language specifications:
         Data Name
               Fiald Length
     AQMA-NUMBER
     ATTAINMENT-STATUS
     DESC-POLLUTANT-ID
                    6
                    1
                    5
     The following data names can only be referenced in COBOL  language
specifications:

     DESC-POLLUTANT-NAME
     EIS-FLAG-CARD-0-7
                                                        (Page  4  of  8)
            Figure 5.2.2-c - continued.   Valid Retrieval  Data  Names
                                     387

-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
     SECTION 5.2.2
     RETRIEVAL PROCESSOR
     CRTLNGP (EC0090)
                Page 34
                Release Date: 2/01/80
                Update #:  A-l
               Valid Data Names for Retrieval - Category Record

     The following data names from the category record can be referenced in
either EIS/AS retrieval language specifications or COBOL language
specifications:
      Data Name

APRIL-THRUPUT
ASH-PERCENTAGE
AUGUST-THRUPUT
CATEGORY-ADJUST
DATA-CONFIDENCE-RATING
DAYS-PER-WEEK
DECEMBER-THRUPUT
FEBRUARY-THRUPUT
HEAT-CONTENT
HOUR-0-THRUPUT
HOUR-1-THRUPUT
HOUR-2-THRUPUT
HOUR-3-THRUPUT
HOUR-4-THRUPUT
HOUR-5-THRUPUT
HOUR-6-THRUPUT
HOUR-7-THRUPUT
HOUR-8-THRUPUT
HOUR-9-THRUPUT
HOUR-10-THRUPUT
Field Length

     2
     3
     2
     7
     1
     1
     2
     2
     4
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
       Data Name

HOUR-11-THRUPUT
HOUR-12-THRUPUT
HOUR-13-THRUPUT
HOUR-14-THRUPUT
HOUR-15-THRUPUT
HOUR-16-THRUPUT
HOUR-17-THRUPUT
HOUR-18-THRUPUT
HOUR-19-THRUPUT
HOUR-20-THRUPUT
HOUR-21-THRUPUT
HOUR-22-THRUPUT
HOUR-23-THRUPUT
HOURS-PER-DAY
INFORMATION-SOURCE-CODE
JANUARY-THRUPUT
JULY-THRUPUT
JUNE-THRUPUT
MARCH-THRUPUT
Field Length

     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     2
     1
     2
     2
     2
     2
                                                             (Page 5 of 8)
           Figure 5.2.2-c - continued.  Valid Retrieval Data Names
                                     388

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
     SECTION 5.2.2
     RETRIEVAL PROCESSOR
     CRTLNGP (EC0090)
                Page 35
                Release Date: 2/01/80
                Update #:  A-l
         Valid Data Names for Retrieval - Category Record (continued)
     Data Name
MAX-HRLY-THRUPUT
MAY-THRUPUT
NITROGEN-PERCENTAGE
NOVEMBER-THRUPUT
OCTOBER-THRUPUT
PROCESS-RATE
SEPTEMBER-THRUPUT
Field Length
    10
     2
     3
     2
     2
     9
     2
      Data Name
SULFUR-PERCENTAGE
THRUPUT-RATIO
UNIFORM-HOURLY-THRUPUT
UNIFORM-THRUPUT
UNITS-CODE
WEEKS-PER-YEAR
YEAR-OF-INFORMATION
Field Length
     2
     4
     1
     1
     2
     2
     2
     The following data names can only be referenced in COBOL language
specifications:
     CATEGORY-DESC
     EIS-FLAG-CARD-1-1
     EIS-FLAG-CARD-1-2
     EIS-FLAG-CARD-1-3
     EIS-FLAG-CARD-1-4
                 INFORMATION-SOURCE-NARRATIVE
                 NEDS-A7-COMMENT
                 NEDS-A7-FLAG
                 NEDS-FLAG
                 UNITS-CODE-DESCRIPTION
                                                           (Page 6 of 8)
           Figure 5.2.2-c - continued.   Valid Retrieval  Data  Names
                                     389

-------
LIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 36
Release Date: 2/01/80
Update #:  A-l
       Valid Data Names for Retrieval  - Category Record Repeating Names

     The following data names from the repeating section of the category
record can be referenced in either EIS/AS retrieval  language specifications
or COBOL language specifications:

       Data Name                          Field Length

CAT-POLLUTANT-ID                               5
CONFIDENCE-RATING                              1
EMF-CONFIDENCE-RATING                          1
EMF-ORIGIN                                     1
EMF-SOURCE-CODE                                1
EMISSIONS-ESTIMATE                             7
EMISSION-FACTOR                               10
MAXIMUM-HOURLY-EMISSION                        6
NEDS-A7-EMISSION                               7
POLLUTANT-SPECIFIC-DATA                       10

     The following data names can  only be referenced in COBOL language
specifications:

CAT-POLLUTANT-NAME
EIS-FLAG-CARD-1-5
                                                              (Page 7 of 8)
           Figure 5.2.2-c - continued.   Valid Retrieval  Data Names
                                     390

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 37
Release Date: 2/01/80
Update #:  A-l
               Valid Data Names for Retrieval - Comment Record

     The following data names from the comment record can be referenced only
in COBOL language specifications:
    Data Name
        Data Name
EIS-FLAG-CARD-2-1
EIS-FLAG-CARD-2-2
LEFT-COMMENT
NEDS-A6-FLAG
       NEDS-COMMENT
       RIGHT-COMMENT
       TOTAL-COMMENT
                                                                (Page 8 of 8)
           Figure  5.2.2-c  - continued.   Valid Retrieval Data Names
                                    391

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL  PROCESSOR
CRTLNGP (EC0090)
Page 38
Release Date:  2/01/80
Update #:   A-l
                         - c  .r c.
                         X —  — X -
                                -
                                                                                s-
                                                                                o
                                                                                Q_
                                                                                O
                                                                                o:
                                                                                o
                                                 XJ
                                                  I
                                                 
-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                    SECTION 5.2.2
                    RETRIEVAL PROCESSOR
                    CRTLNGP (EC0090)
                                Page 39
                                Release Date: 2/01/80
                                Update #:  A-l
Record Position
            Field Length
                   Description
    1 -
    37 -

    69 -
    72 -
31
32
33
34
35
36
67
68
71
80
31
 1
 1
 1
 1
 1
31
 1
 3
 9
Subject Name
Unused
Negation Flag
Unused
Relational  Operator
Unused
Object Name
Unused
Boolean Operator
Unused
       Figure  5.2.2-e.   EIS/AS Retrieval Language Specification Fields
                                    393

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 40
Release Date: 2/01/80
Update #:  A-l
Subject Name:  Specifies the name of the field in the EIS/AS master file
          record to be compared with the literal  or the master file field name
          specified by the object name.
     Valid Codes:  Only those fields listed in Figure 5.2.2-c can  be used.
                   The spelling, including hyphens, must match exactly.
    Field Length:  31 characters

Negation Flag:  Indicates whether the Boolean NOT condition is in  effect.
     Valid Codes:  N - Boolean NOT is in effect.
                   blank - Boolean NOT is not in  effect.
    Field Length:  1 character

Relational Operator:  Indicates the relationship  to be tested between the
          subject name and the object name.
     Valid Codes:  =    equal
                   <    less than
                   >    greater than
    Field Length:  1 character

Object Name:  A literal to be compared against the master file field specified
          by the subject name, or the name of a master file field  to be
          compared against the master file field  specified by the  subject
          name (e.g., subject name = object name).
     Valid Codes:  If a literal is used, it must  be enclosed in quotes.
                   The length of the literal must be exactly the same as the
                   field length of the data name  being compared (see Figure
                   5.2.2-c).  If the name of a field from the master file is
                   used, it must match exactly one of the names listed in

                                                     (Page 1 of 2)
          Figure 5.2.2-f.  Definitions of EIS/AS  Retrieval Language
                             Specification Fields
                                     394

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 41
Release Date: 2/01/80
Update #:  A-l
                   Figure 5.2.2-c.  However, it must not be enclosed In
                   quotes.
    Field Length:  31 characters

Boolean Operator:  Identifies the type of connector used between the relation-
          ships specified on two succeeding control cards.
     Valid Codes:  AND - Indicates that both relationships  must be true in
                         order for the entire relationship  to be true.
                   OR - Indicates that if either relationship is true,  the
                        entire relationship is true.
                   blank - Indicates that there is no connector, and there-
                           fore, that there is no further specification.
    Field Length:  3 characters
    Figure 5.2.2-f - continued.
                              (Page 2 of 2)
    Definitions of EIS/AS Retrieval  Language
    Specification Fields
                                     395

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
         SECTION 5.2.2
         RETRIEVAL PROCESSOR
         CRTLNGP (EC0090)
               Page 42
               Release Date:  2/01/80]
               Update #:  A-l
Truth Value of
Relationship #1
Truth Value of
Relationship #2
          Truth Value of
Relationship #1 AND Relationship #2
     False
     False
     True
     True
     False
     True
     False
     True
              False
              False
              False
              True
Truth Value of
Relationship #1

     False
     False
     True
     True
Truth Value of
Relationship #2
     False
     True
     False
     True
          Truth Value of
Relationship #1 OR Relationship #2
              False
              True
              True
              True
 Truth Value
of Relationship
                                Truth Value of
                               NOT Relationship
     True
     False
                                    False
                                    True
            Figure 5.2.2-g.  Truth Values for Boolean Expressions
                                     396

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.2
RETRIEVAL PROCESSOR
CRTLNGP (EC0090)
Page 43
Release Date:  2/01/80
Update #:   A-l
                            (((   A  )   B  )   C  )

     The least inclusive pair of parentheses is the pair around  the  letter  A,
the second least inclusive set includes the  letters A and B,  and the most
inclusive set in this example includes the letters A, B, and  C.   Thus,  the
order of evaluation is from A to B to  C.
                    (((  A  )  B  )   ((   C  )   D   )   E   )

     In this set both A and C have the least most  inclusive  pair;  therefore,
the order of operation is left to right  on the same  level  of parentheses.
That is, the order of operation in the above example is  from A  to  C  to  B to D
to E.
            Figure 5.2.2-h.   Examples  of Parenthetical  Expressions
                                     397

-------
EIS/AS
DATA  ACCESSING  AND
MANIPULATION
SECTION  5.2.2
RETRIEVAL PROCESSOR
CRTLNGP  (EC0090)
                                  Page  44
                                  Release  Date:  2/01/80
                                  Update #:    A-l
     //*  I I AL'"H/AO«7  IIHH.IFM IH,  LMjVn  M.  (V1 9)  VJ1-S4V1
     // *    »•;  A-i
     //*    DATL  I'lCMWIMlKnTLl)!
     //*
     //*    riiTI)  F'WiTH'U^t  Al L'I.»S THF
     //*
     //
hY  1,  1'MO

 llbf^i  |H  Cl'FATI"  AM ri^/AS  (-FMFKAIF-0
t  A=( jMK, I'ASS )
                                           IH,
     //*   SilKT  rJUPK  I ri.F S
     //*
     //SliW ( WM) 1    ill)  HMI IrK, f |  «-.p,
     //                bl'Afh =1 FkK , f K, "Ml. l\iK 0^ ) )
     //                :i>  fti't •- f 1 1*", , ( %.\'II«K sec 1 1 * f 'I1 1 1 I >•• )
     //*
     //*   I OMIT  l)A(rt St I  - *(. TrtlM'AI  I'hul.l u"  TKILM'lii
     //*
     //M SSM I     HI'  I 'iU"  ''F ="l "II U  f I . . .'.il'I'TF  («.-n -'Mf h ) ,
     //                Vi l| I' ^ - f I'f | \/i» I I , -'I  I A 1 >' ) ,
     //                n I .)!'= ( S-IK , (M SS)
     //«
                  I.AI/V st i  - •'! IK i i.'/ftt  i  i v>i I-, n  r« •',<•,
                                                          i rui
                                                    OlMHlOc'Oil
                                                    o ii o (/ o i n o
                                                    no ono un 0
                                                    Od 00 OS 00
                                                    0 u 0 0 0 6 0 'J
                                                    0(1000 / 00
                                                    f, i) n n o ii o o
                                                    0(iOi)0400
                                                    1100(1 1 0(10
                                                    000011 o i)
                                                    0 0 0 0 1 «? M)0
                                                    l) 0 0 0 ? I 0 0
                                                    OoOuPhO't
                                                    0 u 0 0 ? 9 0 0
                                                    0 u 0 O < 1 0 I)
                                                    (III flu VOO
                                                    OiiOtM SOu
                                                    0 0 0 0 4 "4 0 0
                                                    on oo jsou
                                                    0 u 0 0 4 6 '1 (i
                                                    or/ n
-------
EIS/AS
DATA ACCESSING  AND
MANIPULATION
                                  SECTION 5.2.2
                                  RETRIEVAL  PROCESSOR
                                  CRTLNGP (EC0090)
                                                                      Page  45
                                                                      Release  Date:  2/01/80
                                                                      Update #:   A-l
//•
//f
//
//«
//*
//*
             III) I'ONANf = IN
                M r=t'L KSi
                     ,')(- T - (,r»i(-KA I
             IM)
  //
  //
                   oiSP=(Nf ft.p
                   »PAO. = ( IKK,
// *
//*  IIU1POT HATA  SF I  -  DT A'iijflSI IT
/ / *
//K.S|)IA(.   DO  SYS'lDTrKIIIH
//*
//*  iiiifp
//*
//SYS'MH
/ / *
//S
//«
//S
//*
             HATA  sft.s -  SVSHM IUPK?AI KIM

             Oil  SY;>iHM =RHM I

             lii)  .SYS'iUT=».lMH
               01)

               on  SY.SIIMI =X,IMI[
           MIL  P(V'i=l KhCilL 00,
          Hiy , PAb.S )
                                                       , LIU, ST A
//*   INCH]
//•
                  Sf; I  - rni'l/l
                                          PKIIUI'AM S.JIIlrJi  ')!'  sYsuni =HIIM i
/ / *
//«   |.l||PllT OAI/i  .'if- I  -  (.'H'llL MM!|*V«I  P»-|:i
// *                                            .
//'./SI I i"     '>|i  1 1 "I I 1 -Ml .(',
//               ,1 M'-( 'It ,' , I'A,, ,) ,
                                                                                  OlMIOSKOO
                                                                                  OU.10VJOO
                                                                                  OOOOMOO
                                                                                  nuoo'VMi
                                                                                  0000*. 300
                                                                                       , 100
                                                                                  OU006/00
                                                                                  Oil 00 Ml  3 0 o
                                                                                  Or>0lj»700
                                                                                  00009'iOO
                                                                                  OIMMIC»I»OO
                                                                                  0001(100(1
                                                                                  00010100
                                                                                  00010r>()0
                                                                                  OuOlOSOll
                                                                                  (i 00 1 Ot> On
                                                                                  oooio/no
                                                                                  0 () 0 1 0 M 0 0
                                                                                  0(10)0^100
                                                                                  OllO 1 I ilOO
                                                                                  M,,,l j 1 1 Oil
                                                                                  Olid 1 I ^IMI
                                                                            (Page  2 of 3)
                    Figure  5.2.2-i  -  continued.   Cataloged  Procedure ECRTM10
                                              399

-------
EIS/AS SECTION 5.2.
DATA ACCESSING AND RETRIEVAL PF
MANIPULATION CRTLNGP (ECC
// SPAT f =( IHK , (S,
//*
//* HI |l I I Y DA 1 A StTt>
//*
//SY suT i nn UNI T = F. i f I.IP,
// SPftCF =( IHK , SO, 1 00) )
//*
//SY.SUlr" IH) IMI ! I = <*. 1t"P, SF P=bYSU 1 1 ) ,
// oPAf> = 1 fiVH , ( VI, 1 0(l) )
//*
//SYSnlJ nil ii"l l = ( JiH.'i|',bHP=(SYSilI 1 ,SYS
// .spftC(=(T^K,(SO,iuO))
// *
2 Page 46
.OCESSOR Release Date: 2/01/80
KJ90) Update #:: A-l
OciOl $00
oooi 00
000 I ?bOo
//SYPUld ni) (in I I = («. l( -<*!-•, ;,F P=( SYSUl 1 , SYSU t?, SYRUT4) ) , (MK,l?70o
// .sPftCH =< IK* , (SO, t 00 ) )
//*
//*
//I KFD F XF i; f-r,\«=ii- n't ,
// P«HM='l 1 SI ,LF I, «0lj
000 1 ?VOO
0001 i, 0 0 0
000 1 H 1 00
noo i }! 1 VAH ,fVF 1 A 1 !J ) ,
// liISPr(SMK,PA355)
// Oil ilSUArlf sSYR 1 .f'MI IB,
// i)ISP= (6HK,PAoS)
//*
//* IMHIII IJAIA si i - rii"ni "ti^JEVAL PKIK
//*
//SYRLIM nn liS'iA^fc rKKllH.lMni),
// i)I!jP=(oHK,F AfiS)
//*
//* iHMPnl OA1A SF 1 - nl Af:.NUST 1( "FSoAuF;
// «
//SrSCKl^l ni; ;,> '-i(HiI=k,|ii t
//*
//* nUIPiJI lifllA .SF 1 - (..I'Mlll. FiF!f|FVAL P-'<
// »
//SYS|"lin f,|i hSuAtif rK I'l'il IF-.T | . .1 llftll( -.Pi,'1:
// vlil ll,il = (!'••' 1 Vfi ! L t Kl- 1 A ( n ) ,
// l)!.',l r (HI n,l'A,"5'')
//*
/ / « 1 1 I I L 1 T Y 1 1 A 1 A S F I
// «
//SY "Ui I 1 HI' Hi I I rM 1 . ",
// .-,! (,f \ -( 1 '<>• , 1 1 n , '.) I
// *
// «
OOP 13HOO
0001 3900
0 0 0 1 ') 0 0 o
0001« 1 00
0 (1 0 1 '1 f 0 0
ooo i n jo o
0 0 0 1 (1 4 0 I)
0^01/4^00
o o o i '( t) o o
0 0 0 1 'J / 0 0
MA" (Irt.JtC. t Cdl'F 00014*30(1
0001/1900
o o o i s o o o
000 1MOO
000 1 SdOll
0001S40H
0 0 0 1 S <4 0 0
000 1SSOU
000 1^600
ir,i(A'i LUAn inoijlt OOOISM10
000 I SH"0
A VF ) , 000 I SVOU
ooo i AO no
00 n 8 I On
(I 0 0 ^ t* 0 0
0 I) (i 6 4 0 U
ooo (-i')oo
0 0 0 (i 'i 0 0
1(1(1 <>(iO,l
0,10 1 ^,700
0011 1 f-MOO
                                             (Page 3 of 3)
Figure 5.2.2-i - continued.   Cataloged Procedure ECRTM10
                     400

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
              SECTION 5.2.2
              RETRIEVAL PROCESSOR
              CRTLNGP (EC0090)
                       Page 47
                       Release Date: 2/01/80
                       Update #:  A-l
Parameter
  Name

PROJECT
   Default
    Value

'CN.EPALMH.A087.
CDHS.HQ.AREA'
PROGRAM
TEMP
PGMSAVE
MEMBER
OUT
REGION1
CRTLNGP
SYSDA
CRTDFLT
CRTSKEL
A
100K
REGION2
REGIONS
175K
100K
TIME1
TIME2
TIMES
WORKSPC
'1,0'
'2,0'
'1,0'
'20,10'
             Description

Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ECMASTR would be the full data set name of
an EIS/AS master file)
Retrieval language processor program
Unit type for temporary work space
Output load module member name
Retrieval program skeleton
SYSOUT class for all print files
Region size allocated for execution of
CRTLNGP
Region size allocated for execution of COBOL
compiler program
Region size allocated for execution of link
edit program
Time allocated for execution of CRTLNGP
Time allocated for execution of COBOL
compiler program
Time allocated for execution of link edit
program
Temporary work space for COBOL compiler
            Figure 5.2.2-j.   Substitutable Parameters for ECRTM10
                                     401

-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.3
GENERATED RETRIEVAL
PROGRAM CRTGENR (EC0100)
Page 1
Release Date: 2/01/80
Update #: A-l
5.2.3.  GENERATED RETRIEVAL PROGRAM - CRTGENR (EC0100)

5.2.3.1.  Description

     CRTGENR (EC0100), the generated retrieval  program, is the second of two
EIS/AS programs used to retrieve data from the EIS/AS master file.   The
retrieval language processor program, CRTLNGP (EC0090), generates CRTGENR
(EC0100) and must, therefore, be executed first.   All retrieval requests and
options are specified on control cards and retrieval specification cards
input to CRTLNGP (EC0090) (see Section 5.2.2.2).

     The retrieval process may be performed two ways.  The first is to execute
the cataloged procedure ECRTM30 (see Section 5.4.2).  This procedure executes
CRTLNGP (EC0090) and compiles, link edits, and executes CRTGENR (EC0100);
CRTGENR (EC0100) is not saved.  The second method allows the generated
retrieval program to be saved for future runs (on other EIS/AS master or
answer files).  Two cataloged procedures are used in this method; they may be
run together in one job stream or at different times.  The first of these
procedures, ECRTM10, executes CRTLNGP (EC0090) and compiles, link edits, and
saves the generated retrieval load module (see Section 5.2.2.5).  The second
procedure, ECRTM20, executes the stored retrieval load module (see Section
5.2.3.5).  This load module corresponds to CRTGENR (EC0100), but a different
name should be used so that more than one retrieval  can be stored.

     For further discussion of the EIS/AS retrieval  specifications, including
sample retrievals, see Section 5.2.2.2.
                                     402

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.3
GENERATED RETRIEVAL
PROGRAM CRTGENR (EC0100)
Page 2
Release Date: 2/01/80
Update #: A-l
5.2.3.2.  File Formats

     CRTGENR (EC0100) uses one input file, the EIS/AS master file (or an
EIS/AS answer file).  See Figure 4.3.6-a for the master file format.

     There are two files which are output from CRTGENR (EC0100):  a retrieved
answer file and a diagnostic report.  The answer file has the same format as
the EIS/AS master file.  See Figure 5.2.3-a for an example of the diagnostic
report.

5.2.3.3.  Options and Control Cards

     There is no option card input to CRTGENR (EC0100); however, the optional
features of the retrieval (such as the type of records to be retrieved) can be
specified on the $$SELECT control card input to the retrieval language
processor program, CRTLNGP (EC0090).  See Section 5.2.2.2 for a complete
description of the $$SELECT card.

5.2.3.4.  Error Messages

     There are no error messages.

5.2.3.5.  Cataloged JCL - ECRTM20

     The cataloged procedure ECRTM20 executes a stored generated retrieval
load module and produces an answer file.   This load module must have first
been created and stored using the cataloged procedure ECRTM10.   For informa-
tion on ECRTM10, see Section 5.2.2.5.
                                     403

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.3
GENERATED RETRIEVAL
PROGRAM CRTGENR (EC0100)
Page 3
Release Date: 2/01/80
Update #: A-l
5.2.3.5.1  JCL listing - Figure 5.2.3-b contains a listing of the cataloged
procedure ECRTM20, which executes the program CRTGENR (EC0100).

5.2.3.5.2  Cross-reference of DP names and files

          Program Name:  CRTGENR (EC0100)
          DD Name
   File Description
    Input/Output
          ECSMSTR
          ECSANSR
          ECSDIAG
EIS/AS master file
Retrieved answer file
Diagnostic report
      Input
      Output
      Output
5.2.3.5.3  User-supplied JCL - To execute the cataloged procedure ECRTM20, the
user must supply job accounting information, data set names of the EIS/AS
master file and the answer file, and the data set name of the stored retrieval
load module.  See Figure 5.2.3-c for a description of the procedure's substi-
tutable parameters.

5.2.3.5.4  Sample run stream - The following run stream uses the procedure
ECRTM20 to execute the retrieval load module CRTGEN1.  CRTGEN1 was created
and stored by the procedure ECRTM10 (see Section 5.2.2.5.4 for the run
stream).  This retrieval will select all records for state 12 and county 0010.
The master file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECMMSTR', and the answer
file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECANSWER1.  See Figure 5.2.3-a for
sample output.
                                     404

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                        SECTION 5.2.3
                        GENERATED RETRIEVAL
                        PROGRAM CRTGENR (EC0100)
Page 4
Release Date: 2/01/80
Update #: A-l
//   EXEC
                  ECRTM20,
                  PROGRAM=CRTGEN1 ,
                  MSTRFIL=ECMMSTR,
                  ANSRFIL=ECANSWER
5.2.3.6   Warnings and Special Instructions

     If CRTLNGP (EC0090) is run and encounters an ABORT error, CRTGENR (EC0100)
will be executed (if it follows in the run stream) but will not produce a
valid answer file.  When this occurs, correct the error from CRTLNGP (EC0090)
and resubmit the job.

     The retrieval language processor program, CRTLNGP (EC0090), must always be
run prior to running the generated retrieval program, CRTGENR (EC0100).  The
two programs may be run together using the procedure ECRTM30; or the generated
retrieval module may be stored and run at a later date, using procedures ECRTM10
and ECRTM20.

     The answer file is only a subset of the master file; any changes made to the
answer file during the retrieval  process are not reflected in the master file.

5.2.3.7.  Cost Considerations

     The following estimates are for the execution, on an IBM 370/168, of the
sample run stream shown in Section 5.2.3.5.4 and illustrate the cost of executing
ECRTM20.
                                      405

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.3
GENERATED RETRIEVAL
PROGRAM CRTGENR (EC0100)
Page 5
Release Date: 2/01/80
Update #: A-l
          Size of EIS/AS master file:
          Size of answer file:
          CPU time:
          I/O time:
          Total time:
                      371 records
                       92 records
                      .99 second
                       12 seconds
                    12.99 seconds
          Estimated cost:
                      $3.64
5.2.3.8.  Related Programs and Procedures

     The cataloged procedure ECRTM30 should be used to perform one-time
retrievals.  It executes the retrieval language processor program, CRTLNGP
(EC0090), and compiles, link edits, and executes the generated retrieval
program, CRTGENR (EC0100).  After the retrieval has been completed, the
generated retrieval program is deleted.  For additional  information on
ECRTM30, see Section 5.4.2.
                                     406

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.2.3
GENERATED RETRIEVAL
PROGRAM CRTGENR (EC0100)
Page 6
Release Date: 2/01/80
Update #: A-l
                    _J _j 
-------
EIS/AS SECTION 5.2.
DATA ACCESSING AND GENERATED RE
MANIPULATION PROGRAM CRTG
3 Page 7
TRIEVAL Release Date: 2/01/80
ENR (EC0100) Update #: A-l
//* F rA|.Mii/AOH7 m l>i,F PF |H, Ltl'Yh 4. (  0 (|
01)000 40(1
0 0 0 l) 0 q 0 l)
0 0 0 0 0 b 0 U
0 0 0 0 0 h 0 0
0 u 0 ' * 0 /no
//* TUT!-, PIAITf IHi"F 'U I (l.'jS Inf llSf-P I'l PFIP1EVF. !j A | A FKuM fl't ETS/AS OOOdOMOO
//* KASIFK Ml.H MY F XtTilf fM(, A'M MS/AS (.,
'•JFK/UFi) KFtWJFVAL F'HDM'AN OnnoOVOO
//* THAT HAS HFfcN P| OooulOOO
//*
//*
00001 100
0 0 0 0 1 d 0 o
//Ftwiivo ('Kin; pt-'ii.n r i = 'CN.rpAL'ui. AOK /.cmis.Hij. AF>F_ A • , 00001400
// HFflir.KAdrC'M I>H 1 ,
// I'F U 1 (IN 1 = 1 00 K ,
// 1 IMF i = ' i ,0' ,
// MSI K'F Il. = KC"ASTF R,
// A1U>IJF ll_ = Kr ANSHF M,
// IK-'JIr 5i40,
// ,'jt-Pl At SfOMbf'K ,
// 1)1 rjfs'NF^^'Ah.SjIX 1 F. Th ' ,
// SPl IllJt 1 i 1 WK,
// ('K]M«MY=^n,
// ,SF C'JUW Y= 1 1 ,
// lyit|=A
//*
//P| TKVL FXH F'l.HrK.PRlli.WA'' ,
// h(F l,TllN = K,HFMIIMt r
/ / 1 H»F = f KT 1'1F 1 )
//*
OnOOl UOil
0 (i n o ) s o o
0 0 0 0 1 b 0 i>
0 d 0 o 1 7 n (}
OdOy 1 80o
0 0 0 (| 1 V 0 U
0110(1^1)00
0 0 0 0 / I 0 I)
OllO !>? (I
0 d f, y ? 4 0 0
0 U 0 0 r* 4 0 0
OOOil /SOI)
o d o (i ^ f> o o
0 0 0 0 ?/ 0 0
0(lOd?«00
00002900
00004000
//* KflWlfvF AigS>vrp FILF F nf)M MS/AS MASUW flLF 0 II 0 (I < 1 0 (I
//*
//SfU'l IH hi) liSNA^iF =M'«li,Jt C. 1 . .LlJAi),
// V ,lL'IME = f HWIVIlt /Kb 1 A II.),
// l>h |ySi\lANE=SYS) .CDMI JH,
// |i|.SP=(bMH,PAjci)
//*
//* IMPlif I)AIA S^l - F IS/AS .-1AME.K F 11 F
//*
//FLSVSIF1 DO DSNA-1F =P.PIv(_).IF f. 1 . .HAT A. *KS1 IV
// V'll MMFs(Pi;j VA H , KF 1 A [II) ,
// 1)1 SF'= CiHK, PASS)
//*
/ / * 1 1 1 1 1 P 1 1 T 1) A F n S M - '> M S '" ( P F i 1 F.
//*
//FI.SAM:,^ hn nsriAr'F =RI'UM IF '' I . .DAT A . >. A^lSK
// VM| IMF r ( pP I \'A 1 1 , 1 • F 1 A I IM, SF I'r
// hi ,SF'=f K.D1SH) ,
// l|i>' 1 1 rMKI 1 1 ,
// ,i «f F = «.:,••( PH. i | , i M'|; i I-/.M , l.
//*
// » i ,11 1 t'HT IA 1 n Ml - i) I i\r.i ' is T I r h ( P MI- 1
// '
//F i SD f A'. hi' .Ysnii 1 =1 mi i
// *
0 0 0 0 3 2 0 o
00004400
00 oil 4«')D
00 00 460 o
0 00(14/0 II
00 00 3 BOO
OdOd 4VOO
0 (1 0 tl '4 0 0 I)
F U . 000(1/4 1 0(1
O.ioo/Jr'Od
no (-K 1 M ) , Ooinl'1800
0(iOl)'4 V(i(J
o.id iiSdOo
SI < t Pt, y j , 1. 1 HF I OiiouM 00
OlMMl'jr'OI)
0 uOO'-i S'Ml
(I'M"1 (I '''4 1)0
lid n n>, silo
', U i1 M 'ill 00
                                           (Page  1  of  2)




Figure 5.2.3-b.   Cataloged Procedure ECRTM20
                          408

-------
EIS/AS

DATA ACCESSING AND

MANIPULATION
                 SECTION  5.2.3

                 GENERATED  RETRIEVAL

                 PROGRAM  CRTGENR (EC0100)
Page 8

Release Date:  2/01/80

Update #: A-l
  //»  iiiimir  HATA SMS - SYSTFU UPLIFT
  //*
no svanui=tiiii[

in; svhiui r=f.nij r
                                                                           /(HI
  //*
  //S
  //*
  //S
  //*
  //.•j
  //*
          nor. of. ooo
          00006100
          OOOO'ic'OO
                                                                      0 l)0 0*1 /DO

                                                                      OOOOhHHO
                                                              (Page 2 of 2)
           Figure 5.2.3-b  - continued.   Cataloged Procedure ECRTM20
                                      409

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 5.2.3
      GENERATED RETRIEVAL
      PROGRAM CRTGENR (EC0100)
           Page 9
           Release Date: 2/01/80
           Update #: A-l	
      Parameter
        Name

     PROJECT
     SERIAL


     DISP
     SPCUNIT

     PRIMARY

     SECNDRY
      Default
       Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
PROGRAM
TIME1
MSTRFIL
ANSRFIL
UNIT
CRTDFLT
'1,0'
ECMASTER
ECANSWER
3330
CDHSPK


'NEW,CATLG,DELETE1
TRK

20

10
      Description

Highest-level index of data set
names (e.g., CN.EPALMH.A087.CDHS.
HQ.AREA.DATA.ECMASTER would be
the full data set name of an
EIS/AS master file)
Stored retrieval load module
(created by ECRTM10)
Time allocated for execution of
retrieval
Lowest-level index of master file
Lowest-level index of answer file
Unit type to which the answer
file is to be written
Volume serial number of volume to
which answer file is to be
written
Disposition of answer file
Units in which space for answer
file is to be allocated
Primary space allocation for
answer file
Secondary space allocation for
answer file
                                                         Page 1 of 2
            Figure 5.2.3-c.  Substitutable Parameters for ECRTM20.
                                     410

-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 5.2.3
      GENERATED RETRIEVAL
      PROGRAM CRTGENR (EC0100)
           Page 10
           Release Date: 2/01/80
           Update #: A-l
      Parameter
        Name

     OUT
     REGION1
      Default
       Value
A
100K
      Description

SYSOUT class for all print files
Region size allocated for program
execution
                                                         Page 2 of 2
      Figure 5.2.3-c -  continued.   Substitutable Parameters  for ECRTM20.

                                     411

-------
1 IS/AS
 DATA ACCESSING  AND
 MANIPULATION
SECTION 5.3
MASTER FILE SORT
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #:  A-l
 5.3   MASTER  FILE  SORT

 5.3.1  INTRODUCTION

      The master file maintenance  program,  CFMMSTR  (EC0070), produces a master
 file in the  standard sort  sequence  (i.e.,  the  records are ordered by the
 master file  sequence key shown  in Figure 5.3.2-c).  Also, any answer file
 produced from a master  file  by  a  non-batched retrieval  is in master file
 standard sort sequence.  However, answer files produced by batched retrievals
 are  not in the standard sort sequence  and  must be  sorted before being input to
 other programs.   CSRMSTR (EC0110) allows the user  to sort an answer file by
 batch number; i.e., to  group together  (in  standard sort sequence) the records
 selected by  each  of the batched retrievals.  See Figure 5.3.1-a for a
 flowchart illustrating  the operation of the master file sort program.

      CSRMSTR (EC0110) allows the  user  to choose an option of either standard
 or batch sequence for the  sort.   Only  batched  answer files should be sorted
 using the batch sequence option.  A file in batch  sequence can only be used as
 input to the detailed report program CRPMSTR (EC0130), whereas a file in
 standard sequence can be input  to any  program  which uses the master file.

      See Section  5.3.2  for a detailed  discussion of CSRMSTR (EC0110).

      CSRMSTR (EC0110) can  be executed  using the cataloged procedure ECSRM10,
 which is discussed in Section 5.3.2.5.  A  sample stream is shown in Section
 5.3.2.5.
                                      412

-------
EIS/AS
DATA ACCESSING AND
MAINPULATION
SECTION 5.3
INTRODUCTION
Page 2
Release Date: 2/01/80
Update #:  A-l
                               CSRMSTR (EC0110)
                                 MASTER FILE
                                 SORT PROGRAM
                  (SORTED
                  ANSWER
                   FILE
                                                    OPTION
                                                     CARD
                                 ^50RT WORK
                                   FILE
                                 temporary)
                    DIAGNOSTIC
                      REPORT
                 Figure  5.3.1-a.   Master  File  Sort Flowchart
                                    413

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR (EC0110)  Update #:   A-l
Page 1
Release Date: 2/01/80
5.3.2  MASTER FILE SORT PROGRAM - CSRMSTR (EC0110)

5.3.2.1  Description

     CSRMSTR (EC0110) sorts batched retrieval  answer files into the sequence
required for their use as input to any of the  EIS/AS report programs.  In
addition, CSRMSTR (EC0110) can be used to sort an out-of-sequence master or
answer file into the standard master file sequence.

5.3.2.2  File Formats

     Input to CSRMSTR (EC0110) consists of an  EIS/AS master or answer file and
an option card.  See Figure 4.3.6-a for the master file format.   For a
detailed description of the option card, refer to the next section.

     Output from this program consists of the  sorted EIS/AS master or answer
file and a diagnostic report.  The format for  the output master or answer file
is the same as that of the input file; however, the sequence of the file
records may have been changed.  The sequences  into which the master file can
be sorted are described in detail in the next  section.  An example of the
diagnostic report is shown in Figure 5.3.2-a.

5.3.2.3  Options and Control Cards

     The option card specifies the sequence into which the master or answer
file is to be sorted.  By entering BATCH in card columns 1 through 5, the
BATCH option can be specified to sort the master or answer file into the
sequence shown in Figure 5.3.2-b.  This option is used to sort batched
retrieval answer files.  However, if STND is entered in card columns 1 through
4, the STND option is specified and the master or answer file will be sorted
                                     414

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR (EC011C)  Update #:  A-l
Page 2
Release Date: 2/01/80
into the sequence shown in Figure 5.3.2-c.  This option sorts the file into
the standard master file sequence; i.e., the sequence created by the master
file maintenance program, CFMMSTR (EC0070).  See Figure 5.3.2-d for the option
card format.

     If no option card is entered, a default of STND is assumed.  If the
option card is blank or if any invalid characters occur within columns 1
through 5, the run will be aborted.

5.3.2.4  Error Messages

CSRMSTR 001 ABORT - INVALID OPTION SPECIFIED
     Meaning:  Either an invalid option word is contained in columns 1 through
               5 or the option card is blank.  Therefore, the run was
               terminated.
      Action:  Correct the option card and resubmit the job.

CSRMSTR 002 DISASTER - INVALID RECORD TYPE, CALL NADB
     Meaning:  The record type is not 0, 1, or 2 (for description record,
               category record, or comment record, respectively), and the
               record cannot be sorted.
      Action:  Contact personnel at the National Air Data Branch for
               assistance.

5.3.2.5  Cataloged JCL - ECSRM10

5.3.2.5.1  JCL listing - CSRMSTR (EC0110) is executed by the cataloged
procedure ECSRM10.  See Figure 5.3.2-e for a listing of this procedure.

5.3.2.5.2  Cross-reference of DD names and files
                                     415

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
         SECTION 5.3.2
         MASTER FILE SORT
         PROGRAM SCRMSTR (EC0110)
Page 3
Release Date: 2/01/80
Update #:  A-l
     Program Name:  CSRMSTR (EC0110)
     DP Name

     ECSINPT
     ECSOPTN
     SORTWK01
     ECSOUTP
     ECSDIAG
  File Description
EIS/AS master file
Option card
Sort work file
Sorted EIS/AS master file
Diagnostic report
 Input/Output
   Input
   Input
  Internal
   Output
   Output
5.3.2.5.3  User-supplied JCL - To execute the cataloged procedure ECSRM10, the
user must supply the job accounting information and the data set names of the
EIS/AS master file and the sorted EIS/AS master file.   See Figure 5.3.2-f for
a description of the procedure's substitutable parameters.  The user should
also supply an option card to specify the desired sort sequence.

5.3.2.5.4  Sample run stream -The following run stream would produce a sorted
EIS/AS master file named 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECNEWMST'.   The
input EIS/AS master file is named 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECOLDMST',
and the BATCH option is specified.

// EXEC ECSRM10,
//      OLDMSTR=ECOLDMST,
//      NEWMSTR=ECNEWMST
//SORT.OPTIONS DD *
BATCH
/*

5.3.2.6  Warnings and Special  Instructions

     The run will be aborted if card columns 1 through 5 of the option card
contain anything other than the valid option words or  if the option card is
                                     416

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR (EC0110)  Update #:  A-l
Page 4
Release Date:  2/01/80
blank.  The standard option (STND) is the default when an option card is not
included in the run stream.

     Note that the COBOL sort verb is used in this program;  therefore, the
collating sequence for alphanumeric fields is determined by  the computer at
the user's particular installation.

     In addition to the diagnostic report produced by CSRMSTR (EC0110),
messages generated by the sort-merge package will be printed.  The format and
content, as well as the physical location, of these messages depend upon the
user's particular installation.

     The file produced by CSRMSTR (EC0110) may not contain all  the data in the
current active master file if the input file was produced by a  retrieval.
Thus, the file produced by CSRMSTR (EC0110) should not be used  as input to a
master file maintenance activity unless the user is sure that the file
produced by CSRMSTR (EC0110) reflects a valid, current master file.

5.3.2.7  Cost Considerations

     The following estimates are for the execution of CSRMSTR (EC0110) on an
IBM 370/168:

     Number of sorted master file records:                92 records
     CPU time:                                           1.69 seconds
     I/O time:                                           6.40 seconds
     Total time:                                         8.39 seconds

     Estimated cost:                                    $2.35
                                     417

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR (ECOllGJ)
Page 5
Release Date: 2/01/80
Update #:  A-l
5.3.2.8  Related Programs and Procedures

     CSRMSTR (EC0110) can be run in conjunction with many of the other
programs in the EIS/AS system.  Its execution is especially useful before
submitting an EIS/AS batched answer file to a report program.
                                     418

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR  (ECOllOl)
Page 6
Release Date: 2/01/80
Update #:  A-l
                         -JJ JT U

                         V, If, IS
                                     419

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                     SECTION 5.3.2
                     MASTER FILE SORT
                     PROGRAM - CSRMSTR (EC0110
                                   Page 7
                                   Release Date:  2/01/80
                                   Update #:   A-l
Record Position
              Description
                                   Sort Order
    1 -
    3 -
    7 _
   11 -
   16 -
   19 -

   22 -
10
 2
 6
 9
15
18
20
21
24
Batch Retrieval  Code               Ascending
State Code                         Ascending
County Code                        Ascending
Filler                             Ascending
Geographic Suballocation Number    Ascending
Category Number                    Ascending
Category Disaggregate Number       Ascending
Record Type                        Ascending
Line Number                        Ascending
               Figure 5.3.2-b.   Sort Sequence for BATCH Option
                                     420

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
       SECTION 5.3.2
       MASTER FILE SORT
       PROGRAM - CSRMSTR (ECOllOp
Page 8
Release Date: 2/01/80
Update #:  A-l
Record Position
1
3
7

11
16
19

22
- 2
- 6
- 9
10
- 15
- 18
- 20
21
- 24
Description                        Sort Order

State Code                         Ascending
County Code                        Ascending
Filler                             Ascending
Batch Retrieval Code               Ascending
Geographic Suballocation Number    Ascending
Category Number                    Ascending
Category Disaggregate Number       Ascending
Record Type                        Ascending
Line Number                        Ascending
                Figure  5.3.2-c.   Sort  Sequence  for  STND  Option
                                    421

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.3.2
MASTER FILE SORT
PROGRAM - CSRMSTR (EC011
   Page 9
   Release Date:  2/01/8C
)   Update #:   A-l
            Column
              #1
             BATCH
             STND
Note:  The option must be specified in the indicated field; all  other columns
must contain blanks.
                     Figure 5.3.2-d.  Option Card Format
                                     422

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                                  SECTION 5.3.2
                                  MASTER FILE  SORT       •:
                                  PROGRAM -  CSRMSTR  (EC0110)
Page  10
Release Date:  2/01/80
Update #:   A-l
                      HHH.FHFIM,  LI uri;  H.
//*
//*
//»    I'rtlllF DIIKF" MA'IF ! Ft,SH*'|0
//»    >>F VI R j UN L F VFL : 1 -III)
//*    I ASI  UPOATF  U-  fl-1
//*    OATF  ] NCflHPUCA ft ":  FFuwliARY 1,  1980
//*
//*
//*
//*
//*
//Ft. SKI' I 0
                                                    V(- i.'  FJIh  I HAT  IS  |M MAR |F.*  FILF  FliHI-41
                     ('f il.le C 1 s ' ft'. . f l-'Al MM. A OH 7 . C''H.S.MU. A»t A ' ,
                                                                            i- ILF
//
//
//
//
//
    //*
                     (II
                     nlSPr'liF A, I. All. (;,I)FLF IF
                     .SHL'MI 1 = IKK ,
                     KWlrth^YSdf'r
                     .SK 'IDVY = | n,
    //               I Inf =(s.T I "t I >
    //*
    //*  ,sm    HI) O.SiiA !F zKPPH.IF.r I ..I iJAI),
    //               VdlJlf'T = f P« 1 VA It , WF I A IM
    //StlHILIH    I'D  l)SNAi
    //*
    //siii'i|-ii« n i   IHI  ufii i =* if tiv ,
    //               .Si'Aft_ = t T rtK , ( x. ml- KSi-T ) . , rid I M i.)
    //*
    //Sl|W I \: *•. ()rj   I)1)  Illl | I = ( f. 1 ( "P , lit PrSfiK f |H || t ) ,
    //               5P(>rt - ( fh'H , ( ^.-Mih>scr; ) . ,i  ,11 1 1  [i, )
    //*
    //SlU' 1 -|l  |i:p | I - ( f, 1 h --I' , SF P=r ( SllW I " HO 1 , ,Sl l|, I ,'
    //               jt-'uf f = t 1 ,(h , r ,\.' JPKS^f J , , I  '!'•! I  I I, )
    //*
    //*  I 'Ji'l' I HA I A Sf  T  - I ( <:/A.s .  ,1 M I. 4 M I  t
    // «
    //F r ••. i ;'r r    M!  i  ;•!/>  f -i'i'i-'u.ii r i . .im i » . \HL" •"-• i '• ,
    //               v>'\  il ^ -< .-"< j V n r I , iv F I 'i I ' J ,
    //               I I .,!'= ( 'iH^ , I'AS', )
             no n on i oo
             II 000 Off ft I)
             ooooo sno
             o o o o o 4 n o
             o o o o n S o o
             o i) o o o o o (/
             o o o o o / (i o
             rtoooo<*on
             o o o o o '•> (i o
             o o o o 1 o o o
             00001100
             00001^00
             no no i 300
             o o o o i a o o
             0000 I SOO
             "000 I 6"0
             flu 00 1 /0(l
             0 U 0 0 1 H 0 0
             o o o o i -y o o
             00 00? 000
             o o o o <> i o o
             oooop^oo
             OtlOOr'iOll
             o o n o ? 'i o o
             no oo?s on
             oiioo?».oo
             n o o o i> i n o
                                                                                   o o o (i ? <* n o
                                                                                   o o r> o { u n o
                                                                                   n o o i; « i o o
                                                                                   00 00 i?0(i
                                                                                   0 d 0 (I 3 5 0 0
                                                                                   o o o u * s n o
                                                                                   0000 \hOO
                                                                                   00005700
                                                                                   00 Ou 5800
                                                                                   000 n 4900
                                                                                   0 Ci 0 (j 'J 1 ft 0
                                                                                         500
                                                                                   OOOnd'400
                                                                                   0 1)0 i) 'I SO (i
                                                                                   OOOu'l
                                                                                         ift 0
                                                                                   "00 or> it n i)
                                                                                   M|I»(|C, 1 fid
                                                                     (Page  1 of 2)
                      Figure 5.3.2-e.   Cataloged Procedure ECSRM10
                                                423

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                              SECTION 5.3.2
                              MASTER  FILE  SORT
                              PROGRAM - CSRMSTR (EC0110)
                                                                Page  11
                                                                Release Date:  2/01/80
                                                                Update  #:   A-l
//*
//*
//f
//
//*
//*
//*
      //
      //
//*
//*
//f-
//*
//*
//*
//o
//*
//S
//*
           JfJI'HI I'AIA  SM  - (IITrOu  (.AM)
         I' Sill' I M   Hi)
                          »f =(1H1 1 llf.S,
                           l hS I 7\- = hO
             hAIA Sf I  -  S

             Oil |ir>N/>i-^=RtJrM,
                vm n,.ii =((j^i
                1)1 SI ' = ( n,n 1 Si>
                Util I rdllr, [ | ,
                                      MS//V;->
                                                 ,X.SI-f:NI)HY )
           llllll'llt  OATA bl- I  - III ft(,iiHM IP Hhf'llWl

          si/i AC;    on  svauijT=K(iiir

           i|M|PUT  f'flTA SMS -  SYSIM! |IPK>' A 1 1 f IN

                   no  bY.siiij r=siin i

               JI   on  srunui =iiiini

               n   nn  :>vsnin =K,MIII

               r-;   nn  SYSHIIT=KIIIU
      //*
      //*
      //*
                                                                              i)dni>s /oo
                                                                              IKHIOSMIIO
                                                                              0 il f (IS Vil I)
                                                                              0 ml df.') ft fll)7MOll
                                                                              Odoo 7 von
                                                                              OOOuMOOO
                                                                              0 fl 0 U H 1 0 d
                                                                              o o o o n d n o
                                                                              0 0 0 0 H i 0 0
                                                                              0 0 0 u K U 0 0
                                                                              00008600
                                                                  (Page 2 of 2)
            Figure  5.3.2-e  -  continued.    Cataloged  Procedure  ECSRM10
                                            424

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
              SECTION 5.3.2
              MASTER FILE SORT
              PROGRAM - CSRMSTR (EC0110)
                    Page 12
                    Release Date: 2/01/80
                    Update #:  A-l
Parameter
  Name

PROJECT
PROGRAM
REGION1

TIME1
OLDMSTR
NEWMSTR
UNIT

SERIAL

DISP
SPCUNIT

PRIMARY

SECNDRY

WORKSPC
OUT
TEMP
   Default
    Value

'CN.EPALMH.A087.
CDHS.HQ.AREA1
CSRMSTR
150K

'2,0'
ECOLDMST
ECNEWMST
3330

CDHSPK

'NEW,CATLG,DELETE1
TRK

20

10

'20,10'
A
SYSDA
            Description

Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ECOLDMST would be the full data set name
of the EIS/AS master file)
Master file sort program
Region size allocated for execution of
CSRMSTR
Time allocated for execution of CSRMSTR
Lowest-level index of unsorted master file
Lowest-level index of sorted master file
Unit type to which sorted master file is
to be written
Volume serial number of the volume to which
the sorted master file is to be written
Disposition of sorted master file
Units in which space for sorted master file
is to be allocated
Primary space allocation for sorted master
file
Secondary space allocation for sorted
master file
Space allocation for sort work files
SYSOUT class for all print files
Unit type for temporary work space
             Figure 5.3.2-f.   Substitutable Parameters for ECSRM10
                                      425

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 5.4
MULTI-PROGRAM PROCEDURES
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
5.4.  MULTI-PROGRAM PROCEDURES

5.4.1.  INTRODUCTION

     The cataloged procedure ECRTM30 allows the user to execute the retrieval
function without saving the generated program.  The cataloged procedure
ECRTM30 executes the retrieval language processor program, CRTLNGP (EC0090),
and the generated retrieval program, CRTGENR (EC0100).  Refer to Section 5.4.2
for information on ECRTM30.
                                     426

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 5.4.2
      RETRIEVAL PROCEDURE
      ECRTM30
Page 1
Release Date: 2/01/80
Update #:   A-l
5.4.2  RETRIEVAL - ECRTM30

5.4.2.1  Description

     The cataloged procedure ECRTM30 executes the retrieval language processor
program, CRTLNGP (EC0090), and compiles, link edits, and executes the
generated retrieval program CRTGENR (EC0100).  The load module for the
generated retrieval program is not saved.  For information on the cataloged
procedure ECRTM10, which executes the retrieval language processor program and
compiles, link edits, and saves the generated retrieval load module, see
Section 5.2.2.5.  Information on the cataloged procedure ECRTM20, which
executes the retrieval load module stored by ECRTM10, can be found in Section
5.2.3.5.  Information on CRTLNGP (EC0090) and CRTGENR (EC0100) can be found in
Section 5.2.

5.4.2.2  JCL Listing

     Figure 5.4.2-a contains a listing of the cataloged procedure ECRTM30.

5.4.2.3  Cross-reference of DP Names and Files

     Program Name:  CRTLNGP (EC0090)
     DP Name

     ECSSKEL
     ECSINPT
     ECSRTRV
     ECSDIAG
     SORTWK01
    File Description

Retrieval skeleton program
Retrieval specification cards
Retrieval source program
Diagnostic report
Sort work area
     Input/Output

        Input
        Input
        Output
        Output
        Internal
                                     427

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 5.4.2
      RETRIEVAL PROCEDURE
      ECRTM30
Page 2
Release Date: 2/01/80
Update #:  A-l
     Program Name:  CRTGENR (EC0100)
     DP Name

     ECSMSTR
     ECSANSR
     ECSDIAG
    File Description
EIS/AS master file
Retrieved answer file
Diagnostic report
     Input/Output
        Input
        Output
        Output
5.4.2.4  User-supplied JCL
     To execute the cataloged procedure ECRTM30,  the user must  supply job
accounting information and the data set names of  the EIS/AS  master file and
the answer file.  See Figure 5.4.2-b for a description of the procedure's
substitutable parameters.   The retrieval specification cards must also be
supplied.

5.4.2.5  Sample Run Stream

     The following run stream uses the cataloged  procedure ECRTM30.   The input
EIS/AS master file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECMASTR11 and the
output answer file is 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ANSWR1'.   The answer
file is to be cataloged so that it can be used in later runs.   All  records for
county '0218' will be retrieved.

// EXEC  ECRTM30,
//       MSTRFIL=ECMASTR1,
//       ANSWRFL=ANSWR1,
//       DISP= 'NEW, CATLG, DELETE'
//COMPILE. INPUT DD *
$$SELECT      0 1 2
COUNTY                    = '0218'
$$END
/*
                                     428

-------
EIS/AS SECTION 5.4.2
DATA ACCESSING AND RETRIEVAL PRO
MANIPULATION ECRTM30
//* M'AIM|(/AOM7 HF.Ol-FPF |M, Ll-HYl) M. (VI V) S
//*
//« Pl"ll HJIIkr 'Jfl"M FCWI'-iO
//* Pf.VlSlfu LFVFL: t-Oo
//« I AST UPliAlF «: A-l
//* [IATF [tJtriPF'UPA IH>: F f- t>l''UA4Y 1, 19>JO
//*
//+ IHIS punt i t>u«l ALL'ii.s IMF IISFK in CKF
Page 3
CEDURE Release Date: 2/01/80
Update #: A-l
'!|—S A T n til'* t H F" MR/flS rt A
//*
//*
//FLPIM40 Pwil(. f Pll.ll f | = Tu'.i r'AI CM. «1|0? .C^MS
// i«piir'(An=(,F' 11 iMf-P,
// P.f I, JIlMl r 1 OOK ,
// Wf I, I'llJiJsl 7SK,
// iv r i,inii.j= i OHK ,
// i-l. (-, lufi'ir i OOK ,
// 1 MM = ' 1 ,0' ,
// 1 I'.l <>- V,0' ,
// T F;. r s= • i ,o< ,
// NS^WMLrLrMASlH',
// AMSP-F IL = hr.«Mb»'hP,
// UM 1 =.^i^D,
// ,Sf l^ I ftl.=CI.>H{.Pn »
// I) 1 5P= 'Nf ,v,l'AbS,IH LMK ' ,
// s'ic""'i?!'"K'
// Sf(.M)WY=10,
// n-f Mi»KP=rF' i UKFI ,
// If liP = SYPl)A,
// i«HiVhSPL= Vu , i 0 • ,
//^ (lht=A
//'*tNlW F.XFt F'(-M = X.PMI1(,IJA",
// KF i,lutl5K.KH;lllMt .
// 1 li'f =(x.l MF 1 )
//«
//* (,F'MF I-'A I K TMF MS/AS K'F 1 ' 1 F. i/ AL (JP| U;K A -1
//«
//SIH-'I |H IM> hSUA".f sUHPu.H t" 1 . .1 HA|),
// VI II Mi If =(I'P [ Vft T t , Kf 1 A [',' ) ,
//S-.MI l'< KM !''M/>^'=-?Y.Vl'!!srS|KlM,4.
// ['i.>t'-(.Sh.v,rAsS)
//*
// « SHKl vilKr F II F S
//*
//'.',(«' 1 IMK 0 1 I'D H'" 1 1 =v II Ml ,
.STt. P. F II t On 00 1 ()0o
0,100 1 100
Odd 0 1 ^00
. Mil . ARf A ' , Oi)d.) 1 400
0(|0 U 1 /(0(|
0 1) d I) 1 S 0 0
oooolnoo
Oor. ,i i /nn
(to do 1 U 0()
0 0 0 ') 1 V 0 ()
ooo>i?(inO
00 On? J 00
OdOo?ioo
OoOoP'tOy
do 0.)PS 01)
O0'yi>i?o')()
0|)0()? 7 0(1
000o?«0o
0 0 0 () T, o 0 ()
0 0 0 d 4 J 0 0
ouomp.oo
0 000 4 400
(i o o o 4 a d 0
0 l> 0 0 ^ tt 0 ()
0 0 0 (M / 0 0
nooicwio
OijOO 4VOO
0 U 0 0 '4 I) 0 ()
n ii n f, /i ] 0 0
o i) o i) /i ,i'i.i i. = ( T., i- , i <. .ii..iv spr ) , , r i|,,' i 11,)
/ / *
//si ii,1 i c KO 4   'in I r 11 I --1 ,«. 1 I 'n , M r- ( "Mi1-1 I • !• o i , > ii/1 .^
OnOMSiiOn

Our. i)Si,On
                                                                    (Page 1 of 4)
               Figure 5.4.2-a.   Cataloged Procedure ECRTM30
                                       429

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                                 SECTION  5.4.2
                                 RETRIEVAL PROCEDURE
                                 ECRTM30
                                                                    Page  4
                                                                    Release  Date: 2/01/80
                                                                    Update #:   A-l
//
// *
//*   IMC
/ / *•
//r-(ssKM
//
//
/ / *
//*   IMH
//»
                     SPAT t = lTit 8KFLF. IMN
                 i>.suAHF=)i,pi.'iuf r i .
                 vfiMIMf- = (pP I VMt.» (-
                UAIA sn  -  i-'rii0

              DATA :>M  -  Olnr.igflSI K l-tt'li

              IHI  sV.'i'itirriCill1 I
//«
//•   iitJii'in  HAT* sri
//*
//SYSnDI      nil bYSflU
//*
//SYSPRJ^I   00 .SYSIKJTsH'HIl
//*
//SySKMi'lll   111) 3YS'lin = Ki|iJI
/ / *
//.svsnTf- wi-i   on .SYb'iuTsKiMir
//«
//SYSinuiMH   no svsitti T=x.iiiii
//*
//*
//f"i|i4(J|.i= ' S J 7| = 1 1 ')K , itDK =%IIK , IMiiSt i lOf MIlSiHIKCt > SI IP MAP, I ] H, S I A I f ,F(.ilv.= |d',
                 «f r, T'liM-Kl'lf u HIM,? ,
                 I I 1'iF = ( s f 1 >*{_?)

      CHiMI'lIK  RF I !•' IF V( A|_  PPM',KA''i
//*
/ / *
//*
// «
//
//
//
//*
//«
/ / »
//•;
/ /
                 i)A|A ">t r  - Snli|-r>  I
                     VI 'I 'I !l : ( PI' I « il 1 t , I t I A I • ) »
                     1. 1 •>>'- ( hMiV , f'".)S I


                  AM Shi  -  Cliliul  "(TI'IIV')!  Pi

                  "I! PVK-  f =< (il'i-MI, I'r',
                     i • I L

c?00 noooh^ni) r, (i o n f, it r, o il 6 9(M) OuOi)/()dU n o n o 7 1 n o ooonysno 0000/hOO n u o o 7 / o i) fiOOu7bOO 00007900 oo ( 0()d08S'iO OOOdRhOd 0 0 0 0 « / 0 () 0 0 0 0 f H n d o d d d P 9 n o iono°ooo TM) On VI f>0 oooov^oo 0 (i 0 d Q V 0 d Od 0 1 0 il d 0 00010100 0 o 0 1 0 d ft d odO 1 O/t oil 0 jo d Ml (J d / 0 0 (i HO 0 t i".0 1101) IMIO 1 (Page 2 of 4) Figure 5.4.2-a - continued. Cataloged Procedure ECRTM30 430


-------
E IS/AS
DATA ACCESSING AND
MANIPULATION
                                SECTION 5.4.2
                                RETRIEVAL  PROCEDURE
                                ECRTM30
                                                                    Page  5
                                                                    Release  Date: 2/01/80
                                                                    Update #:    A-l
    //*
    //»   iiim'tir  PAT/I  bF i  - 01 Af.fj'isj i r  ^f :;:iM,f s
    // *
//*
//*   lilllPUT OrtTfl sr I  -  UHi')|  I'MKltWAI  PfVi|(,KAM IiHJfCT
//*
//SYSl.Ii'    Dl)  (Jfll Tsl IF ill',
//               I'l SP=ffJt H, PASS J ,
//               .jf'ACf = ( I I'K
//               oSNAi'-if :«.IV)
//*
//*   ui n 11 r  n A i A   SL T:i

//SrSilT 1    DO  UN  I Trk [I-MU,
//               si'Af> r ( n = ( MK, f •,/>, 11)0) )

     //*
     //I M I)     F Xf- C MOi= It rtl ,
     //               l'AHM=lCIbr,ltT,*l''F(-1,

     //               hF dIllH = ^iVF(; Iil'i J,

     //*
     //*   ll(iK-F()M KFPMfVAL  Hkiir.KAM  IiHJfCT  fllOK
     //*
     //*
     //*   IMI'lll  llAIA  St I -  AlJI(l-LALI  IIMHAKY
     //*

     //               I) I '3l'=f-SHt<,FA S1^ )
     //*
     //*   MIMII  HA I A  51- f -  CUHIII  KMkfLVAl  PKIII,W A '1 llltj(r[ ((i|>f
     //*
     //SYSLfto     (10 l)SNA,.i /uwv'iM I r  ^t.s.sAi;t
     //*
     //SYSI'K I 'I |   ni) jjY.S'HI I =M||| I
     //«
     //*   ,|i n en r  n« r >»  si i  - i. (in Hi. » i  i ij i • « AL I'^
//sr'>l."i'O
/ /
//
                                                                                 0 0 0 1 1 < 0 0
                                                                                 ooo i i miii
                                                                                 o o o 11 s o o
                                                                                 Oi)0 1 1600
                                                                                 o o n 11 700
                                                                                 I) 0 0 1 1 H 0 0
                                                                                 o o o i i v o 0
                                                                                 o on)? o o o
                                                                                 o o o i ;>] o o
                                                                                      n oo i ? 4 o o
                                                                                      000 | ?Hti«
                                                                                      oon i PS"O
                                                                                      o (i 01 ? h o o
                                                                                 o u o i < o r< o
                                                                                 000 I < 1 OU
                                                                                 00015^00
                                                                                 00015.400
                                                                                 Ou 013100
                                                                                 0001 ^SOO
                                                                                 000 > i60i)
                                                                                 o o n i ^ ; o u
                                                                                 0001
                                                                                 OoO
                                                                                 0 (j 0 I s ) ,
                                                                                 OooiSjno
                                                                                 ooo i suOn
                                                                                 000 ISSOO
                                                                                 •TOO IS.) 00
                                                                                 o o o i s / o o
                                                                                 "110 1 SHD()
                                                                                 Olio 1 SI 00
                                                                                 000 1 hO 00
                                                                                 000 ( hj Oil
                                                                                 000 1 h^OO
                                                                                 0(10 1 t, SOU
                                                                                 (10(1 I n '4H 0
                                                                                 (100 1 h-jDO
                                                                                 000 16600
                                                                                 Oil 01 h/Oll
                                                                                 imp i »,ndii
                                                                              (Page  3  of 4)

              Figure 5.4.2-a -  continued.   Cataloged Procedure ECRTM30
                                               431

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                        SECTION  5.4.2
                        RETRIEVAL  PROCEDURE
                        ECRTM30
                                                                    Page 6
                                                                    Release Date: 2/01/80
                                                                    Update  #:   A-l
  //«  UT II I t lr  n« I A St.l
  //*
          I     no DM I T=k. I run,
                  t.PAn =( THK , f i ii, s ) )
  //
  //«
  //*
//
//
//*
//»
//*
 f Af L f'r.M-* .LHt'i . ';y si Mmr
      (,(lljl)=C (S,L t ,tt'MML) , f >J,
      Hf (•> I (I'lr ArfFI, tll'JU,
      i n if- r(\r j«r-, n)

IFvr  AMS.«FK  I-1LF f- 1- H v| tTt,/AS

   !>!' PSuAnFsSlSl .LHill ]'),
                                                   FTLF
  DfllA 8M  -  fJS/AS  'lAHIf^ FILt
  //*
  //*  IM
  //*
  //K;SMSTM    rn DSKA.if =X,P«II it r i . .I>AI A.^MSTIU n ,
  //              vrilJIMf- =(^1 \7ATf , Wf I A IM) ,
  //*
  //*  l)D|l'HT  [)«TA SF 1  -  AUSwf-.O  Flit
  //*
               01) DRIlAMF sHI'WuJt C I . .OAl A.'i.AN.SHl II ,
                                                     A I. ) ,
                          ''I1 T,
  //*
  //*  iiiiifJiiT DATA  si- I  - ni Ai.ivinsnc
  //*
  //htsniAi;    nil sYS'iuT = fc(iDf
  //*
  //*  iintPUT DATA  .SI IS  - SrSIH-i  UPt"AllMN
  //*
  //*
  x/
  //*
  //•)Y Si)H(i|l I
  //*
  //S> SI) ILK'.v,
  //*
  //s ysuixi'- r
  //*
  //*
                                                                     II 1)0 1 AVOO
                                                                     00017000
                                                                     0 .) 0 1 / ) f, 0
                                                                     OHO 1 7 .fOO
                                                                     '10ft 1 / iOO
                                                                          n " ii
                                                                                 oun
                                                                                 01)0
                                                                                 A (, C,
                                                                                 oof
                                                                                 01) 0
     /SOI)
     7bflD
     7 / f P 0
     7') 0 0
     t V 0 (I
OuO  «o00
Oi»0  HI MI)
'10 0
     ft id i)
0 O 0 1 f- It ll 0
O'»0 I HSOO
000 l rt(,0u
0001 AiOH
'Hid 1 HHOO
0 d 0 1 M V 0 0
0 0 0 1 P f) 0 0
0 0 0 1 9 1 0 0
                                                                     0 0 0 ) nu
                                                                     0(101 9 /OO
                                                                     OOft 1 'JH(H)
                                                                     000 1 9VOO
                                                                     0(10^0000
                                                                     0 0 0 f 0 i 0 0
                                                                     DO (l,?0(| 00
                                                                     0(10,? 0/00
                                                                     o <> r, ? o H o o
                                                                               nil
                                                                          oOO
                                                                          loo
                                                                           I hdf)
                                                                           (Page  4 of 4)

             Figure  5.4.2-a  -  continued.   Cataloged  Procedure ECRTM30
                                             432

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
              SECTION 5.4.2
              RETRIEVAL PROCEDURE
              ECRTM30
                     Page 7
                     Release Date: 2/01/80
                     Update #:  A-l
Parameter
  Name
     Default
      Value
            Description
PROJECT
PROG1
PROG2
REG IONI

REGION2
REGIONS
REGION4

TIME1
'CN.EPALMH.A087.
CDHS.HQ.AREA'
CRTLNGP
CRTGENR
100K

175K
100K
100K

'1,0'
TIME2
TIME3
TIME4
WORKSPC
TEMP
MSTRFIL
ANSRFIL
UNIT
'2,0'
•1,0'
'2,0'
'20,10'
SYSDA
ECMASTER
ECANSWER
3330
SERIAL
CDHSPK
Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ECMASTER would be the full data set name
of an EIS/AS master file)
Retrieval language processor program
Generated retrieval program
Region size allocated for language
processor program
Region size allocated for COBOL compiler
Region size allocated for linkage editor
Region size allocated for generated
retrieval program
Time allocated for language processor
program
Time allocated for COBOL compiler
Time allocated for linkage editor
Time allocated for generated retrieval
program
Space allocation for sort work files
Unit type for temporary work space
Lowest-level index of master file
Lowest-level index of answer file
Unit type to which the answer file is to
be written
Volume serial number of volume to which
answer file is to be written
                                                         (Page 1  of 2)
            Figure 5.4.2-b.   Substitutable Parameters for ECRTM30
                                     433

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
              SECTION 5.4.2
              RETRIEVAL PROCEDURE
              ECRTM30
                     Page 8
                     Release Date: 2/01/80
                     Update #:  A-l
Parameter
	Name

DISP
SPCUNIT

PRIMARY
SECNDRY
MEMBER
OUT
     Default
      Value

'NEW,PASS,DELETE1
TRK

20
10
CRTSKEL
A
            Description
Disposition of answer file
Units in which space for answer file is to
be allocated
Primary space allocation for answer file
Secondary space allocation for answer file
Retrieval skeleton program
SYSOUT class for all print files
                                                         (Page 2 of 2)
      Figure 5.4.2-b - continued.  Substitutable Parameters for ECRTM30
                                     434

-------
EIS/AS
REPORTS
SECTION 6.1
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
6.0  REPORTS

6.1  INTRODUCTION

     EIS/AS provides the user with the capability to produce three types of
reports.   These reports are as (1) file listings, which present the contents
of files with little or no accompanying analysis; (2) EPA-required reports;
and (3) quick-look reports, which combine retrieval  and report
characteristics.
                                     435

-------
EIS/AS
REPORTS
SECTION 6.2
ERA-REQUIRED REPORTS
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
6.2  EPA-REQUIRED REPORTS

6.2.1  INTRODUCTION

     States are permitted, but are not required,  to submit area  source
emission data to EPA for inclusion in the-NEDS data base.   The annual  report
program, CRPASNA (EC0120), allows the user to generate'an  annual  report from
the EIS/AS master file.  See Figure 6.2.1-a for a  flowchart illustrating the
operation of the annual  report program.

     The option card for CRPASNA (EC0120)  determines whether NEDS or EIS/AS
transactions are generated.  Only information that has been added, changed, or
deleted since the last execution of CRPASNA (EC0120) will  trigger the
generation of output transactions.  A new  master  file (indicating the new
submission status of all the records) is created.   All records or fields which
had been flagged for deletion will be deleted by  CRPASNA (EC0120).

     See Section 6.2.2 for a detailed discussion  of CRPASNA (EC0120).

     CRPASNA (EC0120) can be executed using the cataloged  procedure ECRPM10,
which is discussed in Section 6.2.2.5.  A  sample  run stream for  generating
NEDS data from the master file is shown  in Section 6.2.2.5.4.
                                     436

-------
      EIS/AS
      REPORTS
                  SECTION 6.2
                  ERA-REQUIRED REPORTS
                  INTRODUCTION
               Page 2
               Release Date: 2/01/80
               Update #: A-l
                  OLD EIS/AS MASTER
                       FILE
                                         OPTION CARD
                                    CRPASNA (EC0120)
                                     ANNUAL REPORT
                                       PROGRAM
      I  NEW EIS/AS
        MASTER FILE
      V
DIAGNOSTIC
  REPORT
                Q:S/AS INTERNAL/
                •RANSACTIONS  (
                Optional)    V
 OLD MASTER FILE
LISTING (Optional)
                    NEDS
                TRANSACTIONS
                (Optional)
NEW MASTER FILE
LISTING (Optional)
 TRANSACTION
FILE LISTING
                         Figure 6.2.1-a.   Annual  Report Flowchart
                                           437

-------
EIS/AS
REPORTS
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 1
Release Date: 2/01/80
Update #:  A-l
6.2.2.  ANNUAL REPORT PROGRAM - CRPASNA (EC0120)

6.2.2.1  Description

     The annual report program allows the user to submit EIS/AS master
file data to NEDS by generating either NEDS area  source transactions or EIS/AS
internal transactions.  The type of transactions  that are generated is
dependent upon the option specified by the user.   This option also affects the
selection of records from the EIS/AS master file.

     Each record in the EIS/AS master file contains  data flags to indicate
which EIS/AS and NEDS master file transactions correspond to its data fields.
When a master file data field is altered, the data flag that indicates which
transaction created the data field is turned 'on'.  The corresponding data
flag may be an EIS/AS data flag, a NEDS data flag, or both.   The data flags
are set by the master file maintenance program, CFMMSTR (EC0070) (see Section
4.3.6 for a discussion of CFMMSTR (EC0070)).

     When EIS/AS internal transactions are being  generated,  the EIS/AS data
flags for every master file record are scanned to see if they are 'on1.  A
data flag is on if it contains an 'A', 'C1, or 'D1.   These codes indicate add,
change, and delete, respectively.  A fourth code, 'E1, indicates that the
record  (or the repeating section of the record) was  added after the last
annual  report and is to be deleted from the master file (or record).  No
transaction is generated for data flagged with an 'E1.  If the data associated
with a flag has previously been submitted to NEDS, the flag will contain an
'S'.  All data flags are set to 'S1  by CRPASNA (EC0120) when it is executed.

     When NEDS area source transactions are being generated, the NEDS data
flags are handled in the same manner as the EIS/AS data flags; however, the
selection of EIS/AS master file records is different.  When executed in the
                                     438

-------
EIS/AS
REPORTS
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 2
Release Date: 2/01/80
Update #:  A-l
NEDS mode, the program selects data only from 'county' records.  EIS/AS master
file county records are defined as follows:  (1) a type-0 description record
is a county record if the geographic suballocation number is zero; (2) a
type-1 category record is a county record if the geographic suballocation
number is zero, the category disaggregation number is zero, and the category
number is between 1 and 64, inclusive (NEDS categories); (3) a type-2 comment
record is a county comment record if it has a record type of 'N'.  Although
data is selected only from county records, all other records are scanned to
see if they are to be deleted from the master file.

     The EIS/AS data flags are set independently of the NEDS data flags,
except when records are flagged for deletion from the EIS/AS master file.  In
this case, all data flags for the records are set to 'D' or 'E' by CFMMSTR
(EC0070).  Note that CRPASNA (EC0120) is the only program which physically
deletes records from the EIS/AS master file.

     New data in the EIS/AS master file (i.e., data added since the last
annual report) will generate an add transaction.  Data is recognized as being
new if its associated data flag contains an 'A1.

     Data that has been changed since it was last submitted to NEDS will
generate a change transaction.  Data is recognized as being changed if its
associated data flag contains a 'C1.

     There are two types of deletions:  deleting specific records or groups of
records and deleting specific data fields.  When a record or group of records
is being deleted, the appropriate delete transaction is generated, and the
records are not written to the output master file.  An exception occurs when
the associated data flag contains an 'E'.  In that case, no transactions are
generated, and the records are not written to the output master file.  When a
specific data field is being deleted, a change transaction is generated with
                                     439

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 3
Release Date: 2/01/80
Update #:  A-l
an asterisk in the first position of the corresponding transaction  field.   As
stated previously, CRPASNA (EC0120)  is the only EIS/AS program that actually
deletes records from the master file.

     Refer to Figure 6.2.2-a for a cross-reference of EIS/AS data flags,
transactions, and valid action codes.   See Figure 6.2.2-b for a
cross-reference of NEDS data flags,  transactions, and valid action  codes.

6.2.2.2  File Formats

     Input to CRPASNA (EC0120) consists of the EIS/AS master file and an
option card.  See Figure 4.3.6-a for a description of the master file and
Section 6.2.2.3 for a discussion of the options.

     Output from the program consists of an updated EIS/AS master file; either
NEDS transactions or EIS/AS internal transactions; a diagnostic report; and,
optionally, listings of the input and output master files and the
transactions.

     The updated EIS/AS master file records have been flagged to indicate  that
any new or changed data has been submitted to NEDS.  The updated master file
will not contain any records that had been flagged for deletion.

     The diagnostic report contains counts of the input and output  master
files.  It also contains a count of the output transactions, the number of
records deleted from the master file, and any errors that were detected,  as
well as a list of these errors.  See Figure 6.2.2-c for a sample diagnostic
report.

     The input and output master file listings and the transaction listing are
optional.  The master file listings contain only partial records since one
                                     440

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 4
Release Date:  2/01/80
Update #:   A-l	
print line cannot accommodate an entire record.   If the user wishes  to see
entire records, the master file formatted dump program, CRPDUMP (EC0140), can
be run using either the input or output master files or a retrieved  answer
file in master file format.  Entire transaction records will  be printed in  the
transaction listing since neither type of transaction (NEDS or EIS/AS) exceeds
the length of a standard print line.  See Figures 6.2.2-d and 6.2.2-e for
sample listings of the input and output master files, respectively.   See
Figure 6.2.2-f for a sample listing of the NEDS area source transactions and
Figure 6.2.2-g for a sample listing of the EIS/AS internal  transactions.

6.2.2.3  Options and Control Cards

     The option card for CRPASNA (EC0120) provides the user with three
options:  a transaction option, a warning option, and a list  option.   The
transaction option allows the user to choose which type of transactions are to
be generated (NEDS area source or EIS/AS internal transactions).  By
specifying 'NEDS' in columns 1 through 4 of the option card,  the program will
generate NEDS area source transactions.  In order to generate EIS/AS internal
transactions, the user must specify 'AREA' in columns 1 through 4 of the
option card.   If this field is left blank or if the option is specified
incorrectly,  program execution will be terminated, and an abort message will
be printed to indicate this action.

     The warning option allows the user to suppress the printing of  warning
messages.  In order to suppress warning messages, the user must code 'NOFLAGW
in columns 6  through 12 of the option card.  If this field is left blank or if
the option is specified incorrectly, the program will assume  a default of
'NOFLAGW1, and a conditional message will be printed to indicate this action.
If the user does not want to suppress warning messages, he must code 'FLAGW
in columns 6  through 10 and leave columns 11 and 12 blank.
                                     441

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 5
Release Date: 2/01/80
Update #::   A-l
     The list option allows the user to obtain listings  of the  input  master
file, the output master file, and the generated transactions.   These  listings
are useful  for confirming that the appropriate data  has  been  submitted  to  NEDS
and for diagnosing potential  errors.   To obtain listings,  the user must code
"LIST" in columns 14 through 17 of the option card and  leave  columns  18 and 19
blank.  To suppress the listings, the user must code 'NOLIST1 in  columns 14
through 19 of the option card.  If this field is left blank or  if the option
is specified incorrectly, the program will  assume a  default of  'NOLIST1, and a
conditional message will be printed to indicate this action.

     See Figure 6.2.2-h for a diagram of the  option  card.

6.2.2.4  Error Messages

CRPASNA 001 ABORT - NO OPTION CARD, NEDS OR AREA MUST BE SPECIFIED
     Meaning:  No option card is present in the run  stream, and since the
               transaction option must be specified, program  execution  was
               terminated.
      Action:  Insert an option card in the run stream  and resubmit the job.

CRPASNA 002 ABORT - INVALID TRANSACTION OPTION SPECIFIED,  MUST  BE NEDS  OR  AREA
     Meaning:  The transaction option is not  specified  correctly, or  the field
               is blank.
      Action:  Insure that the appropriate option is coded in the proper card
               columns and resubmit the job.

CRPASNA 003 CONDITIONAL - INVALID FLAGW OPTION, DEFAULT  (NOFLAGW) USED
     Meaning:  The warning option is specified incorrectly, or  the field is
               blank.
                                     442

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 6
Release Date:  2/01/80
Update #:  A-l
      Action:  If the warning count in the diagnostic report  is  not  zero,  and
               the user wishes to see the warning messages,  code 'FLAGW  in
               the proper columns of the option card and resubmit the job.

CRPASNA 004 CONDITIONAL - INVALID LIST OPTION, DEFAULT (NOLIST)  USED
     Meaning:  The list option is specified incorrectly, or  the  field is
               blank.
      Action:  If listings are desired, the user must code 'LIST' in columns
               14 through 17 of the option card and resubmit  the job.

CRPASNA 005 WARNING - INVALID OPTION SPECIFIED IN COLUMNS 20  THRU 80 - IGNORED
     Meaning:  Columns 20 through 80 of the option card are  reserved for
               future use and must be blank on,the user's option card.
      Action:  Correct the error and resubmit the job, unless no other errors
               are detected.

CRPASNA 006 ABORT - INPUT MASTER FILE OUT OF SEQUENCE, SEE KEYS  ABOVE
     Meaning:  The input master file is not in proper master  file sequence.
               The keys of the two previously read records are printed prior
               to this message in the order in which they were read.  Program
               execution is terminated.  The EIS/AS master file  should never
               be out of sequence; therefore, this error indicates a possible
               programming error at some point in the EIS/AS  subsystem.
      Action:  Insure that the proper EIS/AS master file is  being used.  A
               batched retrieval answer file should not be used  as input  to
               CRPASNA (EC0120) since records with duplicate  keys can be
               present in such a file.  Supply the proper file and resubmit
               the job.  If the proper file is being used, contact personnel
               at the National Air Data Branch for further assistance.
                                     443

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 7
Release Date: 2/01/80
Update #:  A-l
CRPASNA 007 ABORT - INVALID RECORD TYPE ON INPUT MASTER FILE
     Meaning:  An input master file record contains a record type other than
               0, 1, or 2.  The record is listed prior to the error message,
               and program execution is terminated.
      Action:  Insure that the proper master file is being used as input, and
               resubmit the job.   If the proper file is being used, contact
               personnel at the National Air Data Branch for further
               assistance.

CRPASNA 008 ABORT - NO INPUT MASTER FILE RECORDS AVAILABLE
     Meaning:  This message occurs when the input master file contains no
               records.
      Action:  Insure that the proper file is being used as input and
               resubmit the job.

CRPASNA 009 DISASTER - OUTPUT MASTER FILE OUT OF SEQUENCE, SEE KEYS ABOVE -
            CALL NADB
     Meaning:  The output master file is not being written in proper master
               file sequence.  The keys of the two previously written master
               file records are listed prior to this message in the order in
               which they were written to the output master file.  Program
               execution is terminated.
      Action:  Contact personnel  at the National Air Data Branch for further
               assistance.

6.2.2.5  Cataloged JCL - ECRPM10

6.2.2.5.1  JCL listing - CRPASNA (EC0120) can be executed by the cataloged
procedure ECRPM10.  See Figure 6.2.2-i for a listing of ECRPM10.
                                     444

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 8
Release Date: 2/01/80
Update #:  A-l
6.2.2.5.2  Cross-reference of DD names and files -
          Program Name:  CRPASNA (EC0120)
          DD Name
   File Description
     Input/Output
          ECSOLMF
          ECSOPTN
          ECSNWMF
          ECSASTR
          ECSNDTR
          ECSDIAG
          ECSOLDL
          ECSTRNL
          ECSNEWL
   EIS/AS master file               Input
   Option card                      Input
   Updated EIS/AS master file       Output
   EIS/AS transaction file          Output
   NEDS transaction file            Output
   Diagnostic report                Output
   Input master file listing        Output
   Transaction listing              Output
   Output master file listing       Output
6.2.2.5.3  User-supplied JCL - To execute the cataloged procedure ECRPM10,  the
user must specify the data set names of the input and output master files and
the transaction file.  An option card must also be supplied.  See Figure
6.2.2-j for a description of the procedure's substitutable parameters.

6.2.2.5.4  Sample run stream - The following run stream would generate  NEDS
area source transactions.  The data set names of the input master file, the
output master file, and the NEDS transaction file are their respective  default
values.  These files will be listed, and any warning messages will  be printed
in the diagnostic report.  Also, a dummy file has been substituted  for  the
EIS/AS transaction file as this file is not desired.
                                     445

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 9
Release Date: 2/01/80
Update #:  A-l
// EXEC ECRPM10
//REPORT.ECSASTR DD DUMMY
//REPORT.OPTIONS DD *
NEDS FLAGW   LIST
/*

     The following run stream would generate EIS/AS internal  transactions.
The data set names of the input master file, the output  master file,  and the
EIS/AS transaction file are their respective default  values.   These files will
be listed, and any warning messages will  be printed in the  diagnostic report.
Also, a dummy file has been substituted for the NEDS  transaction  file as it is
not desired.

// EXEC ECRPM10
//REPORT.ECSNDTR DD DUMMY
//REPORT.OPTIONS DD *
AREA FLAGW   LIST
/*

6.2.2.6  Warnings and Special Instructions

     The user should insure that the most current EIS/AS master file is
supplied as input to CRPASNA (EC0120).  The user is further warned  not to use
a batched retrieval answer file since duplicate records  may exist on such a
file and cause program execution to be aborted.

     If transactions are generated for purposes other than  submitting data to
NEDS, these transactions should be sorted before further processing is begun.
Since the action code is included in the sort sequence,  this  will insure that
delete transactions will precede add transactions, which will  precede change
transactions, for any given record key.
                                     446

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC0120)
Page 10
Release Date: 2/01/80
Update #:  A-l
6.2.2.7  Cost Considerations

     To reduce the cost of executing CRPASNA (EC0120), the user should specify
the NOFLAGW and NOLIST options.

     The estimates listed below are based on the execution, on an IBM 370/168,
of the first run stream in Section 6.2.2.5.4. In most cases, more EIS/AS
internal transactions would be generated than NEDS transactions since master
file record selection is limited to county records when generating NEDS
transactions.
     Number of input master file records:
     Number of NEDS transactions generated:
     Number of output master file records:
     Number of errors detected:
     CPU time:
     I/O time:
     Total time:
                              420 records
                               88 transactions
                              371 records
                                0 errors
                             2.06 seconds
                            12.55 seconds
                            14.61 seconds
     Estimated cost:
                            $4.09
6.2.2.8  Related Programs and Procedures
         There are no related programs or procedures.
                                     447

-------
E. IS/AS
DATA ACCESSING AND
MANIPULATION
            SECTION 6.2.2
            ANNUAL REPORT
            PROGRAM CRPASNA (EC0120)
                         Page 11
                         Release Date: 2/01/80
                         Update #:  A-l
Record Type

Description
  (type-0)
Data Flag
Transaction Type
Valid Transaction Codes
Category
  (type-1)
 EIS-1         Description - 1            A, C,  D
 EIS-2         Description - 2            A, C
 EIS-3         Description - 3            A, C
 EIS-4         Description - 4            A, C
 EIS-5         Description - 5            A, C
 EIS-6         Description - 6            A, C
 EIS-7         Description - 7            A, C,  D
               (1 or more transactions)

 EIS-1         Category - 1               A, C,  D
 EIS-2         Category - 2               A, C
 EIS-3         Category - 3               A, C
 EIS-4         Category - 4               A, C
 EIS-5         Category - 5               A, C,  D
               (1 or more transactions)
Comment
  (type-2)
 EIS-1
 EIS-2
 NEDS-A6
Comment-left
Comment-right
NEDS-A6-0
      A,  C,  D
      A,  C
      A,  C,  D
            Figure 6.2.2-a.   Cross-reference of EIS/AS  Data  Flags
                                     448

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
           SECTION 6.2.2
           ANNUAL REPORT
           PROGRAM CRPASNA (EC0120)
                         Page 12
                         Release Date: 2/01/80
                         Update #:  A-l
Record Type

Description
   (type-0)

Category
   (type-1)
Comment
   (type-2)
                 Data Flag
                  NEDS-A1
                  NEDS-FLAG
                  NEDS-A7
NEDS-A6
              Transaction Type
                    Al
    Al - A5
(dependent upon
category number)
      A7
(1 or more
transactions)

      A6
id Transaction Codes

   A,  C,  D


   A,  C


   A,  C
                                                           A,  C
            Figure 6.2.2-b.  Cross-reference of NEDS Data Flags
                                    449

-------
EIS/AS
DATA ACCESSING AND

MANIPULATION
          SECTION 6.2.2

          ANNUAL REPORT

          PROGRAM CRPASNA (EC0120)
                                     Page  13
                                     Release Date: 2/01/80
                                     Update  #:   A-l
                                                                                              O
                                                                                              Q.
                                                                                              o
                                                                                              to
                                                                                              o
                                                                                              en
                                                                                               <3
— -O -O 15 -O   J> ^D
L,7'~<'t^^ JJ < O T
y — *— t/" ^" ^ (/•
' — — JJ  D 4J t
C i« U £. — •-* a.
«- - « V. 3 — — *-cr
0^2-2ClCt<
<. tr t-
           i ^. < -a
           O. X _l C

                                            450

-------
EIS/AS

DATA ACCESSING AND

MANIPULATION
                         SECTION 6.2.2

                         ANNUAL REPORT

                         PROGRAM CRPASNA  (EC0120)
                                         Page  14

                                         Release Date:  2/01/80

                                         Update #:   A-l
             o- -y- ? 3
a c: a iiccxac:
                 c* a ?

                 xxx
               X X X, aC X X
                          arxxxxxxxx
              x x x x a: x
oooooroco:;
xcrxxxecxtfx
                       X X


                       X X
-cxaaxxxa

xxxxxxxx
                                 O O O O
                                 o- 3- cr ^
                                 -r o o o
                                 x a: x a.

                                 ct - y-
                                                                                          CD
                                                                                          c












f ^
c c
j" 3
c: cr
c c
0 C
c. c
c o
c c
c c

X X
•c *

X
0
0
c
;

"
-
1
-
-
±
f
0
1
e
o
o
o
0
0
0
o
o
c
•"•
X
c

0
=>
5
s
__J
-
-
5
*
r
c
1,'
w
c
c
o
o
c
c
c
c
T
X
-c

c
-
\
%

r-
f
-
—
r
c.


c
c
c
c
o
o
c-
c
c
c

•u
c

o
-c
f
c
T
_
_
z
3T
«
r
-
cr
U.

?
c-
o
o


c
-
V
£

c
^
c
o

2
=
5
-1
*
c
^
^J
c
c
o
c
0
o
c
c
*
X
i

c
0
c
§


^
—
«
2
c
i
0
r
c
/ OOtlO
C-
c

c
—
X
0

c
^
^
0
_J
u.
<
i
«
2
1
§
^
-c
0
a-
c
o

f
w
c
c
c
o
r
0
0

-•
X
£

J,
^
0
e
e



^

•s
U!
i
^
c
0 o o 0 /
o


c
—
x
£

o
-
c
c
d
s
c1
sc
_>
IT
/3
2
;
1
o
o

0
c
c

M
0

1
=>
c
c

~>
g
2
-
ar
73
i
o
**<*0f>
c
o
o
o
c
c

^
*

=
•c
0
s

cr,
tr
J
«
-J
"X.
iO
9
u
c
0
unoo /
c
0
0
c
c

•V
£

•J-
X
0
o
o
e



§
a
a:
w
2
j
c
c.
o
cr
o
c.
^
~
X
c

c
X
c
c
o-

w
^
x
€
*
(0
c.
_;
C
C
C
O
O
X
c
c
—
x
c













u
0
00007
c-

o
c
c
7
X
£













y.
£
r/ o o o o (
c
e
c
e

x
£

C
3-
r
0
_;
Jj
J
cr
x
5
*
=
«
5
C
r» o n o o
c
o
o
=

X
J

;
~
=
0-
—-
u
u
a
•s
Z
*
IT.
tr.
5
c
c
c
c
c
c
c
—•
X
£
4!
5-
5-
C
C
_,
C
u
X
-
2
C
'-
Wj
c:
-T
0
J"
O
5
;

«.
•c
51
iT-
*
0
0
T
j
^
u
1
-
z
•^
•Ji

0 O
c o
c. c

X X
£ -C

c
J~
y-
c
c
_j
i
u
1
<
z
^


c o
iT ^*
O C-
0 C
cr o
c c
c o
J J
c T;

M V
i £

C
T
3
e
—
^
0

^
c
c
.0
^
o
e
X
c
J-
c
—
X
£

C
.r
?
c
?
_,
i
J
cr
*
z
n

cr
c
o
-
c.
o
J
c
—
X
£




^
<
*-
^.

r
¥
i

— O -1
o c.
r- j- c
0 C C
0 0 O
o e cr
000
o o j-
C C ""
> C 0
\f *C £
coo
— - —
X X X
£ i C

C
7-
i
0
T-
__
-'
-
1
-
r
~
cr f
3SS
c r
c c
^ s a
C C C
o c cr
-07-
o c cr
^ c c
— o- x
«r O1 c*"
c o j-
- — -
XXX
£> £ £













—
3
i 0 0 0 0
o
?
?
•y
—
x
£>













^
5
C
C
C.
o
c
*"

X
-C

-

5
r
%
f

^
-
r

-

•C
c
c.
c
c
-
1
e

X
£

s
X
c
o
or
i
£
tr
i
I,
?
i

_
r
C
^
f
x
c
*

X
i

j-
.r
o
c

y
-
[^
^
*
_/
*
j
c
c
0
c:
1
~
"

-Vi
;




T


u.

-

w
-
_
?
c


c
c

X
-D













5
>
C

a
c
"

X
£

r
-


x
£
£
T

-
T
0
„
c
c
o
0
c
c
-
X
sr











-c
X

c
c
c


c
ff
~
t:
s

—
-
r
-
_
-
-
X.
-
I-
c
"
i
c
c
c
c
o
o
c-

-
at
•3

Z
C
T
c
_^
-
1
i
—
-
r
•"
_,
c
c
c
c

•1

'
*
*

-. x
r =
c c
- *

~ 5
C X
- ;

<: 2
- £
"A
32
c c
^ r
OOtjOfc
t) Otiflf.
c c
C C
0 5
c c
c c:
— —
t. r
9 3

                                                                                          S-
                                                                                          ai
                                                                                          4->
                                                                                          t/)
                                                                                          to
                                                                                          3
                                                                                          a.
                                                                                          c
                                                                                         -o

                                                                                         CM

                                                                                         CM

                                                                                         ID



                                                                                          I

-------
EIS/AS
DATA  ACCESSING AND
MANIPULATION
                          SECTION 6.2.2
                          ANNUAL REPORT
                          PROGRAM CRPASNA (ECQ12Q1
                                                Page 15
                                                Release  Date: 2/01/80
                                                                                       CD

                                                                                       -M
                                                                                       OJ
                                                                                       -p
       c o c- c
          CO CO-OO-OCOOO
          C-OCCCCOC-CCO
          o z c 000000=0
          cccecccccc-o
                                                          CCCCCrv.— CC
                                                          OCC-CCC-CCC

                                                          C-CCOecCCC
                                                                      Q.
                                                                      ^
                                                                      o
                                       x x ~ ~ r r T
                 •- cr    •- <: c
                             _i  "•jowt':-o<'tf_.
                                                                  • — v~, ^
                                                                  : C/" L^ <
                                                                  . ~ "X Z
                                                   ~rxr t ~ a:
       coco

cccocct^-cccccoc ccceo-ccccc

oc ccccc cccccccccceccc-ceo
coo a^co ^oocoooo rooo re =00
COCCCOOOCCCCCOOOOCOOCCCC
00000=00 OCO-OCO-00'OC'. OOOOO
OOOOOOOO DC-OTOOOOOOO OC ZOO
OOOC-CC CCCCCGCCOCTCCCCTO-O
1^r^o_'> ^0%-^.rct:— c-c-jri*^^? o — -v
30_,->>-.o»o.;« = c _,,_ --^,---^5^
cccocccoccccccccc-coc ocoo
rv
3-
c

c
^
o
<=>
0-
o
•^
o
c
£ 7 T '?

c c c c
O -O O 3
c o o c
000 =
0000
c c c c
T .n £. f*
3 O O O
c c o o
J

c
^
1^
o
=
c.
t
3
c
s

^
o
c
o
0
c-
a
-^
c
^ » 5

c c c
o r1 o>
o c o
00-0
0>00
ooc
o — -v
0=0
o c o
1

c
—
c
0
c
o
"•>
_
c
^

— •
o
^
=•
r
^
3
-
c
Hsl

c c c c
o o o o
C" C C C
0 3 0 0
00-00
C C C- C
j^ >- *. r
0 0 0- C
C. 0 O C
r- *?

c c
o o
c c
0 0
- =
c o
^ "-.
0 0
z o
5;

o o
o c
o c
C 0
0 O
c o
=• —
0 O
o c
c >c •*•
C -T —
e c c
c = o
•zee
-0 = 0
TOO
~- T O
r = =
7 = C
c c c
c c c c c c c.
o o o o o o o
o o o s o o o
C O C O C C C «
o- o o o- o o o
C O C O C C O '
                                 CCCOC.CCC

                                             C.CC
                                             ooo
                                             coc
coco
c. c c c

                                        452

-------
EIS/AS

DATA ACCESSING AND

MANIPULATION
SECTION 6.2.2

ANNUAL REPORT

PROGRAM CRPASNA (EC0120)
Page 16

Release Date:  2/01/80

Update #:   A-l
                                                                                    c


                                                                                    1/1
                       -t " 0.
                       — c r
                       a. •*•, c
                       — .10
                       c c c
tt
^
r
IX
c
(X






V
X
c
£S2S22=s?-22S

c
_p
irr^-raa^riXa:*:!.^
C -C -*i -0 '-C V. -" -" t/5 i/5 CO -O to
rv
i
I
U
t.
W
/
>y
b
t?
V
c-
1
USiH(>ftSO»SiHOhV»UOUl£:tiO'-.itilAvl
i££!i£C£!l»i£
occr^^ci-ccorc

XXXXXXXX.XJXXXXJ
fccr-c-crx^ccr^
eccc-c-oe-cccccc

^.cc.c.cc^c
'0 '/> -O •-f) r, ~f) 1/5 V3

iatt2:a.ijEa:
5;5S««5»5S
k £'T^~2ZJ^
j-
^,
x
^\
iX
(X
fXi
rvr
o
c
cs
5
=3
a
?
**•
rt
»*-
r^
iiiii£££S
C--CCCXJ-C C C

MXX-UXMMM-i,
-C£iOf. Cifi
c.c.cooccec
= ^
0 C
J
c

O X
-r c
sfusoo
> '.Sf£
M7l lr/
C £> •*

nu xrvj
•C i 0
c: « c
CC
— < 4
z. < *f
LT C C
jj
2*2
O j- jj
_) _
5a ^
-r n v>
_) z X
z
OJ
i.
w
^
LLf
l_
r
yi
w X 3
3. 9> C7
< **. r*.

 x ac
X x x rv
C 0 i X
e c c ^
< *-
C e
2 ^
— c
c
jj ~
0. C
^5 O
2 ?
X
K1
i.
c
j^
i/
c
IT
C
C
=•
"3
C
*^i
C.
c.
c
?•
^c -=
c c
•*• X
^ "*
X 0
a x

o
c
?
c.

-
^
1 
c
c

-
0
I
*





rv

f>nos oo<)0rt7fioii<>4iio,v
5T
n.
C
?
1

c
^
X'
c
c
c


^
a
*
5
C
C
-
f
—
^
c

c

0
i
»
3
C.
f
c
c
|
£>
c
^
*
c
o
r*-
£
C


^
i
*





i

53
X
C
C
e x
o <:
O i

0 0
i *
* sr
i
c —
|i
? r
~ c
V5 JO
CT A
^ -
c ~
I u o o (I (i ii o u o o ii n u oo n o n o o o o n n a n a n 4
III? ll/ U»S?U?IJ Ib 1 UrtU l
-------
EIS/AS

DATA ACCESSING AND

MANIPULATION
   SECTION  6.2.2

   ANNUAL REPORT

   PROGRAM  CRPASNA JEC012H1
Page 17

Release Date:  2/01/80
                                                                                      fl_1
                                                                                                 -M
                                                                                                 CO
                                                                                                 £
                                                                                                 O
                                                                          i T. •«•  -T.
                        _
                    a — _ - a:
                  .
 — £   — ^ i o z   ^;j;

 S"3:   — 2: u_ rt 3^   — 3:
'~-.'   a i- _ i a:   a i
                                                                         _^

                                                        i  — a u. a- r:  »-jr^3:
          z. z v, r u
                                                           azx^u  i :? cr r
                                                                                                  O
                                                                                                  re
                                                                                                  CO
                                                                                                  c
                                                                                                  03
                         03

                         £
                         OJ
                         +->
                         c
                                                                                                 oo
                                                                                                 <:
                                                                                                 ^.
                                                                                                 oo
                                                                                                 i—*
                                                                                                 LU
                                                                                                 01
                                                                                                  i
                                                                                                 CM

                                                                                                 CM
     c c c-c-crc-re-cc-ccrc^'
                                     r-cccc-c cccccc-cc-occc-oc rerccc c
     C CC CCCOCCC^COCTCCCCCCCC'CecCC-COGCCCC C^C-C-CCC C1
     c:c-oc'iot:cjC'r'O~ — c.c
     CC CCCCCCCCCOCCC,

     C ^> — — «-«*--H—TTJ -33^-0
 OCOT^-C-O — r'C^SCwSOCC-C r^OOC: O^C
 ccrc-c-c-c ©c. ccccccccccccc c c ccc c




                                     c c c c c c
     ceccc.ccoec.c.cccccccccec.-ccc.c.ccceC'Cc-ccccc.-c
     ^^C'^'C'OCiOOCr'CtC'-OOr^OOC'CCOOCfCrOC CSO — C.O^CCOOOUC'r C'O"
     ecercccocc'cccc'ccc.ccccc-c eee-ccccccccc-ccc'Cc-c rccccc
     c-oococoooc ooo-sooccscooooooor'ec'ooc'osoc-oc'eoc c-ooc:
     cc c ccc^ccT-rcccccccccccctc^cc-c-rc^cceccc-ccc-c-c ccccec
                                                                                                 I
                                             454

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
SECTION 6.2.2
ANNUAL REPORT
PROGRAM CRPASNA (EC012Q)
Page 18
Release Date: 2/01/80
Update *:  A-l	
        COLUMN COLUMN   COLUMN
        # 1    #6      #14
          NEDS   FLAGW     LIST
          AREA   NOFLAGW   NOLIST
Note:  NEDS or AREA must ^e specified.
                     Figure 6.2.2-h.   Option Card Format
                                     455

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
                                 SECTION 6.2.2
                                 ANNUAL  REPORT
                                 PROGRAM CRPASNA  (EC0120)
Page  19
Release Date:  2/01/80
Update #:   A-l
     //* M'A|
     //*
                       in r>i;f PK in,  LI HYD  M.
                                                     sai-s<4J  TMf   AlJIiHAL  KM'Hh I
//*
//*
//r (. ivpM 1 0 PC I It. PKll.tt r I = ' Ci].h"AI MH . A OR / . LOrlS.HU. APM '
     / 1
     tf
                      I I MF 1 = ' ? , 0 '
                  IPAIMH Istrw
                  ipane i ^ = i r AIJLA
                 1 1 N I I I = t> <4 0 » ,
                 Ut'l 1 f'r^'JOO,
                 iii-u r <, = 3^io,
                 t)f IJT AL l=Uf I)I|'F
                 SF F I Al ,' = ASHTpF
                 SF KT At. 3 = COnSpK
                 l>li>f'l =' Mt N.KKi'
                      I AHt 11=1,
                      I A.if-l ?=\ ,
                      I AHfK 1 =flL ,
                      p H 1 f , « R V = f 0 ,
                      ,SF (.f'DH Y = l 0,
                      I KM -t>
     //*
       -^ PHI- i
//*
//*   C^t;Air  THAI SAP I  lilMli HIK  ll'h AI.''JilAl  H| Pi
//*
//HTFPIJM    fH)  I'SHAi IF/ =K,PPil.!(-.r I . .L ilAH,
//                VIM H"it. - ( Prt I Vri I I / I-'F I ft I ' i) ,

// *
//*   I MI-MI |  iiA I ft  SI- T  -  I'M' F I S/ AS -I4ji IF- P (III

//[ ( SHI MF    HI-  li'^l'iA' it =v t'MI.IM 1 . .HA t A.KI'U' ";I
//                i/iil HI  f = (I-1 M V a 11 , I'M iv I f ) ,
     //
     //
      I MF-MII  i'ft I i*  M r -  HPT i i>n  i

    . SUP I i    Pi'  I'h.1.1 ,1  ='V I |l'  '-. ,
                                                                                        o on (pi SO i)
                                                                                        (ion oo 'ino
                                                                                        o o o o o / o o
                                                                                        0 f; n o 0 d f, (y
                                                                                        oo nil i
                                                                                        0 (I 0 (/ 1 JO 0
              o u n (i i 5 n o
              n o o o i u n u
              o o o o i -3 o o
              n o o u i h o o
              o o n n 1 7 (MI
              o i) o o 1 H o o
              n ii o u i v o o
              o no 0^ (HID
              o d o o ? 1 o o
              OOOd? 2 00
              oo (MM 4 no
              n o o o ? « o o
                                                                                        000 0?600
                                                                                        0 0 0 0 ? / 0 0
                                                                                        0 (J 0 0 f H 0 ()
                                                                                    000.) U) 00
                                                                                    o on (Mi on
                                                                                        ooo (
                                                                                    Od 0(1
                                                                                    (U)00 V>00
                                                                                    ooo m 7 do
                                                                                    OOOu
                                                                                        0 I) 0 0 '1 (I 0 (I
                                                                                        (i 000') 1 00
                                                                                        o d o (i /I 'i r o
                                                                                        o 000 '4 SO u
                                                                                        01) o I; 'I (.00
                                                                                        n(iOi)'i / r ii
                                                                                        fil)0i)/4«00
                                                                                        0(iOO/J
-------
EIS/AS SECTION 6.2.
DATA ACCESSING AND ANNUAL REPOP
MANIPULATION PROGRAM CRP/1
// 0(.H = MI KSI 71 =MO
//*
//« IIHIPUI DATA SF 1 - Nf 05 1 1' AliS AT 1 1 1 Ifi.'J
//*
//H. *?M) Il< 01) I'.iNA^f = X PI' II IL 1 1 . . 04 1 A . K T KA
// i> 1 St'r f *, l> 1 ?(•' 1 ) »
// UNI I =>U|rv I T 1 ,
// (/III ll'lf =VSU' = <3F K T AI 1 ,
/ / Od<=(Wf. CFv1 = Fii,LIHCL = '<0,fU''
//+ KluC.= lM, (.HANUF Til ll.SF-t.'
// 1 AHF L = (KL4lU L 1 , X.LMlf:«, 1 )
//*
2 Page 20
T Release Date: 2/01/80
tSNA (EC0120) Update #: A-l
ooo os /'ID
0 0 0 0 ci « 0 0
oooosvoo
0(i 00 f>g 00
NF| 1 , OOlXih I 00
oooufi^oo
OOOOf-i'lO
Od no fiii oo
i 1 i b = 1 0 0 0 1 , 0 0 0 0 f> S <) 0
SHFC IF ILA I IiJN.S OOOOhf.0')
00006/00
ftooofihoo
//* IHI1PUT OAlA SM - LKS/AS T«A,JSA( 1 IONS OOOofVHlO
//*
//USASIM 01) PSMAMEntPHIlJtr 1 . .OAl A.iiTNA
// lll^P""f)iilfe»4J^l
// 1 ' 1 O ' — \*\t'l\^irft
// V(IU)I'IE = SLF?=*SKK i AI f,
// (K'i«=(Hf. rf-M = Fy,LWFfL = V9,MLK
//» KlNf;=?"i, CHAI"I;F III I/SCH'
// L AHF L= (f.L'hF L^, ivLAIir^^ )
//*
//* iiuifin OAT« sr i - '-IF ••* I.IS/AS ^A.sirw
//»
//fCSMrif.F Pf) liSMAi'iF sKC^II.ftC I . .PA f A. tfv'f W
// ll»'l I 5K.IJMI T >,,
/ / VllLlli'F=(l'l'IVATt,WFI«lli,StFi
// 0 (,Sf'=f HOI^F'i ) ,
// ,iPArt=(K.Sf'tMIMI,(Kt'HIMAI(Yf
// »
//« oiirfiif "ATA :•i^ i - or/\iwj>Ttc ^tPn^i
//*
//fL^l'lAi; "0 SYS'lilTsMltlt
//*
//* Ulllt'ill f'ATA 3F 1 - 1NHHI i-IAyit" F|Lt
//«
//K'.vni in DO .sybi)'(r=i4(ii/i
//*
//• t Illl PUT HAM ,SF 1 - ilUIPUl M/iPIFU FILf
//*
//FL5(007i|0u
.SI/F =?S7'4) , r,uO(i7SOO
SI'F t IF K. A ( IIKI.S 0000 /600
OoOli / /(JO
0000 /HOO
F ILF, Ou(Ml7VOO
OOOOHOOO
MS 1 *^ f 0 (» 0 OH 1 0 0
0 0 0 0 ^cT* 0
= X,Shl< 1 AI i) r 0000*400
OOOO^/IOO
itStf HDHY J ,kl 3F ) OuOOftSOO
0 0 0 0 ft fi 0 0
00008/00
OOOIJHHOO
00(ll)H900
OoilOVUOO
L f;jT INU donoflj oo
o o o o <» d o o
0(10095(10
nonov'ioo
I LSI irj; nono^boo
OoOO^dOO
Ouoi)y 700
OiiO(>QHflO
//* UlJIF'tir f)AT4 ,Sf 1 - illllPUT T"A .(SAT 1 l()fJ,S L'.ST(/i(« 'IdO ii'?V(IO
//*
//i.LSikNl nil ;>Yi,nnl=MiUi
//*
//* iHIIP'/T I'ATA ,iM S - SYSIfii UPL"/>T|(iW
// *
//SYSIHII PII s y sun 1 = nun
// *
//Si <5H< | MI PI) ;;Y'jnii I rRiiu
//*
//'iY'ii.'tliU 1 ')') S f ,«HI r = M|U 1
//*
//S r SI' 1 F t' • 'M' T)' SIMM r\,|ll 1
// *
//SYSUOlli-'P Ol) 8 Y ;i(IUl =*IIM 1
//*
//*
00(1 1 0()(lO
film ) i) i i,n
ooo i « tin o
000 1 0 4') 0
01/01 0 '1 0 0
0 i; 0 1 (1 "i 0 i7
On') 1 0(,0l)
fioo 1 0 7 00
000 1 OMOO
0(|0 | 0 ) 1 1 '.I)
'I'lll 1 1 rM'll
0001 1 400
" 0 f 1 1 1 q 0 0
0001 t SOO
                                              (Page 2 of 2)
Figure 6.2.2-i - continued.   Cataloged Procedure ECRPM10
                          457

-------
EtS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 6.2.2
      ANNUAL  REPORT
      PROGRAM CRPASNA (EC0120)
            Page 21
            Release Date: 2/01/80
            Update #:   A-l
 Parameter
   Name

 PROJECT
 PROGRAM
 REGION1

 TIME1

 OLDMSTR

 NEWMSTR

 SPCUNIT

 PRIMARY

 SECNDRY

 OUT
 TRANFL1

 TRANFL2

 UNIT1
      Default
       Value

'CN.EPALMH.A087.
 CDHS.HQ.AREA1
CRPASNA
150K

'2,0'

ECOLDMST

ECNEWMST

TRK

20

10

A
ECNEDS

ECAREA

2400
       Description

Highest-level index of data set
names (e.g., CN.EPALMH.A087.CDHS.
HQ.AREA.DATA.ECOLDMST would be
the full data set name of the
EIS/AS input master file)
Annual report program
Region size allocated for
execution of CRPASNA
Maximum time limit allocated for
execution of CRPASNA
Lowest-level index of input
master file
Lowest-level index of output
master file
Units in which space for output
master file is to be allocated
Primary space allocation for
output master file
Secondary space allocation for
output master file
SYSOUT class for all print files
Lowest level index of NEDS
transactions
Lowest level index of EIS
transactions
Device type to which output NEDS
transactions are to be written
             Figure 6.2.2-j.
                                  Page 1 of 2
      Substitutable Parameters for ECRPM10
                                     458

-------
EIS/AS
DATA ACCESSING AND
MANIPULATION
      SECTION 6.2.2
      ANNUAL REPORT
      PROGRAM CRPASNA
            Page 22
            Release Date: 2/01/80
            llndat.p 1.!  A-1	
 Parameter
   Name

 UNIT2

UNITS


SERIAL1


SERIAL2


SERIALS


DISP1

DISP2

DISP3

LABEL1

LABEL2

LABCK1

LABCK2
      Default
       Value

2400

3330


NEDTPE


ASHTPE


CDHSPK


'NEW,KEEP1

'NEW,KEEP1

'NEW,CATLC,DELETE1

1

1

NL

NL
       Description

Device type to which output EIS
transaction is to be written
Device type to which output
Master File transactions are to
be written
Volume serial number of volume to
which output NEDS transactions
are to be written
Volume serial number of volume to
which output EIS transactions
are to be written
Volume serial number of volume to
which output Master File
transactions are to be written
Disposition of output NEDS
transaction file
Disposition of output EIS
transaction file
Disposition of output Master File
transaction file
Type sequence number of the NEDS
transaction file
Type sequence number of the EIS
transaction file
Type of tape labeling for the
NEDS transaction file
Type of tape labeling for the
EIS transaction file
                                                         Page 2 of 2
      Figure 6.2.2-j - continued.   Substitutable Parameters for ECRPM10
                                     459

-------
HS/AS
REPORTS
SECTION 6.3
FILE LISTINGS
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #: A-l
6.3  FILE LISTINGS

6.3.1  INTRODUCTION

     The master file or any answer file can be printed using  the  master file
detailed report program, CRPMSTR (EC0130),  or the master file formatted dump
program, CRPDUMP (EC0140).

     CRPMSTR (EC0130) lists the master or answer file in a  format suitable for
a management report.  See Figure 6.3.1-a for a flowchart illustrating the
operation of the master file detailed report program.

     CRPDUMP (EC0140) lists the master or answer file, record by  record, with
appropriate identifying headers.  It is primarily used to verify  the contents
of the master file, especially when investigating a suspected EIS/AS
malfunction.  See Figure 6.3.1-b for a flowchart illustrating the operation of
the master file formatted dump program.

     CRPEFAC (EC0150) lists the information from the emission factor file.
See Figure 6.3.1-c for a flowchart illustrating the operation of  the emission
factor file detailed report program.

     Detailed information on CRPMSTR (EC0130), CRPDUMP (EC0140),  and CRPEFAC
(EC0150) can be found in Sections 6.3.2, 6.3.3, and 6.3.4,  respectively.

     CRPMSTR (EC0130) can be executed using the cataloged procedure ECRPM20,
which is discussed in Section 6.3.2.5; CRPDUMP (EC0140) is  executed by
                                     460

-------
EIS/AS
REPORTS
SECTION 6.3
FILE LISTINGS
INTRODUCTION
Page 2
Release Date: 2/01/80
Update #: A-l
ECRPM30, discussed in Section 6.3.3.5; and CRPEFAC (EC0150)  is executed by
ECRPE10, discussed in Section 6.3.4.5.
                                     461

-------
EIS/AS
REPORTS
SECTION 6.3
FILE LISTINGS
INTRODUCTION
Page 3
Release Date: 2/01/80
Update #: A-l
               EIS/AS MASTER FILE
             OPTION CARD
                            CRPMSTR (EC0130)
                              MASTER FILE
                            DETAILED REPORT
                                PROGRAM
                    DETAILED
                     REPORT
                 DIAGNOSTIC
                   REPORT
            Figure 6.3.1-a.  Master File Detailed Report Flowchart
                                     462

-------
EIS/AS
REPORTS
SECTION 6.3
FILE LISTINGS
INTRODUCTION
Page 4
Release Date: 2/01/80
Update #: A-l
              EIS/AS MASTER FILE
                      OPTION CARD
                               CRPDUMP (EC0140)
                                 MASTER FILE
                                FORMATTED DUMP
                                   PROGRAM
                  DIAGNOSTIC
                    REPORT
                      FORMATTED
                        DUMP
           Figure 6.3.1-b.  Master File Formatted Dump Flowchart
                                    463

-------
EIS/AS
REPORTS
SECTION 6.3
FILE LISTINGS
INTRODUCTION
Page 5
Release Date: 2/01/80
Update #: A-l
                                EMISSION FACTOR!
                               V    FILE
                                 CRPEFAC (EC0150)
                                 EMISSION FACTOR
                                  FILE DETAILED
                                 REPORT PROGRAM
             DETAILED
              REPORT
                                 DIAGNOSTIC
                                   REPORT
       Figure 6.3.1-c.   Emission Factor File Detailed Report  Flowchart
                                     464

-------
EIS/AS
REPORTS
SECTION 6.3.2
DETAILED REPORT
PROGRAM CRPMSTR
Page 1
Release Date: 2/01/80
        -  fl-1	
6.3.2  MASTER FILE DETAILED REPORT PROGRAM - CRPMSTR (EC0130)

6.3.2.1  Description

     CRPMSTR (EC0130) produces a detailed report of any EIS/AS master or
answer file.  Each field in each master file record appears under an
identifying heading.  The detailed report may be used as a management report
or in verifying data in the master file.  For information on producing a
summary report, see Section 6.4.

6.3.2.2  File Formats

     Input to CRPMSTR (EC0130) consists of an EIS/AS master file and an option
card.  See Figure 4.3.6-a for the master file format.

     Output consists of the master file detailed report and a diagnostic
report containing update messages, statistical  messages, and any error
messages that were generated.  See Figure 6.3.2-a for a sample diagnostic
report and Figure 6.3.2-b for a sample master file detailed report.

6.3.2.3  Options and Control Cards

     The maximum number of lines per printed page can be specified by the user
in card columns one and two of the option card.   This option can reduce the
amount of paper used by those users who have standard 11 x 14 inch output
forms and the ability to print eight lines per inch.  If no option card is
given or the line specification on the option card is not between 20 and 85, a
default of 60 lines is used.  See Figure 6.3.2-c for the option card format.
                                     465

-------
EIS/AS
REPORTS
SECTION 6.3.2
DETAILED REPORT
PROGRAM CRPMSTR (EC0130)
Page 2
Release Date: 2/01/80
Update #: A-l
6.3.2.4  Error Message^

CRPMSTR 001 DISASTER - RECORD NUMBER XXXXXXX HAS AN INVALID RECORD TYPE, CALL
            NADB
     Meaning:  The character specifying the record type is invalid, and the
               record cannot be printed.
      Action:  Contact personnel  at the National Air Data Branch.
CRPMSTR 002 DISASTER - RECORD NUMBER XXXXXXX HAS AN INVALID NUMBER OF
            POLLUTANTS, CALL NADB
     Meaning:  The field specifying the number of pollutants is not a number
               between 1 and 16,  and the record cannot be printed.,
      Action:  Contact personnel  at the National Air Data Branch.

6.3.2.5  Cataloged JCL - ECRPM20

6.3.2.5.1  JCL listing -  CRPMSTR (EC0130) can be run by executing the
cataloged procedure ECRPM20.  See Figure 6.3.2-d for a listing of  this
procedure.

6.3.2.5.2  Cross-reference of DP  names and files

     Program Name:  CRPMSTR (EC0130)

       DP Name              File  Description              Input/Output

       ECSMSTR       EIS/AS master file                     Input
       ECSOPTN       Option card                             Input
       ECSPRNT       Master file  detailed report            Output
       ECSDIAG       Diagnostic report                      Output
                                     466

-------
EIS/AS
REPORTS
SECTION 6.3.2
DETAILED REPORT
PROGRAM CRPMSTR (EC0130)
Page 3
Release Date: 2/01/80
Update #:  A-l
6.3.2.5.3  User-supplied JCL - To execute the cataloged procedure ECRPM20, the
user must specify the data set name of the input master file.   See Figure
6.3.2-e for a description of the procedure's substitutable parameters.

6.3.2.5.4  Sample run stream - The following run stream would produce a
detailed report of the EIS/AS master file 'CN.EPALMH.A087.CDHS.HQ.AREA.
ASHFILE1.  An option card specifying 80 lines per printed page is included.

//  EXEC  ECRPM20,
//        MSTRFIL=ASHFILE
//LIST.OPTIONS  DD  *
80
/*

6.3.2.6  Warnings and Special Instructions

     Each record in the master file as generated by the EIS/AS master file
maintenance program should have the correct record type and number of
pollutants.  Therefore, if the user gets an error message relating to one of
these fields, he should notify personnel at the National  Air Data Branch.

6.3.2.7  Cost Considerations

     A test run of CRPMSTR (EC0130) was executed on an IBM 370/168 to
produce a detailed report of an EIS/AS master file.   The  following estimates
are from that test run:

         Input master file:                   371 records
         Number of records listed:            371 records
         CPU time:                          4.18 seconds
                                     467

-------
EIS/AS
REPORTS
SECTION 6.3.2
DETAILED REPORT
PROGRAM CRPMSTR (EC0130)
Page 4
Release Date: 2/01/80
Update #:: A-l
         I/O time:
         Total time:
              13.27 seconds
              17.25 seconds
         Estimated cost:
              $4.89
6.3.2.8  Related Programs and Procedures

     CRPMSTR (EC0130) can be run in conjunction with many of the other
programs in the system.   Section 7.0 provides examples of some of these runs,
including a retrieval with a detailed report.
                                     468

-------
EIS/AS

REPORTS
SECTION  6.3.2

DETAILED REPORT

PROGRAM  CRPMSTR (EC0130)
Page 5

Release Date:  2/01/80

Update #:  A-l
                                                                                 o
                                                                                 Q.
                                                                                 OJ
                                                                                 o:

                                                                                 u
                                                                                 D)
                                                                                 rc
                                                                                 C\J
                                                                                 ro
                                                                                 3

                                                                                 C7)
                         — cc ^ o


                         f'  rr
                          2 "

                          C ~tL 
                          «. i —•
                         • ± - JL
                         IK S. i —


                         -L » (J J
              a _i p- x
              z  « C ?
                                      469

-------
E IS/AS
REPORTS
i
s.
*
C
~
2.
-g
a


2
5
7
~
:,-
i- ^
^i _j
— H
~~
-
r
u-
I «
J
2
"

*"
w
^
^

- z
u, i.
1 ~
_J C:
<: 3




-L ~
^ —
^" L-





=1 J.
< ^

^ ~
t. J
-!
f ^
c T

>- -Q.
C 1
X _
•c — •
I- C
c
-X 1
a.
cr, C >
«
SECTION 6.3.2
DETAILED REPORT
PROGRAM CRPMSTR (EC0130}
z s,
* c.
^
- -
•: i
u. C
r i.


5
^ ~
^
£
i.

^. c
i u
;_•
-
_ j
i
-J «
^


3 >
V

C — -a
^ >-

c x <
- Jj
L"
(_ < V
— a ~
0. ~ JL
^ _ I
ar I Z c
3 <;
-C _J X
oJ
- a <
t, z tr
J- to
a o w
i <
r
^
^f z" -O
IT r r
"v •— •>
tb
L. >•
 u > •—
z -
7
f
Page 6
Release Date: 2/01/80



* «
* *
-J a-
3;
< j,
"5 Z
^
A ~'
^




X
^ 2^

5


^

cr
5" x
^ ^
u.
*^.
c
a: S" -J
U- •" ^>
-_ LJ
X _
y i: ~
s d -j
i
•X ~K ^
c u- Z.
j;
-
u. C C
K. a. •— Z.
i F d W
00
— t -I
2T ~
cr.
•7


S


< -T
y) "\l
j a
Z.
"^





3:
i" z
< |

fr
•— cr
<


i-
~ ^

O
?l ^
T r "O
i ^ OJ
^ ^ *r-^
t 2, OJ
— o
0)
o c; *r-
3-3 .

CD
CD
•r-
U_


jj
Oj X
- I
J ?
c- c- c
r — ^

470

-------
EIS/AS
REPORTS
                SECTION 6.3.2
                DETAILED REPORT
                PROGRAM CRPMSTR (EC0130)
Page 7
Release Date: 2/01/80
Update #: A-l
          Col
            v
limn # 1
            XX
     Note:  XX is an integer between 20 and 85
                     Figure 6.3.2-c.  Option Card Format
                                     471

-------
EIS/AS
REPORTS
SECTION 6.3.2
DETAILED  REPORT
PROGRAM CRPMSTR  (EC0130)
                                                                         Page 8
                                                                         Release  Date:  2/01/80
                                                                         Update #: A-l
                                                       A  in.
//* F PAl MM//tnn7 MFhl.FF'MH,  LUlYP ,-1.  ('^191  S'JI-S'4^1

//*    PKHiFhHPF MflMt :  I CPPAVO
//»    PF viSI (IN  LF \/FI :  1 -oo
//*    I AS I  UPliA IF » :  A- I

//*
//*    THIS CPfiCF hijPt  AI L'i,..s  Tur IJSFK  in
//*    I IS I  I IF  TMp t IS/Aii MAbTcK Flit
//*
//*
           PKH(,  PPHJt C I = Trt.t PAI MH.AOH / . COHR.HU. AI'LA ' ,
//*
//I I si     F ;
                                                                                  On (ion I ii 0
                 I IMF )r' I ,<)' ,
                 MSI PI II.=LrM4Slt - W,
                 HIM -A
                   i;l I|M =
                          I'-' I 1 )
//*    MASI FP  F II.F  UK TAIL  I I ;:T
//*
//SIFPI.1H    1)0 l)Si\IAMF =NPHn It C I . .1 HAD,
//               iMUJIMF = (HR| VAT I ,PF I A ) II) ,
//               |>TSP=(SHK,H4SS)
//*
//*   |UPIII  OAIA SF T  - F IS/AS  MASTER  F J t F,
//*
              hi) USNA 'F =*F»HHJLr 1 . .DAT A . iO 3 1 rF I  -  I) T /\r;hMS T I ('  Wf.PDPI
//*
//fC'ihTAf.    hi)  ',YSIH)T=f(,iMI|
//*
//»   iiMifiiT  hAi«  ;iF I  -  F IS/AS  HASIF;I<  F in  OLIAH  LIST
//*
//KSMUI.I    DO  y> OHM i-f.< in I
//*
//<   (ili|PnT  DATA  SF I 3 -  SYSI'i''  nl-'t K A T I nil
//*
//SYSHHI     hi)  bY.'ilnj I r^iin I
//*
//S » S|'^ I I" I   hi)  M .S'MiT =t|HII
//*
//Si S.IHI in I   'it-  ;-.v,-.ili'l =s iHi )
//*
//.'i t Si I f t I' '   1*11  -i Y.'i'll) I -> I IH I
//*
//*
                                             o (i (t o o $o u
                                             11)000 'tOO
                                             (i OOd OS 00
                                             duooohfii)
                                             Oil 0()0 /()()
                                             OlMlOOHIl.)
                                             no noo von
                                             (i i) no 1000
                                             Oil 001 100
                                             0 II 0 (J 1 ^ 0 y
                                             O.I 00 t SOU
                                             n ij n u i a n o
                                             0000 1 MM)
                                             oijOu i fjOo
                                             o o o it i /no
                                             o « ()0l« o i;
                                             0 i)0()1900
                                                                                  0 I) 0 0 ? \ 0 0
                                             n (, o o ? i d o
                                             on no? 'i oo
                                             o u o o ? s o o
                                             OllO(l?oi'lO
                                             HOIK)? /on
                                             0000^8(11)
                                             0 () 0 I, ^ 9 0 0
                                             (M) 00 ^()00
                                             o o o o s 1 o o
                                             oo oo lr? oo
                                             (M> 0 0 4 S 0 0
                                             n o n (i ^ « o i/
                                             n o (i i) 3 s f> o
                                             0(1 «0 ^h 0(1
                                             n o o o ^ ! o o
                                             oo oo SHOO
                                             ooi/o'ivno
                                             o ooo 'i ooo
                                             n o d ii 'i i o <;
                                              n o o o u ^ o o
                                              (! 00 0/1(1 0()
                                              r o n o " s o o
                                              MHMI'1600
                                              dooo'i /no
                                              .KI (MI '4 (
-------
EIS/AS
REPORTS
          SECTION  6.3.2
          DETAILED REPORT
          PROGRAM  CRPMSTR  (EC0130)
   Page 9
   Release Date:  2/01/80|
           :  A-1	
Parameter Name

  PROJECT
 PROGRAM

 REGION1


 MSTRFIL

 OUT

 TIME1
      Default Value

'CN.EPALMH.A087.CDHS.HQ.AREA'
 CRPMSTR

 150K


ECMASTER

A

'1,0'
  Description

  Highest-level index of
  data set names (e.g.,
  CN.EPALMH.A087.CDHS.
  HQ.AREA.DATA.ECMASTER
 would be the full data
 set name of the master
 file)
 Master  file detailed
 report  program
 Region  size allocated
 for execution of
 CRPMSTR
 Lowest-level  index of
 master file
 SYSOUT class  for all
 print files
 Time allocated for the
execution of CRPMSTR
         Figure 6.3.2-e.  Substitutable Parameters for ECRPM20
                                  473

-------
EIS/AS
REPORTS
SECTION 6.3.3
FORMATTED DUMP
PROGRAM CRPDUMP (EC0140)
Page 1
Release Date: 2/01/80
Update #: A-l
6.3.3  MASTER FILE FORMATTED DUMP PROGRAM -  CRPDUMP  (EC0140)

6.3.3.1  Description

     CRPDUMP (EC0140) produces a formatted dump of the EIS/AS  master file;
i.e., a listing with identifying headings of all  the fields  in each  master
file record, as the record appears in the file.  This formatted dump is  useful
for verifying information contained in a master file and isolating invalid
data.

     CRPDUMP (EC0140) also has the capability of dumping selected  portions  of
the master file specified by the user on an  option card.  See  Section 6.3.3.3
for a more detailed discussion of program options.

6.3.3.2  File Formats

     Input to CRPDUMP (EC0140) consists of an EIS/AS master  file and an  option
card.  See Figure 4.3.6-a for the master file format.

     Output consists of the master file dump and a diagnostic  report
containing update messages, statistical messages, and any error messages that
were generated.

     See Figure 6.3.3-a and Figure 6.3.3-b respectively, for a sample master
file dump and a sample diagnostic report.

6.3.3.3  Options and Control Cards

     The maximum number of lines per printed page can be specified by the user
in card columns one and two of the option card.  This option can reduce  the
                                     474

-------
EIS/AS
REPORTS
SECTION 6.3.3
FORMATTED DUMP
PROGRAM CRPDUMP (EC0140)
Page 2
Release Date: 2/01/80
Update #: A-l
amount of paper used by those users who have standard 11 x 14 inch output
forms and the ability to print eight lines per inch.
     There are two other user-specified options:   the number of records to be
skipped before printing the first record to be dumped and the total  number of
records to be dumped.  These two options make it  possible for users  to inspect
specific portions of the master file without having to list the entire file.
Columns 3 through 8 are used for coding the number of records to be  skipped,
and columns 9 through 14 are used for the total number of records to be
dumped.

     All option specifications must be numeric and right-justified;  leading
spaces are allowed.  The maximum number of lines  to be printed per page should
be a number between 20 and 80.

     One or more options as well as the entire option card can be omitted.
The default options are 55 lines per page, no records skipped, and the entire
file dumped.  If the number of records to be skipped is specified, but the
number of records to be dumped is not, all records will be dumped except those
that are specified to be skipped.  See Figure 6.3.3-c for the option card
format.

6.3.3.4  Error Messages

CRPDUMP 001 ERROR - INVALID RECORD TYPE
     Meaning:  The record type is not 0, 1, or 2  (for description record,
               category record, or comment record, respectively).  The first
               132 characters of the record will  be listed in the dump.
      Action:  Contact personnel at the National  Air Data Branch.
                                     475

-------
EIS/AS
REPORTS
SECTION 6.3.3
FORMATTED DUMP
PROGRAM CRPDUMP (EC0140)
Page 3
Release Date: 2/01/80
Update #: A-l
CRPDUMP 002 ERROR - INVALID NUMBER OF POLLUTANTS
     Meaning:  The number of pollutants is not a number between 1  and 16.   The
               first 132 characters of the record will  be listed in the dump.
      Action:  Contact personnel  at the National Air Data Branch.

CRPDUMP 003 CONDITIONAL - NO VALID LINE SPECIFICATION -DEFAULT OF  55 ASSUMED
      Meaning: An invalid or no maxmimum number of lines per printed page  was
               specified.  Therefore, the default of 55 lines per  page was
               assumed.
      Action:  If a different line maximum is desired,  change the  option
               specification and resubmit the job.

CRPDUMP 004 CONDITIONAL - NO VALID VALUE SPECIFIED FOR  NUMBER OF RECORDS TO BE
            SKIPPED - DUMP STARTS AT FIRST RECORD
     Meaning:  No valid value was specified for the number of records to be
               skipped.  The dump of the file will start at the first record.
      Action:  If a different starting point is desired, specify the desired
               number of records on the option card, and resubmit  the job.

CRPDUMP 005 CONDITIONAL - NO VALID VALUE SPECIFIED FOR  NUMBER OF RECORDS TO BE
            DUMPED - ENTIRE FILE DUMPED
     Meaning:  No valid value was specified for the number of records to be
               dumped.  The entire file will be dumped  if no valid value was
               specified for the number of records to be skipped;  otherwise,
               all records except those specified to be skipped will be
               dumped.
                                     476

-------
EIS/AS
REPORTS
SECTION 6.3.3
FORMATTED DUMP
PROGRAM CRPDUMP (EC0140)
Page 4
Release Date: 2/01/80
Update #:  A-l
      Action:  If a dump of a specific number of records other than the
               entire file is desired, specify the desired number on the
               option card, and resubmit the job.

CRPDUMP 006 WARNING - END OF FILE REACHED BEFORE THE DESIRED NUMBER OF VALID
            RECORDS DUMPED
     Meaning:  The number of records in the file from the specified start of
               the dump to the end of the file is less than the number of
               records specified by the user.

      Action:  The file may have fewer records than expected; in that case,
               verify that the file has been properly updated.  If the file
               has the expected number of records, too many records were
               skipped before the start of the dump; in that case, change the
               appropriate option entry and resubmit the job.

CRPDUMP 007 ABORT - FILE HAS LESS RECORDS THAN THE NUMBER OF RECORDS TO BE
            SKIPPED
     Meaning:  The end of file was reached before the starting point for the
               dump.
      Action:  If the number of records was incorrectly specified, enter the
               correct number on the option card,  and resubmit the job.  If
               the file contains fewer records than expected, verify that the
               file has been properly updated.

6.3.3.5  Cataloged JCL - ECRPM30

6.3.3.5.1  JCL listing - CRPDUMP (EC0140) can be run by executing the
cataloged procedure ECRPM30.  See Figure 6.3.3-d for a listing of this proce-
dure.
                                     477

-------
EIS/AS
REPORTS
   SECTION 6.3.3
   FORMATTED DUMP
   PROGRAM CRPDUMP (EC0140)
Page 5
Release Date: 2/01/80
Update #: A-l
6.3.3.5.2  Cross-reference of DD names and files
     Program Name:  CRPDUMP (EC0140)
       DD Name
File Description
 Input/Output
       ECSMSTR       EIS/AS master file
       ECSOPTN       Option card
       ECSPRNT       Master file detailed report
       ECSDIAG       Diagnostic report
                                  Input
                                  Input
                                  Output
                                  Output
6.3.3.5.3  User-supplied JCL - To execute ECRPM30, the user must specify the
data set name of the master file to be dumped.   See Figure 6.3.3-e for a
description of the procedure's substitutable parameters.

6.3.3.5.4  Sample run stream - The following run stream would produce a dump
of the EIS/AS master file 'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ASHFILE1.  Each
report page will contain at most 65 lines.   The first 30 records will be
skipped, and a total of 50 records will be dumped (as specified by the option
card).

//  EXEC  ECRPM30,
//        MSTRFIL=ASHFILE
//DUMP.OPTIONS  DD  *
65    30    50
/*

6.3.3.6  Warnings and Special Instructions

     Each record in the master file as generated by the EIS/AS master file
maintenance program should have the correct record type and number of
                                     478

-------
EIS/AS
REPORTS
SECTION 6.3.3
FORMATTED DUMP
PROGRAM CRDUMP (EC0140)
Page 5
Release Date:  2/01/80
Update #:  A-l
pollutants.  However, if the user gets an error message relating to one of
these fields, he should contact personnel at the National  Air Data Branch.

6.3.3.7  Cost Considerations

     A test run of CRPDUMP (EC0140) was executed on an IBM 370/168 to give a
dump of an EIS/AS master file.  The following estimates are from that test
run:

         Input master file:                417 records
         Number of records dumped:         417 records
         CPU time:                        2.61 seconds
         I/O time:                       12.17 seconds
         Total time:                     14.78 seconds

         Estimated cost:                $4.14

6.3.3.8  Related Programs and Procedures

     CRPDUMP (EC0140) can be run in conjunction with many  of the other
programs in the EIS/AS system.  Its execution is especially useful either
after an EIS/AS master file/answer file has been created or any time an EIS/AS
master file/answer file is suspected of having questionable data.
                                     479

-------
EIS/AS

REPORTS
            SECTION 6.3.3

            FORMATTED  DUMP

            PROGRAM CRPDUMP  (EC0140)
      Page  6

      Release  Date:  2/01/80

      Uodate  #:  A-l

    >- Z: H             —
  n  x- u —             x
  r  3. x -t  ii  ti        .z.
 c  -> « Z *-  *~        x

 <2_G:Xa-j-C.-    X
 r    «r ,~ :>  -> i.- 1    j; <
          ~  - r -o    <
 0 —   — 2" 2 (J
 n x   •_> z. O •<
 — »_   < Xi X X
 >-_!   i. — — ~r II
 a. a.   z        a
      < x a: :c   SO.XT*
    ii   x r; r      ii ^
     x x
           > >  r     - c
                  -
  r •-    "•     cr  r c <•
  tr «    i— u n T  x •* —
  v. 1.  u  i— xi x j-  (/:     x r ^
                   • a- 3.    — J-
     IIXZ7   L, U X C" 3  — •
     a: _i a. ^   ixcca.
                                     (_;
                                     Jj CO
                                     X u-
                                      tt t—
                                      * J1 II
                                      x _ rw
                                      O — X
_i U U.
< r x

55 —
CC X. u.
                                                     '-J — — C
                                                  r  - a >
             x   <.  O

               2-5   ii— x^or^

             n 1- ?   c.   0  S = c :
                                                   .
                                                   >- o Ii a.
                                                   — « >- D  il
                                                   x c < a  c
                                                   ^ C 3" T  S
                                                   3, 0  •• I—  <—
                                                   ** e r x
                                                   w' II C >-  ..
                                                     i « x a. i
                      T— -J—IU^TJi

                      Xj_X^— tl.1
                                                            3: a. ^.   =. w tfl .
                ti  it x:   -j   —
                or—   »- n  T

                £  u. < II < X  x.
                -,   » i *- ^ j >-
                X  X X £_ II „<
                u-o^^r^-x
                C  no. j. i x y
                x^r;x-toc
              ii^i — u;— > u.
                >--3Xxx^,^
                  <- i— >- r»-
              •        _J -a   -
              :    •*   :r x «5  •—
              .  _j ^   r ^ M   — «-
                                                   ft 2 ^
                U x >.
               * S) ~i -=t
               ~ a, 3: C    N

                x —    n  —
                >- ,r    x*   *
                i -    x
                                                          CL II II    a.
                                                          X ^ Ji    jj
                                                          cr x *-
                  X ^   || _j u_
                -- z; .i u x _)

               . ~ X ^ X  » '-O —i
                ii y; c: ^-   xx-
                1 — II 1   C -i  •
                                                                                               CM
                                                                                             II M J  fl
                                                                                             r - -JT  »
                                                      .
                                                     c • *-  a x     •£. 2.
                                                     *- —  C A,  .   C-X
                                                     *i Ji  u i_   y, M ^
                                                     r -  a. ?   n -j £
                                                                                           ~   X J_  11 „ r X —
                                                                                           ^   c^j;x*i

                                                                                           II   — C  *• U-   Lw
                                                                                           a   r x    a: < s.
                                                                                           x   -c <    - ii r
                                                                                           _, d u    *. x: *>
                                                                                             x _/      u-^j-'^rc-r-
                                                                                             >-X      r C- II Q.     J. V.
                                                     — ^ v z; H   x —
                                                     x c •« j. c   y- u_

                                                     j:O» — ^   a.     u-    '/;

                                                     O  ll c > .. (—       — CC
                                                     ,L.J-II_^«   ^ ^: -x — —i :
                                                                                           sec o ^ a u. tr _  ~
                                                                                           ncorvr — _j_JL^
                                                                                           t  u H    —   LtT—
                                                                                           < **- c  ti   3   c',
                                                                                           en ii M  .r   uj   •—
                                                                                           •— c. s.  —   f— ii "
                                                                                           c; j. j.  •-   m »^ ^
                                                                                             .** u.  <: n < x x
                                                                                             ^-  »  x — z J •»•
                                                                                             X CC  X i. !!_,«=
                                                                                           •\j j_ c.  — r s -.x
                                                                                           c * ii  a :r r x y,
- -J -^   r /•  ii  •«
^
                                                               cr.  » ii  »-  »u._ — — -sr-c— "v
    :z*—    rx — x 'v x •*> •o
                                                              480

-------
EIS/AS

REPORTS
SECTION  6.3.3

FORMATTED DUMP

PROGRAM  CRPDUMP  (EC0140)
Page 7

Release  Date: 2/01/80

Update #:  A-l
                          C

                        V.

                        •— uJ

                        -K _l
                       -n -r v?
                       < ^- c
                        2 a:
                       IT C C
                                                                                  O
                                                                                  CL
                                                                                  U)
                                                   o
                                                                                  to
                                                                                  o

                                                                                  en
                                                                                  ro
                                                                                  CO


                                                                                  CO
                                                                                  zs
                                                                                  en
                                C 1^ a;
                                1 ^
                       UJ (_) LJ


                       " ~ J"


                       C C C
          IT  < ~
            £20
          5 C a 7-
          « — o —
          a: if.

          : > ir. i
          a: jj « *
          a a _ c
                                       481

-------
EIS/AS
REPORTS
  SECTION 6.3.3
  FORMATTED DUMP
  PROGRAM CRPDUMP (EC0140)
                                            Page 8
                                            Release Date: 2/01/80
                                            Update #:  A-l
Column
  #1 and 2

  V
                XX
              MAXIMUM
             NUMBER OF
              LINES
                           Column
                             #3 thru 8
              Column
                #9 thru 14
  XXXXXX
 NUMBER
OF RECORDS
 SKIPPED
                              XXXXXX
                             NUMBER
                           OF RECORDS
                             DUMPED
Notes:
     1).   The maximum number of lines per page,  when given,  should be a number
          between 20 and 80.  The default is 55  lines per page.
     2).   The number of records skipped, when given, should  be numeric.
          However, all leading spaces are allowed.   The default  is 0; i.e., no
          records skipped.
     3).   The number of records dumped, when given,  should be numeric.
          However, leading spaces are allowed.   The  default  is the entire file
          dumped.
     4).   All option specifications should be right-justified.
                     Figure 6.3.3-c.   Option Card Format
                                     482

-------
EIS/AS
REPORTS
                                SECTION 6.3.3
                                FORMATTED  DUMP

                                PROGRAM CRPDUMP  (EC0140)
Page 9
Release Date:  2/01/80
Update  I:  A-l
                                 ,  LI
//*

//*
//*

//*
//*
//*
//*
//*
     //*
/ / *
//*
//*
//S
//
//
//*
//*
//*
//»
//I- f
//
//•«
//*
//*
       I'RDCF I'lMI-
       I'l- v I S jiiw  if vf i  :  1 -mi
       I A S I  1 1 1' 1 1 A I f  U •  A-l
       OftTt  1 WlWPdPrt TH>:  ^
                                        Ky  I,  19X0
                 HkiiriPHUt  ALtili-.S  IMF  M3I-K  |(i Pt  IH'rip  UF  THl  flP/Ao i»iASII'< flit
                                        M).A()87.(.I)HS.MU.AHKA '
                      t t = ' i ,<•''
                      MS I -'I |L=l I M
                      liHI =A
                F XI I.
                         , I ni'^Kh'f- (-Tllr'J I
                         ^ r(Kl 1  'M )
           ('K)Nl t IS/AS '-ICMI
                                   II t  I»l A  HIUMAtFI;  I"UMC
                  Oi)  i)SUAr.> sKPHiMf f f . .LMAO,
                      VIH II'^IF =(PK1 VAU ,Hh I AIM),
                      U fSP=(SHK,f' ASS)

                 hA|A r;t-i  -  IIS/AS  "AMfcK  f-iit


                  (M)  DSi-JAi E = i*.P.'n.HC I . .DAI A.i^SlKf- U ,
                      vliLUMf = (PR1 WATK.HI IAJM),
                      Ol SP=(SllH,l>Ao,S)


           J'.'PIM DMA St I  -  IIPIIIH,  LAKh


           OP I "I   '1|>  |ir-MA.»r =(IPT ID-IS,
                      I Thrtil KS I /f: -Ml


           HlMPur I'ATA SF 1  - hi At.MIKslir  f-(_''lll'l


           I; I if,   i)n  .SYbiHH =K.i)ii|

                T I)AIA 5F I  - llo/AS  IJA8IFi< FILt-  F Ml'MA I
                                                                MI'iP
              rut OD 01 no
              (i iMH> Ot? no
              no no 'Moo
              Ou CHI oy On
              f> (i n ii o S n 0
              fin nuOhd o
              fin (i on 7 oil
              o ii o it ono u
              o vi n u o •v 'i o
              no on i o "0
              n u o (/ 1 j o o
              0(1 Oil 1 r>fMI
              00 Oil 1 i(>0
              n i) o a 1 14 o o
              n on u i sno
              OuOol 6f'u
              o o o i) i /no
              o o o .) i M o o
              00001 '/OO
              0000^000
              oo n 0^1 oo
                                                                                          dP JOO
              n o o o. ? *> o o
              OIIOOj'/OO
                                                                                  n n Oil ^000
                                                                                  o o o o ? i o o
                                                                                  0000 \«>00
                                                                                  n o o 
-------
EIS/AS
REPORTS
                           SECTION 6.3.3
                           FORMATTED DUMP
                           PROGRAM CRPDUMP  (EC0140)
Page 10
Release Date:  2/01/80
Update #: A-l
       IJMTF'IIT
   //*
//*
//" Y.SII r^ P.
//*
//*
              tin •,» ii"i i -'
                                                           (Page 2 of 2)
           Figure 6.3.3-d  -  continued.  Cataloged  Procedure ECRPM30
                                      484

-------
EIS/AS
REPORTS
        SECTION 6.3.3
        FORMATTED DUMP
        PROGRAM CRPDUMP  (£00140)
         Page 11
         Release  Date:  2/01/80J
         Update &.L..A-J	
Parameter Name

  PROJECT
 PROGRAM

 MSTRFIL

 REGION1

 OUT

 TIME 1
     Default Value

 'CN.EPALMH.A087.CDHS.HQ.
 AREA'
CRPDUMP

ECMASTER

100K

A

'1,0'
       Description

 Highest-level index of data
 set names (e.g., CN.EPALMH.
 A087.CDHS.HQ.AREA.DATA.
 ECMASTER would the full data
 set name of the EIS/AS
 master file)
 Master file  formatted  dump
 program
 Lowest-level  index  of
 master file
 Region  size  allocated  for
 execution  of  CRPDUMP
 SYSOUT class  for all print
 files
 Time allocated for
execution of CRPDUMP
          Figure  6.3.3-e.   Substitutable  Parameters  for
                                   ECRPM30
                                  485

-------
EIS/AS
REPORTS
SECTION 6.3.4
EMISSION FACTOR FILE
Page 1
Release Date: 2/01/80
llpdatp #•  A.nl
6.3.4  EMISSION FACTOR FILE DETAILED REPORT PROGRAM - CRPEFAC (EC0150)

6.3.4.1  Description

     CRPEFAC (EC0150) produces a detailed report of the EIS/AS emission factor
file.  This report is organized so that printed beneath each emission factor
category record are the pollutant records subordinate to it.  Headings are
generated at the top of each page for both the emission factor category and
pollutant records.

6.3.4.2  File Formats

     Input to CRPEFAC (EC0150) consists of an EIS/AS emission factor file.
See Figure 4.2.3-a for the EIS/AS emission factor file format.

     The output produced by CRPEFAC (EC0150) consists of the emission factor
file detailed report and the diagnostic report.  Samples of both reports are
shown in Figures 6.3.4-a and 6.3.4-b, respectively.

6.3.4.3  Options and Control Cards

     There are no options.

6.3.4.4  Error Messages

CRPEFAC 001 DISASTER - POLLUTANT RECORD KEY DIFFERENT FROM PRECEDING CATEGORY
            KEY, CALL NADB
     Meaning:  The emission factor file is not in the correct sequence.  Thus,
               program execution was terminated.
      Action:  Contact personnel at the National Air Data Branch for
               assistance.
                                     486

-------
EIS/AS
REPORTS
SECTION 6.3.4
EMISSION FACTOR FILE
CRPEFAC (ECQ15Q1	
Page 2
Release Date: 2/01/80
Update l!  A-1
CRPEFAC 002 ABORT - EMISSION FACTOR FILE NOT PRESENT
     Meaning:  There are no records in the specified emission factor file.
               Program execution was terminated.
      Action:  Specify a valid emission factor file using the cataloged
               procedure's substitutable parameters (see Figure 6.3.4-d)  and
               resubmit the job.

CRPEFAC 003 DISASTER - EMISSION FACTOR FILE HEADER RECORD NOT PRESENT,  CALL
            NADB
     Meaning:  The input EIS/AS emission factor file does not contain a header
               record.  Since this record is necessary to store control data,
               program execution was terminated.
      Action:  Insure that the proper emission factor file is being used.   If
               the proper file is not being used,  correct the error and
               resubmit the job.  If the proper file is being used, contact
               personnel at the National Air Data  Branch for assistance.

CRPEFAC 004 DISASTER - INVALID RECORD TYPE, CALL  NADB
     Meaning:  The record type is not 1 or 2 (category record or pollutant
               record, respectively), and program execution was terminated.
      Action:  Insure that the proper emission factor file is being used.   If
               the proper file is not being used,  correct the error and
               resubmit the job.  If the proper file is being used, contact
               personnel at the National Air Data  Branch for assistance.

CRPEFAC 005 DISASTER - COLUMN 22 - INVALID ORIGIN, CALL NADB
     Meaning:  The emission factor origin is not  1, 2, or 3.   Program
               execution was terminated.
      Action:  Insure that the proper emission factor file is being used.   If
               the proper file is not being used,  correct the error and
               resubmit the job.  If the proper file is being used, contact
               personnel at the National Air Data  Branch for assistance.
                                     487

-------
EIS/AS
REPORTS
SECTION 6.3.4
EMISSION FACTOR FILE
CRPEFAC (EC0150)
Page 3
Release Date: 2/01/80
Update #:  A-l
6.3.4.5  Cataloged JCL

6.3.4.5.1  JCL listing - CRPEFAC (EC0150)  can be run by executing  the
cataloged procedure ECRPE10.   See Figure 6.3.4-c for a listing  of  this
procedure.

6.3.4.5.2  Cross-reference of DP names and files

     Program Name:  CRPEFAC (EC0150)

     DP Name          File Description                 Input/Output

     ECSEMFC        EIS/AS emission factor file           Input
     ECSPRNT        Detailed  report                       Output
     ECSDIAG        Diagnostic report                     Output

6.3.4.5.3  User-supplied JCL  - To execute the cataloged procedure  ECRPE10,  the
user must supply a job card and specify the data set name of the  input  EIS/AS
emission factor file.   See Figure 6.3.4-d for a description  of  the procedure's
substitutable parameters.

6.3.4.5.4  Sample run  stream  - The following run stream would produce an
EIS/AS emission factor file detailed report using the input  EIS/AS emission
factor file 'CN.EPALMH.A087.HQ.AREA.DATA.ECEMFFIL1.

// EXEC ECRPE10,
//      EMFCFIL=ECEMFFIL

6.3.4.6  Warnings and  Special Instructions

     The user should make certain that the most current emission  factor file
is being used to insure an up-to-date report.
                                     488

-------
EIS/AS
REPORTS
SECTION 6.3.4
EMISSION FACTOR FILE
CRPEFAC (EC0150)
Page 4
Release Date: 2/01/80
Update #:  A-l
6.3.4.7  Cost Considerations

     The following estimates are for the execution of CRPEFAC (EC0150)  on an
IBM 370/168:
     Number of emission factor file records:
     CPU time:
     I/O time:
     Total time:
                                 680 records
                                 .59 second
                                1.29 seconds
                                1.88 seconds
     Estimated cost:
                               $ .53
6.3.4.8  Related Programs and Procedures
     CRPEFAC (EC0150) is executed by the cataloged procedure ECRPE10.
                                     489

-------
EIS/AS

REPORTS
SECTION 6.3.4

EMISSION  FACTOR FILE

CRPEFAC (EC0150)
Page 5

Release Date:  2/01/80

Update  #:;   A-l
            _J -LJ
            _ UJ
            ~ a
                                                         OC — O    C O C O» O
                                c o c; o -r
                                c c o c o
                                z cc r x c
                   o o c o c
                   c o c o o
                   o o o c c

                                                       •^ ro -^1 vi -O
                                                       f\j rv ix -x rv
T OA

Y tJ
                                                                                                 o
                                                                                                 Q.
                                                                                                 o»
                                                                      I 2 i:     * s a i s
                                           •*. -r j ^ «   D a. x -J T <  oxi^_z<   G i. TD H i *


                     £ (_    ^    co ^    ^    K u «  >-    u; i^ ff)  >-    « e w  —    c-'- w v  •-


                               ^          o-           o          —           *x
                              >XT'U.^<  JiTj.-r-S
                              ^ o: _  —    y z, _i   —
                                — 'Vi'Xi'V'^    — 
-------
EIS/AS

REPORTS
SECTION 6.3.4

EMISSION FACTOR  FILE

CRPEFAC (EC0150)
Page 6

Release  Date: 2/01/80

Update #:   A-l
                     2   _,


                     (_)••*-••
                      —  CO
                     C cc er u_ •• ••

                     C -j *- a: u- u,  N-

                     u. 2 *- 2 a; ct  C
                     -t — 2 u — »-  a.
              2 3 !->
            - 3 C. ?
            c > v: •-
            J: ^ 4 <
            a. a _ c
                     — 3r-ro
-------
EIS/AS
REPORTS
                     SECTION  6.3.4
                     EMISSION  FACTOR  FILE
                     r.RPFFAr.
                                                                      Page 7
                                                                      Release  Date:  2/01/80
                                                                              #•   A-1
     hHH,(F'f|H,
                                         "t.
                                                   S:  H-:»RuAhV  1,
   //*
   //*    THIS  HKiirHMHH  AILIVS  IliF ll.Sf K T'l  I'K'IDIILF.  *  HMA1LH'
   //•    lt:;i  HF  tnF  FIS/Ai,  H*r$:>lii"  FMTI'W  FTL!
        I|) DSNAMf rupwUtf I . .1 HAD,
                                      , Kl.l A ]|i)
   //
   //
   //*
   //*
   //*
I;A1A  St T - F IS/AS
                               FACI'lR  FILF
//*   nu
//*
//t CS" I
//*
//*   MU
                            lUMJlMtr I . .DAlA.At '«FCF)I »
                            (PW 1 VAl I , WF I A in I ,
                       8H=( SHU, PASS)
 DAT«  SF I  -  ni Ai;uitsi if. IYbUlM =*ll'l I

 l"VTrt  ,SF I  -  t!S/.|S  Fi>iKSSUli4
                                                        FHF  ,»F I a 1 1.  I I
    //F (,:•>!-'»< '•' I    Ol>  bY 'JIKiT-Kd'i I
    //*
    //»   iilllhMU MAT A  SMS  - c.rSH"'  HPF
    //*
    //SY ^i ill I     mi  oYM'hTrt HH r
    //*
    //s r SI>K i ij i   nil  sv^iiii r = ii mi i
    //*
    //SYSI'MiHM   I'H 'hY.S'"'! =(• nil I
    // *
    //SYSl'H*.1 .   Dl'  l-Y jiml -f. I'll I
    //*
    //SYSli'Hi' I1   1')  ••,YS"rI = ''irl I
                                                                                  (i  fin
                                                                                  on ooo /oo
                                                                     ounoovoo
                                                                     01)001 000
                                                                     OOOi) 1 100
                                                                     ()(>0(i 1 f'OO
                                                                     oudii i ioo
                                                                     o oo a i MO o
                                                                     Od oo i soo
                                                                     01)0(1 1 (,00
                                                                     ooooi /oo
                                                                     o u f1 o i (< o o
                                                                     o u o o 1 v o o
                                                                     no oo? 000
                                                                     I) 0 0 0 ? 1 0 0
                                                                     0 0 0 (I ? f 0 ()
                                                                      0 0 0
0000?bOO
o n o u ? 7 o n
0 0 0 0 ?« 0 o
00()0?'*00
00003000
o u o M i n o
0 0 0 0 ^ d 0 0
0000^400
o o n d ^ R o o
0 0 0 0 '<, 4 1 0
0 0 0 0 'I U 0 0
0 U 0 u '< 1 0 0
no 0113-5 oo
Od on $i-, do
o o o o ^ 7 d o
0 (I 0 ()/!,» Oil
'lOOO'l 400
dooo/i uno
                                                                      do no /i /oo
                                                                      Oil On 'I b 00
                                                                      oono'i'vno
                                                                      OOfujSiKn)
                                                                      iiilOOS 1 fill
                     Figure  6.3.4-c.    Cataloged  Procedure ECRPE10
                                                                                      fMidoSSOO
                                              492

-------
EIS/AS
REPORTS
               SECTION 6.3.4
               EMISSION FACTOR FILE
               CRPEFAC (EC0150)
                       Page 8
                       Release Date: 2/01/80
                       Update #:  A-l
Parameter
  Name
    Default
     Value
         Description
PROJECT
PROGRAM
REGION1

TIME1
EMFCFIL

OUT
'CN.EPALMH.A087
CDHS.HQ.AREA1
CRPEFAC
150K

'1,0'
ECEMFFIL
Highest-level index of data set names (e.g.,
CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ECEMFFIL
would be the full data set name of an EIS/AS
master file)
Emission factor file detailed report program
Region size allocated for execution of
CRPEFAC
Time allocated for execution of CRPEFAC
Lowest-level index of input EIS/AS emission
factor file
SYSOUT class for all print files
            Figure 6.3.4-d.   Substitutable Parameters  for ECRPE10
                                     493

-------
EIS/AS
REPORTS
SECTION 6.4
QUICK LOOK REPORT
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #:  A-l
6.4  QUICK LOOK REPORT

6.4.1  INTRODUCTION

     The EIS/AS quick look package uses the EIS/AS master file to produce one
of two types of reports, based on selection criteria specified by the user.
The package gives the user flexibility in report content  and is easy to use.
Although its function is similar to that of the EIS/AS retrieval  programs,
CRTLNGP (EC0090) and CRTGENR (EC0100), it is designed to  be used independently
of them.  The quick look package's principal advantages include:

          Selection logic.  Individual users can easily devise logical
          tests to allow preparation of customized reports to meet a
          variety of criteria.   Output data can be selected to meet
          the specific needs of the user so that smaller, more pertinent
          reports can be prepared.

          Variable sequence.  The quick look package permits the user to
          select a sequence in which he would like to view the data.  Up
          to six data elements can be included in this special sort field.

          Economy.  The quick look package is economical  to operate
          since no compiles are performed and only the records required
          for the output report are sorted.

     Input control cards determine the format and content of the report.
These control cards are edited, and error messages are printed when errors
                                     494

-------
EIS/AS
REPORTS
SECTION 6.4
QUICK LOOK REPORT
INTRODUCTION
Page 2
Release Date:  2/01/80
Update #:   A-l
are found in them.  However, even if the control cards are error free, it is
possible to produce a meaningless report if associated data are split apart by
an improperly specified sort sequence.

     There are two available report formats:  the quick look report and the
pollutant summary report.  In the quick look report, data from each record
that meets the user-specified selection criteria is shown in a single line.  A
limited amount of information from the master file, as requested and formatted
by the user, can be included in the report.  The quick look report limits
selected information to one pollutant only for information related to a
specific pollutant.  Sample quick look reports are shown in Figures 6.4.4-a
and 6.4.4-b.

     The pollutant summary report displays emissions estimates for up to six
different pollutants.  It also allows the user to request and format a limited
amount of additional information from the master file; however, the additional
information cannot be data related to a specific pollutant.  A sample
pollutant summary report is shown in Figure 6.4.4-c.

     Three programs make up the quick look package:  the quick look edit
program, CRTQLED (EC0160); the quick look extract program, CRTQLEX (EC0170);
and the quick look report program, CRPQUIK (EC0180).  A system flowchart of
the quick look package is shown in Figure 6.4.1-a.

     CRTQLED (EC0160) edits the quick look control  cards.  Errors detected in
the cards are shown in the retrieval edit report.  CRTQLED (EC0160) produces a
file containing extract control  information, which is passed to CRTQLEX
(EC0170), and a file containing sort and print control information, which is
passed to CRPQUIK (EC0180).
                                     495

-------
EIS/AS
REPORTS
SECTION 6.4
QUICK LOOK REPORT
INTRODUCTION
Page 3
Release Date: 2/01/80
Update #:  A-l
     CRTQLEX (EC0170) extracts data from the EIS/AS master file or answer file
based upon the extract control information received from CRTQLED (EC0160).
The extracted data are passed to CRPQUIK (EC0180)  in a quick  look  extract file
or a pollutant summary extract file,  depending upon the quick looik control
cards entered into CRTQLED (EC0160).

     CRPQUIK (EC0180) produces a quick look report or a pollutant  summary
report.  The type of report produced, as well  as the content, order,  and
format of the report, depends upon the quick look  control  cards entered into
CRTQLED (EC0160).

     Detailed information on CRTQLED (EC0160)  and  the quick look control cards
can be found in Section 6.4.2; detailed information on CRTQLEX (EC0170), in
Section 6.4.3; and detailed information on CRPQUIK (EC0180),  in Section
6.4.4.

     The quick look package can be executed using  the cataloged procedure
ECRPM40, which is discussed in Section 6.4.4.5.   A sample run stream  to
produce a quick look report is shown in Section 6.4.4.5.4.
                                     496

-------
tIS/AS
REPORTS
SECTION 6.4
QUICK LOOK REPORTS
INTRODUCTION
Page 4
Release Date: 2/01/80
Update #:  A-l
50RT AND PRIN]
   CONTROL
 INFORMATION
 temporary)
                                  QUICK LOOK
                                (CONTROL CARDS
                               CRTQLED (EC0160)
                                  QUICK LOOK
                                 EDIT PROGRAM
 /EXTRACT CONTR
f   INFORMATION
V  (Temporary)
        RETRIEVAL
       EDIT REPORT
                                                                 EIS/AS
                                                              MASTER FILE
                                                            ,OR  ANSWER  FILE
                                           CRTQLEX (EC0170)
                                             QUICK LOOK
                                           EXTRACT PROGRAM
            CRPQUIK (EC0180)
              QUICK LOOK
            REPORT PROGRAM
                                   	
                                                              RETRIEVAL
                                                            EXTRACT REPORT
            QUICK  LOOK  REPORT
              OR POLLUTANT
             SUMMARY  REP'
                    Figure 6.4.1-a.  Quick Look Flowchart
                                    497

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 1
Release Date: 2/01/80
Update #:   A-l
6.4.2  QUICK LOOK EDIT PROGRAM - CRTQLED (EC0160)

6.4.2.1  Description

     CRTQLED (EC0160) is the first of three programs used to produce a quick
look report or a pollutant summary report.   It edits quick look  control  cards
prepared by the user to specify the desired content  and format  of the report.
It then passes control information to the other two  quick look  programs,
CRTQLEX (EC0170) and CRPQUIK (EC0180), based upon  the user-supplied control
cards.

6.4.2.2  File Formats

     The quick look control  cards are the only input to CRTQLED  (EC0160).   See
Figure 6.4.2-a for the format of the quick  look control cards and Figure
6.4.2-b for definitions of the fields on the control cards.   Refer to Section
6.4.2.3 for a detailed discussion of how to use the  quick look  control cards.
A load sheet for preparing quick look control  cards  is provided  in Appendix C.

     CRTQLED (EC0160) creates two control information files.  One is passed to
CRTQLEX (EC0170) and contains control information  for the extraction of data
from the master file.  The other is passed  to  CRPQUIK (EC0180)  and contains
control information for the sorting and printing of  data.  CRTQLED (EC0160)
also produces the retrieval  edit report which  identifies the control cards and
any format errors in them.  Figure 6.4.2-c  shows a sample retrieval edit
report.
                                     498

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 2
Release Date: 2/01/80
Update #:  A-l	
6.4.2.3  Options and Control Cards

     The quick look control cards entered into CRTQLED (EC0160) specify the
type of report to be generated, as well as the content, order, and format of
the report.  They are edited by CRTQLED (EC0160) and control the processing
performed by CRTQLEX (EC0170) and CRPQUIK (EC0180).  Each type of quick look
control card is discussed in detail in this section.  They are discussed in
the order in which they must be entered in the run stream.

       $$SELECT Card

     The $$SELECT card indicates that a quick look retrieval request follows.
Without this card, no other quick look control cards will be accepted.

     On this card, the user can specify a title (columns 10-72) and date
(columns 73-80) to appear on every page of the quick look or pollutant summary
report.  It is strongly recommended that the title be chosen carefully to
describe the selection criteria.  In this way, each report will be clearly
identified by its title and will not be used erroneously.  Only one $$SELECT
card will be accepted in each retrieval request.   It is also recommended that
a data be specified for future reference to the report.

       10 Cards

     The 10 cards determine which master file records will be selected for
inclusion in the output reports.  A maximum of twenty 10 cards can be
submitted in a retrieval request.

     If no 10 cards are used, data from the entire master file will be
included in the output report.  Also, no data related to a specific pollutant
can be used for sequencing nor can it be printed in the output report.
                                     499

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 3
Release Date: 2/01/80
Update #:  A-l	
     The data element abbreviation (column 6-9)  is  used  to  specify  a
particular master file data element  to be  used  in the  selection  of  records.
The data elements and their associated abbreviations are shown in Figure
6.4.2-d.  For example, the abbreviation for county  is  CNTY.   Use of any
abbreviation other than those listed in Figure  6.4.2-d will  result  in  a fatal
error message and will cause the retrieval request  to  be ignored.   No  data
elements from the comment records of the EIS/AS  master file  can  be  used for
selection criteria.

     Some data elements are descriptions of codes in the master  file and  are
available for print  purposes only; they would not be used for selection or
sorting purposes.  For example,  units code (abbreviation UNTC) could be
specified to select  emissions estimates with a  specific  unit, and the  units
code description (abbreviation UNTD) could be printed  to produce a  more
meaningful report.

     Note that there are two abbreviations for  pollutant ID:  PLTD  and PLTC.
PLTD is used to identify the pollutant in  the description record and must be
used if attainment status, AQMA number, or any  other description-level
pollutant-related information is desired.   PLTC  is  used  to  identify the
pollutant in the category record and must  be used if category-level
pollutant-related information is desired.   Pollutant name is  available with
either abbreviation  and has two corresponding abbreviations:  PNMD
(description level)  and PNMC (category level).   If  either PLTD or PLTC is used
in the selection criteria, it must be on a 10 card  prior to  any  other  10  card
containing pollutant-related data abbreviations.
                                     500

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 4
Release Date: 2/01/80
Update #:  A-l
     The relational operator (column 11) and the test value field (columns
13-24) specify how the data element is used in the selection of records.  The
relational operator must be chosen from the following list of valid relational
operators:

          E - Equal.  A record will be retrieved only if the value
          of the specified data element is equal to the value specified
          in the test value field of the 10 card.

          U - Unequal.  A record will be retrieved only if the value
          of the specified data element is not equal to the value
          specified in the test value field of the 10 card.

          G - Greater Than or Equal To.  A record will be retrieved only
          if the value of the specified data element is greater than or
          equal to the value specified in the test value field of the
          10 card.

          L - Less Than or Equal To.  A record will be retrieved only
          if the value of the specified data element is less than or
          equal to the value specified in the test value field of
          the 10 card.

          P - Present, Any Entry.  A record will be retrieved only if the
          value of the specified data element is not blank.  If the
          field contains any nonblank character, the record will  be
          retrieved.  The test value field should not be coded with
          this relational operator.
                                     501

-------
E IS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 5
Release Date: 2/01/80
Update #:  A-l
          B - Blank.   A record will  be retrieved only  if  the  value  of
          the specified data element is blank(s).   As  with  the  P  code,
          the test value field should not  be coded  when this  relational
          operator is used.

If either the L or G  relational  operator is  used with  an  alphanumeric  data
element, the result will depend upon the collating  sequence of  the  computer
being used.

     The test value field (columns 13-24)  is used to enter  the  value to  be
used for comparison with the specified data  element in the  master file.   Code
the test value from left to right, beginning in column 13.  The test value
coded must be the same length and format as  the data element  in the master
file, even if it is necessary to code leading zeroes or blanks, with the
restriction that only twelve characters can  be entered as the test  value.
Thus, only the first  twelve characters of  a  longer  field, such  as county name,
can be entered.  Figure 6.4.2-d indicates  the proper length under the  heading
Data Element Length,  10/30 Card.

     The following 10 card would select all  records for the state of
California:

                                10   STTE  E  05
Note that STTE is the abbreviation for state from Figure  6.4.2-d  and that 05
is coded in columns 13-14 leaving the rest of the test value  field  blank.

     To retrieve records correctly, entries  in the  test  value field must
correspond exactly to what is present in the master file.  For  example,  if  a
major activity is desired, the exact spelling must  be  entered.
                                     502

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTOLED (EC0160)
Page 6
Release Date: 2/01/80
Update #:  A-l	
If the major activity has been coded in the master file with two different
spellings, two 10 cards with the different spellings for the test value must
be coded to retrieve both spellings.

     Boolean operators (columns 28-30) are used to combine 10 cards.   The
valid Boolean operators are AND and OR; they are coded beginning in column  28.
Each 10 card, except the last one, should contain a Boolean operator.   No
Boolean operator should be entered on the last 10 card since it  indicates more
10 cards are to follow.  The presence of a Boolean operator on the last 10
card would result in an error message, but the editing of the retrieval
request would continue and ignore the AND/OR on the last 10 card.  A default
value of AND is implied by the omission of the Boolean operator on any but  the
last 10 card; however, AND should be coded for clarity.

     The following 10 cards would select all records for county  3412  or county
6857.  Thus, all records for both counties would be selected for processing.

                        10   CNTY E 3412           OR
                        10   CNTY E 6857

     The following 10 cards would select all records for county  3412  with a
pollutant ID of 43101 (hydrocarbons).
                        10   CNTY E 3412           AND
                        10   PLTC E 43101

     A left parenthesis (column 4) and a right parenthesis (column 26) can  be
used in conjunction with Boolean operators to group several conditions
together.  For example, if the report were to include all  categories  in either
                                     503

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM
Page 7
Release Date: 2/01/80
Update #•—kJ	
county 3412 or 6857 which have a hydrocarbons emissions estimate greater than
or equal  to 500,  the 10 cards would be coded as follows:

                        10 (  CNTY E 3412           OR
                        10   CNTY E 6857         )  AND
                        10   PLTC E 43101           AND
                        10   EEST G 0000500

     The parentheses are only necessary when both AND's and OR's are being
used.  All Boolean operators  outside of parentheses must  be the same in any
retrieval request (all  AND's  or all OR's),  and all  Boolean operators in any
one set of parentheses  must be the same.  Parentheses should be carefully
coded to insure that they indicate the logical  combinations desired.
Unmatched parentheses will result in a fatal error and the retrieval request
will be ignored.   Misplaced parentheses can produce reports quite different
from what was expected.  For  example,  if the parentheses  had been placed
differently in the last example, the records selected could have been very
different.  The 10 cards below would select all categories in county 3412,
regardless of hydrocarbons emissions estimate,  as well as all categories in
county 6857 with hydrocarbons emissions estimate greater  than or equal  to 500.

                         10   CNTY E 3412           OR
                         10 ( CNTY E 6857           AND
                         10   PLTC E 43101          AND
                         10   EEST G 0000500     )

     Those 10 cards that are  bounded by parentheses are called sets, and 10
cards between enclosed sets are called sets.  That is, from left parenthesis
to right parenthesis is a set, and if the  next card does  not contain a left
                                     504

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 8
Release Date: 2/01/80
Update #:   A-l
parenthesis, all cards until the next left parenthesis are considered a set.
Only nine sets of 10 cards can be included in a retrieval request.

     20 Card

     The 20 card allows the user to specify whether a quick look report or a
pollutant summary report is to be produced.  Only one type of report can be
selected and only one 20 card will be accepted in a request.  QL is entered in
columns four arid five of the 20 card to request a quick look report; SU is
entered to request a pollutant summary report.

     The quick look report contains data from records that meet the selection
criteria of the 10 cards.  It limits selected information to only one
pollutant when information related to a specific pollutant is requested.  Data
from each record selected are printed on one line.  The data elements printed
in the report are specified by the user on the 40 card.  Sample quick look
reports are shown in Figures 6.4.4-a and 6.4.4-b.

     The pollutant summary report gives emissions estimate totals for up to
six pollutants.  The pollutants to be included can be specified by the user on
a 51 card.  If no pollutants are specified, the criteria pollutants (total
suspended particulate (11101), carbon monoxide (42101), sulfur dioxide
(42401), oxides of nitrogen (42603), and hydrocarbons (43101)) are used.
Totals are printed for each county as well as for all selected records.  The
user can also request and format a limited amount of additional information
from the master file through the use of a 50 card, but the additional
information must not be related to a specific pollutant.  A sample pollutant
summary report is shown in Figure 6.4.4-c.
                                     505

-------
E IS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 9
Release Date: 2/01/80
Update #:  A-l
     30 Card

     The 30 card permits the user to specify the order in which data, appears
in the requested report.  Only one 30 card will  be accepted in a single
request.  The primary and default sort sequence  in the pollutant summary
report is the same as the master file sequence:   state, county, geographic
suballocation number, category number, category  disaggregation number.   Any
sequence specified on the 30 card for a pollutant summary report will be
secondary to the master file sequence.  In the quick look report, however, the
master file sequence will be secondary to any sequence specified by the user
on the 30 card.  The default for both reports will be the master file
sequence.

     Data elements by which the report is to be  sorted are specified by using
the four-character abbreviations for the data elements shown in Figure
6.4.2-d.  The sort field used internally by the  quick look package is 40
characters long.  When requesting data elements  to be used as sort criteria,
add the lengths (from Figure 6.4.2-d under the heading 10/30 Card) for all
data elements requested.  The total must not exceed 40; otherwise, a fatal
error message will be printed and the retrieval  request will not be processed.
[n general, it is recommended that only one or two user-specified sort data
elements be requested.

     Note that it is possible to request a meaningless report because of
illogical sort sequencing.  For example, sorting by category emissions
estimate would split those estimates apart for sources in the same county.  A
more logical choice would be sorting by county and then by category emissions
estimate.  The user should carefully review the  30 card coding to insure
logical sort sequences.
                                     506

-------
LIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 10
Release Date: 2/01/80
Update #:   A-l	
     In the quick look report, the user has the option of requesting a page
break and the printing of subtotals when there is a change in the sort data
element value.  To produce the page break on any selected sort item, code an X
in the page break/subtotal ing request field to the right of the data element
abbreviation on the 30 card.  If any summation has been requested (see 40 card
below), subtotals will be printed when a page break is generated.  Occurence
totals are printed before each page break.  If a page break is desired when
there is a change in county, county must be one of the requested sort items
(even though it is part of the default sort sequence).  If an X is coded for
more than one sort data element, running totals as well as break totals will
be produced.  For example, suppose summation was requested for emissions
estimate and the quick look report was requested in AQCR and county order with
breaks by AQCR and county.  At each break in county the sum of the emissions
estimates for that county would be printed.  For each change of AQCR a running
sum of the emissions estimates for all counties within that AQCR would be
produced.  It is recommended that the 30 card be coded so that the fields for
which a break is requested are the left fields on the card.  If breaks have
been requested on the 30 card but summation has not been requested on the 40
card, the result will be occurrence subtotals and a new page only.

     If no breaks are requested on the 30 card, there will be no occurrence
totals or summation until the end of the report.  Occurrence totals wi11
always appear at the end of the report; summation will only occur if requested
by the user on the 40 card.

     Totaling and page breaks cannot be requested for the pollutant summary
report.  Totals of emissions estimates will automatically be produced for each
county and each state in the pollutant summary report.
                                     507

-------
EIS/AS
iREPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 11
Release Date: 2/01/80
Update #:   A-l
     40 Card

     The 40 card is used to request specific data elements  to be printed in
the quick look report print line produced for each selected record.   Data
elements should be specified using the four-character abbreviations  shown in
Figure 6.4.2-d.  It is important that some basic identifying data elements be
included, otherwise, the rest of the information could be of little  use.
County will automatically appear on every quick  look report line.   Data
elements will be printed left to right, following county, in the same sequence
as coded on the 40 card, with a space separating each data  element value.  If
a sort sequence has been requested on a 30 card, the sort data elements should
be included on the 40 card in the same order.

     Quantitative totals (sums) can be requested for any numeric,,  summable
data element by coding an X in the summation request field  to the right of the
data element abbreviation.  For example, totaling is not allowable on state,
but totaling would be meaningful on a field like emissions  estimate.   When
requesting totaling on a description-level data  element, it is important that
no category-level data elements be requested in  the quick look report since
the totals produced would be invalid due to duplication.

     The quick look report line has a maximum length of 132 characters.  The
first five characters are standard.  The remaining 127 characters can be
requested by the user.  Add the quick look lengths (from Figure (i.4.2-d under
the heading 40/50 Card) for each data element requested for the quick look
report line.  If totaling is requested, add the  lengths which appear in the
totaling column (under the heading Card 40 If Totaled in Figure 6.4.2-d).  If
the sum for user requested data elements is more than 127 characters, an error
message will be printed and the retrieval request will not  be processed.
                                     508

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 12
Release Date: 2/01/80
Update #:   A-l
     50 Card

     The 50 card is used to request additional  data elements to be included in
the pollutant summary report.   County, category number, and category
disaggregation number are always included in each line in the pollutant
summary report.  Additional data elements to be printed can be specified on
the 50 card using the four-character abbreviations shown in Figure 6.4.2-d.
Pollutant-related data element abbreviations cannot be coded on the 50 card.
Data elements will be printed left to right after the category disaggregation
number in the pollutant summary report in the same sequence as coded on the 50
card, with a space separating each data element value.  The total  length of
additional requested data elements (add lengths from Figure 6.4.2-d under the
heading 40/50 Card) must not exceed 38 characters.  The 50 card can only be
used when a pollutant summary report is requested on the 20 card.

     51 Card

     This card allows the user to request up to six pollutants to  be printed
and totaled in the pollutant summary report.  This card can be used only if a
pollutant summary report is requested on the 20 card.  The five-digit codes
which represent the pollutants on the master file should be coded  in columns
4-8, 10-14, 16-20, 22-26, 28-32, and 34-38.  Only the coded pollutants will
appear in the report.  If this card is omitted, the criteria pollutants will
appear in the pollutant summary report.  The criteria pollutants are total
suspended particulate (11101), carbon monoxide  (42101), sulfur dioxide
(42401), oxides of nitrogen (42603), and hydrocarbons (43101).
                                     509

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 13
Release Date: 2/01/80
Update #:  A-l
     $$END Card

     The $$END marks the end of a retrieval  request.   If this  card is omitted,
an error message will be generated and the retrieval  request will  not be
processed.

     Examples of quick look control  cards follow.

     Example 1

     In this example a quick look report is requested showing hydrocarbons
emissions estimates.
            $$SELECT TEST 01 HC EMISSIONS FOR CATEGORIES 001 - 047
            10   STTE E 06           AND
            10 ( CNTr E 1280         OR
            10   CNTY E 2238       ) AND
            10   CATN G 001          AND
            10   CATN L 047          AND
            10   PLTC E 43101
            20 QL
            40 GSUB  AQCR  SMSA  POPC  CATD  CATN  DISA  EEST  CNFR
            $$END

     The $$SELECT card contains a title  (TEST 01 HC EMISSIONS FOR CATEGORIES
001 - 047) to appear on each page of the quick look report.  The selection
criteria on the 10  cards specify that records with a state of 06, a county of
1280 or 2238, a category number between 001 and 047 inclusive, and a pollutant
ID of 43101 are to  be selected for processing.  Note that PLTC is used as the
abbreviation for pollutant ID  (instead of PLTD) because data from the category
record  is desired in the quick look report.  The 20 card specifies that a
                                     510

-------
EIS/AS
REPORTS
 ECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 14
Release Date: 2/01/80
Update #:  A-l
quick look report is to be produced.  The 40 card specifies the data elements,
in addition to county, to be included in the quick look report:  geographic
suballocation number, AQCR, SMSA, population code, category description,
category number, category disaggregation number, emissions estimate, and
confidence rating.  Figure 6.4.4-a shows the quick look report generated by
this retrieval request.

     Example 2

     In this example a pollutant summary report is requested.

$$SELECT TEST 02 CO, S02, HC EMISSIONS FOR COUNTIES 7840 & 8320       03/21/80
10   STTE E 14           AND
10 ( CNTY E 7840         OR
10   CNTY E 8320       ) AND
10   CATN G 001          AND
10   CATN L 018
20   SU
50   GSUB AQCR CATD
51   42101 42401 43101
$$END

     The $$SELECT card contains a title (TEST 02 CO, S02, HC EMISSIONS FOR
COUNTIES 7840 & 8320) to appear on each page of the pollutant summary report.
The 10 cards specify that records with a state of 14, a county of 7840 or
8320, and a category number between 001 and 018 inclusive are to be
selected for processing.  The 20 card specifies that a pollutant summary
report is to be produced.  The 50 card specifies that the geographic
suballocation number, AQCR, and category description are to appear in the
pollutant summary report along with the county, category number, and category
disaggregation number (which are always shown in the pollutant summary report)
                                     511

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 15
Release Date: 2/01/80
Update #:   A-l
and the emissions estimate.  If no 50 card were entered,  only the county,
category number, category disaggregation number,  and emissions estimate would
appear in the pollutant summary report.   The 51 card specifies that emissions
estimates are to be included in the pollutant summary report for carbon
monoxide (42101), sulfur dioxide (42401), and hydrocarbons (43101).  If the 51
card were omitted, emissions estimates for the criteria  pollutants  would  be
printed in the pollutant summary report.  Figure  6.4.4-c shows the  pollutant
summary report produced by this retrieval request.   Note that totals for
emissions estimates are automatically computed for  each  county and  that a
total of all estimated emissions in the report is also computed.

     Example 3

     In this example a quick look report is requested that includes a
user-specified sort order, a totaling request, and  a page break/subtotal ing
request.

$$SELECT TEST 03 S02 EMISSIONS FOR CNTYS 7840, 7860, AND 8500         03/15/80
10   STTE E 14           AND
10 ( CNTY E 7840         OR
10   CNTY E 7860         OR
10   CNTY E 8500       ) AND
10   CATN G 001          AND
10   CATN L 018          AND
10   PLTC E 42401
20  QL
30  CNTYX  ECST
40  GSUB AQCR SMSA POPC CATD DISA PNMC EESTX CNFR
$$END
                                     512

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 16
Release Date: 2/01/80
Update #:   A-l
The $$SELECT card contains a title (TEST 03 S02 EMISSIONS FOR CNTYS 7840,
7860, AND 8500) and a date (03/15/80) to appear on each page of the quick look
report.  The 10 cards specify that records are to be retrieved that have a
state of 14; a county of 7840, 7860, or 8500; a category number between 001
and 018 inclusive; and a pollutant ID of 42401 (hydrocarbons).  Note that PLTC
is used as the abbreviation for pollutant ID instead of PLTD because category
information is to appear in the quick look report.  The 20 card specifies that
a quick look report is to be produced.   The 30 card specifies that the quick
look report is to be ordered by county and by emissions estimate within
county.  The 30 card also specifies that a page break is to be generated when
the value for county changes.  Since the 40 card includes a request for
totaling, a subtotal for the county (for those fields for which totaling is
requested on the 40 card) will be generated for each page break.  The 40 card
specifies the data elements to appear in the report, in addition to the
county:  geographic suballocation number, AQCR, SMSA, population code,
category description, category disaggregate number, pollutant name, emissions
estimate, and confidence rating.  The 40 card also includes a totaling request
for emissions estimate.   This means that a total will be generated at the end
of the report for all emissions estimates in the report.  Additionally, since
the 30 card requests page break/subtotal ing when the value for county changes,
a subtotal of emissions estimates for each county will be generated.  Figure
6.4.4-b shows output from this retrieval request.

6.4.2.4  Error Messages

     Error messages generated by CRTQLED (EC0160) are classified as fatal
errors and warnings.  Fatal errors, denoted by the suffix F on the error
numbers, cause the retrieval  request to be aborted.  Warnings, denoted by the
suffix W on the error numbers, do not cause the retrieval request to be
aborted.
                                     513

-------
LIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 17
Release Date: 2/01/80
Update #:  A-l
EAQL001-F NO $$SELECT CARD
     Meaning:  The first control  card is not  a $$SELECT card.
      Action:  Enter a $$SELECT card as the first  control  card  and  resubmit
               the job.

EAQL002-F INVALID DATA ELEMENT ON 10 CARD
     Meaning:  The specified data element abbreviation is  not one  of those
               shown in Figure 6.4.2-d.
      Action:  Enter a data element  abbreviation from Figure 6.4.2-d and
               resubmit the job.

EAQL003-F MORE THAN TWENTY 10 CARDS
     Meaning:  Only twenty 10 cards  can be used in a  retrieval  request.
      Action:  Rewrite the selection logic using no more than twenty 10  cards
               and resubmit the job.

EAQL004-F INVALID RELATIONAL OPERATOR
     Meaning:  The only valid relational operator  are E (equal  to), U
               (unequal  to), G (greater than  or equal to), L  (less  than  or
               equal to), P (present, any entry),  and B (blank).
      Action:  Correct the relational operator and resubmit the job.

EAQL005-F VALUE SUPPLIED WITH P OR B
     Meaning:  The relational operators P (present, any entry)  and  B (blank)
               require the test value field on the 10 card to be blank.
      Action:  Correct the error and resubmit the  job.

EAQL006-F VALUE TOO LONG
     Meaning:  The value specified in the test value field is longer than the
               data element in the master file.
                                     514

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 18
Release Date: 2/01/80
Update #:   A-l
      Action:  Verify that the data element abbreviation is correct.   If it
               is, correct the test value.  Resubmit the job.

EAQL007-F MISMATCHED PARENTHESES
     Meaning:  There may be a left parenthesis not followed by a right one,
               a right parenthesis not preceded by a left one, two left ones
               together, or two right ones together.
      Action:  Correct the selection logic so that every left  parenthesis is
               followed by a corresponding right parenthesis with no
               intervening parenthesis.  Resubmit the job.

EAQL008-W MISSING AND/OR CODE
     Meaning:  There is no AND or OR coded on the 10 card;  therefore, the
               Boolean operator was assumed to be AND.
      Action:  No action is necessary unless the OR Boolean operator  is
               intended.  If this is the case, correct  the  error and  resubrnit
               the job.

EAQL009-W AND/OR ON LAST 10 CARD
     Meaning:  There is an AND or OR coded on the last  10 card.   This entry
               was ignored.
      Action:  No action is necessary unless some 10 cards  were  omitted.  If
               this is the case, add the cards and resubrnit the  job.

EAQL010-F INVALID REPORT FORMAT ON 20 CARD
     Meaning:  The only acceptable report formats are QL for a quick  look
               report and SU for a pollutant summary report.
      Action:  Correct the 20 card and resubrnit the job.
                                     515

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 19
Release Date: 2/01/80
Update #:  A-l
EAQL011-F INVALID DATA ELEMENT ON 30 CARD
     Meaning:   The only acceptable data  element  abbreviations  are  listed  in
               Figure 6.4.2-d.
      Action:   Correct the data element  abbreviation  and resubmit  the  job.

EAQL012-F SORT FIELD LONGER THAN 40 CHARACTERS
     Meaning:   The lengths of the user-specified sort fields total  to  more
               than 40 characters.
      Action:   Change the sort criteria  on the  30 card and resubmit. the job.

EAQL013-F INVALID DATA ELEMENT ON 40 CARD
     Meaning:   A data element abbreviation on the 40  card is not one of the
               abbreviations shown in Figure 6.4.2-d.
      Action:   Correct the data element  abbreviation  and resubmit  the  job.

EAQL014-W DATA ELEMENT UNSUITABLE FOR SUMMATION
     Meaning:   Totaling was requested for a data element which cannot  be
               totaled.
      Action:   No action is necessary.  The retrieval will continue, but  this
               data element will not be  totaled.

EAQL015-F REQUESTED QL LINE LONGER THAN  127
     Meaning:   The lengths of the data elements  requested for  the  quick  look
               line total to more than 127 characters.
      Action:   Change the data elements  requested on  the 40 card.   Calculate
               the requested print line  length  by adding the data  element
               lengths listed in Figure  6.4.2-d under the column  heading  of
               40/50 Card; or, if summation was requested, add the lengths
               under the column heading  of 40 Card If Totaled.  Resubmit  the
               job.
                                     516

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 20
Release Date: 2/01/80
Update #:  A-l
EAQL016-F QL REQUESTED - NO 40 CARD
     Meaning:  A quick look report was requested on the 20 card, but no 40
               card was supplied.
      Action:  Verify that QL is the desired report format.  If so, add a 40
               card.  If not, correct the 20 card.  Resubmit the job.

EAQL017-W NO QL REQUESTED - 40 CARD
     Meaning:  A 40 card was supplied even though no quick look report was
               requested.  The 40 card was ignored.
      Action:  No action is necessary unless a quick look report was desired.
               If this is the case, correct the 20 card and resubrnit the job.

EAQL018-F INVALID DATA ELEMENT ON 50 CARD
     Meaning:  Either a data element abbreviation on the 50 card is not one of
               the abbreviations shown in Figure 6.4.2-d or a data element
               abbreviation on the 50 card is related to a specific
               pollutant.
      Action:  Correct the data element abbreviation or remove it from the 50
               card.   Resubmit the job.

EAQL019-W NO SU REQUESTED - 50 CARD PRESENT
     Meaning:  A 50 card was present, but the pollutant summary report format
               was not requested.  The 50 card was ignored.
      Action:  No action is necessary unless a pollutant summary report was
               desired.  If this is the case, correct the 20 card and resubmit
               the job.

EAQL020-W NO SU REQUESTED - 51 CARD PRESENT
     Meaning:  A 51 card was present, but the pollutant summary report format
               was not requested.  The 51 card was ignored.
                                     517

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 21
Release Date: 2/01/80
Update #:  A-l
      Action:  No action is necessary unless  a pollutant  summary  report  was
               desired.   If this is  the case,  correct  the 20  card and  resubmit
               the job.

EAQL021-F NO $$END
     Meaning:  There is  no $$END card at the  end of the control cards.
      Action:  Add a $$END card at the end of the control  cards and resubmit
               the job.

EAQL022-F SU REQUESTED DATA LONGER THAN 38
     Meaning:  The total of the lengths of the data elements  requested on the
               50 card to be printed in the pollutant  summary report is  more
               than 38.
      Action:  Choose fewer or different data elements to include in the
               report.  The total  length being requested  can  be determined by
               adding the lengths  of the data elements as listed  in Figure
               6.4.2-d under the heading 40/50 Card.

EAQL023-F SU REQUESTED,  40 CARD, BUT NO 50
     Meaning:  The 40 card should  not be used when a pollutant summary report
               is requested.  The  50 card should be used  if additional  data
               elements  are desired in the report when a  pollutant summary
               report is requested.
      Action:  Correct the error and resubmit the job.

EAQL024-F DATA ELEMENT CANNOT BE SELECTED UPON
     Meaning:  Some data elements  cannot be used for selection.   These are
               indicated by ** in  Figure 6.4.2-d.  One of these elements is
               included in the 10  cards.
      Action:  Change selection logic excluding the unselectable  data element
               and resubmit the job.
                                     518

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 22
Release Date:  2/01/80
Update #:   A-l
EAQL025-F NO 20 CARD
     Meaning:  There is no 20 card among the control  cards.
      Action:  Add a 20 card and resubmit the job.

EAQL026-F INVALID CARD TYPE
     Meaning:  The only acceptable card types are $$SELECT,  10,  20,  30,  40,
               50, 51, and $$END.   These types must be coded starting in
               position one of the control  cards.
      Action:  Correct the card type and resubmit the job.

EAQL027-F AND/OR COMBINATION INVALID
     Meaning:  All Boolean operators outside of parentheses  must be  the  same
               in a retrieval run (all  AND's or all OR's) and all  Boolean
               operators inside any one set of parentheses must  be the same.
      Action:  Correct the invalid Boolean combination and  resubmit  the  job.

EAQL028-F PLT. DATA REQUESTED NO SPECIFIC PLT.
     Meaning:  Either data related to a specific pollutant  is requested  on the
               40 card, but no pollutant code is specified  in the 10 cards
               or a specific-pollutant-related data element  other than
               pollutant ID appears on a 10 card without being preceded  by a
               10 card specifying the pollutant ID.
      Action:  Correct the error and resubmit the job.

EAQL029-W INV. POLLUTANT REQUESTED
     Meaning:  The requested pollutant ID is not a valid code; or a  pollutant
               is requested at the description level  and one at  the  category
               level, and the two are not the same.
      Action:  Correct the coding and resubmit the job.   The validity of the
               code is checked by comparing it to values in  a table  in CRTQLED
               (EC0160).  If a new value needs to be added to the table,
               contact personnel at NADB.
                                     519

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 23
Release Date: 2/01/80
Update #;  A-l
EAQL030-F NO REQUEST CARDS
     Meaning:  No control  cards appear in the run  stream,  or they  are  placed
               so that they are not associated with  the data set for the
               control cards.
      Action:  Include control  cards in the run stream in  the correct
               location and resubmit the job.

EAQL031-F PB FIELD NOT REQUESTED ON QL
     Meaning:  When page break/subtotal ing is requested, except  for county,
               the field(s) on  the 30 card for which the page
               break/subtotal ing is requested must also be requested on the
               40 card to be included in the quick look line.
      Action:  Include the page break field(s) on  the 40 card or remove the
               page break/subtotal ing request on the 30 card.  Resubmit the
               job.

EAQL032-F REPEATING FIELD DATA  REQUESTED ON SU
     Meaning:  Any data element abbreviation relating to a specific pollutant
               cannot be entered on the 50 card and  cannot be specified on a
               10 card when a  summary report is specified  on the 20 card.
      Action:  Change the 50 card so that no data  relating to a  specific
               pollutant is requested and resubmit the job.   Delete repeating
               fields from 10  cards if summary is  requested.

EAQL033-F DUPLICATE CONTROL CARD
     Meaning:  The only control card which can occur more  than once in a
               request is the  10 card.
      Action:  Remove the extra card and resubmit  the job.

EAQL034-F TOO MANY SELECTION SETS
     Meaning:  The maximum number of sets of 10 cards allowed is nine.  Those
               10 cards which  are not in sets bounded by parentheses but
                                     520

-------
EIS/AS
REPORTS
            SECTION 6.4.2
            QUICK LOOK EDIT
            PROGRAM r.RToiFn (Fr.nifini
Page 24
Release Date:  2/01/80
      Action:
rather are between enclosed sets are considered sets also.
From one left parenthesis to its corresponding right
parenthesis is a set; and if the next card does not contain a
left parenthesis, all cards until the next left parenthesis are
considered a set.
Rewrite the selection loyic with fewer sets and resubmit the
job.
EAQL035-F IMPROPERLY CODED TRANSACTIONS
     Meaning:  The columns which should be blank in the control cards are not
               all blank.
      Action:  Correct the error(s) and resubmit the job.

ABORT - JOB TERMINATED BY CRTQLED (EC0160)
     Meaning:  This message is not printed by CRTQLED (EC0160); however, it is
               passed by this program to CRPQUIK (EC0180) in the print control
               file if a serious error is detected while processing the user-
               supplied control cards.  CRPQUIK (EC0180) will print this
               message when it is encountered in the print control file and
               execution will be terminated.
      Action:  Correct any errors issued by CRTQLED (EC0160) and resubmit the
               job.

6.4.2.5  Cataloged JCL

     CRTQLED (EC0160) should always be executed in conjunction with CRTQLEX
(EC0170) and CRPQUIK (EC0180).  See Section 6.4.4.5 for a discussion of the
cataloged procedure ECRPM40, which executes all three programs.
                                     521

-------
    EIS/AS
    REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 25
Release Date: 2/01/80
Update #:  A-l
    6.4.2.6  Warnings and Special Instructions

         The user should exercise extreme care in coding quick look retrievals.  A
    meaningless report can be generated by inappropriate control cards.  Also,
    report titles should be carefully chosen so that reports will be clearly
    identified.  It is also recommended that all reports contain a date for future
    reference.

    6.4.2.7  Cost Considerations

         The following estimates are for the execution of CRTQLED (EC0160) on an
    IBM 370/168:

         Number of Quick Look Control Cards:            10
         CPU time:                                      .3 seconds
         I/O time:                                      .3 seconds
         Total time:                          .       6 seconds

     Estimated cost:                                 $0.18

6.4.2.8  Related Programs and Procedures

     CRTQLED (EC0160)  should always  be executed in  conjunction  with  CRTQLEX
(EC0170) and CRPQUIK (EC0180).   The  cataloged procedure ECRPM40 executes all
three programs.
                                     522

-------
EIS/AS
REPORTS
             SECTION 6.4.2
             QUICK LOOK EDIT
             PROGRAM CRTQLED (EC0160)
                        Page 26
                        Release Date:  2/01/80
                        Update #:   A-l
Column #

 1 -  8
      9
10 - 72
73 - 80
Field Length

     8
     1
    63
     8
$$SELECT Card

     Data Type
     Alphanumeric

     Alphanumeric
     Alphanumeric
Description
$$SELECT
Unused
Report Title
Date
                                                        (Page 1 of 8)
              Figure 6.4.2-a.  Quick Look Control Card Formats
                                    523

-------
EtS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
  Page 27
  Release Date: 2/01/80
  Update #:  A-l
Column #
1 -



6 -



13 -



28 -
31 -
2
3
4
5
9
10
11
12
24
25
26
27
30
80
                Field Length

                     2
                     1
                     1
                     1
                     4

                     1
                     1
                     1
                    12
                     1
                     1
                     1
                     3
                    50
        10 Card

        Data Type
        Numeric

        Alphanumeric

        Alphanumeric


        Alphanumeric

        Alphanumeric

        Alphanumeric

        Alphabetic
Description
10
Unused
Left Parenthesis
Unused
Data Element
Abbreviation
Unused
Relational Operator
Unused
Test Value
Unused
Right Parenthesis
Unused
Boolean Operator
Unused
                                                         (Page 2 of 8)
         Figure 6.4.2-a - continued.  Quick Look Control  Card Formats
                                     524

-------
CIS/AS
REPORTS
           SECTION 6.4.2
           QUICK LOOK EDIT
           PROGRAM CRTQLED (EC0160)
                     Page 28
                     Release Date: 2/01/80
                     Update #:  A-l
Column #

 1 -  2
      3
 4 -  5
 6 - 80
Field Length

     2
     1
     2
    75
20 Card

Data Type
Numeric

Alphabetic
Description
20
Unused
Report Type
Unused
                                                         (Page 3 of 8)
         Figure  6.4.2-a  -  continued.   Quick  Look Control  Card Formats
                                    525

-------
EIS/AS
REPORTS
                      SECTION 6.4.2
                      QUICK LOOK EDIT
                      PROGRAM CRTQLED (EC0160)
                                    Page 29
                                    Release Date:  2/01/80
                                    Update #:   A-l
Column #

 1 -  2
      3
 4 -  7
10
16
22
28
34
40
 9
15
21
27
33
39
80
           Field Length
                2

                4
                1
 6
 6
 6
 6
 6
41
               30 Card

               Data Type

               Numeric

               Al phanurneric
               Alphabetic
Description
30
Unused
Data Element Abbreviation
Page Break/Subtotal ing
Request
Unused
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Unused
                                                         (Page 4 of 8)
         Figure 6.4.2-a - continued.   Quick Look  Control  Card Formats
                                     526

-------
EIS/AS
REPORTS
            SECTION 6.4.2
            QUICK LOOK EDIT
            PROGRAM CRTQLED (EC0160)
                       Page 30
                       Release Date: 2/01/80
                       Update #;  A-l	
Column #
 1 -  2
      3
 4 -  7
      8
      9
10 - 15
16 - 21
22 - 27
28 - 33
34 - 39
40 - 45
46 - 51
52 - 57
58 - 63
64 - 80
Field Length
     2
     1
     4
     1
     1
     6
     6
     6
     6
     6
     6
     6
     6
     6
    17
  40 Card

Data Type
Numeric

Alphanumeric
Alphabetic
Description
40
Unused
Data Element Abbreviation
Summation Request
Unused
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Unused
                                                         (Page  5  of  8)
         Figure  6.4.2-a  -  continued.   Quick  Look  Control  Card Formats
                                     527

-------
EIS/AS
REPORTS
                      SECTION 6.4.2
                      QUICK LOOK EDIT
                      PROGRAM CRTQLED (EC0160)
                                        Page 31
                                        Release  Date:  2/01/80
                                        Update #:   A-l
                                   50 Card
Column #
 1 -

 4 -

 9 -
14 -
19 -
24 -
29 -
34 -
39 -
 2
 3
 7
 8
13
18
23
28
33
38
80
Field Length

    2
    1
    4
    1
    5
    5
    5
    5
    5
    5
   42
Data Type
Numeric

Alphanumeric
Description
50
Unused
Data Element Abbreviation
Unused
Repeat Columns 4-8
Repeat Columns 4-8
Repeat Columns 4-8
Repeat Columns 4-8
Repeat Columns 4-8
Repeat Columns 4-8
Unused
                                                         (Page 6 of 8)
         Figure 6.4.2-a - continued.   Quick Look Control  Card Formats
                                     528

-------
EIS/AS
REPORTS
           SECTION 6.4.2
           3UICK LOOK EDIT
           3ROGRAM CRTQLED (EC0160)
                       Page 32
                       Release Date: 2/01/80
                       Update #:  A-l
Column #
 1 -

 4 -

10 -
16 -
22 -
28 -
34 -
40 -
 2
 3
 8
 9
15
21
27
33
39
80
Field Length
    2
    1
    5
    1
    6
    6
    6
    6
    6
   41
  51 Card

Data Type
Numeric

Numeric
Description
51
Unused
Pollutant ID
Unused
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Repeat Columns 4-9
Unused
                                                         (Page 7 of 8)
         Figure 6.4.2-a  -  continued.   Quick  Look  Control  Card Formats
                                     529

-------
EIS/AS
REPORTS
           SECTION 6.4.2
           QUICK LOOK EDIT
           PROGRAM CRTQLED (EC0160)
                       Page 33
                       Release Date: 2/01/80
                       Update #:  A-l	
Column #

 1 -  5
 6 - 80
Field Length

     5
    75
 $$END Card

Data Type

Alphanumeric
Description

$$END
Unused
                                                         (Page 8 of 8)
         Figure 6.4.2-a - continued.   Quick Look Control  Card Formats
                                     530

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 34
Release Date:  2/01/80
Update #:   A-l
Boolean Operator:  Used to combine type 10 cards.
        Card Type:  10
      Valid Codes:  AND, OR
     Field Length:  3 characters

Data Element Abbreviation:  A four-character abbreviation for a  data  element
     in the EIS/AS master file.
        Card Type:  10, 30, 40,  50
      Valid Codes:  Valid abbreviations are shown  in Figure 6.4.2-d.
                    Abbreviations that are not allowed on the 10 card or  30
                    card are designated by ** under the heading  10/30 Card.
     Field Length:  4 characters

Date:  A date to appear on each  page of the quick  look report or pollutant
     summary report.
        Card Type:  $$SELECT
      Valid Codes:  This field is not edited, but  it is recommended that  the
                    date be entered as MM/DD/YY where MM, DD, and YY  are  the
                    month, day,  and year,  respectively.
     Field Length:  8 characters

Left Parenthesis:  Used in conjunction with a right parenthesis  to group  type
     10 cards.
        Card Type:  10
      Valid Codes:  ( or blank
     Field Length:  1 character
                                                         (Page  1  of 4)
         Figure 6.4.2-b.   Quick  Look  Control  Card  Field  Descriptions

                                     531

-------
EIS/AS
REPORTS
SECTION 6.4.2
}UICK LOOK EDIT
'ROGRAM CRTQLED (EC0160)
Page 35
Release Date: 2/01/80
Update #:   A-l
Page Break/Subtotal ing Request:   Used to request  a  page break  in  the  quick
     look report when the value  of the associated data  element  changes.   Also,
     if totaling is  requesting on the 40 card,  subtotals will  be  generated
     with each page  break.
        Card Type:   30
      Valid Codes:   X - page break/subtotal ing  requested
                    blank - page break/subtotal ing  not  requested
     Field Length:   1 character

Pollutant ID:   Identifies pollutants  for which  emissions estimates  are  to be
     included  in the pollutant summary report.
        Card Type:   51
      Valid Codes:   11101 - Total Suspended Particulate
                    42101 - Carbon Monoxide
                    42401 - Sulfur Dioxide
                    42601 - Nitric Oxide
                    42602 - Nitrogen  Dioxide
                    42603 - Oxides of Nitrogen
                    43101 - Hydrocarbons
     Field Length:   5 characters

Relational Operator:  Specifies  a comparison to be  made between a data  element
     in the master file and the  test  value.
        Card Type:   10
      Valid Codes:   E - Equal  to
                    U - Unequal
                    G - Greater  than  or equal to
                    L - Less than or  equal to


                                                         (Page 2  of 4)
   Figure 6.4.2-b -  continued.  Quick Look Control  Card Field  Descriptions
                                     532

-------
EIS/AS
REPORTS
         SECTION 6.4.2
         QUICK LOOK EDIT
         PROGRAM CRTQLED (EC0160)
Page 36
Release Date: 2/01/80
Update #:  A-l
                    P - Present, any entry
                    B - Blank
     Field Length:  1 character

Report Title:  A title to appear on each page of the quick look report or
     pollutant summary report.
        Card Type:  $$SELECT
     Field Length:  63 characters

Report Type:  Specifies whether a quick look report or a pollutant  summary
     report is to be produced.
        Card Type:  20 card
      Valid Codes:  QL - Quick  look report
                    SU - Pollutant summary report
     Field Length:  2 characters
Right Parenthesis:
     10 cards.
        Card Type:
      Valid Codes:
     Field Length:
Used in conjunction with a left parenthesis  to group type
10
) or blank
1 character
Summation Request:  Used to request totals for data elements in the quick look
     report.  If a page break/subtotal ing request is entered on the 30 card,  a
     summation request will also cause  subtotals to be generated at each  page
     break for those data elements for  which a summation request is entered.
                                                         (Page 3  of 4)
   Figure 6.4.2-b - continued.   Quick Look Control  Card Field Descriptions
                                     533

-------
EIS/AS
REPORTS
         SECTION 6.4.2
         QUICK LOOK EDIT
         PROGRAM CRTQLED (EC0160)
Page 37
Release Date: 2/01/80
Update #:   A-l
        Card Type:
      Valid Codes:

     Field Length:
40
X - summation requested
Blank - summation not requested
1 character
Test Value:  Specifies a value against which the associated data  element  in
     the master file is compared.
        Card Type:  10
      Valid Codes:  Valid codes for this field depend upon the associated
                    data element.   The test value should be entered with  a
                    format that corresponds to the format of the  data element
                    in the master file.
     Field Length:  Variable, no more than 12 characters.  Refer  to Figure
                    6.4.2-d.
                                                         (Page 4 of 4)

   Figure 6.4.2-b - continued.  Quick Look Control Card Field Descriptions

                                     534

-------
EIS/AS

QUICK  LOOK

REPORT
SECTION 6.4.2

QUICK  LOOK EDIT

PROGRAM CRTQLED (EC0160)
                  Page 38

                  Release Date:  02/01/80

                  Update #:   A-l
                                                                                    i.
                                                                                    o
                                                                                    CL
                    CO  COO
                    v -z a: 2 ^ ?
                    o «* o < < <
                                                                                    LU



                                                                                    03


                                                                                    (U


                                                                                    ii


                                                                                    ->-2^«;    X
                                                     i_ cc r w cr. a
     a:
     c
     a.
3C  — 0:  '  _Jt5'JL5V5 —
u  2C2- c
                                          535

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 39
Release Date: 2/01/80
Update #:  A-l
                       Description Record Data Elements
                                                       Data Element Length
Data Element Name
State
County
AQCR
Geographic Suballocation Number
Category Number
Category Disaggregation Number
Year
Day
Air Basin
SMSA
Area Name*
Major Activity*
Associated Plant ID
SIP Base Year
Projected Year
Rural Population Percentage
Population
AQCR Name*
Suballocation Technique Code
Suballocation Technique Description
Defined Area Code
         Abbreviation

             STTE
             CNTY
             AQCR
             GSUB
             CATN
             DISA
             YEAR
             DAYJ
             BASN
             SMSA
             ANME
             MACT
             PLID
             SIPY
             PRJY
             RPPC
             POPN
             AQNM
             SATC
             SATD
             DFAC
10/30
Card
2
4
3
5
3
2
2
3
3
4
20
20
4
2
2
2
8
54
2
**
3
40/50 40 Card
Card If Totaled
N/A
5
5
6
5
5
5
5
5
5
21
21
5
5
5
5
9 14
55
5
21
5
      Only the first 12 characters are used in selection
    **Not valid on a 10 card or a 30 card
   N/A Not allowed
                                                         (Page 1  of 8)
           Figure 6.4.2-d.   Data Element Abbreviations  and Lengths
                                     536

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 40
Release Date: 2/01/80
Update #:   A-l
                 Description Record Data Elements (continued)
                                                       Data Element Length
Data Element Name

Sulfur Content - Anthracite Coal
Sulfur Content - Bituminous Coal
Sulfur Content - Distillate Oil
Sulfur Content - Residual Oil
Ash Content - Anthracite Coal
Ash Content - Bituminous Coal
Number of UTM Coordinates
UTM Zone 1
UTM Horizontal 1
UTM Vertical 1
UTM Zone 2
UTM Horizontal 2
UTM Vertical 2
UTM Zone 3
UTM Horizontal 3
UTM Vertical 3
UTM Zone 4
UTM Horizontal 4
UTM Vertical 4
UTM Zone 5
UTM Horizontal 5
UTM Vertical 5
         Abbreviation

             SUAC
             SUBC
             SUDO
             SURO
             ASHA
             ASHB
             NUTM
             UTZ1
             UTH1
             UTV1
             UTZ2
             UTH2
             UTV2
             UTZ3
             UTH3
             UTV3
             UTZ4
             UTH4
             UTV4
             UTZ5
             UTH5
             UTV5
10/30
Card
2
2
2
2
3
3
1
2
4
5
2
4
5
2
4
5
2
4
5
2
4
5
40/50 40 Card
Card If Totaled
5
5
5
5
5
5
N/A
5
6
7
5
6
7
5
6
7
5
6
7
5
6
7
N/A Not allowed
                                                         (Page 2 of 8)
     Figure 6.4.2-d - continued.   Data Element Abbreviations and Lengths
                                     537

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 41
Release Date: 2/01/80
Update #:   A-l
                 Description Record Data Elements (continued)
                                                       Data Element Length
Data Element Name
UTM Zone 6
LITM Horizontal 6
UTM Vertical 6
Source Type
Length or Area
Units Code for Length or Area
TSP SIP Estimate
S02 SIP Estimate
MOX SIP Estimate
HC SIP Estimate
CO SIP Estimate
Population Code
Gas Fuel for Light Vehicles
Gas Fuel for Heavy Vehicles
Diesel Fuel for Heavy Vehicles
Motor Vehicle Miles for Limited
  Access Roads
Motor Vehicle Miles for Rural Roads
Motor Vehicle Miles for Suburban Roads
Motor Vehicle Miles for Urban Roads
Number of Pollutants

Abbreviation
UTZ6
UTH6
UTV6
TYSO
LNGL
LNGA
ETSP
ES02
ENOX
ESHC
ESCO
POPC
GASL
GASH
DESH
VMLA
VMRR
ds VMSR
VMUR
NPLD
10/30
Card
2
4
5
1
7
2
5
4
4
5
5
1
7
6
6
6
6
6
7
2
40/50
Card
5
6
7
5
9
5
6
5
5
6
6
5
8
7
7
7
7
7
8
5
40 Card
If Totaled






11
10
10
11
11

13
12
12
12
12
12
13

                                                         (Page 3  of 8)
     Figure 6.4.2-d - continued.   Data Element  Abbreviations  and  Lengths
                                     538

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQUIJ (ECQ16Q)
    Page 42
    Release Date:  02/01/80
    Update I:   A-1
             Description Record Pollutant-Specific Data Elements
                                                       Data Element Length
Data Element Name
Pollutant ID (Description Record)
Pollutant Name (Description Record)
Attainment Status
AQMA Number
         Abbreviation

             PLTD
             PNMD
             ATTN
             AQNO
10/30
Card

  5
 **
  1
  6
40/50
Card

  6
 16
  5
  7
 40 Card
If Totaled
     ** Not valid on a 10 card or a 30 card
                                                         (Page 4 of 8)
     Figure 6.4.2-d - continued.   Data Element Abbreviations and Lengths
                                     539

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (ECQ160)
Page 43
Release Date: 2/01/80
llpdat.P tf;  fl-1	
                        Category Record Data Elements
                                                       Data Element Length
Data Element Name
Category Description
Year of Information
Process Rate
Category Adjustment Value
Units Code
Units Code Description
Uniform Thruput
January Thruput
February Thruput
March Thruput
April Thruput
May Thruput
June Thruput
July Thruput
August Thruput
September Thruput
October Thruput
November Thruput
December Thruput
Hours per Day
Days per Week
         Abbreviation

             CATD
             INYR
             PROR
             CATA
             UNTC
             UNTO
             UNTP
             JATP
             FETP
             MRTP
             APTP
             MATP
             JNTP
             JLTP
             AUTP
             SETP
             OCTP
             NOTP
             DETP
             HRDY
             DYWK
10/30
Card
**
2
9
7
2
**
1
2
2
2
2
2
2
2
2
2
2
2
2
2
1
40/50 40 Card
Card If Totaled
26
5
10
8
5
13
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
     ** Not valid on a 10 card or a 30 card

                                                         (Page 5 of 8)
     Figure 6.4.2-d - continued.  Data Element Abbreviations and Lengths
                                     540

-------
EIS/AS SECTION 6.4.2
REPORTS QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Category Record

Page 44
Release Date: 2/01/80
Update #: A-l
Data Elements (continued)

Data Element Length
10/30 40/50 40 Card
Data Element Name
Weeks per Year
Thruput Ratio
Maximum Hourly Thruput
Data Confidence Rating
Nitrogen Content
Sulfur Content
Ash Content
Heat Content
Uniform Hourly Thruput
Thruput for Hour Beginning 0000
Thruput for Hour Beginning 0100
Thruput for Hour Beginning 0200
Thruput for Hour Beginning 0300
Thruput for Hour Beginning 0400
Thruput for Hour Beginning 0500
Thruput for Hour Beginning 0600
Thruput for Hour Beginning 0700
Thruput for Hour Beginning 0800
Thruput for Hour Beginning 0900
Thruput for Hour Beginning 1000
Thruput for Hour Beginning 1100
Thruput for Hour Beginning 1200
Thruput for Hour Beginning 1300
Abbreviation Card Card If Totaled
WKYR
RATP
2 5
4 6
MHTP 10 11
CONF
NITP
SULP
ASHP
HTCT
UHTP
OOTP
01TP
02TP
03TP
04TP
05TP
06TP
07TP
08TP
09TP
IOTP
11TP
12TP
13TP
1 5
3 5
2 5
3 5
4 5
1 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
2 5
                                                    (Page 6 of 8)



Figure 6.4.2-d - continued.   Data Element Abbreviations and Lengths





                                541

-------
i: IS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
Page 45
Release Date: 2/01/80
Update #:   A-l	
                  Category Record Data Elements (continued)
Data Element Name

Thruput for Hour Beginning 1400
Thruput for Hour Beginning 1500
Thruput for Hour Beginning 1600
Thruput for Hour Beginning 1700
Thruput for Hour Beginning 1800
Thruput for Hour Beginning 1900
Thruput for Hour Beginning 2000
Thruput for Hour Beginning 2100
Thruput for Hour Beginning 2200
Thruput for Hour Beginning 2300
Information Source Code
Information Source Narrative
Number of Pollutants
         Abbreviation

             14TP
             15TP
             16TP
             17TP
             18TP
             19TP
             20TP
             21TP
             22TP
             23TP
             ICSO
             INSO
             NPLC
                                                       Data  Element  Length
10/30
Card
2
2
2
2
2
2
2
2
2
2
1
**
2
40/50 40 Card
Card If Totaled
5
5
5
5
5
5
5
5
5
5
5
21
5
     ** Not valid on a 10 card or 30 card
                                                         (Page  7  of 8)
     Figure 6.4.2-d -  continued.   Data  Element  Abbreviations  and  Lengths
                                    542

-------
EIS/AS
REPORTS
SECTION 6.4.2
QUICK LOOK EDIT
PROGRAM CRTQLED (EC0160)
    Page 46
    Release Date: 2/01/80
    Update #:  A-l
               Category Record Pollutant-Specific Data Elements
Data Element Name
Pollutant ID (Category Record)
Emission Factor
Emission Factor Confidence Rating
Emission Factor Source Code
Emission Factor Origin
Pollutant-Specific Data
NEDS A7 Emission
Pollutant Name (Category Record)
Emissions Estimate
Confidence Rating
Maximum Hourly Emission
         Abbreviation

             PLTC
             EFAC
             EFCR
             EFSC
             EFOR
             SIZE
             A7EM
             PNMC
             EEST
             CNFR
             MHRE
     ** Not valid on a 10 card or a 30 card
                                                       Data Element Length
10/30
Card
  5
 10
  1
  1
  1
 10
  7
 **
  7
  1
  6
40/50
Card
  6
 12
  5
  5
  5
 11
  8
 16
  8
  5
  7
 40 Card
If Totaled
    13
    12
                                                         (Page 8  of 8)
     Figure 6.4.2-d  -  continued.   Data  Element Abbreviations and  Lengths
                                    543

-------
EIS/AS
REPORTS
SECTION 6.4.3
QUICK LOOK EXTRACT
PROGRAM CRTQLEX (EC0170)
Page 1
Release Date: 2/01/80
Update #:  A-l
6.4.3  QUICK LOOK EXTRACT PROGRAM - CRTQLEX (EC0170)

6.4.3.1  Description

     CRTQLEX (EC0170) is the second of three programs used to produce a quick
look report or a pollutant summary report.   It extracts data from the EIS/AS
master file based on user-supplied control  cards which are entered into
CRTQLED (EC0160).  The extracted data is passed to CRPQUIK (EC0170), which
produces the quick look report or the pollutant summary report.

6.4.3.2  File Formats

     The input files to CRTQLEX (EC0170) are the EIS/AS master file and the
temporary file of extract control information passed from CRTQLED (EC0160).
Figure 4.3.6-a shows the format of the master file.   Note that an EIS/AS
answer file can be used as input instead of the master file.

     Output from CRTQLEX (EC0170) consists  of a file of extracted data and the
retrieval extract report.  The extracted data will be data for a quick look
report or a pollutant summary report, depending upon the control cards entered
Into CRTQLED (EC0160).  A sample retrieval  extract report is shown in Figure
6.4.3-a.

6.4.3.3  Options and Control Cards

     There are no control cards entered into CRTQLEX (EC0170).  However, the
processing of CRTQLEX (EC0170) is controlled by the control cards entered into
CRTQLED (EC0160).  Refer to Section 6.4.2.3 for a discussion of those control
cards.
                                     544

-------
EIS/AS
REPORTS
SECTION 6.4.3
QUICK LOOK EXTRACT
PROGRAM CRTQLEX (ECQ17Q)
Page 2
Release Date: 2/01/80
llpdflt.p #:—A=J	
6.4.3.4  Error Messages

ABORT - JOB TERMINATED BY CRTQLED (EC0160)
     Meaning:  This message is issued when no selection control record is
               passed from CRTQLED (EC0160).  This occurs when execution of
               CRTQLED (EC0160) is aborted due to a serious error.
      Action:  Correct any errors issued by CRTQLED (EC0160) and resubmit the
               job.

6.4.3.5  Cataloged JCL

     CRTQLEX (EC0170) should always be executed in conjunction with CRTQLED
(EC0160) and CRPQUIK (EC0180).  See Section 6.4.4.5 for a discussion of the
cataloged procedure ECRPM40, which executes all three programs.

6.4.3.6  Warnings and Special Instructions

     There are no warnings or special instructions.

6.4.3.7  Cost Considerations

     The following estimates are for the execution of CRTQLEX (EC0170) on an
IBM 370/168:
     Number of input master file records:                352 records
     Number of output extract records:                    12 records
     CPU time:                                           1.8 seconds
     I/O time:                                          11.0 seconds
     Total  time:                                         12.8 seconds
     Estimated cost:                                   $3.57
                                     545

-------
EIS/AS
REPORTS
SECTION 6.4.3
QUICK LOOK EXTRACT
PROGRAM CRTQLEX (EC017Q)
Page 3
Release Date: 2/01/80
Update it-.... A-1	
6.4.3.8  Related Programs and Procedures

     CRTQLEX (EC0170) should always be executed in conjunction with CRTQLED
(EC0160) and CRPQUIK (EC0180).  The cataloged procedure ECRPM40 executes all
three programs.
                                     546

-------
EIS/AS

REPORTS
                  SECTION 6.4.3

                  QUICK LOOK EXTRACT

                  PROGRAM CRTQLEX (EC0170)
Page 4

Release Date: 2/01/80

Update #:  A-l
             a.

             a.
             •u
             a
x
*z
3
a.
33
      •• U_ * X
      oj >  3
      y. U- J. 0.
      < _1 — I
      2  < C
        z c u
      * c a z
                     UJ Or
                     a: s
           X X
            I
                  Figure 6.4.3-a.  Retrieval  Extract Report
                                     547

-------
EIS/AS
REPORTS
SECTION 6.4.4
QUICK LOOK REPORT
PROGRAM CRPQUIK (EC0180)
Page 1
Release Date: 2/01/80
Update #:  A-l
6.4.4  QUICK LOOK REPORT PROGRAM - CRPQUIK (EC0180)

6.4.4.1  Description

     CRPQUIK (EC0180) is the third of three programs used to produce a quick
look report or a pollutant summary report.  It sorts and prints data extracted
from the master file by CRTQLEX (EC0170).   CRPQUIK (EC0180)  produces either a
quick look report or a pollutant summary report,  depending upon the control
cards entered into CRTQLED (EC0160).

6.4.4.2  File Formats

     Input files to CRPQUIK (EC0180)  are a temporary file of print and sort
control information passed from CRTQLED (EC0160)  and a temporary file of data
extracted from the master file by CRTQLEX  (EC0170).

     Output from CRPQUIK (EC0180) is  a quick look report or a pollutant
summary report.  The type of report,  as well as the  order, content and format,
is determined by the user supplied control cards  entered into CRTQLED
(EC0160).  Figure 6.4.4-a shows a quick look report; Figure 6.4.4-b shows a
quick look report in which totals, subtotals, and page breaks appear; and
Figure 6.4.4-c shows a pollutant summary report.

6.4.4.3  Options and Control Cards

     There are no control cards entered into CRPQUIK (EC0180).   However, the
processing of CRPQUIK (EC0180) is controlled by the  control  cards entered into
CRTQLED (EC0160).  Refer to Section 6.4.2.3 for a discussion of those control
cards.
                                     548

-------
EIS/AS
REPORTS
SECTION 6.4.4
QUICK LOOK REPORT
PROGRAM CRPQUIK (EC0180)
Page 2
Release Date: 2/01/80
llpdat.P *:  A-1	
6.4.4.4  Error Messages

ABORT - NO CONTROL FILE PASSED
     Meaning:  The print control file which is passed from CRTQLED (EC0160)
               contains no records.
      Action:  This message appears only when execution of CRTQLED (EC0160) is
               aborted prior to writing any records to the print control file.
               Correct any errors that are listed in the diagnostic report for
               CRTQLED (EC0160) and resubmit the job.

ABORT - QUICK LOOK FILE CONTAINS NO RECORDS
     Meaning:  No records were retrieved from the master file by CRTQLED
               (EC0170).
      Action:  Inusre that the proper data is coded ion the control cards
               input to CRTQLED (EC0160).  Also, insure that no error messages
               were issued for CRTQLED (EC0160) and CRTQLED (EC0170).

ABORT - JOB TERMINATED BY CRTQLED  (EC0160)
     Meaning:  This message is passed in the print control file by CRTQLED
               (EC0160) when a serious error is detected while processing the
               user-supplied control cards.
      Action:  Correct any errors  issued by CRTQLED (EC0160) and resubmit the
               job.

6.4.4.5  Cataloged JCL - ECRPM40

     CRPQUIK  (EC0180) should always be executed in conjunction with CRTQLED
(EC0160) and  CRTQLEX (EC0170).  The JCL discussed in this section is used to
execute all three programs.
                                     549

-------
EIS/AS
REPORTS
         SECTION 6.4.4
         QUICK LOOK REPORT
         PROGRAM CRPQUIK (EC0180)
Page 3
Release Date: 2/01/80
Update #:  A-l
6.4.4.5.1  JCL Listing - Figure 6.4.4-d contains a listing of the cataloged
procedure ECRPM40.

6.4.4.5.2  Cross-reference of DD names and files
     Program Name:   CRTQLED (EC0160):

     DD Name                File Description
     EISEDTD1
     EISEDTD2
     EISEDTD3
     EISEDTD4

     Program Name:

     DD Name

     EISEXTD1
     EISEXTD2
     EISEXTD3

     EISEXTD4
    Quick look control  cards
    Extract control  information
    Sort and print control  information
    Retrieval  edit report

CRTQLEX (EC0170):

        File Description

    EIS/AS master  file
    Extract control  information
    Quick look or  pollutant summary
      extract  file
    Retrieval  extract report
  Input/Output
      Input
      Output
      Output
      Output
  Input/Output

      Input
      Input
      Output

      Output
                                     550

-------
EIS/AS
REPORTS
     SECTION 6.4.4
     QUICK LOOK REPORT
     PROGRAM CRPQUIK (EC0180)
Page 4
Release Date: 2/01/80
Update #:  A-l
     Program Name:  CRPQUIK (EC0180):

     DP Name                File Description
     EISPRTD1

     EISPRTD2
     SORTWK01
     EISPRTD3
Quick look or pollutant summary
  extract file
Sort and print control  information
Sort work file
Quick look report or pollutant
  summary report
  Input/Output

      Input

      Input
      Internal
      Output
6.4.4.5.3  User-supplied JCL - The user must supply the quick look control
cards and the name of the EIS/AS master file or answer file from which data is
to be extracted.  See Figure 6.4.4-e for a description of the substitutable
parameters for ECRPM40.

6.4.4.5.4  Sample Run Stream - The following run stream would produce a quick
look report or a pollutant summary report from the EIS/AS master file named
'CN.EPALMH.A087.CDHS.HQ.AREA.DATA.ASMSTR01'.

// EXEC ECRPM40,
//      MSTRFIL=ASMSTR01
//EDIT.INPUT  DD *
Quick look control cards
/*

6.4.4.6  Warnings and Special Instructions

     Note that the COBOL sort verb is used in this program; therefore, the
collating sequence for alphanumeric fields is determined by the computer at
the user's particular installation.
                                     551

-------
EIS/AS
REPORTS
SECTION 6.4.4
QUICK LOOK REPORT
PROGRAM CRPQUIK (EC0180)
Page 5
Release Date: 2/01/80
Update #:  A-l
     In addition to the quick look report or pollutant summary report produced
by CRPQUIK (EC0180), messages generated by the sort-merge package will  be
printed.  The format and content,  as well as the physical location,  of these
messages depend upon the user's particular installation.

6.4.4.7  Cost Considerations

     The following estimates are for the execution of CRPQUIK (EC0180)  on an
IBM 370/168:

     Number of input extract records:                12 records
     CPU time:                                      1.4 seconds
     I/O time:                                      1.7 seconds
     Total time:                                    3.1 seconds

     Estimated cost:                              $0.88

6.4.4.8  Related Programs and Procedures

     CRPQUIK (EC0180) should always be executed in conjunction with  CRTQLED
(EC0160) and CRTQLEX (EC0170).   The cataloged procedure ECRPM40 executes all
three programs.
                                     552

-------
EIS/AS

REPORTS
                         SECTION 6.4.4

                         QUICK LOOK REPORT

                         PROGRAM CRPQUIK  (EC0180)
Page 6

Release  Date: 2/01/80

Update #:   A-l
  a: a.
C — a.
c: r ct
               c c
               a. u
               2
                   cccccoooocococ

                   C — C A. -C
                   tcrwc<-Jwt^'— &^-<^"fe— — —•^•—•— ._^-._ —
                   cooooooocc-ocoeoooooooo
                                     '
                   c e> c e e c c
                            ^- S ^-  CE  UJ
                             ~
                   cccccci  t i i  i i «•' co co er. co to eo cc i _
                   — -. — — -c — cxssxir3 = 3DZ23i —
                                                     u
                                                     h-<

                                                     C


                                                     3)

                                                     a:
             cecccccsooc
             oooc-oooocsoooo
             cccccccccecccc
                                    cccccccccc
                                      osc-ooocco
                                          crccecc
                         Figure 6.4.4-a.   Quick  Look Report
                                         553

-------
EIS/AS

REPORTS
              SECTION  6.4.4

              QUICK LOOK REPORT

              PROGRAM  CRPQUIK (EC0180)
Page 7

Release  Date: 2/01/80

Update #:   A-l
       H-  .£   X
      UJ 3T  ^ < O  r*-  C «
      CO LJ  3
      *- f*  CJ
      LU r>
             o a
             J) co
                 ocooooooooco
                 OOO9OOOOOOOO
                 ooooo aoooc.cc
                 oooooooooooo
                 OOOGOCOCOOCC
                 oooooooooooo
                 coooooooooco
                 OCO-"OOOOOOOO
coo-*cccoocoo
oon  ooocccoo
                 oooooooooooo
ooooocoooeoo
O
-------
EIS/AS

REPORTS
                  SECTION 6.4.4

                  QUICK LOOK  REPORT

                  PROGRAM CRPO.UIK (EC0180)
Page 8

Release Date:  2/01/80

Update *:   A-l
u? —

5 V,
             T B
          ».  -— «=r<  _/ »j _i 
-------
EIS/AS

REPORTS
SECTION 6.4.4

QUICK  LOOK REPORT

PROGRAM CRPQUIK  (EC018Q)
Page  9

Release Date:  2/01/80

Update l:   A-_]	
           a.  —
         jj jj  •?
         u or  z.
         3:    z>
        CO Z >-  L.
        —i C i
        C to «a  —
        2  T  —


        —J 0" CO  Z.

         X H-  M
         CO 2"  «
                    CO
                    co
                  ru -i
                                    — occ
                       C ~ — -   LSCO«_J
                       — r — -^5
                       as.—'^rr — — Z;TCOCO —
                       x~*-irH-tr:ccf-~^'Li-«ff
                       — _ to   -.«jj
-------
EIS/AS
REPORTS
                                    SECTION 6.4.4
                                    QUICK  LOOK REPORT
                                    PROGRAM CRPQUIK  (EC0180)
Page  10
Release  Date:  2/01/80
Update #:    A-l
//*
//*
//*
   //«  f >M| Mn/<\OH7  MHM.Ct'MH,  I I uYl) rl.  CMV)  S'4l-SU    PHill Fl'llkf"  NA'll- :  I:LWI'""I<>
   //•»    Mf V 1 S I MiJ l_f VH :  I -'Ml
   //*    I_A<;|  tiPiiftlt  r :  A-I
   //*    nou  |fj(:fH,'piii-'A TH>:  1-FnPiunr  1,  1980
   //*     MS/i'.S  UllTl.H  I HUH  IVF ("If: VAL I'PljrH'UWt
   //*
          '-'UII  I-' Kill  Pl'li.lt r f = T'l.l- "A I. !••»'. AOH / .flMS.IM.J. AWM '
                     IJPlir.^rf'V | ()| r X ,
                     I'^iir, 4 = 1, win i>\,
                     I- 1)1 fKR.r IOOK ,
                     e x i ^>v[ (,= i IHIK,
                     fiy) UK,= t sun ,
                                                                                         01)01)0 I 00
                     uiaPs 'iJt-in,HAS'?f OK
                     SCf.ll.jl ( - I IVK ,
                     CI' 1MAI)V =^0 ,
                     •U f Mi)lyy = | o,
                     '1 INS('«C=l »
                                    r«Ri;s
       ill
                     ,VII I IV D"   D.Si.A 11 siv.y.f XT(  II ,
   //                Hi' M -". I »  I",
   / /                . i I S I = f t, n i .<-• p 1 ,
   //                I'f !j= ( I t'M.l = 1 (KM) ,i(' AT ) )
   //*
   //«   iiii|['iir i.,il/i  '.f I  -  iii.ilh'a  I 'il-'iK* i\ l i )•; frit-  rl I'll
   // *
   //F I :-ln I n s iili   I'1-.'*/1 ' f =v  \PK M  U ,
                                                                                            4 (i ()
                                                                                      0 (,' 1 0 0 U (I I)
                                                                                      n no od SO n
                                                                                      000 1) 06 00
                                                                                      00000700
                                                                                      OOOOOMOO
                                                                                      doooo'yoo
                                                                                      (i on (i i con
                                                                                      oooi) I loo
                                                                                      Oil 00 1 ('(Ml
                                                                                      'MlOIH 300
                                                                                      o o o u i /j o (>
                                                                                         000 1/1 600
                                                                                         o i) (1 0 1 / 0 0
                                                                                         oooo 1 rtoo
                                                                                         o o (> o I v o o
                                                                                      0000? 1 00
                                                                                      o u o o ? >, o o
                                                                                      (ll)00?i400
              o o o o ? i o 0
              0 0 0 0 ? 0 0 0
              0 (I 0 0 ? 9 0 0
              "000 VlOO
              0 U 0 0 5100
              n o n i) 3 
-------
EIS/AS SECTION 6.4
QUICK LOOK QUICK LOOK R
REPORT PROGRAM CRPQ
// IINI FrK. IF MP,
// I/ 1 .SPz < r.ll ISH ) ,
// i)C.|i=llHF(.|=?so,'»lKSf^F=?Sn,Ht
// ;,Pflf>=:lKSI>(,M(M 1 , ( >.N1 NSrAf. , Ml
// *
//* (.(tUMir PATA SF 1 - tlMI KH'Mlv'l
//*
//F ISFOIIM DP ^SYbMUt=R|iM(,
//*
//* llHIf'UT DATA SFTS - S 1 S 1 F .4 UF'FUAIION
//*
//SY.SHHJNI DP SY SHUT =*.(IH |
//*
//srsntii UP SYSMU r^mn/i
// *
//SYSPHUMI P n sYsmnzinMi
//*
//SfSpTt *;M HP SY:;MUI =x,mt i
//*
//.SYSUPIIf'C l;P oYiii'tJTrMIIM
//*
//rxTHAcr t XEC pi;'" = R.pi-'i)r,f',
// f-F G lirjrS.f X | WKI (,,
// T 1 1-iF = ( <,CfMII-'l N, (ifPHSF t. )
//SIFH 1 H UP PSNAMf rX H'U.TtC ) . .1 UAp,
// vllLI"''F = f f"> 1 VA ft , KF I A 1 M; ,
// PT SI: (3MK, HAyS )
// DP L'SNAftF=SY3J .L'lHLlH,
// ii i sr= ( snw,('As.'>)
//*
//*
//* (MI'Hf DAIA SF ' - rUWhFl-1 F1S/AHFA SIHJHt
//*
Page 10
EPORT Release Date: 02/01/80
UIK (EC0180) Update #: A-l
'I 00 OS /(Ml
lOOOSHOO
OM = H|), floOOS90()
iMbl' AC ) ) 0(|Oi)MiO 0
OOOOb 1 00
OlMMJ^uJ'iO
oyoob 400
OdOoh'ino
0 0 0 0 b ^ 0 0
0 0 0 o b 7 0 0
OiKMIbdOO
0 0 0 o b 9 0 0
o on o7 u no
001X17 1 00
'Ml'MI 7^0()
0 000 7 \0o
0 0 0 i) 7 '4 1) 0
o (i o u 7 s o u
Od no 7 (,oo
0 U n 0 7 / o 0
0000 7 1! 00
00007900
0(1008000
000 OH 1 00
0(1 00 II? 00
(>oo on 500
o o o o K a o o
OOOOKSOO
0 0 (M) H b 0 0
000 OR 7 0(1
OOOOHHOO
.F^ASTFKFfLF OOOOH900
00009000
//MSt t)Su AMF =k. i'u Si iF L »
// (If | 1 =H (1 ^'J,
// M SP= «!') PI 1 ,
// ol'^rt =( ^Si'l.M'gl 1 , ( <.t'l< 1 !AI^V,v,Sf
// Pf i.= f 1 Kl Cl :? 1 h, >>l - bT /F r? 1 h, I't
//*
// * UN I PU T PAT « iiF i - F x i I->A<" i rwi iri. S3 l Nf. "f
//*
//h 1 'U X 1 hi l-'i sy ,I"II -V |il|.
// p(i' = (l'>oo i os n'i
. i Mipr ) ) , 900 i oboo
C F " = F H ) (M)O 1 ii 700
" 0 n 1 0 8 0 0
PiH'I 00010900
000 1 1 ooo
00 0 1 1 1 ') (I
rf -*^^ M/\ ) lion i i ^011
                                              (Page  2  of  4)



Figure 6.4.4-d - continued.   Cataloged  Procedure  ECRPM40






                          558

-------
EIS/AS SECTION 6.4.
REPORTS QUICK LOOK R
PROGRAM CRPQ
//*
//* IIIIP'UI DATA .SfFS - SfSlff llPf KA 1 1 n, t
//*
//SYSl'Pl M 1 ill) bYS'lUT =X.iill 1
//*
//.'iYSilMI |>p SYSMO r = K,li(l 1
//*
//.'lYSt'hlllM I'd SYSdiH =Mlll|
//*
//SYSI) IH^rt I'D hYMHI! =X.IIH |
//*
//SYSlinilMI' 1)0 .SYM'lll =K.ilD 1
//*
//*
4 Page 11
EPORT Release Date: 2/01/80
|ITK fFf.aian^ lipdatp *• A-l
0 II 0 1 1 SOO
0 0 0 | I it 0 fl
0 ,) 0 1 t S 0 1)
OOOJ tf,00
0001 1 /»()
000 1 1 MOO
0 ') 0 1 I ,
// iM'L Ill-it- = (PW J VAlt ,KI 1A1M),
// III SP=(3HK,PftSt')
// III) DMJAMK sSYS 1 .U'lM 1^»
// DfSP=C>HH,PASS)
//*
//SllKlllfl DP USNAMF sRSUKTI. tit.
// HISP=SHK
//*
000 t ?HOl)
0 U 0 1 -f> '1 0 0
o o o 1 3 (; n o
OoO 1 3100
000 1 ^oo
0 0 0 1 >J } 0 0
0 0 0 1 (i y 0 0
OttO 1 4S(VO
OOOl'JbOO
//* IfJHH OA 1 A $\ \ - PiVlu ri!N|PI)L TfJHjWMA F IliU Fkfhl (- n I F OOOl't/O.)
//*
//F1SPHHV 1)0 (iI'MJAMF- =« ivPWTCFL ,
// UN i r = x. 1 1 HP,
// I) 1 ,SF'= (III n, ill- I.F IF)
//*
//•• IIIIIPUF ('flF/« Sf F - rtHjlll_SIHi KH'l't'1
//*
//Fispwi".* i"' ;>v yiii)T = >. i'i i ,
/ / l)(h=(lKf(l=M*,H|.K,Sr/f=Mi,
//*
//* MI« F KIPK f FI t ;•;
//*
//Slil'l UKO t I>P III' 1 1 =K t -'P,
// .M'M'I- = 1 I-K , » S'V F 1,P(. , , F ll«l 1 II,
//Si It- 1 I''K. Oc' |)D ihlllr\ f-nP,
// SI l\l 1 = FP(« , >. illrf 1 -il'C. , , {'U'J 1 1 (,
X/SliPl -it II <, hi) II, '1 1 -* 1 1",
// ;,l'/a t r I i,')- , •' ,',l'|,l;APt , ,1 H'l 1 ] 1,
//SDK 1 ••>•['•) lit' li' I 1 =v. I . it ,
// SOI f - !.<» , «. j'li-'F.ii L, 	 .III.
//Si|l' 1 ,^n(
) nor> 1 h 4n>
OoO 1 h^OI
) OOOlhStl'
nnnihoiit
) inn 1 1, /On
11:11. | (,h.)o
                                              (Page 3  of 4)



Figure 6.4.4-d - continued.   Cataloged Procedure ECRPM40





                          559

-------
EIS/AS
REPORTS
                              SECTION  6.4.4
                              QUICK  LOOK REPORT
                             .JJROGRAM  CRPOUIK
Page  12
Release Date: 2/01/80
                                                                              A  1
    //              M'Af t =( INK , RJillH 1 SI'C, ,( UN 111.)
    //SUP) V'K 0<> ill)  I.IMI !=< If- Ml',
                                                                              Olio if, 90 i
//*
//*
//*
//*
X/^
//*
//S
//*
//S
//*
//S
//*
         ; f ^ *
                   bl'rtn. = ( IKK , <.SIH< I

              T HAfA sits  -  sysir.'i

               iiii  SYS'HII -iviiii I

               DO  SYbfllll sK
               DO  SYhllliI=IC(lll I

               OH  :jY IjIMII =K,iill I
000
'1,1(1
ooo
noo
ooo
ooo
                                                                               7UOO
                                                                               n <•> o
                  7 i o o
                  7/400
                  7SOO
             f) 0 0 1 7 h 0 o
             0 1) n 1 7700
             0001 7 H I) O
             oon 1 7 si oo
             PI) " 1 f'l'OO
             000 1 H i 0(i
             0 <) (U H rl o 0
                                                                              ooo i Han o
                                                                 (Page  4 of 4)

           Figure 6.4.4-d  -  continued.   Cataloged Procedure ECRPM40
                                         560

-------
US/AS
REPORTS
              SECTION 6.4.4
              QUICK LOOK REPORT
              PROGRAM CRPQUIK (EC0180)
                  Page 13
                  Release Date: 2/01/80
                  Update #:  A-l
Parameter
  Name
PROJECT
PROG1
PROG2
PROG3
EDITREG
MSTRFIL
TEMP

DISP
SPCUNIT
    Default
     Value

'CN.EPALMH.A087.
CDHS.HQ.AREA.'
CRTQLED
CRTQLEX
CRPQUIK
100K
EXTRREG
PRTREG
CPUMIN
CPUSEC
100K
150K
1
0
ASHFILX1
SYSDA

'NEW,PASS,DELETE1
TRK
Description

Highest-level index of data set names
(e.g., CN.EPALMH.A087.CDHS.HQ.AREA.DATA.
ASHFILX1 would be the full data set
name of an EIS/AS master file)
Quick look edit program
Quick look extract program
Quick look report program
Region size allocated for execution of
CRTQLED
Region size allocated for execution of
CRTQLEX
Region size allocated for execution of
CRPQUIK
Minutes allocated for execution of each
of CRTQLED, CRTQLEX, and CRPQUIK
Seconds allocated for execution of each
of CRTQLED, CRTQLEX, and CRPQUIK
Lowest-level index of EIS/AS master file
Unit value assigned for temporary disk
storage
Disposition of temporary files
Units in which space for temporary files
is to be allocated
                                                         (Page 1  of 2)
            Figure 6.4.4-e.   Substitutable Parameters for ECRPM40
                                     561

-------
EIS/AS
REPORTS
              SECTION 6.4.4
              QUICK LOOK REPORT
              PROGRAM CRPQUIK (EC0180)
                  Page 14
                  Release Date: 2/01/80
                  Update #:   A-l
Parameter
Name
PRIMARY
SECNDRY
MINSPAC
SORTSPC


20
10
1
50
Default
Value




SORTLIB
OUT
'SYS1.SORTLIB1
A
Description

Primary space allocation for the quick
look or pollutant summary extract file
Secondary space allocation for the quick
look or pollutant summary extract file
Primary and secondary space allocation
for control information files
Space allocation for temporary sort work
files
System sort library
SYSOUT class for all print files
                                                         (Page 2  of 2)

      Figure 6.4.4-e - continued.   Substitutable Parameters  for ECRPM40
                                     562

-------
EIS/AS
INTER-FUNCTIONAL
PROCEDURES
SECTION 7.0
INTRODUCTION
Page 1
Release Date: 2/01/80
Update #:  A-l
7.0  INTER-FUNCTIONAL PROCEDURES

7.1  INTRODUCTION

     This section provides an example of a run stream from the EIS/AS baseline
test run series in which more than one function is performed.   In the brief
discussion of the example, references are given to specific sections in the
User's Guide for more detailed information on the programs and procedures.
Also, a figure is provided which shows the run stream.   The primary emphasis
of this section is to demonstrate how various functions can be linked together
in a single job to accomplish a desired result (by executing several EIS/AS
procedures).
                                     563

-------
EIS/AS
INTER-FUNCTIONAL
PROCEDURES
SECTION 7.2
MULTI-PROCEDURE
EXAMPLES
Page 1
Release Date: 2/01/80
Update #:   A-l
7.2  MULTI-PROCEDURE EXAMPLES

7.2.1  Batched Retrieval, Sort, and Formatted Dump

     This batched retrieval  is similiar to example 1  of Section 5.2.2.2.3.
Data is selected for five separate sets of retrieval  specifications.
Information on CRTLNGP (EC0090) and CRTGENR (EC0100)  can be found in  Sections
5.2.2 and 5.2.3.

     A batched answer file must be sorted using the BATCH option of the master
file sort program, CSRMSTR (EC0110), prior to being input to any other
programs.  Information or CSRMSTR (EC0110) can be found in Section 5.3.2.

     A formatted dump can be obtained of the sorted answer file, in which  all
the records for each batch will be grouped together.   Information on  CRPDUMP
(EC0140), the formatted dump program, can be found in Section 6.3.3.

     Figure 7.2-a shows the run stream for this example.  Note that ECANSR1 is
the answer file retrieved from the master file ECMSTR7.   This answer  file  is
sorted to produce the file ECANSR2, which is input to the formatted dump
procedure.
                                     564

-------
EIS/AS

INTER-FUNCTIONAL

PROCEDURES
SECTION  7.2

MULTI-PROCEDURE

EXAMPLES
Page 2
Release  Date: 2/01/80
Update #:   A-l
           //  EXEC  ECRTM10,
           //       PROJECT='CN.EPALMH,AOft7.CDHS.ONLINE.ASMS'
           //GENER.INPUT DO *
           SSSELECT      0 1 2
           COUNTY                            s '2320'                          AND
           CATEGORY-NUMBER                   s '032'
           SSSELECT
           COUNTY                            = '1780'                          AND
           CAT-POLLUTANT-ID                  s '13101'
           SSSELECT
           (COUNTY                           = '0015'                          OR
           COUNTY                            s '0680')                         AND
           PROJECTED-YEAR                    = '83'
           SSSELECT
           STATE                             = '06'                            AND
           COUNTY                            s '2238'
           SSSELECT
           AQCR                              s '200'
           SSEND
           //  EXEC  ECRTM20,
           //       PROJECTS'CN.EPALMH.A087.COHS.ONLINE.ASMS',
           //       MSTRFIL=ECMSTR7,
           //       ANSRFIL=ECANSR1,
           //       UNITs'3330-1',
           //       SERIAL3USER52
           //  EXEC  ECSRM10,
           //       PROJECTS'CN.EPALMH.A087.COHS.ONLINE.ASMS',
           //       OLDMSTRsECANSRl,
           //       NEWMSTRsECANSR2,
           //       UNIT='3330-1',
           //       SERIAL=USER52
           //SORT.OPTIONS DO *
           BATCH
           //  EXEC  ECRPM30,
           //       PROJECTS'CN.EPALMH.A087.COHS.ONLINE.ASMS',
           //       MSTRFIL=ECAN3R2
           //DUMP.OPTIONS DD *
                   Figure 7.2-a.   Example  7.2.1 - Run Stream
                                       565

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 1
Release Date:  2/01/80
Update #,:  A-l
8.0  JCL AND GENERAL TOPICS

8.1  IBM JCL

8.1.1  INTRODUCTION

     This section discusses the IBM 360/370 OS JCL  (Operating System,  Job
Control Language) used in the baseline EIS/AS subsystem.   Those  users  who have
other types of hardware and operating systems will  have  to modify  or  replace
this JCL and should consult their systems personnel  for  specific instructions.

     There are three basic types of IBM JCL statements necessary to run  the
EIS/AS programs.   These are the JOB, EXEC,  and DD  statements.  All  JCL
statements follow a similar format:  the first two  columns of the  card must
contain slashes (//) to denote that the card is a JCL card;  an optional  name
immediately follows the slashes and may be  one to  eight  characters  in  length;
the keyword (JOB, EXEC or DD) must be preceded and  followed  by at  least  one
space.  There are several fields of information specified  in these  statements,
each field being separated from the preceding one  by a comma.  All  of the
information must be punched in columns 1-71.   See  Figure 8.1-a for an
illustration of this format.

     If a statement is too long to be punched on one card, the additional
information can be punched on successive continuation cards.  Each
continuation card must contain slashes in columns  1  and  2  followed by at least
one space.  The information contained on the card  must start between  columns  4
through 16, inclusive.  In addition, the last field on the preceding  card must
be followed by a comma.

     There are three JCL statements that do not follow the general  format.
Information on these exceptions can be found in Section  8.1.5.
                                     566

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 2
Release Date:  2/01/80
Update #:  A-l
8.1.2  JOB CARD

     A job is a group of JCL statements (and optionally data or source
language) grouped together into a single run stream.  The JOB card is the
first of these statements, and it contains the accounting information and run
parameters that the computer operating system must have to run the job.   Each
computer installation has its own standards for JOB card formats,  but a  sample
format is shown in Figure 8.1-b.  Some of the parameters mentioned here  may
not be allowed or may be specified differently at your installation.   The user
should consult his local computer systems personnel for details of the JOB
card requirements at his installation.  Each JOB card will generally contain
for each keyword an equal sign and a value.  Each field, except the last, must
be followed by a comma. Figure 8.1-c gives a listing of frequently used
information fields for JOB cards.

8.1.3  EXEC CARD

     The EXEC card is used to specify the procedure or program to  be executed.
In EIS/AS, all JCL to execute specific programs is included in cataloged
procedures (see Section 8.1.6).  More than one EXEC card can be included in a
given job; for example, to run both a retrieval and a detailed report of the
answer file, two EXEC cards would be used, one for the retrieval procedure
ECRTM30 and one for the detailed report procedure ECRPM20.

     The cataloged procedures in EIS/AS contain substitutable parameters to
indicate frequently changed information such as file names and storage
information for new data sets.  Values for these substitutable parameters are
specified on the EXEC card.  Information on the substitutable parameters for
the cataloged procedures can be found in the program sections of this User's
Guide.
                                     567

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 3
Release Date: 2/01/80
Update #:   A-l
8.1.4  DD CARD

     The DD (Data Definition) card is  used to define the  data  sets  associated
with a particular program's execution.   The DD card  provides  information  such
as the data set name, the unit type (such as disk  or tape), the  volume where
the data set resides, the disposition  (is the data set  old or  new-  should it
be cataloged, kept, or deleted?).   These DD cards  are included in the
cataloged procedures, with the most variable information  (data set.  name,  space
allocation, disposition, etc.) specified by substitutable parameters.   Fields
that may be specified on the DD card are shown in  Figure  8.1-d.

     In some cases, the user will  have to override one  or more DD cards in a
cataloged procedure.  The cataloged procedures in  EIS/AS  contain deferred DD
names for many data sets to eliminate  the necessity  for overrides.   The DD
cards defining option cards and transaction files  for EIS/AS  programs are
examples of deferred DD names.  For example, in the  cataloged  procedure
ECRPM20 (see Section 6.3.2.5) which produces the master file  detailed report,
the DD card used to define the option  card input to  CRPMSTR  (EC0130) is as
follows:
     //ECSOPTN   DD  DDNAME=OPTIONS,
     //          DCB=BLKSIZE=80
To run this procedure, a card must be  entered into the run stream to further
define this data set.  The required card would be  coded as follows:

     //LIST.OPTIONS DD *

Note that REPORT indicates the job step which executes CRPMSTR (EC0130),
OPTIONS indicates which data set is being defined, and the *  indicates that
data (in this case, the option card) will immediately follow the DD card in
the run stream.
                                     568

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 4
Release Date: 2/01/80
Update #:  A-l
8.1.5  SPECIAL JCL CARDS

     There are three special  JCL cards: the in-line data set delimiter,  the
comment card, and the end-of-job card.

     The special control card
     /*
is used to indicate the end of an in-line data set, such as transactions,
retrieval specifications, and option cards.

     The comment card
     //*  comment
may be used anywhere in the run stream after the JOB card.

     The // card is used to denote the end of a job.

     Some installations also require an end-of-file card, but there is no
standard format for it.

8.1.6  CATALOGED PROCEDURES

     With the JCL cards described above (JOB, EXEC, DD), it is possible  to
write all of the control language statements necessary to run the EIS/AS
programs.  For example, over 200 control statements are required to run  a
retrieval.  Since it would be very time consuming to code all of the JCL
statements each time a program is run,  and since there would also be a great
possibility for errors, the JCL to run  the EIS/AS programs  has been
organized into procedures.  These procedures are cataloged  in a systems
library and may be executed by using only a few JCL control statements.  The
cataloged procedure which invokes an EIS/AS program is discussed in the
                                     569

-------
EIS/AS
JCL AND GENERAL
TOPICS	.
SECTION 8.1
IBM JCL
Page 5
Release Date: 2/01/80
Update #•  A-3	
section relating to that program.   A list of the substitutable parameters
associated with the procedure,  a brief discussion,  and sample job streams are
also provided in that section.

    The procedures may be executed directly from the EIS/AS JCL library,  if
a procedure library (PROCLIB) control  card immediately follows the JOB card in
the run stream.  However, some installations may require that the procedures
be copied into a system procedure library.  In this case, no PROCLIB statement
is needed to execute the procedures.   The systems personnel at a particular
installation can explain what that installation requires.  Please note that if
the procedures are executed from a systems procedure library, any updates to
the EIS/AS procedures must be made in both the EIS/AS JCL library and the
system 1ibrary.
                                     570

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 6
Release Date: 2/01/80
Update #:  A-l
     Columns
     1  3

     v
                             Column
                               71
     //[name] [keyword]
   [information]
     Name - one to eight characters
     Keyv/ord - DD, EXEC, JOB
     Information - consists of several fields separated by commas
                Figure 8.1-a.   General  Format of JCL Statement
                                     571

-------
EIS/AS
JCL AND GENERAL
TOPICS
                  SECTION  8.1
                  IBM JCL
Page 7
Release Date: 2/01/80
Update #;:   A-128
       Co
        y
#l
         //[job name] JOB  [accounting information],[name],[information]
     Job name - name given to job by user.   Must  be one  to eight  characters  in
                length and must begin in column 3

     Accounting information - installation  dependent account  number (consult
                the local  systems personnel)

     Name - name selected by user to identify run,  I to  20 characters  long

     Information - see Figure 8.1-c
                        Figure 8.1-b.  JOB Card Format
                                     572

-------
E IS/AS
JCL AND GENERAL
TOPICS
                  SECTION 8.1
                  IBM JCL
Page 8
Release Date: 2/01/80
Update #:  A-l
MSGLEVEL   Specifies whether all JCL cards should be listed or not.

PRTY       Specifies the job priority.  These priorities are established by
           the installation; consult the local systems personnel  for
           information.

CLASS      Specifies the job class to be used.  Job classes determine the
           overall priority (and cost schedule) of the job.  The  user
           should consult the local systems personnel  for information on
           classes used at his installation.
TIME
Specifies a time limit for the job.   It may be given in minutes
(e.g., TIME=3) or in minutes and seconds (e.g., TIME=(1,30)).   If
no value is specified, the installation's default value will  be
used.  Consult the local systems personnel  for information on the
default value.
                  Figure 8.1-c.   JOB Card Information Fields
                                     573

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 9
Release Date: 2/01/80
Update #:  A-l
DUMMY     This parameter is specified for the input  master file when running
          file maintenance procedures to create initial  files.   DUMMY
          signifies that the data set is not present.

UNIT      Specifies the input/output unit.   Disk units  can be specified by
          DISK, 2314, 3330, etc., to denote the specific disk type used.
          Tapes may be specified by TAPE or 2400, etc.   Consult the local
          systems personnel for specific information on the specifications.

DISP      Specifies the data set disposition.  There are three positional
          subparameters within the DISP parameter:
          DISP=(current status, normal  disposition,  abnormal  disposition).
          One of three values may be specified for current status:  NEW,  OLD,
          or SHR.  Their meanings are as follows:

          NEW specifies that no data set with the specified name currently
          exists.

          OLD designates an existing data set and specifies that the step will
          be given sole access to the data set.

          SHR specifies an existing data set which may  be shared with other
          jobs running at the same time.

          The normal disposition is used if the step proceeds to normal system
          completion; the abnormal disposition is used  if the step has an
          abnormal system termination.   Note that most  ABORT errors in
                                                                (Page 1 of 4)
                Figure 8.1-d.  DD Card Field Specifications
                                     574

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 10
Release Date: 2/01/80
Update #:  A-l
          EIS/AS will cause the step to terminate premature-ly, but will not
          cause a system ABORT, and therefore, the normal disposition is still
          in effect.  The possible values for both dispositions are CATLG,
          KEEP, PASS, DELETE, and UNCAT.  Their meanings are as follows:

          CATLG, generally used for new permanent data sets, specifies that
          the data set will be kept and that an entry will be made in the
          system catalog for that data set.   Cataloged data sets may be
          referred to in later jobs by name and disposition only.

          KEEP is used to indicate that a new permanent data set is to be kept
          but that no entry will be made in the system catalog.  Data sets
          written with a disposition of KEEP must be referenced by complete DD
          information.

          PASS is used to pass the data set to subsequent job steps.  The use
          of PASS saves time, since the system retains the data set location
          and volume information, and the volume containing the data set
          remains mounted.  PASS may be used for both temporary and permanent
          data sets.

          DELETE deletes the data set and removes it from the catalog, if
          applicable.

          UNCATLG removes the data set from the catalog, but does not delete
          it.
                                                                (Page 2 of 4)
          Figure 8.1-d - continued.   DD Card Field Specifications
                                     575

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 11
Release Date: 2/01/80
Update #:;  A-l
VOL       The volume parameter requests a specific volume,  such a;; a tape reel
          or a disk pack.   VOL must specify the volume serial  number for a
          data set.  It also may be used to specify that the volume is
          private, and that a mountable volume is to be retained.   This is
          denoted by VOL=(PRIVATE,RETAIN,SER=XXXXXX) where  XXXXXX  is the six
          character volume serial  number.  If only the volume  serial number
          is to be specified, VOL=SER=XXXXXX may be used.

LABEL     Provides label information for the data set.  EIS/AS has been set
          up to specify all data sets as unlabeled.  If this is not allowed at
          a particular installation, all programs in the system for that
          installation must be modified to reflect that the data sets are
          labeled.  The user must  consult NADB prior to making such a
          modification.  Since tapes may contain more than  one file, the file
          number is also specified in the LABEL parameter;  i.e., l_ABEL=(file
          number, type).  The value for type is NL for unlabeled data sets and
          SL for standard  labeled  data sets.

SPACE     The space parameter is used on direct access (disk)  volumes to
          indicate the amount of space to be allocated.  Space may be
          allocated by tracks (TRK) or cylinders (CYL).  Both  a primary and a
          secondary allocation may be used.  If the primary space is exceeded,
          up to 15 times the secondary allocation may be used.  To conserve
          space a release  (RLSE) parameter may be coded.  RLSE requests that
          only that space  actually used for the data set be kept.   As an
          example, to allocate ten primary and five secondary  tracks with
          extra space released, the SPACE parameter would be coded as:
               SPACE=(TRK,(10,5),RLSE)
                                                                (Page 3 of 4)
          Figure 8.1-d - continued.  DD Card Field Specifications
                                     576

-------
E IS/AS
JCL AND GENERAL
TOPICS
SECTION 8.1
IBM JCL
Page 12
Release Date: 2/01/80
Update #:  A-l
SYSOUT    Routes a data set to a specific device, such as a printer or a card
          punch.  Standard values are A for a printer and B for a card punch.
          Consult the local systems personnel for installation values used to
          specify special forms, etc.

DCB       Specifies the data control block (DCB) parameters, such as the
          record and block sizes and record format.   This information is not
          generally needed for EIS/AS.  The subparameters generally used are
          RECFM, LRECL, and BLKSIZE.  They are described as follows:

          RECFM is used to specify the record format.  Values used in EIS/AS
          are V for variable-length records, F for fixed-length records, B for
          blocked records.  The EIS/AS master file has RECFM=VB,  and the
          emission factor file has RECFM=FB.

          LRECL indicates the record length of the file.  If needed, this
          information can be found on the particular file's record layout in
          the User's Guide.

          BLKSIZE is used to indicate the block size (in bytes).   The number
          of records per block may be found in the data division  of each
          EIS/AS source program.
                                                                (Page 4 of 4)
          Figure 8.1-d - continued.   DD Card Field Specifications
                                     577

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 1
Release Date: 2/01/80
Update #:  A-l
8.2  UPDATES

8.2.1  INTRODUCTION

     Changes are made to the EIS/AS programs and procedures  as  necessary to
provide additional  capabilities such as new user-oriented reports;  to meet
changing EPA requirements, such as changes to EPA standards;  and  to correct
program "bugs".  Some past examples of enhancements to EIS/P&R include adding
the ability to add  and delete machine processes and pollutants.   Changes in
the file maintenance program were necessitated by changes in  the  NEDS edit
checking.   Several  program "bugs" which allowed records  to be lost  have been
corrected  in the file maintenance program.

     Whenever changes to the EIS/AS subsystem are necessary,  an update will be
issued by  EPA to make that change.  The purpose of this  and  the following
sections is to provide information on installing these updates.

8.2.2  GENERAL UPDATE INFORMATION

8.2.2.1  Update Numbers

     Each  update is assigned an update number which serves as a means of
identifying a particular program's status.  The updates  are  numbered sequen-
tially starting with 1; i.e., Update A-l was the first update to  EIS/AS.

     All programs in the EIS/AS system print an update message (see Figure
8.2-a) at  the beginning of their diagnostic report.  This update  message
includes the program's name, its revision level, the update  number, and the
date the update was incorporated into the EPA Baseline system.   This
information is necessary for troubleshooting since the update message includes
the update status of the program being executed.  Past problems have occurred
                                     578

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 2
Release Date:  2/01/80
Update #:  A-l
when users compiled new updates but then failed to link edit them and also
when users have not installed updates which corrected known problems.   In both
of these cases, the update message immediately reveals the problem.   The user
is reminded not to remove these update comments since doing so constitutes  a
modification to the system; EPA will not provide troubleshooting assistance
for modified systems.

8.2.2.2  Update Package

     If only a few changes are necessary, the update will  be sent to users  on
cards; otherwise, the update will be sent on a tape.  Each installation should
receive one full copy of the update (tape or cards).  An abbreviated listing
of the modified programs will be included in the package.   This listing (see
Figure 8.2-b for an example) shows all modifications to the programs, plus  the
first and last page of the program source code.

     The update package distributed by EPA also contains an update letter  (see
Figure 8.2-c), an update packing list (see Figure 8.2-d),  and an update veri-
fication form (see Figure 8.2-e).  Additional items may be included; they will
be checked on the update packing list.  The update letter gives both detailed
information on the modifications made in the update and instructions on in-
stalling the update.  If the update is sent on tape, the letter will include
a listing of the files on the tape with information on the number of records
and programs contained in each file.  See Figure 8.2-f for an example of a
listing of a tape update.  Each update letter contains a paragraph reminding
users that NADB is not responsible for any modifications made to the system
other than those authorized to meet a specific computer system problem.

     The update packing list includes information on when the user's update
was copied, the tape number (if applicable), and a checklist of items sent  in
the update package.  If the update package does not correspond exactly with
those items specified on the packing list, notify NADB for needed items.
                                     579

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 3
Release Date: 2/01/80
Update #:  A-l
     The update packing list also includes information on the hardware and
software used by the installation.   This information is necessary  to
provide each installation with a suitable update package.  If there are any
errors or omissions in this information, please notify NADB.

     The update verification form is to be returned to NADB once the update
has been installed.  The form provides NADB with information  on the update
status of your installation.  Such  information is vital when  problems occur in
your EIS/AS system and NADB is contacted for troubleshooting  assistance.

     Additional personnel at your installation may be on the  EIS/AS mailing
list to receive letter-only copies  of updates.  These people  will  receive the
update letter and any updates to the EIS/AS documentation but will  not
receive the tape or cards to install the update.  A checklist for  installing
the update is shown in Figure 8.2-g.  Details on the installation  are found in
Sections 8.2.3 through 8.2.5.

8.2.3  UPDATE INSTALLATION

     The following sections discuss the procedures and systems utilities used
to install an update.  It is recommended that updates be installed as soon as
possible.  If the update has been sent on a magnetic tape, the tape should be
returned to NADB promptly.  If there is a delay in installing the  update, copy
it onto your own tape and return the tape sent from NADB.  NADB  should be
contacted for troubleshooting assistance.

8.2.3.1  IBM Utility IEBUPDTE

     The IBM utility IEBUPDTE allows for the addition, deletion,  replacement,
and modification of modules in partitioned data sets.  EIS/AS uses partitioned
data sets for both the source and the procedure libraries.  The  load library
is also a partitioned data set, but changes are made to it by compiling and
                                     580

-------
CIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 4
Release Date:  2/01/80
Update #:   A-l
link editing modified programs.   A sample listing of an IEBUPDTE  deck  is  shown
in Figure 8.2-h.   This deck is provided with each EIS/AS update.  The update
letter lists any changes the user should make in the update deck  prior to
running it at his installation.

     If the update has been sent on cards, all  modifications to the source
library are included to be run in one execution of IEBUPDTE; procedure
modifications are included to be run in a separate execution.   If the  update
is on a tape, each program is in a separate file on that tape.  Each of the
files can be input to a separate run of IEBUPDTE if time and page limits  are
small at your installation site; if such limits are not important,  all  of the
files can be input to one run.  The control cards are coded so  that each
modified program will be renumbered, beginning with 100 and incrementing  by
100.  It is recommended that you retain this numbering system to  make  it
easier for you to install card updates.

      A listing of each program will be produced, and this listing should be
compared with the listing sent in the update package to insure  that all
modifications were made correctly and that the program has the  correct number
of lines.  In addition, the condition code returned by the computer upon
execution of IEBUPDTE should be 0 and a message should be printed indicating
that the source module was altered.  See Figure 8.2-i for an example of the
condition codes and Figure 8.2-j for an example of the printed  message.

     If you have made modifications to the source programs that cause  the line
numbers to be different from the baseline version, any updates  which change
specific lines of code (as compared to replacing the entire program) must be
examined.  Using the abbreviated program listing (see Figure 8.2-b) and a
listing of your source program,  change the line numbers in the  update  deck to
the line numbers of the appropriate lines of code in your source  program.
This will insure that the update will be correctly applied to your source
program.  For example, if 'MAIN-LOOP.1 is line 1500 of the baseline version,
                                     581

-------
EIS/PS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 5
Release Date: 2/01/80
Update #:  A-l
but is 1502 in your source,  the update statement  specifying  line  1500  must  be
changed to specify line number 1502.   However,  if the  update replaces  the
entire program, the replacement should be made  first;  any  local modifications
can then be made to a copy of the replacement program.   Whenever  local
modifications are made, a copy of the baseline  system  must be kept.  This copy
will be useful in implementing future updates and in testing problems  to
determine if the problems are in your modified  version or  in the  NADB  baseline
version.

8.2.3.2  Run Stream for IEBUPDTE

     The update deck contains all of  .the necessary JCL statements (excluding
the job card) for executing  IEBUPDTE.  Upon receipt of the update,  process  the
update deck through an interpreter or an interpreting  keypunch.   A listing  of
the update deck is included  in the update package; the user  should  verify that
the cards he receives are exactly as  listed (see  Figure 8.2-h for a sample
1isting).

     The data set names (DSN=data set name) on  the SYSUT1  and SYSUT2 DD cards
must be changed to reflect the user's data set  names  if they are  not
identical.  Thus, if the user's source library  is 'F734.CDHS.AREA.SOURCE',  the
cards should be changed to the following:
          //SYSUT1 DD DSN-F734.CDHS.AREA.SOURCE,DISP=OLD
          //SYSUT2 DD DSN=F734.CDHS.AREA.SOURCE,DISP=OLD

If the user's source modules for the  EIS/AS programs  differ  in name from  the
baseline (e.g., if the numeric names  rather than  the  alphanumeric names are
used), those names must be changed on all control statements.  Thus, if the
card
         ./REPL NAME=CRPMSTR,LIST=ALL

is included in the update deck and the user's  version  of the master
file detailed report program is stored under the  name  EC0130 rather than

                                     582

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 6
Release Date: 2/01/80
Update #:  A-l
CRPMSTR, the card should be changed to

          ./REPL NAME=EC0130,LIST=ALL

     A job card must be added prior to running the IEBUPDTE run stream.   If
several programs are to be modified in one run, specify sufficient time  and
page parameters on the job card.

8.2.3.3  Non-IEBUPDTE Updates

     Some IBM installations use software packages such as ADR LIBRARIAN  or
PANVALET that have their own methods for updating.  Installations which  use
these packages should consult their systems personnel  for information on
installing the EPA-distributed updates.

     Non-IBM installations have different utilities to facilitate updating.
For example, UNIVAC has an @ELT processor; CDC, the MODIFY and UPDATE
utilities; and Honeywell, UTILITY.  The user should consult his installation's
systems personnel for information on these utilities.

     An update package can be tailored to a user's individual needs if he
provides NADB with information about his installation's exact specifications.
The update packing list notes the specifications that  have been reported to
NADB; the user should inform NADB of any errors or omissions in this
i nfonnation.

8.2.4  COMPILING UPDATED PROGRAMS

     Once the IEBUPDTE procedure has been successfully performed for each
program, all modified programs should be compiled and  link edited.  There is a
cataloged procedure in EIS/AS to execute both the COBOL compiler and the
linkage editor:  ECCLC10.  See Section 8.2.4.1 for instructions on using the
procedure.

                                     583

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 7
Release Date: 2/01/80
Update #:  A-l
     After the compile and link edit steps have been executed,  the  condition
codes for each should be checked to insure that they are  either 4 or 0
(see Figure 8.2-k).   Also, any error messages from the  compile  step (see
Figure 8.2-1) should be inspected.   If the return  code  is not 4 or  0 for  any
job step, contact personnel  at NADB and forward the listing  of  that job to
NADB.  Warning messages (W)  do not  cause the compile to fail, but all other
messages (C, E, or D) do.   The printout from the linkage  editor should
indicate that the load module was added to or replaced  in the data  set  (see
Figure 8.2-m).

8.2.4.1  Cataloged JCL (ECCLC10)

     The cataloged procedure ECCLC10 allows IBM users to  compile and link edit
the COBOL programs in their source  libraries.   The standard  IBM ANSI COBOL
compiler program IKFCBLOO and linkage editor program IEWL are executed  by this
procedure.  The actual version/level of the compiler that these programs  call
is installation-dependent.  Information on the compiler version/level will  be
printed when the procedure is executed (see Figure 8.2-n).

8.2.4.1.1  JCL listing - Figure 8.2-0 shows a listing of  the cataloged
procedure ECCLC10.

8.2.4.1.2  User-supplied JCL - To execute ECCLC10, the  user  must supply the
names for the source and load modules of the program being compiled and link
edited.  See Figure 8.2-p for a description of the procedure's  substitutable
parameters.

8.2.4.1.3  Sample run stream - The  following run stream compiles and
link edits the COBOL program CEDMSTR (EC0040).  The source library  is
CN.EPALMH.A087.CDHS.HQ.AREA.SOURCE  and the load library is
CN.EPALMH.A087.CDHS.HQ.AREA. LOAD.
                                     584

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 8
Release Date:  2/01/80
Update #:  A-l
// EXEC ECCLC10,
//      SOURCE=CEDMSTR,
//      LOADMOD=CEDMSTR

8.2.5  TESTING MODIFICATIONS

     Once all modifications have been made to programs and procedures,  it  is
recommended that tests be run to insure that the update has been successfully
installed.  The EIS/AS baseline test run series contains tests of all  programs
and procedures.  The volume of the data in the test series is much smaller
than in the live data files most states maintain.   Running tests with  these
smaller files means lower costs; also, there is no risk of destroying  live
files should the tests fail.  The EIS/AS master file, and the parameter,  site,
and parameter standards files created in the test  run series could be  stored
on tape and used for testing updates.  This procedure would allow any
desired program to be tested without requiring that the entire test run series
be run to create these files.

8.2.6  COST CONSIDERATIONS

     The estimate given here is for a program with 3800 statements and an
update deck containing 107 cards.  This update was installed using an  IBM
370/168.

IEBUPDTE
            CPU time:
            I/O time:
            Total time:
                   2.1 seconds
                  20.3 seconds
                  22.4 seconds
            Estimated cost:
                 $9.65
                                     585

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 9
Release Date: 2/01/80
Update #:  A-l
Compile and Link Edit

            CPU time:                          22.7  seconds
            I/O time:                 1 minute 36.5  seconds
            Total  time:                1 minute 59.2  seconds

            Estimated cost:                    $25.43

8.2.7  WARNINGS AND SPECIAL  INSTRUCTIONS

     Each user is  reminded not to make any modifications to EIS/AS other
than those released or approved by NADB.  Only the NADB baseline version of
EIS/AS will be supported by  NADB.  All modified versions (unless authorized to
meet a specific computer system problem) must be supported by the organization
which performs the modification.   NADB has begun a practice of inserting
comments in the programs affected by updates.  These comments will allow the
user to inform NADB of the update status of a particular program in case of
problems.  The user is urged not to remove these comments since doing so
constitutes a modification to the NADB version.

     If the user wants to make modifications for his own purposes, he should
make them to a copy of the baseline system.  He should, however, always
maintain the baseline system with no changes.  This  will give him an
opportunity to test problems against the baseline system.  If there is a
problem and the problem is reproduced in the baseline,  the user should report
the problem to NADB.  If the problem occurs in the modified version only, it
is the user's responsibility to correct that problem.

     Once the updated programs have been tested, they may be incorporated into
the production system.  If the update includes modifications to file
structures, programs and instructions for making the file conversions will  be
sent with the update package.
                                     586

-------
E IS/PS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 10
Release Date: 2/01/80
Update #:   A-l
     The update verification form (see Figure 8.2-e)  should be completed and
sent to NADB as soon as the update has been installed and tested.   Any changes
in personnel should be included on this form.  Also,  all  NADB tapes should be
returned as soon as possible.

     Once the update has been  completed, all  people who use the system should
be informed of any effect the  modifications will  have on their work.   You
should also make sure that they have incorporated the documentation updates
into their manuals.

     If there are any problems in installing the  update, contact NADB for
further help.
                                     587

-------
EIS/AS
JCL AND  GENERAL
TOPICS
SECTION  8.2
UPDATES
Page  11
Release  Date:  2/01/80
Update #:   A-l
                        PKOtJW&M NAMfc: CKPIJIIIK
                        WhVISinN LFVFL:  l-ill)
                        l/VSI IIPP«TF »: A-l
                        OATt IVC'IKPOfATtO; FEbRCAKV t,  1980
                  Figure 8.2-a.   Sample Update Message
                                        588

-------
EIS/AS

JCL AND GENERAL

TOPICS
                                SECTION  8.2

                                UPDATES
                               Page 12

                               Release  Date:  2/01/80

                               Update #:   A-l
     ; c. c c - r* r — — r-i.
     ."v"'"3-J"£^^0'C— 'X *">
     C. — — i O ™ C o — -—!«.-•
                                          — •VK-^j'^.^tCO-c — 1\,*^CJ*£'*-3tO-O— C ("K f",
                                          *\j'X)rxi''\)'V'VX''Xru^''^"O*'>"''i'i'^''^v^*/'''*"3^'\J:3'^
                                          SCCCCCCC-OCC — CCCCCCCCC.OC i
          < O ^ <
          rearer— u- —
          Jj U JJ Jj -t i >
                                 I
                                s —
       c r
       c. :
c -« c
u »
— o z
cr. c C
      * ~- < I I  ~ .  < ^
     U2"U3"Z  «2:£n    u.
                            • c
                           z —
                           c c a £ i
                           •- ^ C C
— a  i i*
J T  t _J

a. CO  — S
I U  U U
K jj  < uj
—» 2:
C. 3
X •—
t- u I
UJ < <
I J_
W I
i -z
-c ~ :
                                                    a:
                                                    r-
                                                   4 05
                                                    LJ
                                                    jj *-
                                                   .' i er,
                                                    « —
                                                    I _l
                                                    a i
                                                    r z
                                                             ,jj 0?
                                                             i h.
                   : — a: co a:
                                                                                tf. "Z
                                                                                C »
                                                                                2: co
                                       — c E  y   cr
                                       O X " 2 ^ ?r 1
                                               ts   ^   c:  c

                                                                          - ,1. p
                                                                          : ff 3.
                                                                          I < Z
     U«UJL.a<^.3:  ra:
     II II O
                      — c 3 t a.
                      ;« c t^ c; u-
                      z _)
                                             v.   tn  cr.   V)   v,  tr.  v.
     "£. 3

     ^ '-O
      j. I
      C Lo
                 Figure 8.2-b.   IEBUPDTE Output-Program Listing
                                                                              (Page 1  of  2}
                                               589

-------
EIS/AS
JCL AND  GENERAL
TOPICS
SECTION  8.2
UPDATES
          Page 13
          Release Date:  2/01/80
          Update #:   A-l
            *- r i? c — *<* -<• -ff  i r
            a"*:c';«rcr«r^^«s«'^. i
            1 — i—«*L—*2— —<  cj:
            I C: t C i "  l c: C: "% ZL y.
                                       < o
                                       < ^1
                                                       T ~ •— tr
                                    crick-L-c*-uZ'
                                       <  i <  oj <
                                      •^TiCO^I^rT

    *- c
    £ u
_' C. X JC —

                                                    • —  a. c   i —
                                                                 a. r i
                                                                 a •— —
                                                                 E X' -I
                                                                 x a it
        Figure 8.2-b  -  continued.
      IEBUPDTE Output

        590
             (Page 2 of  2)
     Program Listing

-------
     EIS/AS

     JCL AND GENERAL

     TOPICS
                   SECTION 8.2

                   UPDATES
Page 14
Release Date:  2/01/80

Update #:   A-l
  DATE:


SUBJECT:




  FROM:
     UNITED STATES ENVIRONMENTAL PROTECTION AGENCY



EIS/P&R Update 27

Lloyd Hedgepeth, Environmental  Engineer
    TO:
EIS/P&R Users
                   Enclosed is the package for Update 27 to the  EIS/P&R  system.
              Please note that the full  update package is sent to  only one  person
              at each installation, but  copies of this cover memorandum  are sent
              to a number of people who  need to be informed of program and
              documentation updates.  The Update Packing List shows what your
              package contains.  If the  hardware or software information on the
              form is not correct for your installation, please  notify me.   This
              information will be used to provide you with an update  package most
              suited to the needs of your installation.

                   This update consists  of four new programs, three new  cataloged
              procedures, and revised versions of three existing
              programs.  The new
              programs and cataloged procedures comprise the EIS/P&R  Quick  look
              package.  The Quick Look package enhances the users' retrieval and
              report capability, and provides a turnaround document for  the
              master file.  The three revised programs affect the  processing of
              the measured and estimated emissions fields, and correct problems in
              the file maintenance progrm.  See Attahcment I for information on
              all modifications made by  this update.

                   Update 27 is released on tape recorded at 1600  bpi with  a
              record size of 80 bytes and a blocking factor of 50  (4000  bytes  per
              block).  The tape contains ten sequential  data sets.  The  first
              three data sets contain revised versions of existing programs.   The
              next four data sets contain the new programs.   The last three data
              sets contain the three new cataloged procedures.   See Attachment II
              for a list of the contents of these files.

                   For users with standard IBM utilities, an update deck is
              enclosed, along with a listing of the deck.  This  deck  may be used
              to execute the IBM utility IEBUPDTE to update your source  and JCL
              libraries.  This deck should be tailored to your particular
                               Figure 8.2-c.  Update Letter
                                                               (Page 1 of
                                         591

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2
UPDATES
Page 15
Release Date: 2/01/80
Update #:  A-l
       installation.   For example,  it  assumes  that  the  source and JCL
       libraries are  named CN.EPALMH.A087.CDHS.HQ.PNR.SOURCE and
       CN.EPALMH.A087.CDHS.HQ.PNR.JCL,  respectively.  You  should replace
       these names with  the correct data  set names  for  your installation.
       Users who use  standard  IBM utilities and  receive the update deck,
       also receive an update  tape  in  which appropriate IEBUPDTE control
       cards are included in each data  set.

            For users who do not  use standard  IBM utilites, no update  deck
       is enclosed and the update tape  contains  no  IEBUPDTE control  cards.
       These users should use  their own utilities to  udpate their source
       and JCL libraries.

            You are vemi.nd.ed not  to make  program modifications to EIS/P&R
       other than those released  or approved by  NADB.   Only the NADB
       version of EIS/P&R will be supported by NADB.  All  modified versions
       (unless authorised to meet a specified  computer  system, problem) must
       be supported by the organization whih performs the  modifications.

            NADB inserts update status  coirnents  in  the  programs affected by
       udpates.  These comments are printed each time the  program is run
       and allow you  to  inform NADB of the update status of a particular
       program should you have problems.   You  are urged not to remove  these
       comments as removal of  any comment is considered a  modification to
       the NADB version.

            If you wish  to make modifications  for your  own purposes, you
       should make them to a copy of the  baseline system*  You should,
       however, maintain the baseline  system incorporating only those
       changes distributed, by  NADB. This will give you an opportunity only
       those changes  distributed  by NADB. This  will  give  you an
       opportunity to test prblems  against the baseline.   If you have  a
       problem, and the problem is  reproduced  in the  baseline, please
       report the problem to NADB.   If the problem  occurs  in the modified
       version only,  it  is your responsibility to correct  the problem.

            When you  have installed the update in your  system, please
       complete all items on the  enclosed Update Verification Form and
       return it to rne.

            If you need  further assistance or  additional information,
       please contact Mr.  Lloyd Hedgepeth at  (919)  541-5491 or Mr. Larry
       McMaster at (919) 541-6821.
       Enclosures


                                                           (Pace 2 of 4)
                    Figure 8,2-c -continued.   Update Letter

                                    592

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 16
Release Date: 2/01/80
Update #:  A-l	
                                Attachment I

             Improvements Incorporated in Update 27 to EIS/P&R
    1.  CXNEDSCV, the NEDS point source to EIS/P&R conversion program,
        modified, so that for pollutants with estimation method of 1
        (measured), the NEDS emission estimate field will be placed in the
        measured emissions field on the EIS/P&R 13 transaction.  For all
        other estimation methods, the NEDS emission estimate will  be placed
        in the estimated emissions field on the EIS/P&R 13 transaction.

    2.  NXNEDSCV the NEDS point source output program, was modified to allow
        the measured emissions field from the EIS/P&R master file to be used
        for the NEDS emissions estimate field for NEDS pollutants with an
        estimation method of 1.  For all other estimation methods, the
        estimated emissions field from the EIS/P&R master file will be used
        for the NEDS emission estimate field.

    3.  FXFILMNT, the file maintenance program, was modified to accomplish
        the following:

             A problem of allowing duplicate pollutants for a point or was
             corrected.  If an add transaction contains a pollutant which
             already exists on the master file, then the entire set of
             transactions (i.e., either a set of 11, 12, 13 transaction or
             21, 22, 23 transactions) will be rejected and an error message
             produced.

             A problem of rejecting 30 add transactions when segment 1 or 2
             transactions were run for the same point was corrected.

             The estimated emissions field need not be nonblank for an
             estimation method of 1 on a 13 transaction.  This modification
             is coordinated with changes in CXNEDSCV and NXNEDSCV related to
             estimation method 1 (See number 1 and 2 above).

    4.  The EIS/P&R Quick Look Package is released.  This package consists of
        four programs:  the Quick Look Edit program, QXQLEDIT; the Quick Look
        Retrieval program, QXQLRETR; the Quick Look Report program, QXQLREPT;
        and the Quick Look Turnaround Document program, QXQLTURN.   Three
        cataloged procedures are also released to execute these programs:
        PNRQLRTR, PNRQLRPT, and PNRQLTRN.  The quick look package enables the
        user to generate reports in user-defined format.  Selected records
        may be retrieved from the master file for inclusion in these reports.
        The quick look package also includes the capability to produce a
        turnaround document for user-selected master file records.  The quick
        look package is documented in Addendum 3 to the EIS/P&R User's Guide.
        This addendum is included in this update.

                                                                (Page  3 of 41
                      Figure 8.2-c  - continued.   Update Letter
                                     593

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 17

Release Date: 2/01/80

Update #:   A-l
                               Attachment II

               Contents of the EIS/P&R Update 27 Release Tape
    File       Contents


      1        CXNEDSCV, the NEDS point source to EIS/P&R conversion
               program

      2        NXNEDSCV, the NEDS point source output program

      3        FXFILMNT, the file maintenance program

      4        QXQLEDIT, the quick look edit program

      5        QXQLRETR, the quick look retrieval program

      6        QXQLREPT, the quick look report program

      7        QXQLTURN, the quick look turnaround document
               program

      8        PNRQLRTR, the cataloged procedure to execute
               QXQLEDIT and QXQLRETR

      9        PNRQLRPT, the cataloged procedure to execute
               QXQLEDIT, QXQLRETR, and QXQLREPT

     10        PNRQLTRN, the cataloged procedure to execute
               QXQLEDIT, QXQLRETR, and QXQLTURN
                                                           (Page 4 of 41
                Figure 8.2-c - continued.  Update Letter

                                     594

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 18
Release Date: 2/01/80
Update #:  A-l
Update #:_
Name:
                             UPDATE PACKING LIST
                       Date:
                       Tape #:
Date Copied:	
Date Mailed to User:	
Update #:	Returned: YES      NO
Type of Hardware:	
Software Configuration:
                       Date Listed:
                       Date Returned:
Special Instructions:
Tape Enclosed:_
Tape Contents:_
Update Deck:
Update Verification Form:
Documentation:
                  Tape or Update Listing:
                  Problem Reporting Form:
                  Update Deck Listing:	
                  Update Packing List:	
                  Update Cover Letter:
Verified by:
                      Figure 8.2-d.  Update Packing List
                                     595

-------
EIS/AS
JCL  AND GENERAL
TOPICS
  SECTION  8.2
  UPDATES
  Page  19
  Release  Date: 2/01/80
  Update #:    A-l
             UPDATE NO..
    UPDATE VERIFICATION FORM

   AQDHS-II	   EIS/PS_
EIS/AS.
             DATE UPDATE PERFORMED.
             DATE AFFECTED PROGRAMS COMPILED.
             DATE AFFECTED PROGRAMS LINK EDITED.
                                         PERSONNEL CHANGES
             NEW EMPLOYEE (NAME)

               ADDRESS 	
                            . TELEPHONE .
               REPLACES (NAME)
               TO RECEIVE
                 FULL UPDATE ,
AQDHS-II.
                    E IS/PS.
                                     EIS/AS.
    .LETTER ONLY UPDATE.
                                                                 , CDHS USER'S BULLETIN
             ADDRESS CHANGE (NAME) .
               ADDRESS 	
                            TELEPHONE.
                                    (For additional listings, please use blank sheet)
             SIGNATURE.
                                                           DATE
             RETURN TO:    Lloyd M Hedgepeth
                          National Air Data Branch (MD - 14)
                          Environmental Protection Agency
                          Research Triangle Park, N.C. 27711
                           Figure 8.2-e.   Update Verification  Form
                                              596

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 20

Release Date: 2/01/80

Update #:   A-l
                                Attachment II

                Contents of the EIS/P&R Update 27 Release Tape
     File       Contents


       1        CXNEDSCV,  the NEDS point source to EIS/P&R  conversion
                program

       2        NXNEDSCV,  the NEDS point source output  program

       3        FXFILMNT,  the file maintenance program

       4        QXQLEDIT,  the quick look edit program

       5        QXQLRETR,  the quick look retrieval  program

       6        QXQLREPT,  the quick look report program

       7        QXQLTURN,  the quick look turnaround document
                program

       8        PNRQLRTR,  the cataloged procedure  to execute
                QXQLEDIT and QXQLRETR

       9        PNRQLRPT,  the cataloged procedure  to execute
                QXQLEDIT,  QXQLRETR, and QXQLREPT

      10        PNRQLTRN,  the cataloged procedure  to execute
                QXQLEDIT,  QXQLRETR, and QXQLTURN
                                    597

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 21
Release Date: 2/01/80
Update #:  A-l
       Verify that package contents are correct
       Copy tape update onto private tape (tape update only)
       Return NADB tape (tape update only)
       Install documentation updates, if any
       Interpret update deck
       Run update utility to modify source  programs
       Verify program updates
       Compile and link edit all  modified programs
       Verify that all compiles and link edits are correct
       Run update utility to modify cataloged procedures  (if  applicable)
       Verify procedure updates (if applicable)
       Test modified programs and procedures
       (move procedures to system library)
       Return completed update verification form
       Backup complete system
               Figure 8.2-g.   Checklist for Installing Update
                                     598

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
                                                    Page  22
                                                    Release  Date: 2/01/80
                                                    Update #:   A-l

           ./  DLU.H. :,(
          /*
                   	1(J'I LLVtL i-Ul.
      ..  JiljTALLLf) ()'»/
-------
 EIS/AS
 JCL AND  GENERAL
 TOPICS
                                        SECTION 8.2
                                        UPDATES
                       Page  23
                       Release  Date:  2/01/80
                       Update #:    A-l
                    LAST ACCESS AT  10811:5(1  UN HO.
                            t7 A=AOH7 FH=<6
                            - C1 ASS t
ICH70001I KPAhMH
H»riNII; USEHrFi'AwMrt GH
»MASP373 STARIFl)  -  1NII
        ALl-UC.  FOc  tP«*MHUP
        JES2  nLLOCATFU in SYSPRIMI
ltFI F.PAiV^bllP  -  STEP WAS FXFCUIFO  -
                                                                                O'l APM  RII
                                         UINIJ  C»I>E  0000
                                                         KH'I
                                                         SYS IN
          rN.t,PALMH.M)87.cmiS.H7
f n o n (i : (i

OV|U i>ub«AP
0 VlO ?l S'MAP
U4 PARt SFCUNOS ^S.SS
SIFP Al PWlflHlIY 3/S/^:
F i: n DISK, n 1 API ;
FUR SIFP UF JUM FPAHMHIJI':
(U 1 !


c, unuf
0 (MHtH
li




A
A
A
A
A
RFSIOFNt 3f CU'JhS •
M.
*D.
M .
'»!
on
•vi
A
A
A
           VuL  StH  ^.US= CDriSHK.
                                                         KfPI

                                                         KhtM
UF^Hsr
ILF Wbl
WCC949!
          vul  Se.P  NIIS= COHSPK.
         JIIH  /t^fAnN.rtUP/ SIAKl 8(J'I9S.1S?S
         jriU  /FHAl»MHUP/ SI'IH  f»U(W-,. 1',^^  CPU    'I «i IN (i 1 . r
        A AAA«A* AAA A A*A AAAA (,UMN(.1 -  SYSMM  (,{',!,? - JUH S11 r« H M< Y  «A«»*«
        *  IUH  FHA;v"HUP,    1  SIFPS
                                             4. in
                                                    i M  run
WCC VI:l'i
           START  O'l/O'l/MO Al lr-,:?S:l«
               l:'!7.a'4 FLAHSbl'    HIIll.^S  MM
                1C:   on on   «

               . 7f-  U.I (jlll-IIL *
 SlnP On/oa/rtu  Al  IS:<"v:n'j
.^ ^ SKU    n:n i .IIH  nu  ( IM
                   f  HF.IJ/WCD/CHO:   3/5/i
            miAL  CUU CHJt-'l,F FilN .Illfl f HAw^HUP!
            WI;IMT  ruAHf^s:      ii  oi/i«,      i
            |II|»L  COS I  Flip Jill) FPAnMIHIf,  «Cri!llUI
                                                                                                   SYb
                   Figure  8.2-i.    Condition  Codes  for IEBUPDTE

                                                  600

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 24

Release  Date:  2/01/80

Update #:   A-l
            • C = rcccc:==-s
                                                                                               O
                                                                                               •r-
                                                                                               +J

                                                                                               O
                                                                                               •I—
                                                                                               «4-
                                                                                               •i—
                                                                                               •o
                                                                                               O
                                                                                               a
                                                                                               a.
                                                                                               ca
             if,  f,   K  cr tr :?
           — rxr-florZw*
            I 2 I i I  E I Z — >
                                      r~ «I

                                      I -J
                                          <<••««  -a*
                                                        •  I ~ < <  u.
                                                        • L.' « ? 2 — I
                                              cc£ur>-ue'£zr i —
                                               •- I  (_^ I  ^ ** I < I  U.' I
 ^«c-^coia«  '-JK  '^er   ci^:      ^c

 aat-rzurz — z'z»-z.'zT.:b.?       e
 —   ii^tijjijji^s  — j •    ao
 ur«»-«(.>--^y5'O	«*-sw:—ijr««z     scr.
                                                           O


                                                           O
                                                           •r—
                                                           •)->
                                                           
-------
EIS/AS

JCL  AND  GENERAL

TOPICS
                                       SECTION  8.2

                                       UPDATES
Page  25

Release Date:   2/01/80

Update  #:     A-l

                    — — -* -u "U r- »"•
                                                                   •xj^y^^r'^^inj-j- .n.rj-'Lr.r.r.r.r.Ptrj"''
                                                                    C'OCXOCcCffXXatfltCfXttltX.oCiSa.ereC*^!
                                                                                                                                 CM
                                                                                                                                     S-
                                                                                                                                  0 O
                                                                                                                                 Q. -O
                                                                                                                                 .—UJ

                                                                                                                                     CD
                                                                                                                                     cn
                                                                                                                                     to
                                                                                                                                     -o
                                                                                                                                     c
                                                                                                                                     fO
          X Jt


          " £;

          n —
c-aao.tr,- n -a.
                                                                              ^   ^ U.   -L-   u.   u.    u.
U. .-  II  r Z tl 'J"  II  < ~



II II  r  2 II -- II  ~  C. (X '

ctr>-~LT»^&">-Z!r :
i.±«ii^:cy.  Zy.

i  i  »  i i I  >  i  r x •
               jrs-zss^a:^   oZa=:_'ii-^i5^o^"-

                                -

                                                                                     x    E   —   r    i   cr
                                                                                     a:    r:   r   z    ^    •
                                                               K W. U.

                                                               c 2: tr.
                                                                                                          o- a
                                                                                                          o- ?•
                                                                                                          c c
                                                                                                          o ^
          ^jii^i?3O^a:ja-^=                          'i*j   i,   i.-^xCr^x^i-^i'^i.r^iailjx   «^-^


          i— I— >—•-"-<—*-*- 5. H-CL1— —                           ^iC^CXC    CC.CCX^-'vX.
          v)*.*5'y;tf;tf)(/3yijtj:—••a'Cl.'OO'Z — 2 c c c O s ^ ( ^? n l H  "'* H * ?t  n  *o ti "•, n i^ n ^ n s  it to u
          ±Trro^rs!rr2'-t    rc.u.u.'u.uju.u.u.'Uu.UJL.UJtn   *- et L. er  — trr^-«— cr — y — tr — in « v > w:

          v, v tr, ;^   * 2 c  •  ^   .5  .5   »i  *^rf>«,
                                _jii(_'uUwU'ou^-j'jurw;C;JX    •    ^   =co-    y   o   o-   7-   z     •
          __.~».»-»-p-i-i-t   <   CLC-CCCCCCCC^CC      ccccaro-a^aao-3:o-j:aao-cr_jsrtio:3a.
          Lru'iririTLri/'iracra.u.   _-j—»->-!—. -'_j_j*j» j    c  •w^-cocco
          -Ci-r-r«^£^C-c_*h—  •«j '
                                 r:«w — — 'NJ-Jt X-^T  X X>X-^>-i.

                                                                                               s z o >- O a. a
                                     

                                                                                                                           3
                                                                                                                           O)
                                                             602

-------
EIS/AS

JCL  AND  GENERAL

TOPICS
                                 SECTION  8.2

                                 UPDATES
                                                         Page 26

                                                         Release  Date:  2/01/80

                                                         Update #:   A-l
                                                                                                                CM
                                                                                                                CM
          o o x
              .%
          •-co
          •- c s
          X C •"
«• e s» i
«-   a>
                   o =       j. «
                   <\ f     >- a. a.
                           — < *j

                           x   x
                           r e c

                           a
                           i   a.
          c c c    ic
          — -.(_-    —«
          > > u.    c
             /5      I
          c e      c c
             li,  1  U
                       a       u.'
                           i   r-
                       V   u-   IT.
CO CO ;



3 i
                   ? r
                   — o
                   r «


                 2  "

                 U 2 J
                 r i r
                                                                                                    n
                                                                                                    3
                                                                                                                s,
                                                                                                                - c
                 cs^   -icx^?   •   •
                 vt tr, v,   ift V. tr.< tn    •-  v,
                 •*•>•>•   ^>>->-i.  ei»-
                 6C V. Vj   Vt V V. '>   > •* eo — ? rv C  •(!•
— — — —     <>-i   i x r = < — *— •_•
        I      CA      ft   _t   e-   A   i
O O 2 £   2: II • II X H ^ II X II •*" H e? H !

— «-— i-ijSiU3J333«3— 3  •
<<<<»rrzzi-2>z>z  .21
UUUu>_l=   T  1C    •    >   O   X.
                                                                                          — e
                                                                                     < 0- >-
                                                                                     i .r * :
                                                                                      • *.«•>
                                                                       9 UJ <
                                                                      i e v. a
                                                             > K 3 —
                                                             • > «; c
                                                              •  r

                                                             .' j jj ->
                                                             . ^- tr.  •
                                                              U  X
— sr

 • 2
y   c
9 Or it* i
9 OJ <
                           *r\iWK'i^f^rvefiiM"5»»*
          c o o o > o = i
          IT IT IT if B If If I
          0» ^. o» cj. y. > ^. /
          U k^ U U U U U I
          u u u u u u u .
          z 2 K 2 r r i :
                   1A \f a a i
                  • * 0- 9- » i
                  J U (J C' U I
                                             .r»r»rvj-r'in/>y>'y^^i/ -f ;
                                             ' "  - - -       cctcsctacliacicco-xii
                                                                                                          &
                                                                                                          o
                                                                                                         o
                                                                                                                   10
                                                                                                                   
-------
   EIS/AS
   JCL  AND GENERAL
   TOPICS
SECTION 8.2
UPDATES
Page 27
Release Date:  2/01/80
Update #:   A-l
ison
                            &U_
                                         SF«f51MI, KIH.I) M|l,Mr HAvF JIR H]RH
                                                                         Of(,Jf
                      A1FI1.
                     Figure 8.2-1.  Error  Messages from Compiler
                                         604

-------
E IS/AS
JCL AND GENERAL
TOPICS
SECTION 8.2
UPDATES
Page 28
Release Date: 2/01/80
llprja-t-f 4 • A 1
                                                                                                             —  »'/7i  — — T
                                                                               T

                                                                               u
                                                                               X
                                                                               -I
                                                              

                                                             I

                                                              o

                                                             -5
                                                       X
                                                       I
                                                 r-    r^    «c  S
                                                                                                                                                                  ra
 » X.

r- C
jj -0

—I i
                                                            £ i.'    xx    s    S    i
-j n  .
C _  .
z .z
•- c
                              t/3 C
                              T r
                                                                            2    i
                                                                            r    3
                                                                            l_    L.
r x  c cc
— —  *\j x
*- c  c c
                                                                                                                                        c «
                                                                                                                                        'V -J
                                                                                                                                        L, a.  v.
                                                                                                                                        r j. —
2 — —
a, cr. «
_i Z Xf

-J I X
*• t- c
— « r
c * ^
                                                                                                                                                                  E
                                                                                                                                                                   I
                                                                                                                                                                 CVJ

                                                                                                                                                                 CC3


                                                                                                                                                                  £
                                                                                                                                                                  13
                                                                                                                                                                  01
                                                                         605

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 29

Release Date:  2/01/80

Update #:   A-l
                                                                                o>
                                                                                en
                                                                                
                                                                                OJ


                                                                                c
                                                                                o

                                                                                I/)

                                                                                O)
                                                                                O
                                                                                O
                                                                                c

                                                                                CVJ

                                                                                00


                                                                                §
                                                                                en
                                      606

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.2

UPDATES
Page 29

Release Date:  2/01/80

Update #:   A-l
                                                                                O)
                                                                                en
                                                                                to
                                                                                in
                                                                                to
                                                                                O)
                                                                                S-
                                                                                Ol
                                                                                S-
                                                                                O)
                                                                                E

                                                                               OJ

                                                                               CO

                                                                                t
                                      606

-------
EIS/AS
JCL AND  GENERAL
TOPICS
                    SECTION  8.2
                    UPDATES
Page  30
Release  Date:  2/01/80
Update #:    A-l
     //* LPALMH/AOK/   HtlM.t»'tlH.  UUTD  W.   ( 9 1 V ) S'l 1 -b«'M
     //*
     //*    PkOCFUIlKt I'lAMe :  tCCLCJO
     //*    hi VISIDH LLVLL:  1-00
     //*    I.ASI  UPDAfh  *:  A-l

     //*
     //*
     //*    IHIS  PKllCHH/Kf-  ALLOTS  I HI USl rt  In  f.OMPJLI- A'in  Lli."\-H;H
     //*    Pfvi.it.KAMS
     //*
     //*
     X/tCCLClO PkUC PltllJf-L Is'CN.tPALMH.AOH7.CI'HS.HU.AktA ' ,
     //               PAwAn='l>MAP,{,XKf.f- ,L1H,S I /t = ) l'IK»Hl/h=30K, S I A I I ,H Oiv= 10 ' ,
     //
                      SI
    M/rMiLLr

    .SUtlKCEsNUI.l. ,
     //
     //*
     //CDHIiL    txlt t'l,Mr IKHCHLOO,

     //                PAHMs'i
    //* tXFCUIt  CHMUL  CMUPILLk
    //*
    //SVSL1M      I'D DSiVAHtsuPHiMfcC I . .SOIHVLt»
    //                VULU.'if- = (P'<1 VA It ,l«fc I A JIM) ,
    //                01SP=(.SMK,PAS.S;
    //*
    //* I'lPIII  DAI A SF I  - HOilKCF- MilUULt
    //*
    //SYMIJ       hi) l)SNAM|-=K,PkiiJtt'I..SilUkCLl
    //                VliUll'fc = lPWj v/Hf ,Kf (AI'J),
    //                OlSi's ( SIIK, PASS)
    //
    //
    //*
    //
    //
    //
    VHLIIlIf =U'!VI VA I t- ,IVh F« I "O .
    d I S^= ( SHK'» I-ASJi)

Ol)  11H •««•'!. =»,Phl) H C I . .-SiiDltLt ( > i i i ) ,
    VULM l O (I
                                                                       OOOOOSOO
                                                                       000 00MM)
                                                                       'Ml 000 /(Ml
                                                                       0 U 0 0 0 H 0 0
                                                                       0 0 0 (; 1 0 o 0
                                                                       0(100 1 1 00
                                                                       00001£00
                                                                       oooo i «? 500

              00002SUO
                                                                       0 O 0 0«? 7 0 0
                                                                       OOOOrMliO
                                                                       0 0 0 0 ^ V 0 0
                                                                       0000300')
                                                                       00003100
                                                                       0000 J«?(MI
                                                                       00003400
                                                                       oouojbtio
                                                                       I'O(M) ihOO
                                                                       0 ') 0 (M 7 0 0
                                                                       00003MOO
                                                                       0000 5900
                                                                       0 II 0 0 '4 0 0 0
                                                                       (Mill I)') 1 (M>
              OOOO'I <0(l
              (MMMI .| l| (III
              o o o o «i ii y
              
-------
EIS/AS
JCL AND GENERAL
TOPICS
                                SECTION  8.2
                                UPDATES
Page  31
Release Date: 2/01/80
Update #:   A-l
                       UlSP=(SHK,PASS)
                       VUt (I ^ = (
                                      C I . .SllUKCt (
                                   VA If , Kh I Alu) ,
                              =HPH(),ILC I . . JjiiUHtl (*•<«! )
     //*
     //            on
     //*
     If
     //*
     //*
     //            DD  |)SUAME=fcPPu.l{ U . .SilUUCE (
     //                VLil Ili-t =(PW| VAU , HE 1 A IN) ,
     //                Ul3P=lSMH,PA8S)
     //*
     //*  ODIPUI  DAT/i  SL I   - UitJttl  MiDULE
     //*
     //SYSL.IN     1>L)  l>Stx = X,MIHJI'.[il>,iJw 11=*. I tMC,
     //            SPACE = (LYLf (S,t?)f MSf-)f
     //*
     //*  1.JPU1/IIUIPM1  OAIA fiEIS  - .SYSIt'1
     //*
               Jl   01)  t>YbUUl=A
     //*
     //*
//*
X/SYSliI i
//
//*
                   01)  U'jJ )=*, IL'-'P,
                   01)  UNI I = 1
                       I U l = (
                       UM1 1 = ( \ It HP, a J ('=( SYSill I , St Htil f , SYSUl S) 1 ,
      //*
      //*
      //*
      //thl.U    fcXf.C
//*
//*
//»
//*
//:s
//
//
//
//
//
                               ,L I .CDHiiL) ,
                               ISI , I U , XWF- F '
                          .]tilJ=l I)
                          f =( 1 ,o
                       PS w\ .1 -\cHnjt r i  . .1 H\I>,
                       VIII. U'l = ( ljt( 1 V A I I  ,(i I .',
                       Vlil.U"! =(I'W1 V/i ft  ,i M A |  -J ) ,
                       ii i :•.!•= ( MII<, en :•>:•> j
                                                                                   O'IDII'j/llll
                                                                                   OOOOSHOO
                                                                                   0'IOOSVOO
                                                                                   Mil 00 6 U (II)
                                                                                   OOOOA I nil
                                                                                    00(1 06 Sim
                                                                                    OOOU'i'lOO
                                                                                    DOOOhS'K)
                                                                                    I)'I006(>(II)
                                                                                    I) II'I ()ii 7 UO
                                                                                    0000Art00
                                                                                    0001' A'MlO
                                                                                    0000 /OOO
                                                                                    oooo /1 on
                                                                                    oono /<'()')
                                                                                    0000 / SUO
                                                                                    0000 /<400
                                                                                    0000 /SOO
                                                                                    0000 7'»UO
                                                                                    00 on 7/00
                                                                                    0000 7HOO
                                                                                    0>l!M>7°llU
                                                                                         I I 0(1
                                                                                    OOOOH^OO
                                                                                    IIOOl'M ^011
                                                                                    IMMiOiul ,111
                                                                                    0(>IM)«SO()
                                                                                    OOOOKtiUO
                                                                                    000 DH/00
               0 OOH V 00 'I
               U (in TV 1 Oil
               000 ii Wo 0
               OOfOV SOO
               01)0(1 VI (III
               oooovsoo
               0 01)0 VfiO
               Oil I) 04 /(I
               nil no V«0
               0 ')IM)'<'/I' I
               (Mill 1 0
-------
EIS/AS
JCL  AND GENERAL

TOPICS
SECTION 8.2
UPDATES
Page  32
Release Date:  2/01/80
Update #:   A-l
    //*
    //*  INPUT DATA at l  -  UHJ^LT Mnouut
    //*
    //SYSLI"J    I>D IKVJAiMt =MUJBJM(II>,
    //              PlSK=(SMH.H*3S)
    //*
    //*  (IlllPUt IJAfA  Sf I  - LUAI) MilDtJLt
    //*
    //LIIAU      (jo lJ.SMA^l^:=t.^Jll' HiJI I rK, It ill'/
    //*
    //S
    //*
                                             000 I 1 SOD
                                             U 0 0 1 I 'I (' U
                                             0 (Mi 1 IS I) I)
                                             UOOl J'lOO
                                             001)1 1 /'">
                                             (l IH) 1 IHOII
                                             (.11)11 I I VIM)
                                             000 1<^0('0
                                             ooot^l mi
                                             00 (I 1 ^^(Ml
                                             O'MI Ic? 5()i(
                                             00(1 1 r'-'KMP
                                                                                     f 0(1
                                             000 1 ?'V(IO
                                             0001 50011
                                             000 I it 00
                                             oodi Woo
                                             00(1 1 i 400
                                             ooo l *MOU
                                             0001 \ b 0 0
                                                                     (Page  3  of  3)
              Figure 8.2-o -  continued.   Cataloged  Procedure  ECCLC10
                                           609

-------
  EIS/AS
  JCL AND GENERAL
  TOPICS
          SECTION 8.2
          UPDATES
    Page 33
    Release Date:  2/01/80
    llpdat.p  £•_   A-1	
 Parameter Name
 PROJECT
      Default  Value
 'CN.EPALMH.A087.CDHS.HQ.AREA'
 PAR AM
'DMAP,SXREF,LIB,SIZE=114K,
BUF=30K,STATE,FLOW=10'
PRIMARY
                             50
SPCUNIT
                            TRK
     Description

 Highest-level  index of
 data set names (e.g.,
 the EIS/AS source
 library is CN.EPALMH.
 A087.CDHS.HQ.AREA.
 SOURCE)

 Parameters  used by the
 compiler.   Information
 on these parameters  can
 be found in the IBM
 COBOL Programmer's
 Guide

 Primary  space alloca-
 tion for temporary
 files used  by compiler

 Units in which space is
to be allocated for
temporary file used by
1inkage  editor.
                                                       (Page 1 of 2)
            Figure 8.2-p. Substitutable Parameters for ECCLC10
                                    610

-------
   EIS/AS
   JCL  AND  GENERAL
   TOPICS
  Parameter Name
  SECNDRY
  M2 thru M8
 SOURCE
 LOADMOD
 PRIM1
PRIM2
TEMP
      SECTION 8.2
      UPDATES
Default Value

100
                         NULL
                        NULL
                        NULL
                        60
                       60
                       SYSDA
Page 34
Release Date: 2/01/80
Update #:  A-l


Description
                            Secondary space allocation
                            for temporary  files  used  by
                            compiler

                            Source  library  members
                            concatenated onto the pri-
                           mary program (no source
                           library members are
                           concatenated onto any
                           EIS/AS program)

                           Name of source  library
                           module for program

                           Name of  load  library  module
                           for  program

                           Primary  space allocation
                          for  temporary file used by
                          linkage editor

                          Secondary space  allocation
                          for temporary file used by
                          linkage editor

                          Unit  type specified for
                          temporary file
                                                       (Page 2 of 2)
      Mgure  8.2-p  - continued.  Substitutable Parameters for ECCLC10
                                    611

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 1
Release Date: 2/01/8C
Update #:   A-l
8.3  INSTALLATION OF EIS/AS

8.3.1  INTRODUCTION

     The information contained in this section is  intended to supplement  the
instructions in the letter sent with an installation package.   Only those
installations using standard IBM utilities are addressed herein.

     To obtain a copy of EIS/AS, a blank tape certified at 1600 BPI must  be
provided to NADB.  The type of computer that will  be used and the recording
specifications for the tape should be specified in the letter.

     A checklist of tasks for the installation is  shown in Figure 8.3-a.

8.3.2  INITIAL PREPARATION

     The installation package should contain a letter (see Figure 8.3-b); an
installation deck and listing (see Figure 8.3-c);  the tape containing EIS/AS
source, procedure, and test data sets; an EIS/AS User's Guide;  back copies of
the  CDHS User's Bulletin; and a System Status/Hardware/Software Questionnaire
(see Figure 8.3-d).  If any of these items are missing, the user should report
this problem to personnel at NADB.

     The cards in the installation deck are not interpreted; however, the
contents of each card can be printed on the cards  by processing the deck
through an interpreter (many keypunch machines have this feature).  This
interpreting should be done because changes must be made to the cards to
reflect the user's particular data set names.

     The data sets used for the source, load, procedure, and test libraries
are  created in the step named ALLOC, using the IBM program IEFBR14.  The names
                                     612

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 2
Release Date: 2/01/80
Update #:  A-l
of these data sets should be changed to reflect the installation-dependent
data set naming conventions.  The space allocated assumes the use of 3330 disk
packs; if other units are used, both the unit and the space allocations should
be modified to reflect the units used.  The value CDHSPK should be changed to
indicate the volume serial number of the disk device used.

     Data set names, units, and volume serial numbers in the remainder of the
installation deck should also be changed to correspond with the values used in
the ALLOC step.

     The step named PUNCH punches the test run series on computer cards.   The
numbered PRINT steps (e.g., PRINT1, PRINT2,...) print the cataloged
procedures, the test run series, and the source code of all programs.  It may
be desirable to run these steps separately since the program listings will
generate a large volume of paper.  To run these steps separately, the
installation deck must be divided into several decks, each  containing one or
more steps, its own job card, a delimiter (/*) statement, and a null
statement (//) as required by your installation site.

8.3.3  INSTALLATION JOB EXECUTION

     Once the installation deck has been modified, the installation job may be
run.  A job card must be added and sufficient time and page parameters should
be specified (suggested time and page estimates are included in the
installation deck as comments).  Information on job cards can be found in
Section 8.1.

     When the job has been run, the condition codes for each step should be
verified.  Condition codes should be 0 (zero) for successful completion (see
Figure 8.3-e).
                                     613

-------
E IS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 3
Release Date: 2/01/8C
Update #:  A-l
8.3.4  PROGRAM MODIFICATION

     The EIS/AS baseline programs should run with no modifications on most IBM
computers.   However, some changes may be necessitated by the file requirements
of a particular installation.   Information on EIS/AS file specifications can
be found in Appendix D.   Note that the blocking factors for all  files can be
modified without affecting the program line numbers.

     Non-IBM users will  need to make more extensive modifications.
Information on the changes required for each type of hardware can be obtained
from NADB.

     If other user-specified modifications are desired, a copy of the baseline
version should also be maintained since all updates issued by NADB are for the
baseline programs only.   If line numbers in the user's program have been
modified, an update to that program will not be applied correctly.

     See Section 8.2.3.1 for additional information on program modification.

8.3.5  PROCEDURE MODIFICATION

     The programs in EIS/AS are executed using cataloged procedures.
Information on cataloged procedures can be found in Section 8.1.6, and
information on individual procedures can be found in the discussions of
cataloged JCL that are included in the sections describing the EIS/AS
programs.
                                     614

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 4
Release Date: 2/01/8C
Update #:  A-l
     Each procedure contains substitutable parameters for such items as
project, unit, and volume serial number.  Each of these items can be changed
at execution time following instructions given in the sample run streams.
Since some of these variables remain fairly constant for a given installation,
they should be changed in the procedures themselves so that the changes need
not be made each time the procedure is executed.   The substitutable parameters
are listed on, and immediately following, the PROC statement for each
procedure.

     As an example of these changes, suppose the procedure contains the
following statements:

//     PROJECT='CN.EPALMH.A087.CDHS.HQ.AREA',           00000800
//     UNIT=3330,                                       00000900
//     SERIAL=CDHSPK                                    00001000

Assume these variables have the values 'F734.CDHS.AREA', 2314, and PACK27  at a
user's installation.  He could then modify the procedure, replacing the three
statements with the following statements:

       PROJECT='F734.CDHS.AREA',                        00000800
       UNIT=2314,                                       00000900
       SERIAL=PACK27                                    00001000

     The line numbers (columns 73-80) should be left as in the baseline
version to facilitate updates to the procedures.   Any substitutable parameter
may be modified in a procedure without affecting the line numbers.

     Procedures should be moved to a system procedure library once they have
been tested.   The user is advised to consult with his systems personnel
before attempting to accomplish this step.
                                     615

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 5
Release Date: 2/01/8(
Update #:  A-l
8.3.6  COMPILING PROGRAMS

     Once IEHMOVE has been performed (step TAPEIN of  the  installation  deck),
and the source programs are in the source library, the programs  must be
compiled and link edited.  The cataloged procedure ECCLC10  allows  the  user to
execute the COBOL compiler in conjunction with the linkage  editor.  See
Sections 8.2.4.1 and 8.2.4.2 for instructions  on  using this procedure.

     After each program has been compiled and  link edited,  the condition  codes
for each step of the job should be checked to  insure  that they are either 4 or
0 (see Figure 8.2-k).  Also, any error messages from  the  compile step  (see
Figure 8.2-1) should be inspected.  If the return code is not 4  or 0 for  any
job step, contact personnel at NADB and forward the listing of that job to
NADB. The printout from the linkage editor should indicate  that  the load
module was added to the data set (see Figure 8.2-m).

8.3.7  TESTING THE SYSTEM

     A test run series, stored in a test library, is  provided on the
installation tape to test all programs and procedures in  EIS/AS.  The  volume
of the data in the test run series is much smaller than in  the live data  files
most states maintain.  Running tests with these smaller files means lower
costs; also, there is no risk of destroying live files if any test should
fail.  The final EIS/AS master and emission factor files  created in the test
run series should be stored on tape and used for testing  future  updates.   This
allows any program to be tested without requiring that the  entire test run
series be run to create these files.
                                     616

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 6
Release Date: 2/01/80
Update #;   A-l
8.3.8  COST CONSIDERATIONS

     The following examples provide an estimate of the cost  of creating the
libraries, printing the listings, and compiling a program on an IBM 370/168.

     Copy EIS/AS from tape to disk using the IEHMOVE utility:

          CPU time:                                   15 seconds
          I/O time:                          1 minute 25 seconds
          Total time:                        1 minute 40 seconds

          Estimated cost:                    $25.37


     Print listings of the EIS/AS programs:

          Number of programs:                         18 programs
          Number of lines:                        31,334 lines

          CPU time:                                   13 seconds
          I/O time:                          1 minute 35 seconds
          Total time:                        1 minute 48 seconds

          Estimated cost:                    $19.97

     Compile and link edit for a program with 3800 statements:

          CPU time:                                 22.7 seconds
          I/O time:                        1 minute 36.5 seconds
          Total time:                      1 minute 59.2 seconds

          Estimated cost:                  $25.43
                                     617

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 7
Release Date: 2/01/81
Update #: A-l
8.3.9  WARMINGS AMD SPECIAL INSTRUCTIONS

     Each user is reminded not to make any modifications  to  EIS/AS  programs  or
procedures other than those modifications released  or approved  by  NADB.   Only
the NADB baseline version of EIS/AS will  be supported by  NADB.   All  modified
versions (unless authorized to meet a specific computer system  problem)  must
be supported by the organization which performs the modification.

     If the user wishes to make modifications for his own purposes,  he  should
make them to a copy of the baseline system.  He should, however, maintain the
baseline system with no changes.   Thus, if a problem occurs  in  the  user's
system and it is reproduced in the baseline, the user should report  the
problem to NADB.  If the problem occurs in the modified version only,  it is
the user's responsibility to correct the  problem.
     If there are any problems in installing EIS/AS,  contact  NADB  for further
help.
     The user should maintain a backup of the source,  load,  and procedure
libraries as well as all files used in EIS/AS.   Systems  personnel  should be
consulted on the proper techniques in creating backups of the EIS/AS system.
                                     618

-------
EIS/AS
JCL AND GENERAL
TOPICS	
SECTION 8.3
INSTALLATION
Page 8
Release Date: 2/01/8C
llpdflf.R #:—&=J	
        _Verify that the installation package contents  are  correct
        _Interpret installation deck
        _Modify installation deck as needed
        _Run installation job
        _Verify installation programs
        _Modify programs as needed
        _Compile and link edit all programs
        _Verify that all compiles and link edits are correct
        _Modify cataloged procedures as needed
        _Test programs and procedures
        _Move procedures to system libraries
        _Back up complete system
        _Create initial files with live data
        _Inform NADB that installation is complete using System Status/
         Software/Hardware Questionnai re.
                Figure 8.3-a.  Checklist for Installing EIS/AS
                                     619

-------
EIS/AS

JCL AND GENERAL

TOPICS
SECTION 8.3

INSTALLATION
Page 9

Release Date: 2/01/80

Update #:   A-l
Mr. Larry McMaster
Research Triangle Institute
Research Triangle Park,  NC  27709

Dear Mr.'McMaster

     Enclosed is a tape  to which I  have copied  the  EIS/AS  subsystem of  CDHS.
I am enclosing a copy of the JCL printout which resulted from the  copy.
Please note that the IBM utility IEHMOVE was used  in  creating your tape.
Since IEHMOVE copies the data sets  to your tape in  an unloaded format,  it  will
be necessary to use IEHMOVE to copy the system  from this tape to your disk
before you can obtain a  readable printout.   The tape  was copied using no
system labels and was recorded at 1600 BPI.

     To aid you in the installation, I am also  enclosing an  "installation
deck", which is set up for an IBM (OS) computer, and  a listing of  it.   There
are three data sets on your tape, each containing  several  members.   These
data sets are

                             DSNAME=CDHS.AREA.JCL
                             DSNAME=CDHS.AREA.JOBS
                             DSNAME=CDHS.AREA.SOURCE

Necessary disk space for each data  set is allocated in the first  step of the
installation using IEFBR14.  The actual copy from  tape to  disk is  accomplished
using IEHMOVE.  The load modules will be created when you  compile  and link
edit the programs.  Also, if you wish to re-name the  data  sets when you copy
them from tape to disk,  you can do  so by adding the appropriate control card
in each COPY statement.

     The installation deck is also  set up to punch  out all jobs required to
accomplish the following:

         Copy cataloged  procedures  to PROCLIB
         Compile and link edit all  programs
         Run test programs using test data supplied with the installation  (run
          i n order)

     It is also set up to print all the jobs which  were punched,  as well as
all source code and the  JCL for all the cataloged  procedures.
                                                        (Page 1 of 4)
                      Figure 8.3-b.  Installation Letter
                                     620

-------
 EIS/AS

 JCL AND  GENERAL

 TOPICS
SECTION 8.3

INSTALLATION
Page 10
Release Date: 2/01/80
Update #:  A-l
     Please note that it will be necessary for you to make changes to the
installation deck to suit your local situation.  For example, you may not use
3330 disk packs at your installation, and I am sure that your disk volume
serial number will not be CDHSPK.  Your tape unit designation may not be 2400,
and you may wish to rename the data sets when copying them from the tape to
your disk.

     After you have installed the system, it will be necessary for you to
change several lines of coding in the cataloged procedures prior to copying
them into your PROCLIB.  A complete list of these procedures is attached.

     Should you choose to retain the prefix of CDHS.AREA. for your data set
names, you should change the appropriate line of each procedure to read:

             //ddname PROC PROJECT='CDHS.AREA1,

An equivalent change must also be made if you choose a different prefix for
your data set names.  Similar changes will be required in the data set names
specified on the DD cards (DSNAME=CDHS.AREA.JOBS).

     I urge you not to make any modifications other than those which must be
made to the Job Control Language (JCL).  NADB will make all modifications to
the standard NADB system, and will support ONLY HADE-modified versions of the
system.

     If you wish to make modifications for your own purposes, you should make
them to a copy of the baseline system.  You should, however, maintain the
baseline system incorporating only those changes distributed by NADB.  This
will give you an opportunity to test problems against the baseline.  If you
have a problem, and the problem is reproduced in the baseline, please report
the problem to NADB.  If the problem occurs in the modified version only, it
is your responsibility to correct that problem.

    Update A-l has been incorporated into your system; thus, the next EIS/AS
update to your system will be number A-2.
                                                        (Page 2 of 4)
                Figure 8.3-b - continued.  Installation Letter
                                     621

-------
 EIS/AS

 JCL AND  GENERAL

 TOPICS
SECTION 8.3

INSTALLATION
Page 11

Release Date: 2/01/80

Update #:  A-l
     Also included are a copy of the EIS/AS User's  Guide,  all  back  issues  of
the CDHS User's Bulletin, and a copy of the System  Status/Hardware/Software
Questionnaire.  This questionnaire should be completed  and returned to  me  when
your installation is complete.

     If you have any questions, do not hesitate to  call  me at  (919) 541-5491.

                                                Sincerely  yours,
                                                Lloyd M.  Hedgepeth
                                                 Project  Officer
                                            National  Air  Data Branch (MD-14)
Enclosures
                                                        (Page 3 of 4)
                Figure 8.3-b - continued.  Installation Letter
                                     622

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 12
Release Date: 2/01/80
Update #:  A-l
                  Attachment 1 -  EIS/AS Cataloged Procedures

                                   ECCET10
                                   ECCLC10
                                   ECEDT10
                                   ECEME10
                                   ECEMM10
                                   ECFMM10
                                   ECFMM20
                                   ECFMM30
                                   ECMSM10
                                   ECMST10
                                   ECRPE10
                                   ECRPM10
                                   ECRPM20
                                   ECRPM30
                                   ECRPM40
                                   ECRTM10
                                   ECRTM20
                                   ECRTM30
                                   ECRTM40
                                   ECSRM10
                                                      (Page 4 of 4)
               Figure 8.3-b - continued.  Installation Letter
                                    623

-------
EIS/AS

JCL AND  GENERAL

TOPICS
SECTION  8.3
INSTALLATION
Page 13
Release  Date: 2/01/80

Updflt.fi #;   A-1	
  //*
  //* EIS/AS INSTALLATION
  //*
  //* THIS JOB hILL SCRATCH AND RE-ALLOCATE ALL DATA SETS NECESSARY FOR
  //*
  //* THE INSTALLATION OF EIS/A3.  IT WILL THEN COPY THE INSTALLATION
  //*
  //* TAPE INTO THESE DATA SETS AND PUNCH THE JOBS REQUIRED TC COMPILE
  //*
  //* AND LINK-EDIT THE VARIOUS PROGRAMS IN THE SYSTEM.  IT KILL THEN
  //* PRINT THOSE J.OB3, THE CATALOGED PROCEDURES, THE LINKAGE EDITOR
  //*
  //* CONTROL CARDS, AND THE TE3T DATA.  THE
  //*
  //* LISTING SHOULD BE EXAMINED TO BE CERTAIN THAT THE PROCEDURES ARE
  //*
  //* CORRECT FOR THIS PARTICULAR COMPUTER CENTER.  AFTER ANY NECESSARY
  //*
  //* CHANGES HAVE BEEN MADE, THE JOBS PUNCHED OUT MAY BE RUN
  //*
  //* SEQUENTIALLY TO INSTALL AND TEST EIS/AS.
  //*
  //SCRATCH EXEC PGMalEFBRl*),
  //             TIME=(0,S),
  ft             REGIONsOK
  //JCL       DD OISP=(QLO,DELETE),
  //             DSNAMEsCDHS.AREA.JCL
  //JOBS      DD DISP*(OLD,DELETE)/
  //             DSNAMEsCDHS.AREA,JOBS
  //LOAD      DD DISPs(OLO,DELETE)/
  //             OSNAMEsCOHS.AREA.LOAD
  //SOURCE    DO 01SPs(OLD,DELETE),
  //             DSNAMEsCOHS.AREA.SOURCE
  //ALLOC   EXEC PGMSIEFBRH,
  //             REGION34K,
  //             TIME=(0/5)
  //JCL       DD UNIT=3330,
  //             VOLUME=(PRIVATE,RETAIN,SER=CDHSPK),
  //             DISP=(NEW,CATLG,DELETE),
  //             3PACE=(TRK,(20,10,5)),
  //             DSNAMEsCDHS.AREA.JCL
  //JOBS      DD UNIT33330,
  //             VULUME=(PRIVATE,RETAIN/SERsCDHSPK),
  //             DISP=(NEW,CATLG,DELETE),
  //             SPACE=(TRK,(10,10,5)),
  //             DSNAME3COHS.AREA.JOBS
  //LOAD      DD UNIT=)3330,
  //             VOLUMEs(PRIVATE»RETAlN,SERsCDHSPK),
  //             DISP=(NEl*,CATLG,DELETE),
  //             SPACE=(TRK,C40,10,5)),
  //             DSNAMEsCDHS.AREA.LOAD
  //SOURCE    DD UNIT=3330,
  //             VOLUMES(PRIVATE,RETAIN,3ER=CDHSPK),
  //             OISPs(NEW,CATLG,DELETE),
  //             SPACEs(TRK,(100,50,5)),
  //             DSNAMEsCDHS.AREA.SOURCE
                                           00000100
                                           00000200
                                           00000300
                                           00000400
                                           00000500
                                           00000600
                                           00000700
                                           00000800
                                           00000900
                                           00001000
                                           00001100
                                           00001200
                                           00001300
                                           00001400
                                           00001500
                                           00001600
                                           00001700
                                           00001800
                                           00001900
                                           00002000
                                           00002100
                                           00002200
                                           00002300
                                           00002400
                                           00002500
                                           00002600
                                           00002700
                                           00002800
                                           00002900
                                           00003000
                                           00003100
                                           00003200
                                           00003300
                                           00003400
                                           00003500
                                           00003600
                                           00003700
                                           00003800
                                           00003VOO
                                           00004000
                                           00004100
                                           00004200
                                           00004300
                                           00004400
                                           00004500
                                           00004600
                                           00004700
                                           00004800
                                           00004900
                                           00005000
                                           00005100
                                           00005200
                                           00005300
                                           00005400
                                           00005500
                                           00005600
                                           00005700
                                                             (Page 1 of 3)
                     Figure  8.3-c.  EIS/AS Installation Deck
                                         624

-------
EIS/AS SECTION 8.3
JCL AND GENERAL INSTALLATION
TOPICS
//TAPEIN EXEC PGMsIEHKOVE,
// REGIONS90K,
// TIM£=C5,0)
//SYSPRINT 00 SYSOUTaA
//SYSUT1 00 UNITS3330,
// i VOLUM£a(PRIVATE, RETAIN, SER3CDH3PK),
// DISPsQLO
//CDH3PK DD UNITS3330,
// VOLUMEa (PRIVATE ,RETAIN,SERaCDH3PK) ,
// DISP=OLD
//TAPE 00 UNITsTAPE,
// VOLUMEaSERaASTAPE,
// DISP3(N£kv,PA8S),
// LABEL=(,BLP),
// OCBsCKECFMaFB,LRECLa80,BLKSIZE3800,DENa3)
//SYSU4 OD *
Page 14
Release Date: 2/01/80
Update #: A-l
00005800
00005^00
OOOObOOO
00006100
00006200
00006300
00006400
00006500
00006600
00006700
00006800
00006900
00007000
00007100
00007200
00007300
COPY T0333303CDHSPK,FROMDDaTAPE,FROMaTAPEs(ASTAPE,l), X00007400
PDSaCDHS. AREA. JCL
00007500
COPY Ta33330aCDHSPK,FROMDOaTAPE,FROMsTAPEaCA3TAPE,2), X00007600
P03=COH3. AREA. JOBS
00007700
COPY T033330aCDHSPK,FROMDDaTAPE,FROMaTAPEa(ASTAP£,3), X00007800
PDSsCOHS. ARE A. SOURCE
//PUNCH EXEC PGMalEBPTPCH,
// REGIOM360K,
// TIM£a(l,0)
//3Y3PRINT DD SYSOUTaA
//SY3UTI DD DSNAMEaCOHS.AREA.JOBS»
// VOLUME=CPRIVATE, RETAIN),
// OI3P=CSHR,PA3S)
//3Y3UT2 DO SY30UT=8
//3Y3IN DD *
PUNCH TYPORGaPQ.MAXNAMEsZ
//PRINT1 EXEC PGMalEBPTPCH,
// REGIONsbOK,
// TIMEa(l,0)
//3YSPRINT DD SYSOUTaA
//SYSUT1 DD DSNAMEaCOHS.AREA.JCU,
// VOLUM£a(PRIVATE, RETAIN),
// OI3Pa(SHR,PASS)
//SYSUT2 DD SYSOUTaA
//3YSIN DD *
PRINT TYPORG=PO,MAXFLDSal
TITLE ITEMaC' EI3/AS CATALOGED PROCEDURES',!)
TITLE ITEMaC ',!)
RECORD FIELDa(80,I,,25)
//PRINT2 EXEC PGMsIEBPTpCH,
// REGION360K,
// TIME=(1,0)
//3YSPRINT DD SYSOUTsA
//3Y3UT1 DD D3NAME3CDHS. AREA. JOBS,
// VOLUMEa(PRIVATE, RETAIN),
// DISPa(SHR,PASS)
//SYSUT2 DO SYSOUTaA
//SYSIN 00 *
PRINT TYPORGaPQ,MAXFLDSal
TITLE ITEMa('ElS/A3 INSTALLATION JOBS', 1)
TITLE ITEMaC ',D
RFrnnn FTFI natao.i ,,?«;i
00007900
00008000
00008100
00008200
00006300
00008400
00008500
00006600
00008700
00008800
00006900
00009000
00009100
00009200
00009300
00009400
00009500
00009600
00009700
00009800
00009900
00010000
00010100
00010200
00010300
00010400
00010500
00010600
00010700
00010800
00010900
00011000
00011100
00011200
00011300
00011400
00011500
                                           (Page 2 of 3)
Figure 8.3-c - continued.   EIS/AS Installation Deck
                        625

-------
EIS/AS
JCL AND  GENERAL

TOPICS
                              SECTION 8.3

                              INSTALLATION
                                             Page 15

                                             Release Date:  2/01/80

                                             Update #:   A-l
 //PRINTS  EXEC
t/
//SYSPRINT
//SYSUT1
             00
             00
 //SYSUT2    DO
 //3YSIN     DO
        PRINT
        TITLE
        TITLE
        RECORD
PGMalEBPTPCH,
REGION360K,
TIMEa(l,0)
SYSOUTsA
OSNAMEaCOHS.AREA.SOURCE,
VOLUMES(PRIVATE,RETAIN),
DISP=(SHR,PASS)
SYSOUT=A
*
TYPURGsPO,MAXFLDS»l
ITEMaCEIS/AS  SOUHCE  CODE',I)
ITEMaC ',!)
FIELOa(80,l,,25)
00011600
00011700
00011600
00011900
00012000
00012100
00012200
00012300
00012400
00012500
00012600
00012700
00012800
             Figure 8.3-c - continued.
                                                          (Page 3 of 3)
                                         EIS/AS  Installation Deck
                                       626

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 16
Release Date:  2/01/80
Update #:   A-l
                SYSTEM STATUS/HARDWARE/SOFTWARE QUESTIONNAIRE
                     (Please complete and return to NADB)
Agency:
Address:
     HARDWARE
          Location:
                                                                     ,  Other v
                                              IBM         UNIVAC     (Specify)
          Model Number                     	     	    	
          Series Number                    	     	    	
          Core size (specify words or
            bytes)                         	     	    	
          Operating System (specify
            OS-MFT, OS-MVT, OS-VSI,
         '   EXEC-8, etc.)                  	     	    	
          Tape Drive (specify 7-track
            556 bpi, 9-track 1600 bpi,
            etc.)                          	     	    	
          Disk Drive (specify 2314,
            3330, etc.)                    	     	    	
     SOFTWARE
          Please list software items (installed, being installed, or planned)
          which are/will be peculiar to your installation and programs (e.g.,
          tape management, spooling requirements, update utilities other than
          standard IBM utilities).  We're specifically interested in any
          peculiarities of your computing systems which affect how an update
          is or can be incorporated.
                                                         (Page 1 of 4)
         Figure 8.3-d.  System Status/Hardware/Software Questionnaire

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
             Page 17
             Release Date: 2/01/80
             Update #:  A-l
                SYSTEM STATUS/HARDWARE/SOFTWARE QUESTIONNAIRE

SUBSYSTEM STATUS
Air Quality Data Handling Subsystem II (AQDHS-II):
     Installed?                            Yes  _
          By whom?                         	
          Task order expiration            (date)
          Operational since                (date)
     Installation in progress?             Yes  _
          By whom?                         	
          Scheduled to be operational       (date)
     Installation planned?                 Yes  _
          Installation schedule            (date)
     Last update performed                 #  	
                                No
                                No
                                No
                                Date
Emissions Inventory Subsystem/
     Installed?
          By whom?
          Task order expiration
          Operational  since
     Installation in progress?
          By whom?
          Scheduled to be
            operational
     Installation planned?
          Installation schedule
     Last update performed
        Area Source
    Yes        No
    (date)_
    (date)_
    Yes
No
    (date)
    Yes
No
    (date)	
    #     Date
              Yes
     Point Source
           No
(date)_
(date)_
Yes
              (date)
Yes
No
No
              (date)	
              #     Date
  Figure 8.3-d - continued.
                                (Page 2 of 4)
 System Status/Hardware/Software Questionnaire
                                     628

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 18
Release Date: 2/01/80
Update #:  A-l
                SYSTEM STATUS/HARDWARE/SOFTWARE QUESTIONNAIRE

AIR POLLUTION CONTROL MANAGER:
     Please furnish full title and address of the State and/or Local  (county
     or municipal) agency responsible for all air pollution control  activities
     of the agency and the name, title, address, and phone number of the
     agency's director.

     Name and Title:  	
     Agency:  	
     Address:
          City:  	 State: 	 Zip:
     Phone Number(s):  	
AQDHS-II DATA BASE COORDINATOR:
     Name and Title:  	
     Address:
          City:  	 State: 	 Zip:
     Phone Number(s):  	
EIS DATA BASE COORDINATOR:         	POINT SOURCE       	AREA SOURCE

     Name and Title:  	
     Address:
          City:  	 State:	Zip:
     Phone Number(s):  	
                                                              (Page 3 of 4)
   Figure 8.3-d - continued.  System Status/Hardware/Software Questionnaire

                                     629

-------
EIS/AS
JCL AND GENERAL
TOPICS
SECTION 8.3
INSTALLATION
Page 19
Release Date: 2/01/80
Update #;:  A-l
                SYSTEM STATUS/HARDWARE/SOFTWARE QUESTIONNAIRE

DATA PROCESSING PERSONNEL:
     Director:
          Name and Title:
          Address:
               City:  	 State:  	 Zip:
          Phone Number(s): 	
     AQDHS-II Contact (person responsible for performing updates):

          Name and Title:  	
          Address:
               City:  	 State:	Zip:
          Phone Number(s): 	
     EIS Contact (person responsible for performing updates):

          Name and Title:  	
          Address:
               City:  	 State:	Zip: 	
          Phone Number(s):  	
     Contract Support:
          Please identify contractor and furnish name, address, and phone
          number(s) of any contract personnel supporting your CDHS subsystems.
                                                               (Page 4 of 4)
   Figure 8.3-d - continued.  System Status/Hardware/Software Questionnaire

                                     630

-------
EIS/AS
JCL AND GENERAL
TOPICS
                                    SECTION  8.3
                                    INSTALLATION
                                                                       Page  20
                                                                       Release Date:  2/01/80
                                                                       Update #:   A-l
 1CH70001I EPALMH   LAST ACCESS AT  11:16126 ON 00.105
 KACINlf: UStRsEKALrfH GRP=AOS7  ASA087  Fbs36
 JMASP373 STAKTtD - IUJ T  7 - CLASS t
        ALLUC. FOR EPALKHHM
        JE32 *LLOCATED TO SYSPKINt
                       Id &YSUT1
                       TU DIS.H,
                       TU IAPC
                       TO StSIN
                       TU SYSOOOOl
                                                                           It  APK  80
1EF2371
1EF237I
        380
1EF237I  23t
IEF2371  47A
            ALLOCATED
            ALLOCATED
            ALLOCATED
IEF237I  JES2 ALLOCATED
IEF2371  231  ALLOCATED ._ 	
IEF142I  EPALMHHM - STEP HAS EXECUTED -t CONU  CODE
IEF265I   JES2.JObUUbi9.SU0102
IEF2851
ItF2651
IEF285I
IEF285I
1EF285I
 IEFJ731
 IEF374I  STEP
                                                      srsooT
                                                      PELEIED

                                                      KEPT

                                                      PASSED

                                                      SISIN
                                                      KEPT
                        SIOP  80105.1121 CPO    OMIN 03.47SEC SRb    OMIN 02.21StC  VIRT
                       »*» COMNET  - SYSTEM  GG32 - SIEP SUMMARY **«****»•***«**»*
                 .T111835.HAOOO.EPALMHhM.RO000001
          VOL SER NO3= «UKK5V.
          C«.tPALMh.»067.Ci)HS.HU,AREA.SriURCt
          VOL SEK i-HlSs CDHSPK.
          CN.EPALM«.AOa7.CDHS.HU.AREA.SUURCE
          VOL SEH '"USs OS7195.
          JE32.JOB00839.SI0101
          &YSCTLG.VSYSTM1
          VOL SER NOSs SYSTM1.
        SIEP /        / START
                                                                                         24K SYS
MCC950I
MCC949I
WCC950I
MCC950I
»CC9bOI
         * JOB EPALMHHM,  STEP
                                            110.53 CUU
                                                                  CCl   0004
           START MONDAY 04/14/80 AT lljlb-.ib
              3:21.52 ELAPSED    0103.47  ICb
           MEMORY:   9200K VIRTUAL ADDRESS  SPACE,
           EXCPSt       B53 DA,     3273  MT,
                                                    STOP 04/14/80 AT 1H21:57
                                               0:02.21 SKU    0:0b.68 TUT  CPU
                                                         USED
WCC949I
WCC950I
•KCC950I
WCC9491
WCC950I
KCC950I
EXCPS BY  UNIT:
 A7A:     327i

PAGES IN:
PAGES OUT:
    000:         0
    ooo:         o

       0  V10
       o  vjo
65 PAGE SECONDS
                                              380:
                                              831:
                                                   252K
                                                   0 OTHER/

                                                       41
                                                        0
                                                                 4126 TOTAL
                                                              83E:
                                                                        812
                                                16 SNAP
                                                25 SnAP
                                                               34 OTHER
                                                               26 OTHER
                                                      111.09 RESIDENT SECONDS
 WCC9491
BCC950I « CUO COST FOR STEP AT PRIORITY 2/4/2:
MCC950I * MOUNT CHARGES: 0 DISK, 0 TAPL:
KCC950I « TOIAL COST FOR STEP OF JOB EPAUMHHH:
HCC949I *
1EF265I CN.EPMLMH.A087.CDHS.HQ.ARtA. SOURCE DELETED
IEF285I VOL SER IVUbs OS7195.
IEF375I JOb /EPALMHHM/ START 60105.1118
1EF3761 jub /EPALMHHM/ STOP 80105.1121 CPU OMIN 03.47SEC SRB
KCC9491
HCC951I
!«CC95H
HCCV5U
WCCV511
(•CCV49I
WCC9511
HCC951 1
WCC9511
OCCV5H
HCC9491
JOB EPALMHHM, 1 STEPS 110.53 IOTAL COU
SUbMIl MONDAY 04/l«/bO AT 10:54:04 0:24:31.
S1ARI 04/14/80 Al )l:lBti6 STOP 04/14/60
3:21. bS tLAPStb 0:o3.4/ TLb 0:02.21 S«b 0:05

PKICJH1TY RfcU/KLD/LHD: 2/4/2
TOTAL CUU CHAKbE t-OK JOb EPALMHHM:
MOUNT CHAHbts: o DISK, o TAPE:
TOTAL LUST FOR JOB EPALMhHM, ACCOUNT AU07:

115.47
»0.00
415.47



OMIN 02.21SE.C

CCt 0004
86 ON UUEUt
Al 11:21:58
.66 TOT CPU


M5.47
io.uo
115.47











                      Figure  8.3-e.   Condition  Code for IEHMOVE
                                              631

-------
EIS/AS
APPENDIX

State
Number
01
02
03
04
05
06
07
08
09

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
A
Table
CODE TABLES
A-l. Valid UTM
State Zones
Name Min Max Min
Alabama 16 16 350
Alaska 01 59 0
Arizona 11 12 120
Arkansas 15 16 0
California 10 11 0
Colorado 12 13 90
Connecticut 18 19 20
Delaware 18 18 420
District of 18 18 280
Columbia

Florida 16 17 0
Georgia 16 17 30
Hawaii 04 05 0
Idaho 11
Illinois 15
Indiana 16
Iowa 14
Kansas 14
Kentucky 16
Louisiana 15
Maine 19
Maryland 17
Massachusetts 18
Michigan 16
Minnesota 14
12 0
16 0
16 380
15 130
15 0
17 0
16 0
19 275
18 50
19 40
17 0
16 80
Page 1
Release
Uodate #
Zones and Components
Horizontal
Max
720.0
999.9
999.9
830.0
999.9
999.9
825.0
498.0
310.0

999.9
999.9
930.0
999.9
999.9
730.0
999.9
930.0
999.9
999.9
770.0
999.9
999.9
960.0
999.9
Date:
: A-l

2/01/80

Vertical
Min
3342
5408
3450
3640
3595
4090
4529
4254
4290

2720
3353
2144
4630
4089
4178
4486
4090
4035
3189
4760
4200
4562
4617
4815
Ma
389
762
410
404
466
455
466
441
433

345
3881
245
543(
471
462?
482!
444(
434;
3645
526!
441:
473*
5261
547C
632

-------
— ••• — - - _
E IS/AS
APPENDIX

State
Number
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
A
Table A-l -
CODE TABLES
continued. Valid
Page 2
Release
Update
	 " 	 	 	 .
"^ m«
Date:
#: A-l
— — 	
2/01/80
UTM Zones and Components
State Zones Horizontal
Name Min Max Miri
Mississippi 15
Missouri 15
Montana n
Nebraska 13
Nevada n
New Hampshire 18
New Jersey 18
New Mexico 12
New York 17
North Carolina 16
North Dakota 13
Ohio is
Oklahoma 13
Oregon 10
Pennsylvania 17
Puerto Rico 19
Rhode Island 19
South Carolina 17
South Dakota 13
Tennessee 15
Texas 13
Utah 12
Vermont is
16 30
16 0
13 o
15 o
11 200
19 140
18 440
13 95
18 30
18 0
14 0
17 110
15 0
11 0
18 o
20 80
19 230
17 260
14 0
17 0
15 0
12 198
19 50
Max
995.0
790.0
999.9
999.9
898.0
850.0
625.0
999.9
999.9
999.9
999.9
999.9
999.9
999.9
999.9
870.0
290.0
750.0
999.9
999.9
999.9
795.0
855.0
Vertical
Min
3331
3980
4920
4420
3860
4717
4309
3473
4491
3738
5079
4244
3617
4640
4397
1969
4551
3540
4694
3867
2848
4090
4727
Ma
388
450
543
477
466
502
458
410
499
406
543
465
411
512
468
205
465
390
508
406
404
466
499
633

-------
EIS/AS
APPENDIX A
CODE TABLES
Page 3
Release Date: 2/01/80
Update #:  A-l
                Table A-l - continued.   Valid UTM Zones and Components
State
State
Number Na.'iie
48
49
50
51
52
53
54
55
Vi rgi
Was hi
West
nia
ngton
Virginia
Wisconsin
Wyomi
ng
American Samoa
Guam
Virgi

n Islands
Zones
Win Max
17
10
17
15
12
no
no
20
18
11
18
16
13
validation
validation
20
Horizontal
Mi n
0
0
0
0
0
done
done
290
Max
999.
999.
840.
999.
999.


350.
9
9
0
9
9


0
Vertical
Min
4041
5035
4117
4705
4530


1946
Max
4370
5430
4502
5211
4990


2056
                                         634

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 1
Release Date: 2/01/80
Update #:  A-l
                   APPENDIX B - EIS/AS File Specifications

INTRODUCTION

     This appendix presents a cross-reference of the EIS/AS files and the
programs that read or write them; it also discusses the blocking factors of
these files.

     The files used by EIS/AS can be catagorized as follows:

          1)  Permanent files such as the EIS/AS master file and the emission
              factor file.   These are the essential files of EIS/AS.
          2)  NEDS report files.   These are files placed on magnetic tape and
              submitted to EPA for inclusion in the NEDS data base.
          3)  Temporary Files.  These files are passed between various EIS/AS
              programs and are not permanently retained.
          4)  Unit record files such as print files and input card files.
          5)  Library files (program source module library, program load
              module library, and procedure library).   These files are
              maintained as partitioned data sets on IBM/OS systems.
                                     635

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 2
Release Date: 2/01/80
Update #:  A-l
CROSS-REFERENCE OF FILES AND PROGRAMS

     Table B-l is a cross-reference of EIS/AS files and programs that read or
write them.  This cross-reference is provided to assist the user in modifying
a file's blocking factor or otherwise modifying the characteristics of a file.
                                     636

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 3
Release Date: 2/01/80
Update #:  A-l
BLOCKING FACTORS

     The blocking factor of a file is defined as the number of logical  records
that are contained in one physical record or block.   A file's blocking factor
determines how efficiently it can be stored on disk  or magnetic tape.   It also
affects the efficiency of any program that uses the  file.

     Table B-2 lists for each EIS/AS file the recommended  blocking factor for
storage on IBM 3330 disk units, IBM 2314 disk units, and magnetic tape.   The
recommended blocking factors were primarily established to optimize storage
efficiency for these two models of disk and to optimize processing efficiency
for tape files.  Each user may determine and implement his own blocking
factors; indeed, a user who utilizes a medium of storage other than the  IBM
3330 disk unit, 2314 disk unit, or magnetic tape should establish blocking
factors suitable for his storage medium.  A blank column has been provided in
Table B-2 for the user to enter the locally-defined  blocking factors.

     As released by NADB, EIS/AS utilizes the recommended  blocking factors for
IBM 3330 disk units.  Additionally, all unit record  files  have a blocking
factor of one.

     To change the blocking factor for a file other  than a library file  the
user must accomplish the following:

     1)  Modify the source module of each COBOL program that reads or writes
         the file to reflect the new blocking factor (see  Table B-l).   For all
         files other than unit record files, the RECORD CONTAINS clause  in the
         file's FD statement must be modified.  For  unit record files,  no
         RECORD CONTAINS clause appears in the source module of the COBOL
                                     637

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 4
Release Date: 2/01/80
Update #:  A-l
         programs; however, a comment line is provided  for insertion  of  a
         RECORD CONTAINS clause.   When changing the  blocking  factor for  unit
         record files,  this comment line should be replaced by  the  RECORD
         CONTAINS clause (to maintain the line number integrity of  the source
         module).
     2)  Compile and link edit each COBOL program that  is  modified.
     3)  If the above actions are taken to change the blocking  factor of a
         file prior to  the creation of any copies of the file,  no further
         action is necessary; the file will be created  with the blocking
         factors that have been specified.  However, if there are existing
         copies of the  file, they must be reblocked  before they can be used.
         IBM users can  acccomplish this reblocking with the utility IEBGENER.
         An example of  a run stream to reblock a disk file is shown in Figure
         B-l.

     To change the blocking factor of the program source module library, the
user must modify program CRTLNGP (EC0090) as discussed  in step  1 above,
compile and link edit CRTLNGP (EC0090), and reblock  the program source module
library (see Figure B-2).  IBM users should not reblock the program load
module library or procedure library.

     (Assistance in accomplishing these tasks may be obtained from  the  user's
systems personnel or NADB.)
                                     638

-------
EIS/AS
APPENDIX B

FILE SPECIFICATIONS


Table B-l. Cross-Reference of Files and


File
Permanent Files
Emission Factor File



Master File







NEDS - Report Files
NEDS Transaction File

Temporary Files
Answer File
Programs which
Process
the File

CEMEFAC (EC0020)
CMSEFIN (EC0060)
CMSEFGN (EC0080)
CRPEFAC (EC0150)
CFMMSTR (EC0070)
CMSEFGN (EC0080)
CRPASNA (EC0120)
CRPDUMP (EC0140)
CRPMSTR (EC0130)
CRTGENR (EC0100)
CRTQLEX (EC0170)
CSRMSTR (EC0110)

CCENETR (EC0030)
CRPASNA (EC0120)

CRTGENR (EC0100)
Page 5
Release Date: 2/01/80
Update #: A-l
Programs

Usage
Input/Output

Input/Output
Input
Input
Input
Input/Output
Input
Input/Output
Input
Input
Input
Input
Input/Output

Input
Output

Output
                                                           (Page  1 of  2)

''An  answer file  may  be  used  instead  of  the master  file  in  any  program  that
 uses  the  master file as  input.
                                     639

-------
E IS/AS
APPENDIX B




File
FILE SPECIFICATIONS


Table B-l - continued
Programs which
Process
the File
Emission Factor Transactions CEMEFAC (EC0020)

Internal Transactions






Quick Look Extract Control
Information
Quick Look Extract File

Quick Look Sort And Print
Information
Unit Record Files
EIS/AS Transactions
Retrieval Specifications
Print Files
CSREFTR (EC0010)
CCENETR (EC0030)
CEDMSTR (EC0040)
CFMMSTR (EC0070)
CMSEFIN (EC0060)
CMSEFGN (EC0080)
CRPASNA (EC0120)
CSRINTR (EC0050)
CRTQLED (EC0160)
CRTQLEX (EC0170)
CRPQUIK (EC0180)
CRTQLEX (EC0170)
CRTQLED (EC0160)
CRTQLEX (EC0170)

CEDMSTR (EC0040)
CRTLNGP (EC0090)
All programs
Page 6
Release Date: 2/01/80
Update #: A-l


Usage
Input/Output
Input
Input/Output
Output
Output
Input
Input/Output
Output
Output
Input/Output
Output
Input
Input
Output
Output
Input

Input
Input
Output
                    (Page 2 of 3)
640

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 7
Release Date: 2/01/80
Update #:  A-l
                            Table B-l - continued
Programs which
Process
File the File
Option/Control Cards CCENETR (EC0030)
CEDMSTR (EC0040)
CEMEFAC (EC0020)
CFMMSTR (EC0070)
CMSEFIN (EC0060)
CMSEFGN (EC0080)
CRPASNA (EC0120)
CRPDUMP (EC0140)
CRPMSTR (EC0130)
CRTLNGP (EC0090)
CRTQLED (EC0160)
CSRMSTR (EC0110)
Usage
Input/Output
Input
Input
Input
Input
Input
Input/Output
Input
Input
Input
Input
Input
Input
                                                         (Page 3 of 3)
                                     641

-------
EIS/AS
APPENDIX




















to
cu
^
Ll_

00
^
00
1 — 1
LU
t[
O

to
i.
0
-l_>
o
^u
1 1

01
c
CJ
0
^~
CO


•
CM
1
CO

cu
ro
1—

































FILE SPECIFICATIONS Page 7
B Release Date: 2/01/80
Update #: A-l
i.
cu -a
ex cu
00
to :3 >,
S- J*C ^
o cj 
S- j<; to cu
O CJ CU C O)
O O r— CT> O.
CU i — -r- n3 re
oi co u- s: i—


to — «
«^J- ^_ yx
•— 1 CU CJ
OO «3" 4J (O
CM CTv CJ i.
\t^ c\j n3 ( >
S-" t/) •* i—
Q2 «i — ^s, f^ i-
>-• O - — -C O)
CJ Q.

*
to — •
O S- j*
OO O CU O
OO OO 4->  CJ
cj cu
TO t-
s^
13 S-
j= cu
C_) CX


















cu
r-*
•r—
U_



















•K
•=J- oo o oo o
<*• LO m










o tn  -(-> +-> C
0 cu cj o o
fO CU i — CO CU fl3 •!—
Ll_ i— -r- 00 r— Ll_ +->
CO -r- U_ C OO -I— O
CUCLu n3 CUU-Cra
i — O 4-> S- i — O oo
•i- •!- S_ S_ 1— ••- S- T- C
LutocU O U_CUoon3
CO +-> Q. OO ? to S_
+J-i-tO CUQ >, to .r- | —
CE>
-o
cu
to

ai

cu


oo



-------
EIS/AS

APPENDIX B
FILE SPECIFICATIONS
Page 8

Release  Date: 2/01/80

Update #:  A-l


















00
fJJ
•r—
i i
GO
,
-o •— '




<
•a
HI
-a
c
^ r—
0 0 ro
U O O
OJ i— O
ii CQ _I
^
OJ
Q. 1.
O C O
to 4- O -i-
"CJ 4—3
i- -^ oo O)
O U 0) C 0)
0 O •— O> Q.
rjj r— T— ro ro
o: CQ u. s i—
oo • — »
^- ^_ SX
^< QJ O
co *si~ -p ro
CM CTi O i-
±t CM ro +J
s: to « s_
2Q T- r~^ ro i-
l— i Q 	 -C 0)
U Q.


*
oo * — •»
O i~ ^
co o oj o
CO CO +j ro
CO O (J i-
/y^ •> rO 4-3
5: to co s-
CQ T- i— 1 ro S_
i— i Q « — j: oj
O Q.


S-. l-
O) O
•)-> O
O OJ
ro 5-
s.«
ro S-
JC OJ
0 Q.


















OJ
r—
•r—
U-






















O r— 1 i — 1
^«








(£> t— 1 r— 1
CO











CM .-1 t— 1
CO









cn o ^
CTv O ' — *
O CM
t— i








OJ

OO C T-
c o u.
O •'-
•i— -p 4_> 4->
-t-J O rrj (_>
O ro S ro
rO ^- t- t-
oo .p O -4-J
C. X i+~ X
03 UJ C UJ
s_ ^^
K~ \X M«y/
O r— O
r- O O 0
T3 i S— i
C 4-*
$— jV C ^y
QJ U O O
4J -I- O -r-
E 3 3
•— ' cr cr















i— i









< — i












^H










O
LT>
CM













"O C
C 0
ro •!-
+J
4-> ro

_
C/) O
4-
-ii C
0 i-<
0
—1 -p
c
\x >fv
O i-
•^- Q_
3
o-
                                                                           CM

                                                                           4-
                                                                           O

                                                                           CM

                                                                           OJ
                                                                           cn
                                                                           ra
                                                                           Q.
                                                                        QD
                                                                        O
                                                                        -a
                                                                        a>
                                                                        ro
                                                                        OJ
                                                                        to
                                                                        ro
                                                                        OO
                                                                        •a
                                                                        CU
                                                                        to
                                                                        (/J
                                                                        t.
                                                                        O
                                                                        4->
                                                                        U
                                                                        ro
                                                                        u
                                                                        o
                                643

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 10
Release Date: 2/01/80
Update #:  A-l
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
// EXEC
//SYSPRI
//SYSUT1
II
//SYSUT2
II
II
II
II
II
//SYSIN
                PGM=IEBGENER
                DO SYSOUT=A
                DO DISP=OLD,
                DSNAME='file name1
                DD DISP=(NEW,CATLG,DELETE),
                DSNAME='file name1,
                SPACE=(TRK,(10,1),RLSE),
                UNIT=DISK,
                VOL=('volume/serial information'),
                DCB=('DCB information1)
                DD DUMMY
User-supplied JCL:

Line 4.   Replace 'file name1  with the name of the file to be reblocked.
Line 6.   Replace 'file name1  with the name of the reblocked file.
Line 7.   Space allocation is  dependent upon the file size, and it  may be
          necessary to increase the space allocation.
Line 9.   Replace 'volume/serial information'  with the volume and serial
          specifications of the reblocked file.
Line 10.  Replace 'DCB information' with the DCB informatin specifying the
          new blocking factor.
         Figure B-l.  Sample Job Stream to Reblock a Permanent EIS/AS
                             File Stored on Disk.
                                     644

-------
EIS/AS
APPENDIX B
FILE SPECIFICATIONS
Page 645
Release Date: 2/01/80
Update #:  A-l
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
// EXEC
//SYSPRI
//SYSUT1
II
//SYSUT2
II
II
II
II
II
//SYSIN
COPY
/*
                PGM=IEBCOPY
                DD SYSOUT=A
                DD DISP=OLD,
                DSNAME='library name1
                DD DISP=(NEW,CATLG,DELETE),
                DSNAME='library name1,
                SPACE=(TRK,(10,1),RLSE),
                UNIT=DISK,
                VOL=('volume/serial information1),
                DCB=('DCB information1)
                DD *
                OUTDD-SYSUT2,INDD=SYSUT1
User-supplied JCL

Line 4.   Replace •library name'  with the name of the program source module
          library to be reblocked.
Line 6.   Replace 'library name'  with the name of the reblocked library.
Line 7.   Space allocation is dependent upon the file size,  and it may be
          necessary to increase the space allocation.
Line 9.   Replace 'volume/serial  information"  with the volume and serial
          specifications of the reblocked library.
Line 10.  Replace 'DCB information'  with the DCB information specifying the
          new blocking factor.
             Figure B-2.   Sample Job Stream to Reblock  an  EIS/AS
                        Program Source Module Library
                                     645

-------
EIS/AS
APPENDIX C
SAMPLE LOAD SHEETS
Page 1
Release Date: 2/01/80
Update #:  A-l
                       APPENDIX C - SAMPLE LOAD SHEETS

     This appendix provides sample load sheets which can be reproduced by the
user to aid in the generation of transactions for the emission factor file and
the master file.  Sample load sheets are also provided for retrieval  language
specifications and quick look report control  cards.
                                     646

-------
UJ D
— CJ
   X BC
CO UJ
S K
O CL.





























•if
U
_J
S a
=5*0
C/9 Z -

cc -
U
o
< -.

>
h-
Z
3
O
EJ n
i*-
u S
O h-
95


>
y—
>
^
u
«
o
<
E










£
Z
GEOGRAPHIC




<
i
e/>
M
GO
^
0 cc
>.
0
CO
31
S
r-

£
n
-

o








«j










R


U


n.
u')
~

•-
a



-
-
-
-

-

-





















-









































C4
cc
>
CM
fj
£ I
Z S
I s ~
UTMCOO
ivERTI

N
cc
o
X
Z
o
N! •-
S2 S _,
£§§
K 03 O
o
= i- <
VI Z D
< < u
E5 -J
E S <=>
Z w
u K d
z S o
^2
i s S
u- X -J
-i K <
355
< UJ
u. UJ o
UJ CC o
Q CC CJ

O
P
a.
£
u
UJ
UJ
ct
Z
X
o
UJ

o
h—
<
o
<
05
s
t/1
§ s
S s
o
CO
s
to
£



£

1C
ID
O
<£>

ID
tfi
5
Ul

CO
1

^
^
^

^
o
^

r-
n









j
in

n
O


4

-
4
-
-
4
4

-
4


4

4
4

4

-
-
-



-

-
_
-
-






































tp
—
cc
X
UJ
Z
o
rs( is


in
v-
cc
>

u1)
—
CC
X
UJ
Z
0
Nl it*
QORDINATES
VERT4
CJ
I S
cc
X
LU
Z
rsi «•

M
CC
UJ
>

f»
NJ
EC
O
X
UJ
X
O
r-J n
o
en
CO
J^





c

o
(0
cr

xj
in

§
CO
T



«9


»
n
n
n

t\




(\

PS.
LI

w
U3



-
-
-
-
-


4
-
4

-


-




-
4
4



4

-

-
-

tf S
co S:
to CC

o
o
cc £
< !
cc
=3
cc
Crt
Crt
UJ
" 1
o S
t; s
2 *
J CC
UJ
X _,
> M
> ca
UJ
X
UJ
X
> g
> CJ
UJ
X
LU
X
X
ta
Q-O&- OC
KO^ 02
O
03
s.
ft
^



TJ




CO





„,
V




"




o



,

,
;
-

CO
t9


-
-
"
_,
\

1
~\
\
J
-1
_

-j
1
J
J
J
^
_

J
_1
-
-
~

-1
•4
:
ii
i


                                                                  647

-------
co
< V)
v> Z

55
   C/3 Z
   > O
   v> r-


o o
H- UJ CC
^. > "
in -•• C/3
C CO UJ
2 2 O
= UJ


II
v> s
S£ o
                  cc
                  u
                  a
   §

-------
AGENCY.
EMISSIONS INVENTORY SYSTEM/AREA SOURCE (EIS/ASI
  COMPREHENSIVE DATA HANDLING SYSTEM (COHS)
           CATEGORY TRANSACTIONS
BY	
DATE.
                                                                                                     PAGE	OF.
s
r
A
T
E
1
1



COUNTY
3




AQCR
7



SUBAUOC
NBR
10



CATEG
NBR
15



DISAG
NBfl
18
1


CATEGORY DESCRIPTION
20
1 1 ! 1 1 1 1 1 1 1 1 | 1 | 1 1 1 1 1 1 i 1 I 1


YEAR
«5
1


PROCESS RATE
47
1 1 1 1 1 1 | |

CATEGORY
ADJUSTMENT
56
1 i 1 1 1 1

UNIT
CODE
63
1 j

UNITS CODE
DESCRIPTION
65
1 1 1 1 1 1 1 I t 1 1

C/
s
77


A/
D
78


N
R
79
1
A.
T
6
BO

u
1
F
M JAN
1


FEB
i


MAR
I

MONT
APR


ULYT
MAY
1

HRUP
JUN
1

JTPEF
JUL


ICENT
AUG


AGE
SEP
i


OCT



NOV



DEC

HRS
PER
DAY

9
1
K

WKS
PER
YR
I

THBUPUT
RATIO
1 1 A

MAXIMUM HOURLY
THRUPUT
i i i i i i i i i
c
u
N
F


NITRO
CONT
I 1 1

SULF
CONT
A

ASH
CONT
i A

HEAT
CONTENT
i i i

C/
S


A/
0

„?
N T
» A
	 N
_2
u
N
t
F
R 0
20 21
1
t

I
2

1
3

1
4

HOURLY THRUPUT PERCENTAGE

29


5

1
6
33
1 -
7
35
1
8

1
9

I
10

l
11
43
I
12
45
.. I-
13

i
14
49
-1 -
15

i
16
53

17
55
1
18
57
1
19
59
1
20
61
1
21
63
1 ..
22
65
1
23
67
J ,.


1 1 1 1 I 1 I

C/
s
77


A/
0
78


N
B
R
79
1


0
80


•
NEDS A7 COMMENT
20
_.l 1 1 1 _I_1_1_J_.L_J 	 1 	 1 _L_1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 1 	 L_
S
H
k
54



SOURCE OF INFORMATION NARRATIVE
55 74
1 1 1 1 1 1 I 1 1 1 I 1 1 1 1 1 1 1 1




1

c;
s
77


A/
0
78


R
R
79
4
A
j
tf
80

POLLUTANT
ID
20

1 1 1 1
1 1 I
II!!
1 1 1 1
1 1 1 1

1 1
1 1 1 1
\ ' ' '
I I > I
1 1 1 1
1 1 1 1
1 1
1 1 1
. 1 11
EMISSION FACTOR
25
i i i i i i A, | j
1 1 1 1 1 1 A, 1 1
1 ! 1 l ' ' A ' !
! 1 1 1 1 1 A J |
| j 1 1 1 1 A. 1 1
't 1 1 I 1 1 A 1 1
1 i 1 t 1 1 A 1 1
1 1 1 1 1 1 A 1 1
I 1 | 1 1 1 A 1 1
1 1 1 ! 1 1 A, | (
1 1 1 1 1 1 A 1 1
1 1 1 1 1 1 A 1 I
1 1 1 1 ! 1 A 1 1
1 1 1 1 1 1 A 1 1
1 1 1 1 1 1 A 1 c
1 1 1 1 I 1 A l 1
0
N
F
35
















0
R
G
36
















R
C
37
















POLLUTANT
SPECIFIC DATA
38

1 1 1 1 1 l 1 I 1
1 1 1 1 l 1 l 1 1
1 t l 1 l l l t 1
1 1 1 1 l l i l l
1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1
1 1 l 1 i l l 1 1
J 1 I 1 l 1 l 1 1
1 1 1 1 J l l 1 1
1 1 1 . I I I I 1 I
1 J. J 1 1 1 1 1 1
J_ ± _L 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1
.J 	 1 	 1 	 L.I 1 i. L 1
NEDS A7
EMISSION
48
1 1 I 1 t \
1 1 1 1 1 1
1 1 1 1 1 1


1 1 I 1 1 1

1 1 1 1 1 1


1 t t ! 1 |
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1
1 ' I 1 1 1
— J — 1 — l_l — '- 1
POLLUTANT NAME
55 69
I i t I I I I i 1 I r l l l
i i i i i i i i i i i i i i
t i i i i i i i i i i i i i




i i t i i i i i i i i i i i


- i i • i i i 	 i i i i
l i i i i i i i i i i i i i
i i i t i i i i i i i i i i
i i i i l i i i l i l l i i

' ' ' ' ' ' ' " ' i i i i i


I 1 i l t i












iiiiii

_J — l — 1 — 1 — i — i —
C/
77
















A/
0
78
















N
R
79
"i
If
t\
*!
l\
t\
^
"j
^
S
r

-------
CFlucy EMISSIONS INVENTORY SYSTFM/AREA SOURCE (EIS/ASI RV
COMPREHENSIVE DATA HANDLING SYSTEM (CDHS) DAI
E

5 COMMthi! 1 HanlSACI liiruS pAr t nc
I SUBALLOC CATEG OISAG
E COUNTY AQCR NBA NBR NBR
2 7 10 IS 18
,

LINE
NBR
r;




\ \ _
1 1 _
1 1
1

1
1

!
1 1

\

1 t
t 1



1
1 1

1

1 J --

| |
1 )
HALF COMMENT
" ~2
II 1 1 ! 1 ) 1 ! 1 1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 lit 1 1 II

11 1.1 1 1 1 1 II 1 1 I 1 1 ( I 1 1 t 1 i I 1 1 \ 1 I 1 ! 1 1 < 1 1 1 1 1 1 1 1 1 1
11 J ) 1 1 1 1 ( t 1 1 1 1 1 1 1 1 1 1 1 1 I 1 1 1 I I I < ) [ f ,' 1 1 J 1 1 ' | | 1
II 1 i. I i I i I i i I J f l I I I i 1 I i I i J i i i i i i i i i i i i I I ) i i ! / '
|| 1 1 1 1 1 1 1 1 1 1 1 1 ( f 1 1 1 1 i 1 1 1 i 1 1 1 | ! 1 1 1 1 1 1 1 1 1 1 1 1 | 1 1

II [ t 1 1 1 1 I 1 i 1 I 1 1 1 1 ! 1 1 1 t 1 1 ! I t i I ! ' 1 1 I 1 ! I . 1 1 ! 1 1 I / 1 1

1 ; i I I I I 1 1 l i l I l I i I i i I i i i i i i r i i i i i i i i i i i i i i l I i i i
! 1 1 1 1 ( 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 1 ( 1 t 1 t 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1
ll 11,1111 i i i i t 1 1 I 1 i i i i i i i i i i i i t i i i i i i i i i i i i r i
11 i l l 1 l 1 i l i i t i i 1 i l < l l t l 1 l l l ) i l l i l l l i i l l l l 1 llll
t 1 | 1 i 1 1 1 1 1 | 1 1 1 | 1 1 t 1 1 L 1 1 1 1 1 1 l 1 f ( 1 t 1 1 1 J 1 1 1 I 1 1111
1 1 i f f i 1 1 1 1 1 1 1 1 I 	 1 1 1 1 L 1 1 1 1 1 1 l 1 1 	 I 1 I ! 1 1 I ! 1
. ! 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I 1 1 1 ! 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 I I t 1 1 1 1 llll
1 1 1 1 1 1 1 1 I t 1 1 1 1 1 1 1 1 1 1 1 f f f 1 1 f 1 1 1 1 1 I I 1 1 1 1 I 1 1 ! llll
1 I 1 ! 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 ( 1 1 1 1 1 1 ! 1 1 ) J 1 1 llll
I 1 1 1 1 1 1 1 1 f 1 i 1 1 J ' 1 ! 1 1 1 1 1 1 1 I 1 1 1 1 l 1 I ! 1 1 1 1 ! i 1 ' 1 I i 1 i
! i i l : i i i l l i i ! i ! i ( i i f l l l j : i l i i i i i i s < i i i i i , i i iiii


1 1 t 1 1 1 1 1 i 1 t 1 t 1 1 1 1 1 1 1 1 1 1 i L 1 1 1 1 1 1 i 1 1 1 1 1 \ 1 i 1 1 1 l , 1 (
1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 f 1 1 1 1 ! 1 1 1 J 1 1 1 1 1 1 1 [ 1 1 1 1 1 1 1 1 I 1 1
1 1 1 1 1 1 1 1 1 1 I 1 1 \ I I 1 1 1 1 1 1 1 1 L 1 1 1 1 1 1 1 1 t ! 1 1 1 1 j 1 1 1 i 1 1 1 1
1 1 1 1 f 1 1 1 ! t J J ) 1 I 1 1 1 I 1 1 1 1 1 1 1 1 I 1 1 1 I 1 I 1 1 1 1 1 [ 1 ( i 1. 1 1 1 J
1 I 1 1 1 ! 1 1 f ! 1 1 1 1 1 | | 1 1 | 1 1 1 1 1 1 ! 1 1 i 1 1 1 1 1 1 1 1 1 1 1 1 i ! 1 1 1 1 I
1 1 1 1 1 ! 1 1 1 1 l 1 1 ! 1 1 1 1 1 1 1 i 1 1 t 1 1 1 1 1 1 I 1 f 1 1 1 1 1 ! 1 1 1 1 1 1 1
1 ; 1 1 J 1 1 1 ! ! ! 1 1 1 1 | | 1 ! 1 1 1 1 l 1 1 1 i 1 1 1 ', 1 i i 1 ( ( 1 i t 1 I 1 III!
1 1 1 i 1 1 1 I 1 1 1 1 ( 1 ; I 1 111 I 1 I 1 1 1 1 t ! 1 1 1 1 1 1 1 | | 1 i 1 | | 1 ! ! 1 !
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 i 1 1 1 1 1 1 J 1 1 1 ! 1 1 1 I 1 1 ! 1 1 , 1 1 ! 1 i 1 « 1 1 1 I





[i
-------
























































































"-



r






i_







_








r
r


















r




















E
3

1 	






r












-

"






















































X
3




















i_

r
i






r
L














































z
3



























L


















































SC
O










1
r


L































































ae
o














"•































































B
3

















r
r




























































3














































































X
3














































































B
3














































































Z
3














































































Z
3














































































E
3














































































2
Q














































































2
p














































































Z
D














































































e
3














































































Z
a

























































1
r



















2
?














































































R
3














































































E
3














































































=
3














































































=
3














































































Z
O

-

'—



-


0



































































£
5
v
Q
m-^»-^u>

r»
I
3

>
n
































m
tn
01
f~
3
m
Z

































Z3--JO>
                                              si
                                              ii
                                              yj z
                                              m e/3
                                             m -^ -<
                                              I!
                                              a "i
                                              CO >
                                              < S2
                                              c/> O
651

-------
                >S
                                           o —
                                                                2 C5
                                                                Co M
652

-------
                                                       o
                                                       o
                                                              nS

                                                              iH
                                                              -o O
                                                              33 2
                                                              m M
                                                           33 2 <
                                                           m in m
                             1
                             o
                             c=
                             o
653

-------
                              EMISSIONS INVENTORY SYSTEM / AREA SOURCE (EIS/AS)
                                           RETRIEVAL SPECIFICATIONS
                                                                                                      PAGE 2
      VALID VALUES FOR
      NEGATION FLAG (NF):
             BLANK, N
      RELATIONAL OPERATOR (RO):
             =£QUAL
             >GREATER THAN
             
-------
M
Z
O -j






JT

-
-








-







—






POLLUTANT
O

C

r
C
H

OLLUTANT
D

POLLUTANT
JO _ 	 	

POL tU TAN
ID
-t
f-

2
H
i
3D
3D
m
H
3
-LUTANTS

w
a

-
-










-










K

11

II

11



Sg
Si

II

r-
-1
>NT SUMMARY REPORT FORMAT














•J,





-



—


-



-

_
















II
TOT

Is
«>

TOT

9°
TOT

>O
TOT

1°
=»>
TOT
5g
TOT
g?
TOT
II
TOT

I!
TOT

»O
TOT
ENTER X
FOR TOTALS
D
C
n
T~
X
3D







o

-
-


-


-


-




•-




II
• X

fi!
; x

a
' X

II
X

1°
X
>o
y
•4
30
S
39
O

-
:

w
SU - POLLUTANT SUMMARY REPORT
OL - QUICK LOOK REPORT


S?
m
3D
rn
m
Ol
REPORT TYPE
X ENTER DATA ABBREVIATIONS LEFT TO RIGHT
H ENTER X FOR PAGE BREAK/SUBTOTALLING
"o



-



-
-



—
"o



-







_


-




-
"o











-
—
-
-



—
o











-
-

-
-



-
0












-
_
-
-



_
o












-
-


-






o











-
-

-





-
o











-
_
-
-



-
0











-
-

-





-
O











-
-
-




— '
c

o


-



-




-
o


-










0


-












o














o


-



-
-






1-
o















o


-



-
~






-
0


-



-





-
a


-











0 ,,

i
0
1






1

i

s
0


. -,

'I?
32
•

:SS

VALUE

i ~

AND/OR



^"*
II

ss

VALUE

*-r

AND/OR
1 IP S
m
K
"
o
Z
o
ITERIA



*»
m
r
"n


_

-
-
-
—
-
-



^,
^.


o
•
0


REPORT TITLE



EIS/AS QUICK LOOK RETRIEVAL NAME DATE
655

-------
                                   TECHNICAL REPORT DATA
                           (1'tcase read Instructions on the reverse before completing)
1 REPORT NO
   EPA  450/4-80-009
                                                          3. RECIPIENT'S ACCESSION-NO.
4. TITLE AND SUBTITLE
                                                           5. REPORT DATE

                                                             Mau  1Q«n
   Emissions Inventory System/Area  Source  User's Guide
                                                          6. PERFORMING ORGANIZATION CODE
7, AUTHOR(S)
   The  Research Triangle Institute
   Operations Analysis Division, Research  Triangle Park,
         8. PERFORMING ORGANIEATION REPORT NO.


         NC 27709
9. PERFORMING ORGANIZATION NAME AND ADDRESS
   Office of  Air Quality Planning and  Standards
   Monitoring and Data Analysis Division
   Research Triangle Park, North Carolina   27711
                                                           10. PROGRAM ELEMENT NO.
          11. CONTRACT/GRANT NO.
                                                             68-02-3011
12. SPONSORING AGENCY NAME AND ADDRESS
                                                           13. TYPE OF REPORT AND PERIOD COVERED
   U.  S.  Environmental Protection Agency
   Office of Air, Noise, and Radiation
   Office of Air Quality Planning and Standards
   Research Triangle Park, N.C.  27711
            Final
          14. SPONSORING AGENCY CODE
15. SUPPLEMENTARY NOTES
16. ABSTRACT
        When dealing with atmospheric  pollution,  it is necessary to  amass,  catalog,
   sort,  evaluate and perform calculations  upon large volumes of data.   The Emissions
   Inventory System/Area Source  (EIS/AS)  provides air pollution control  agencies with
   the  capability to create and maintain  their own data bases of area  source data and
   to retrieve data and generate reports  from those data bases.  This  report contains
   step to  step procedures for the operation of each program in the  system.   Each
   program  has sections containing a description, file formats, options, error
   messages, catalogued JCL (IBM), warnings and special instructions,  cost  considera-
   tions, and related programs and procedures.  The report is structured along
   system functional lines; i.i., file creation and maintenance, data  accessing and
   manipulation, and reports.  There is also a section dealing with  inter-functional
   procedures and one which deals with JCL  and general topics.  The  EIS/AS  is
   compatible with NEDS and will automatically handle EPA reporting  requirements.
17.
                               KEY WORDS AND DOCUMENT ANALYSIS
                  DESCRIPTORS
                                              b.IDENTIFIERS/OPEN ENDED TERMS
   Computer Programs
   Computer Software
   Data  Processing
   Emissions Inventory
   Data  Handling
   Computer System Programs
   Data  Base Management System
CDHS
EIS/AS
EIS/PS
NEDS
Atmospheric
Pollution
                       c.  COSATI Field/Group
is.
                                              19. SECURITY CLASS (ThisReport!
                                                 Unclassified
                        21. NO. OF PAGES
                            655
                                              20. SECURITY CLASS (This pagej
                                                 Unclassified
                                                                        22. PRICE
EPA Form 2220-1 (9-73)

-------