r. •  • ,

                                   EPA-450/3-74-045-1
   COMPREHENSIVE DATA HANDLING
SYSTEM, AIR QUALITY DATA HANDLING
    SUBSYSTEM  (AQDHS-H) PROGRAM
  DOCUMENTATION AND USER'S GUIDE
              SECOND EDITION
                        by
               The Research Triangle Institute
                Operations Analysis Division
           Research Triangle Park, North Carolina 27709
               Contract No. 68-02-1386, T.O. 14
             EPA Project Officer:  Lloyd Hedgepeth
                     Prepared for

               ENVIRONMENTAL PROTECTION AGENCY
              Office of Air and Waste Management
           Office of Air Quality Planning and Standards
             Research Triangle Park, N. C. 27711

                     April 1977

-------
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 as supplies permit from the Air
Pollution Technical Information Center, Environmental Protection Agency,
Research Triangle Park, North Carolina  27711; or, for a fee, from the
National Technical Information Service, 5285 Port Royal Road, Springfield,
Virginia  22151.
This report was furnished to the Environmental Protection Agency by the
Research Triangle Institute, Research Triangle Park, North Carolina  27709,
in fulfillment of Contract No. 68-02-1386, T.O. 14.  The contents of this
report are reproduced herein as received from the 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/3-74-045-1
                                   ii

-------
                             TABLE OF CONTENTS

     Preface  	  1
1.0  Introduction   	  2
2.0  Air Quality Data Handling Subsystem (AQDHS) Overview  ...  4
     2.L  Organization 	  5
     2.2  Communication and Data Formats	10
          2.2-1  Master File	10
          2.2-2  Master File Maintenance Transactions   ....  15
     2.3  Routines	23
3.0  Conversion Programs  	  27
     3.1  Old AQDHS File to New AQDHS Input	28
          3.1.1  Organization	29
          3.1.2  Communication and Data Formats	31
          3.1.3  Routines	32
     3.2  Old AQDHS (SAROAD) Input to New AQDHS Input   ....  33
          3.2.1  Organization	34
          3.2.2  Communication and Data Formats	36
          3.2.3  Routines	37
     3.3  AQDHS File to SAROAD Input	38
          3.3.1  Organization	39
          3.3.2  Communication and Data Formats	41
          3.3.3  Routines	42
4.0  Table Maintenance 	  43
     4.1  Parameter Code Table Maintenance  	  44
          4.1.1  Organization	46
          4.1.2  Communication and Data Formats	48
          4.1.3  Routines	49
     4.2  Site Code Table Maintenance	52
          4.2.1  Organization	53
          4.2.2  Communication and Data Formats	55
          4.2.3  Routines	56
                                  111

-------
     4.3  Parameter Standards Table Maintenance    	   59
          4.3.1  Organization	..61
          4.3.2  Communication and Data Formats	63
          4.3.3  Routines	64
5.0  File Maintenance and Transaction Editor   	   67
     5.1  Transaction Editor 	   68
          5.1.1  Organization	69
          5.1.2  Communication and Data Formats    ......   70
          5.1.3  Routines	71
          5.1.4  Option Card	   72
          5.1.5  Transaction Editor Diagnostic Messages  ....   73
     5.2  File Maintenance	74
          5.2.1  Organization	75
          5.2.2  Communication and Data Formats	76
          5.2.3  Routines .  .  .	....77
          5.2.4  Option Card	78
          5.2.5  File Maintenance Diagnostic Messages    ...   .80
6.0  Data Retrieval	81
     6.1  Retrieval Lanuage Processor 	   ...85
          6.1.1  Retrieval Control Card Descriptions  .....   88
          6.1.2  AQ.DHS-II Retrieval Language    	90
          6.1.3  COBOL Specifications Placed In Line	96
          6.1.4  COBOL Statements Obtained  From Copy Member  ...   98
     6.2  Retrieval Requests   	   99
     6.3  Precautions and Constraints  ..........   100
     6.4  Retrieval Inputs     1............   104
     6.5  Retrieval Outputs	   105
7.0  Output Programs    ...............   106
     7.1  Detail Li'st Program .   n   .  .,	107
          7.J.1  Edit Checks	109
          7.1.2  Inputs	Ill
          7.1.3  Outputs   .	.>  .   .   .   117
     7.2  AQDHS-II Sliding Average Program   	   119
          7.2.1  Sliding Average Program Edits	119-3
          7.2.2  Sliding Average Program Inputs .......   120
          7,2.3  Sliding Average Program Outputs    ......   122
                                       iv

-------
    7.3   Data  Analysis	123
         7.3.1  Organization	125
         7.3.2  Communication	128
    7.4   Statistical  List	130
         7.4.1  Organization	131
         7.4.2  Communication and  Data  Formats	133
         7.5.3  Routines	134
    7.5   File  Flagging	.135
         7.5.1  Answer  File Flagging	136
              7.5.1.1  Organization    	   137
              7.5.1.2  Communication  and  Data Formats    ....   139
              7.5.1.3  Routines  	   140
         7.5.2  Parm-Code-Key File Flagging  	   141
              7.5.2.1  Organization    	   142
              7.5.2.2  Communication  and  Data Formats    ....   144
              7.5.2.3  Routines  	   144-1
    7.6   Table List Programs	144-2
         7.6.1  Parameter-Unit Code Print Program  	   144-3
              7.6.1.1  Organization    	   144-4
              7.6.1.2  PXMETHOD  Completion  	   144-6
         7.6.2  Site  Code  Print  Program	144-7
              7.6.2.1  Organization	1.44-8
              7.6.2.2  PXSLTE Completion  	   144-10
         7.6.3  Parameter  Standards Print Program  	   144-11
              7.6.3.1  Organization    	   144-12
              7.6.3.2  PXPRMSTD  Completion  	   144-13
, 0   File  Merging	145
    8.1   File  Merge Program	145-2
         8.1.1  Organization	145-3
         8.1.2  File  Archiving	145-5
         8.1.3  Sample  Merge	145-8
         8.1.4  AXMERGE Messages  	   145-10

-------
Appendix A:   Code Tables	146
Appendix B:   AQDHS Diagnostic Messages 	   151
Appendix C:   Program Modification   	   154
Appendix D:   Cataloged Procedures   	   165
Appendix E:   AQDHS Load Sheets	264
                                  VI

-------
                                 FIGURES

2.1.1          AQDHS System Data Flow	7
2.2-1.1        AQDHS Master File Record Format 	  11
2.2-2.1        AQDHS File Maintenance Transactions   	  16
2.3.1          AQDHS - Organization	26
3.1.1          BXCONVRT - Organization	30
3.2.1          CXCONVRT - Organization	35
3.3.1          AXCONVRT - Organization	40
4.1.1          HXTABLE1 - Organization	47
4.1.4          Parameter Code Table Transactions  	  50
4.2.1          HXTABLE2 - Organization	54
4.2.4          Site Code Table Transaction	57
4.3.1          HXTABLE3 - Organization	62
4.3.4          Parameter Standards Table Transaction 	  65
5.1.1          TXTREDIT - Organization	69-2
5.1.4-1        General Format of Transaction Edit Option Card ....  72-1
5.2.1          FXFILMNT - Organization	75-2
5.2.4-1        General Format of Maintenance Option Card   	  78-1
6.0.1          Schematic of Retrieval Process  	  84
6.1.1          Retrieval Control Card Format   	  87
6.1.2          Valid Data Names For Retrieval Specification   ....  94-1
7.1.2-1        Examples of Valid and Invalid Display Option Statements
               for Processing Sliding Average Values Files 	  113
7.1.2-2        Examples of Valid and Invalid Option Control Card
               Statements for Processing Standard Answer Files   .   .   .  116
7.1.3-1        Examples of Standard Answer Reports   	  117-1
7.1.3-2        Examples of Sliding Average Reports   	  118
7.2-1          Maximum Interval Size for Sliding Average Calculation   .  119-2
7.2.2          Examples of Valid and Invalid Sliding Average Control
               Card Statements	121
7.3.1          DXSTATIS - Organization	127
7.4.1          SXPRINTS - Organization	132
7.5.1-1        MXSENTNL - Organization   	  138
7.5.2-1        NXSENTNL - Organization   	  143
                                 VII

-------
                         FIGURES (Continued)

7.6.]. 1-1      Example Input Run Stream For PXMETHOD	144-5.1
7.6.1.1-2      Example Output From PXMETHOD   	  144-5.2
7.6.2.1-1      Example Input Run Stream For PXSITE  	  144-9.1
7.6.2.1-2      Example Output From PXSITE  	  144-9.2
7.6.3.1-1      Example Input Run Stream For PXPRMSTD   	  144-12.1
7.6.3.1-2      Example Output For PXPRMSTD 	  144-12.2
8.1.1-1        AXMERGE - Organization   	  145-4
8.1.2-1        File Archiving  	  145-7
8.1.3-1        AQSMERGE - Organization  	  145-9
                                 Vll L

-------
PREFACE

This version of the Air Quality Data Handling Subsystem (AQDHS) of the
Comprehensive Data Handling System (CDHS) is a major revision of and
completely replaces the version of AQDHS described in APTD-1086.  Con-
version programs have been provided to assist the user in his transfer
from the old AQDHS to the new AQDHS.  Unless specifically mentioned, any
occurrence of the term AQDHS refers to this version of AQDHS and not the
previous version.

All of the programs in this subsystem have been written in ANS COBOL with
the exception of one program.  The Data Analysis program has been written
in ANS FORTRAN for the Level G IBM FORTRAN-IV compiler.

This second edition, EPA-450/3-74-045-1, reflects  changes to  the  system
that have taken place since  the original publication  of this  manual.

-------
1.0   INTRODUCTION

This document is aimed at two different audiences.  Its primary target
is the person who will be using the Air Quality Data Handling Subsystem
(AQDHS) of the Comprehensive Data handling System (CDHS).   By referring
to the general program write-ups, input card formats, and cataloged pro-
cedures,  the AQDHS user should be able to use the system without reference
to detailed program documentation.  However, sufficient detailed docu-
mentation is provided for the programmer responsible for the maintenance
of AQDHS.  This documentation takes the form of flow diagrams, organi-
zation, data formats and subroutines for each program in AQDHS, as well
as several appendices.  With these goals in mind, the document is organ-
ized in the following fashion:

     o    Section 2.0 - Contains an overview of AQDHS, a brief func-
          tional description of each program comprising the system,
          and a detailed discussion of the system master file and the
          transactions required to build the master file.

     o    Sections 3.0 through 7.0 - Contain detailed functional descrip-
          tions of each program in AQDHS, along with complete instructions
          on the use of all program functions.  Following these are the
          descriptions of program logic, organization, data formats and
          subroutines for each program.  The sections are organized as
          follows:

          Section 3.0 - Conversion programs
          Section 4.0 - Table Maintenance programs
          Section 5.0 - File Maintenance and Transaction Editor
                        programs
          Section 6.0 - Data Retrieval programs
          Section 7.0 - Output programs

-------
In general, each program in AQDHS is organized in the top-down manner
in which higher level programming modules execute one or more lower level
modules to perform specific functional tasks.  These lower level modules
may in turn execute still lower level modules to perform other specific
tasks.  Each module has one entry and one exit only.  Thus, each program
basically consists of a hierarchical structure of programming modules.

In addition, each program in AQDHS is programmed using structured pro-
gramming techniques.  These techniques include using only three basic
types of programming construction blocks (IF/ELSE, DO and PROCESS) and
preclude the use of explicit branches.  These techniques, along with the
top-down organization, make for programs which are extremely readable with
straightforward logic and no branching to confuse the program flow.  This
also enhances the maintainability of the programs which comprise the system.

Because of the advanced manner in which AQDHS was developed, it became
obvious that the standard method of program documentation, instruction by
instruction and field by field, would not provide the level of infor-
mation about the programs necessary for valid understanding.  Therefore,
the AQDHS programs have been documented by first describing their hier-
archical top-down structure and then giving detailed descriptions of each
main module within the structure.  Thus, the serious AQDHS user can find
his way directly into virtually any subroutine of a given program where
he will then find the programming details in the structured code.

In addition, descriptions of all important data areas and all crucial high
level modules within each program have been provided as well as hierarchi-
cal flow charts of each program.

-------
2.0   AIR QUALITY DATA HANDLING SUBSYSTEM (AQDHS)  OVERVIEW

When dealing with atmospheric pollution,  it is necessary to amass,  catalog,
sort, evaluate, and perform calculations  upon large volumes of data.   The
Air Quality Data Handling Subsystem of the Comprehensive Data Handling
System provides a systematic method for collecting this data in a data base
that will provide a central source for the information needed to help
control air pollution.  If the system is  to be helpful, it must maintain
the data base, keeping the information current, and provide a means for
access to the information, presenting it  in a usable form.

The Air Quality Data Handling Subsystem provides the ability to create and
maintain, and to retrieve and print data  from the data base.  The creation
and maintenance is accomplished with the  File Maintenance program.   This
program allows the user to keep his data  base information current and useful.
Access to the data base information is provided by the Retrieval program
set.  These programs provide the means of extracting desired information from
the data base.  The output print programs are then used to convert the
extracted information to a form readable  by the user.  These three func-
tions form the basic system.

In addition to the basic system, several preprocessor and postprocessor
programs are provided which perform functions necessary to make this system
compatible with existing systems.  All of the system programs are described
in detail in the following sections.

-------
                                               Section:   2.1
                                               Version:   3.0

                                               Date:      3/1/77
                                               Page:      1
2.1  ORGANIZATION



AQDHS is organized around two main programs,  File Maintenance and


Retrieval.  There are seventeen other programs in the system that


perform service functions.  The interface for the programs that feed


the File Maintenance program is the AQDHS transaction card.   The


AQDHS master file serves as the interface for the other programs.



The AQDHS components are:



   0    Old AQDHS File to New AQDHS Input - Converts existing


        AQDHS files to new AQDHS transactions for building a new


        AQDHS master file.



   0    Old AQDHS (SAROAD) Input to New AQDHS Input - Converts old


        AQDHS transactions (SAROAD format) to new format AQDHS


        transactions.



   0    Parameter Code Table Maintenance - Maintains a table


        containing the valid combinations of  parameter, method and


        unit codes along with their descriptions plus the minimum


        detectable value of the parameter.



   0    Site Code Table Maintenance - Maintains a table containing


        the valid combinations of state, area, site, agency and


        project codes along with a description of the site.

-------
                                             Section:    2.1
                                             Version:    3.0
                                             Date:       3/1/77
                                             Page:       2
°    Parameter Standards Table Maintenance - Maintains a table

     containing state and federal standards for parameters.


0    Transaction Editor - Edits file maintenance transactions and

     converts them to an internal form usable by File Maintenance.


0    File Maintenance - Creates and maintains the AQDHS master file.


0    Retrieval Language Processor - Generates a COBOL program to

     retrieve records from the master file based on user

     specifications.


0    Retrieval - Generated by the Retrieval Language Processor.


°    Detail List - Provides a detailed formatted listing of  the

     contents of the master file.


°    Sliding Average - Formats each record in a sliding average

     answer file and computes a sliding average of the readings

     contained therein.


°    Answer File Flagging - Appends an end-of-file (EOF) sentinel

     record to the answer or master file for use by Data Analysis.


°    Parm-Code-Key File Flagging - Appends an end-of-file (EOF)

     sentinel record to the key portion of the parameter, method,

     unit codes table file for use by Data Analysis.

-------
                                                  Section :  2.J
                                                  Vcrsion:  3.0
                                                  Date:     3/1/77
                                                  Page:     3
          Data Analysis - Performs various statistical analyses on

          the readings in the master file.


          Statistical List - Formats the results of the analyses

          performed by Data Analysis.


     0    AQDHS-II File to SAROAD Input - Extracts new and changed

          readings in the AQDHS file and generates magnetic tapes

          for submission to SAROAD.


     0    Site Code List - Provides a detailed formatted listing of

          the site code file.


          Parameter Code List - Provides a detailed formatted listing

          of the parameter code file.


     0    Parameter Standards List - Provides a detailed formatted list-

          ing of the parameter standards file.


     0    AQDHS-II File Merge - Merges two distinct AQDHS-II master

          files into one master file.


Figure 2.1.1 illustrates a possible data flow through AQDHS-II.
                             3-1

-------
THIS PAGE LEFT INTENTIONALLY BLANK
                6-2

-------
      ~TiTd

       File

           Old AQDIIS
           Transac t i ons
     Program
     HX( ONVRT
                                                             Section:
                                                             Version:
                                                             Date:
                                                             Page:
                                                        2.1.1
                                                        3.0
                                                        3/1/77
                                                        1
             Program
             ( >.( ONVKT
   ::.'w AQDIIS
   1 r an.sac t i ons
           rJcw AOl'HS
           Transact ions
                      ,
  Program
  IIXTAB1.C1
     L
Table Ruild
Transac t ions
  Partn
Dcsc rip.
  Fi IP
Rite
fodp
V i 1 (>
                Program
                1IX7ABL1£2
              Table  Build
              Transact ions
                                                          Program
                                                          'IXTRKDIT
Intel n.! 1
 Trans-
 ac t i ons
                       Program
                       KXFILMNT
                      Old
                    Master
                      File
                  AQDHS  System Data Flow
                        Figure  2.1.1

-------
                                                Section:
                                                Version:
                                                Date:
                                                Page:
                                    2.1.1
                                    3.0
                                    3/1/77
                                   /Saroad  \
                                    Add File)
                 Current
                 Master

Retrieval
Specificatio



Retrieval
Program
Set
K,
lx*
L
^
Program
AXCONVRT
N
7
IN
P1
                                lew
                               Master
            Either
Or
                                      V
Standarc
Answer
File
           Average
           Answer
             File
                                  Program
                                  IXSLDAVG
                               Sliding
                               Average
                               Computed
                  AQDHS SYSTEM DATA FLOW
                Figure 2.1.1 (continued)

-------
                                Section:
                                Version:
                                Date:
                                Page:
2.1.1
3.0
3/1/77
3
Sliding
Average
Values
File
                                      Statistical
                                      Report
                  Farm
                  Standards
                  File
 AQDHS System Data Flow
Figure 2.1.1 (continued)

-------
                                                        Section:   2.1.1
                                                        Version:   3.0
                                                        Date:      3/1/77
                                                        Page:      4

2.2   COMMUNICATION AND DATA FORMATS

2.2-1   MASTER FILE

The AQDHS master file record is designed to contain all data related to
a particular parameter collected at a specific site.   Each record
represents a certain logical period of time—the length of the  period
being determined by the interval at which samples are  taken. For any
sampling interval less than 24 hours, the record represents one day's
worth of data.  Daily and weekly sampling intervals are contained in
records representing one month's worth of data.   Monthly and quarterly
sampling intervals yield records representing a  full year's worth of
data.  All records have the same format and are  variable in length,
with the length being determined by the number of readings actually
stored in the record, not the maximum possible.   For instance,  a  record
for hourly intervals could hold a maximum of 24  readings.   If readings
1,  3 and 6 were supplied when the record was created,  the physical
record would be 6 readings long, with reading 2, 4 and 5 filled with 9s
to indicate a null value.

The AQDHS master file records will also store composite data.   The
composite readings are grouped in records representing a full year's
worth of data with the exception of weekly composite data.  Weekly
composite data is stored one reading per record.

The format of the master file record is illustrated in Figure 2.2-1.1.
                                       10

-------
AQDHS Master Record
Position


3
5
9

13

16
18
20
22
24
29
31

34

37
1
2
- 4
- 8
- 11
12
- 14
15
- 17
- 19
- 21
- 23
- 28
- 30
- 32
33
- 35
36
- 40
Format

     o
     9
    XX
  9999
   999
     A
    99
     X
    99
    99
    99
    99
 99999
    99
    99
     9
    99
     A
  9999
ibol
                                             Numeric
                                             Numeric
                                             Alphameric
                                             Numeric
                                             Numeric
                                             Alphabetic
                                             Numeric
                                             Alphameric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Numeric
                                             Alphabetic
                                             Numeric
Description

Action Code
Form Code
State Code
Area Code
Site
Agency
Project
Time Code
Year
Itonth
                  Start  Hour
                  Parameter Code
                  Method Code
                  Unit Code
                  Decimal Code
                  Number of Readings
                  Status Flag
                  Data Field
Note:  Positions 36 - 40 may be repeated to include more than one reading
in the Master Record.  The number of repetitions is determined by tlie
value in the Number of Readings field.
                       AQDHS Master Record Format
                             Figure 2.2-1.1
                                     11

-------
2.2-1.1   DEFINITION OF AQDHS MASTER FILE RECORD FIELDS

Action Code:  This code indicates the last action that was performed on
     this record.  The action codes are two (2) for Add and three (3) for
     Change.

Form Code:  The three SAROAD transmittal-form codes currently accepted by
     AQDHS are:  form #1, less than 24-hour sampling interval; form #2,
     24-hour or greater sampling interval; and form #3, multiple station
     form.  The corresponding AQDHS forms use the same form codes.  Form
     //2 is also used for composite data.

State Code:  State names are arranged in alphbetic sequence and assigned
     numbers from 01 to 52.  To maintain consistency, both the District
     of Columbia and the territory of Puerto Rico are considered as states.

Area Code:  Within each state the names of all incorporated areas with a
     population of more than 2500 and all counties are arranged alpha-
     betically and assigned a four-digit number.  County codes are used
     only for stations located outside incorporated areas.

Site:  Specific sampling sites are designated by a three-digit number that
     permits a maximum of 999 sites in each city or county area within a
     state.  Users are advised to contact the National Aerometric Data
     Bank to obtain their site codes.  The valid SAROAD site codes from
     NADB will be used by the edit program when the transaction cards
     are checked.

Agency:  The type of agency responsible for the sampling is designated by
     a single, alphabetic code.  The current agency codes are shown in
     Appendix A, Table 1.

Project:  The project codes classify projects according to the purpose
     of the project under which the data is generated.  The principal
     categories are shown in Appendix A, Table 2.

                                     12

-------
Time Code:  A single-digit alphameric code.  The time codes used by AQDHS
     to indicate sampling intervals are shown in Appendix A, Table 3.

Year:  The AQDHS date validation check accepts years from 1960 to the
     current year.

Month:  The AQDHS date validation check accepts months from 01 to 12.

Day:  The AQDHS date validation check accepts days from 01 to the maximum
     for each month.  The maximum for February is 29.

Start Hour:  A two-digit numeric code that indicates the hour of the first
     reading.  The range of hours is from 00 to 23.

Parameter Code:  A five-digit numeric code which permits a branching sub-
     categorization of pollutants.  A ]ist of currently assigned codes
     may be found in EPA Publication No. APTD-0633; SAROAD Parameter
     Coding Manual.

Method Code:  A two-digit numeric code designating the methods of collec-
     tion and analysis.  A list of valid codes may be obtained from EPA.

Unit Code:  A two-digit numeric code used to designate the unit of measure-
     ment.  A list of valid unit codes may be obtained from EPA.  A partial
     list may be found in Appendix A, Table 4.

Decimal Code:  A single-digit numeric code from 0 to 4 which indicates
     the number of digits in the data field that are to fall to the right
     of the decimal point.

Number of Readings:  A two-digit numeric field that indicates the number
     of Data Fields and Status Flags that are in the record.  This number
     is generated by the File Maintenance program and is used by the out-
     put programs.
                                      13

-------
Status Flag:   This is a single-digit  alphabetic code that indicates that
     the associated Data Field has been sent to SAROAD (value is 'S'),
     or is to be sent as an Add Record (value is 'A'), or Change Record
     (value is 'C').  The flag is set by the File Maintenance program
     and by the ADQHS File to SAROAD  Input conversion program.

Data Field:  The data fields contain  the data as a four-digit number
     right-justified with leading-left zeros.
                                       14

-------
2.2-2   MASTER FILE MAINTENANCE TRANSACTIONS

The master file is constructed from the inform.ition contained on  the
AQD11S Input transaction cards.  These are three types of cards:   Format  ] ,
Format 2 and Format '}.  The Format 1 transactions .irr> used to enter read-
ings taken at less than daily Intervals.  The Format 2 and Format  3 trans-
actions are used to enter readings taken at daily or greater than daily
intervals.  Format 2 allows readings for multiple parameters to be. entered
while Format 3 allows readings from multiple stations to be entered.  For-
mat 2 transactions are also used to enter composite data.

Figure 2.2-2.1 illustrates the formats of the various transactions.
                                     15

-------
Format 1 AQDHS Transaction
     Columns
Format
Symbol
1
2-3
4-7
8-10
11
12-13
14
15-16
17-18
19-20
21-22
23-27
28-29
30-31
32
33-36
37-40
41-44
45-48
49-52
53-56
57-60
61-64
65-78
79
80
9
XX
9999
999
A
99
9
99
99
99
99
99999
99
99
9
9999
9999
9999
9999
9999
9999
9999
9999

A
9
Numeric
Alphameric
Numeric
Numeric
Alphabetic
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric

Alphabetic
Numeric
Description

Form Code
State Code
Area Code
Site Code
Agency Code
Project Code
Time Code
Year
Month
Day
Start Hour
Parameter Code
Method Code
Units Code
Decimal Position
Reading
Reading
Reading
Reading
Reading
Reading
Reading
Reading
Unused
Status Flag
Action Code
                  AQDHS File Maintenance Transactions
                            Figure 2.2-2.1
                                      16

-------
Format 2 AQDHS Transactions
     Columns
Format
Symbol
1
2-3
4-7
8-10
11
12-13
14
15-16
17-18
19-20
21-22
23-27
28-29
30-31
32
33-36
37-50
51-64
65-78
79
80
9
XX
9999
999
A
99
X
99
99
99
99
99999
99
99
9
9999



A
9
Numeric
Alphameric
Numeric
Numeric
Alphabetic
Numeric
Alphameric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric



Alphabetic
Numeric
Description

Form Code
State Code
Area Code
Site Code
Agency Code
Project Code
Time Code
Year
Month
Day
Start Hour
Parameter Code
Method Code
Units Code
Decimal Position
Reading
Repeat Columns 23-36
Repeat Columns 23-36
Repeat Columns 23-36
Status Flag
Action Code
                 AQDHS File Maintenance Transactions
                     Figure 2.2-2.1   (continued)
                                      17

-------
Format 2 AQDHS Composite Transaction

     Columns        Format         Symbol        Description
                                                  Period
                                                  Number  of  Samples
                                                  Composite  Type
                                                  Time  Code*
     All other fields have the same format and meaning as  those  in
     the standard Format 2 transaction.
17-18
19-20
21
22
99
99
9
X
Numeric
Numeric
Numeric
Alphameric
*  Use SAROAD time code (APTD-0663 - Code Table 3)  instead of AQDHS time
   code.

                  AQDHS File Maintenance Transactions
                       Figure 2.2-2.1  (continued)
                                       18

-------
Format 3 AQDHS Transaction
     Columns
Format
Symbol
1
2-3
4
5-6
7
8-12
13-14
15-16
17
18-19
20-21
22-23
24-25
26-29
30-32
33-36
37-49
50-62
63-75
76-78
79
80
9
XX
A
99
X
99999
99
99
9
99
99
99
99
9999
999
9999




A
9
Numeric
Alphameric
Alphabetic
Numeric
Alphameric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric




Alphabetic
Numeric
Description

Form Code
State Code
Agency Code
Project Code-
Time Code
Parameter Code
Method Code
Units Code
Decimal Position
Year
Month
Day
Start Hour
Area Code
Site Code
Reading
Repeat Columns 24-36
Repeat Columns 24-36
Repeat Columns 24-36
Unused
Status Flag
Action Code
                  AQDHS  File  Maintenance Transactions
                      Figure 2.2-2.1   (continued)
                                       19

-------
2.2-?.1   DEFINITION OF AQDHS FILE MAINTENANCE TRANSACTION FIELDS

Action Code:  Indicates the. action to be performed by this transaction.
     Valid codes are:
          1 - Delete
          2 - Add
          3 - Change

Agency Code:  Identifies the agency responsible for these readings.   Valid
     codes are found in Appendix A, Table 1.

Area Code:  Identifies the area in which the  sampling site is located.

Composite Period:  Identifies the period during which the composite
     sample was taken.  Valid codes are:
          01 - 04                  Quarterly  and Seasonal Composite
          01 - 12                  Monthly Composite
          01 - 52                  Weekly Composite
          00                       Annual Composite
     Refer to APTD - 0663 for a full discussion of composite data.

Composite Number of Samples:  Indicates the number of individual samples
     that were composited.

Composite Time Code:  Indicates the interval  at which the individual
     composited samples were taken.  This time code should be taken
     from Code Table 3 in APTD-0663 rather than from Appendix A,
     Table 3 in this document.

Composite Type:  Indicates the interval at which the samples are com-
     posited.  Valid codes are:
          1 - Quarterly Composite
          2 - Seasonal Composite
                                      20

-------
          3 - Monthly Composite
          4 - Weekly Composite
          5 - Annual Composite

Day:  The day of the month on which the sample was taken.

Decimal Position:  A single-digit number from 0 to A which indicates the
     number of digits in the reading that are to fall to the right of
     the decimal point.

Form Code:  The identification number of the form being used; 1, 2 or 3.

Method Code:  Identifies both the collection method and the analysis
     method of the parameter being measured.

Month:  The month of the year during which the sample was taken.

Parameter Code:  Identifies the parameter being measured.  Refer to
     APTD-0633 for a full list of currently accepted parameter codes.

Project Code:  Identifies the project in association with which the
     sample was taken.  Valid codes are found in Appendix A, Table 2.

Reading:  The value of the sample taken.

Site Code:  Identifies the site at which the sample was taken.

Start Hour:  On the Format 2 and Format 3 transactions, the hour at
     which the sample was taken.  On the Format 1 transaction, the
     hour at which the first reading was taken.

State:  Indicates the state (or other geographic division) in which
     the sampling site is located.
                                       21

-------
Status Flag:  Indicates the status of the readings on the transaction.
     Valid codes are:
          S              previously sent to SAROAD
          blank          to be sent to SAROAD

Time Code:  Indicates the interval at which the samples were taken.   Valid
     codes are found in Appendix A, Table 3.

Units Code:  Indicates the units in which the parameter was measured.
     A partial list may be found in Appendix A, Table 4.

Year:  The year in which the sample was taken.

-------
2.3   ROUTINES

Within each program in AQDHS, certain similarities of construction and
format will immediately become apparent.  The top level paragraph (the
one with which execution begins) in each COBOL program is named
ROOT-SEGMENT.  This paragraph controls, on a gross level, the sequence
of execution of all other paragraph in the program.  ROOT-SEGMENT performs
at least three other paragraphs in this order:  PCM-INIT, MAIN-LOOP,
WRAP-UP.  Within ROOT-SEGMENT there may be other paragraphs performed
or other READS, WRITES or switch settings to tailor ROOT-SEGMENT to
the particular program, however, the three basic paragraphs remain.

     o    PGM-INIT
          This paragraph performs whatever program initialization
          functions are necessary.  These generally consist of
          opening all files, clearing work areas and initializing
          switches.

     o    MAIN-LOOP
          This paragraph controls the main-line processing of the
          program.  Usually, this consists of reading an input
          record and, based on that input, determining the action
          to be taken.

     o    WRAP-UP
          This paragraph performs whatever program termination
          functions are necessary.  These usually consist of
          writing program execution statistics messages and
          closing all files.

Because the paragraphs ROOT-SEGMENT, PGM-INIT, MAIN-LOOP and WRAP-UP are
found in each COBOL program in AQDHS and their functions are similar,
the detailed program documenation usually begins with a description of
MAIN-LOOP.

Figure 2.3.1 shows the general AQDHS program organization.

                                     23

-------
During the development of AQDHS, it became apparent that many programs
had certain identical functions to perform.   For example, each program
needed a print routine to control the printing of any messages it may
have.  Whenever a function performed by more than one program could be
identified and could be accomplished by identical code, a paragraph or
group of paragraphs was developed to fulfill the functions.  These
functional modules could then be "plugged into" any program needing this
function.  The use of "global code" aided greatly in the reduction of
coding time and effort during the development of AQDHS.  Some of the
global modules are identified below.

     o    PRINT-ROUTINE
          This routine controls the printing of any messages from
          the program to the user.  It keeps track of the number
          of lines printed on the page and handles the printing of
          titles at page overflow.

     o    BUILD-TABLES
          This routine reads in the valid site code table file and
          the key portion of the parameter, method, unit codes
          table file and builds them as arrays in core storage.

     o    BUILD-PARM-DESCRIPTION
          This routine reads in the description portion of the
          parameter, method, unit codes table file and builds it
          as an array in core storage.

     o    BUILD-STANDARDS-TABLE
          This routine reads in the parameter standards  table
          file and builds it as an array  in core storage.

     o    SEARCH-TABLES
          This routine searches the valid site code  table  array
          and  the parameter, method, unit codes  table  array  and
          returns the subscripts  of the correct  entries.
                                       24

-------
LQCATE-STANDARD
This routine locates the appropriate state and federal standards
for the parameter in question.  Refer to section 4.3 for a
discussion of the selection algorithm.

ERROR-ROUTINE
This routine handles the printing of error messages.

-------
                        KOfn-SKIMFN']
i
.AOr>!!S  -
                     PiH»,un ' :• it ion
                     i .>  2.1. !
                            26

-------
3.0   CONVERSION PROGRAMS

AQDHS provides three conversion programs to aid in entering data into
and extracting data from the AQDHS master file.  Two provide conversion
of data for input to AQDHS.  They are the Old AQDHS File to New AQDHS
Input and the Old AQDHS (SAROAD) Input to New AQDHS Input conversion
programs.  The AQDHS File to SAROAD Input conversion program extracts
data from the AQDHS master file for submission to SAROAD.
                                        27

-------
3.1   OLD AQDHS FILE TO NEW AQDHS INPUT

The Old AQDHS File to New AQDHS Input conversion program extracts the
information contained in an old format AQDHS master file and converts
it to the new AQDHS input format.  These transactions may then be run
through the Transaction Editor and File Maintenance programs to build
a new format AQDHS master file.

All data in the old AQDHS master file should be sent to SAPOAD before
the conversion to the new AQDHS master file as this program sets
the status flag to  'S'3 indicating that the data has been sent to
SAROAD.

In order for this conversion program to work correctly, the format of
the old AQDHS master file must correspond to the file description in
APTD-1086.  Any other file format will cause unpredictable results.

The name of the load module is BXCONVRT.
                                     28

-------
 1.1.]   O RGANIZATION

 The Old AQ1JI1S File to New AQDHS Input conversion program is organized
 in a top down, modular structure.  There is only one entrance and  one
 exit from the program, both contained in the highest level module.
 Each lower level module invoked has the same characteristics:  one
 entrance and one exit.

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the old AQDHS file.  First
          the time codes are checked for form-1, form-2, or an
          invalid form number.  If it is a form-1 (less than
          daily sampling interval), CONVERT-TO-FORM-1 is
          performed.   If it is a form-2 then CONVERT-TO-FORM-2
          is performed, otherwise an error message is printed.
          Finally, READ-ROUTINE is performed which reads the
          next old AQDHS record.

     o    CONVERT-TO-FORM-1
          This routine builds a new AQDHS input record.  First
          the data fields are moved.  Then EXTRACT-TRANS-1 is
          performed which edits and moves the valid readings
          to the new record.  If there are any readings in the
          new record then WRITE-ROUTINE is performed which writes
          a new AQDHS record.

     o    CONVERT-TO-FORM-2
          This routine builds a new AQDHS input record.  First
          the data fields are moved.  Then EXTRACT-TRANS-2 is
          performed which edits a specific data field and moves
          it to the new record; afterwards, WRITE-ROUTINE is
          performed.

Figure 3.1.1 shows the organization of BXCONVRT.

-------
             MMN-1,001'
                           1
RXCONVRT -  Organization
      Figu ro  1.1,1

-------
3.1.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.   If true,  a data set end-
          of-file has been detected.
                                       11

-------
3.1.3   ROUTINES

The following are major subroutines of the Old AQDHS File to New AQDHS
Input conversion program.

     o    PRINT-SAROAD-RECORD
          This routine reformats the old AQDHS file record
          and prints it out.

     o    READ-ROUTINE
          This routine reads an AQDHS record and performs
          PRINT-SAROAD-RECORD.

     o    WRITE-ROUTINE
          This routine writes a new AQDHS record.
                                     32

-------
3.2   OLD AQDHS (SAROAD) INPUT TO NEW AQDHS INPUT

This program accepts old AQDHS (SAROAD) format transactions and action
cards and outputs new AQDHS format transactions.  These transactions
may then be used to create or update the AQDHS master file.

An action card indicates the action to be performed by all old AQDHS trans-
actions following it until the next action card is encountered.  Action
cards are identified by a '$' in column 1 and an action code in column 2.
There are three valid action codes: '!', '2', and '3'.  '!' signals
'delete', '2' indicates 'add' and '3'  means 'change'.  A '$4'  card is a
status flag card and indicates that all old AQDHS transactions following
it have been sent to SAROAD and the program begins generating a status
flag of 'S'  on the new AQDHS output transactions.  This status flag code
does not override the action code currently in effect (1,  2 or 3) nor
can it be reset for the rest of the execution of the program.

The name of the load module is CXCONVRT.

-------
3.2.1   ORGANIZATION

The Old AQDHS (SAROAD) Input to New AQDHS Input conversion program is
organized in a top down, modular structure.  There is only one entrance
and one exit from the program, both contained in the highest level
module.  Each lower level module invoked has the same characteristics:
one entrance and one exit.

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the input file.  First the
          input record is tested for an action card and, if it
          is, the action code is saved.  If it is a valid trans-
          action, then CONVERT-TRANS is performed which branches
          to CONVERT-TRANS-1, CONVERT-TRANS-2, or CONVERT-TRANS-3
          depending on the transaction code.  Finally, READ-ROUTINE
          is performed which reads the next input record.

Figure 3.2.1 shows the organization of CXCONVRT.
                                      34

-------
MAIN-LOO]'
     CXCONVRT - Organization
           Figure  3.2.1
                     35

-------
3.2.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.  If true, a data set
          end-of-file has been detected.

     o    SAROAD-STATUS-IS-SENT-SW
          May contain TRUE or FALSE.  If true, the status of
          TRANS-STATUS-FLAG will be sent ('S').

     o    ACTION-CODE-SAVE
          Carries the value of the current action card in
          effect (other than 'sent').
                                       36

-------
3.2.3   ROUTINES

The following are major subroutines of the Old AQDHS (SAROAD) Input to
New AQDHS Input conversion program.

     o    CONVERT-TRANS
          This routine edits the fields on the input record
          for valid data.  If invalid, an appropriate error
          message is printed out.

     o    READ-ROUTINE
          This routine reads an input record until end-of-
          file.  Then TRUE is moved to END-OF-FILE-SW.

     o    SPLIT-TRANS-1
          This routine splits the input transaction between
          two work areas and re-calculates the start hour in
          the second work area.  If there is data In the work
          data fields, then WRITE-TRANS is performed.

     o    WRITE-TRANS
          This routine writes the output transactions and
          clears the transaction work area.
                                      37

-------
3.3   AQDHS FILE TO SAROAD INPUT

The AQDHS File to SAROAD Input conversion program provides the user with
the capability of periodically extracting new or changed data from the
AQDHS master file and sending it to SAROAD for inclusion in the National
Aerometric Data Bank.  It is still the user's responsibility, however,
to notify the EPA Regional Office and the NADB when previously submitted
data is deleted from the AQDHS master file.

All data which has been previously sent to SAROAD is not re-sent.  All
data which has been previously sent to SAROAD but has been changed is
sent as a change transaction.  All new data is sent as an add transaction.
As each reading is sent to SAROAD, its associated status flag is changed
from 'A' or 'C' to 'S', indicating that it has been sent.  The master
file output from this program contains the same information as the
input master file except that all status flags are set to 'S'.  This
master file thereby becomes to current AQDHS master file.

There are two ouput files containing transactions to be sent to the NADB.
One file will begin with a '$2' action card followed by all add trans-
actions, if any.  The other file will contain a '$3' action card and all
change transactions, if any.  The '$2' and '$3' cards indicate the
action to be performed by the transactions following them, add or change.

The name of the load module is AXCONVRT.
                                      38

-------
        Opr;AMIXATION
The AQDHS File to SAROAD Input conversion program is organized in a top
down, modular structure.  There is only one entrance and one exit from
the program, both contained in the highest level module.  Each lower level
module invoked has the same characteristics: one entrance and one exit.

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the AQDHS master file.
          It determines the form code and invokes the appropriate
          conversion routine.  If the record has any add or
          change fields, a record is written to the SAROAD add
          file or the SAROAD change file.  Afterwards, a new
          master file record is written and an old master file
          record is read.

     o    CONVERT-FORM-1 and CONVERT-FORM-2
          These routines build the SAROAD transaction records.
          First the ident key is moved from the master record.
          Then CONVERT-TIME-CODE is performed to convert the
          AQDHS time code to SAROAD time code.  Next EXTRACT-DATA
          is performed to build the SAROAD add or change
          fields of the SAROAD transaction record.  If the add
          or change fields are built, a record is then written.

Figure 3.3.1 shows the organization of AXCONVRT.
                                       39

-------
                MAIN-LOOP

  KXTKACT-
   DATA-J
                               1
AXCONVRT  -  Oi j;.ini  :;\( ion
       Figure  !. i. !

-------
3.3.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.  If true, a data set
          end-of-file has been detected.

     o    TIME-CODE-LOCATED-SW
          May contain TRUE or FALSE.  If true, a match from
          a master file record is equal to a time code in
          the time-code-table.

     o    TYPE-IS-ADD-SW
          May contain TRUE or FALSE.  If true, a record is
          written to the add file.

     o    WRITE-TRANS-SW
          May contain TRUE or FALSE.  If true, a Form-1 record
          is written.
                                       41

-------
3.3.3   ROUTINES

The following are major subroutines of the AQDHS File to SAROAD Input
conversion program.

     o    EXTRACT-DATA-1
          This routine extracts readings and converts all the
          add or change flags in the master record to 'S',
          indicating that it has been sent to SAROAD.

     o    EXTRACT-DATA-2
          This routine extracts readings and converts all the
          add or change flags in the master record to 'S'.
          If the status is not 'S', the INCREMENT-BY-TIME-CODE
          routine is performed.  Then a SAROAD add or change
          record is written.

     o    INCREMENT-BY-TIME-CODE
          This routine converts the time code from the master
          record to hour, day, or month for the SAROAD trans-
          action record.

     o    READ-ROUTINE
          This routine writes a new master file record and
          then reads the next old master file record.

     o    WRITE-ROUTINE
          This routine writes a SAROAD add or change record and
          performs INCREMENT-BY-TIME-CODE.
                                      42

-------
4.0   TABLE MAINTENANCE

Three programs are provided by AQDHS to maintain tables necessary for
editing and report formatting.  They are the Parameter Code Table
Maintenance, the Site Code Table Maintenance and the Parameter Standards
Table Maintenance programs.  As with File Maintenance, they are used
to create and update their respective tables.
                                        43

-------
4.1   PARAMETER CODE TABLE MAINTENANCE

The Parameter Code Table Maintenance program creates and maintains a
table containing the valid combinations of parameter code, analysis
and collection methods code, units code and the minimum detectable value
of the parameter.

The table is stored externally in two segments. The key portion of the
table, containing the parameter codes, methods codes, units codes and
minimum detectable values, is stored in one segment while the associated
description portion is stored in the other segment.  The description
portion contains prose descriptions of the values contained in the
key portion of the table.

The Parameter Code Table Maintenance program operates in one of three
modes: ADD, CHANGE and DELETE.  The transactions entered into the
program determine the mode of operation.

Two transactions must be entered for each entry in the table.  The table
file is searched in an attempt to match the key of the transactions with
the key of an entry in the table.  If no match can be found, the program
operates in ADD mode and adds the entry described by the transactions to
the table.  If a matching key is found, the description portions of the
transactions are examined.  If they are blank, the program operates in
DELITE mode and deletes the entry from the table.  Otherwise, the program
operates tn CHANGE mode and replaces the description portion of the table
entry with the description portions of the transactions.

Refer to Figure 4.1.4 for a description of the transactions.
                                     44

-------
The transactions must be sorted on the following fields before being read:
          Key
          Transaction-id
bytes 2-15
byte 1
ascending
ascending
The name of the load module is HXTABLE1.
                                     45

-------
4.1.1   ORGANIZATION

The Parameter Code Table Maintenance program is organized in a top down,
modular structure.  There is only one entrance and one exit from the
program, both contained in the highest level module.  Each lower level
module invoked has the same characteristics:  one entrance and one
exit.

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the transaction file.
          First, EDIT-TRANS is performed, which validates the
          fields in the transactions.  If the cards are valid,
          LOCATE-MSTR is performed until the proper position
          is located.  The required update is then performed.
          Finally, READ-ROUTINE is performed which reads two
          cards into the transaction work area.

Figure 4.1.1 shows the organization of HXTABLE1.
                                      46

-------
Kl) IT-TRANS
                                                   KI'IAD-UOUTINI'.
             HXTABLE1 -  Organization
                   Figure  4.1.1
                              47

-------
4.1.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.   If true, a data set
          end-of-file has been detected.

     o    ERROR-FOUND-SW
          May contain TRUE or FALSE.   If true, an error has
          been detected during the card read routine processing.

     o    LAST-TRANS-WAS-DELETE-SW
          May contain TRUE or FALSE.   If true, the last
          transaction deleted a parameter table entry.

     o    READ-SUPPRES S ED-SW
          May contain TRUE or FALSE.   If true, suppresses the
          reading of the transaction file.

     o    RECORD-LOCATED-SW
          May contain TRUE or FALSE.   If true, the transactions
          have been matched against the parameter table.

     o    TRANS-REJECTED-SW
          May contain TRUE or FALSE.   If true, there is an error
          in one or more of the input data fields being edited.

     o    KEY-SAVE
          Contains the current old parameter table key until
          end-of-file, then it is replaced with high values.

-------
A.1.3   ROUTINES

The following are major subroutines of the Parameter Code Table Main-
tenance program.

     o    COPY-MSTR
          This routine performs WRITE-MSTR which writes out the
          new parameter table records unless the last transaction
          delete switch is on.  Next, it moves the old parameter
          table records to work areas.  Last, READ-MSTR is per-
          formed which reads the old parameter table files.

     o    EDIT-TRANS
          This routine edits the fields in the input card for valid
          data.  If invalid, an appropriate error message is
          printed out.

     o    LOCATE-MSTR
          This routine cycles through the parameter table files,
          performing COPY-MSTR and WRITE-MSTR until an equal-to
          or greater-than condition occurs between the old
          parameter table and the input data.

     o    READ-CARD-ROUTINE
          This routine reads two cards and verifies that they
          have the same key and are in the proper sequence.  If
          there is an error, an appropriate error message is
          printed out.

     o    READ-ROUTINE
          This routine performs READ-CARD-ROUTINE until
          END-OF-FILE-SW is true or ERROR-FOUND-SW is false.
                                       49

-------
Parameter Code Table Transactions
Card 1
Columns
1
2-6
7-8
9-10
11 - 14
15
16 - 45
46 - 70
71 - 80
Card 2
Columns
1-15
16 - 40
41 - 70
71 - 80

Format
9
99999
99
99
9999
9
X - X
X - X


Format

X - X
X - X

                                        Symbol

                                        Numeric
                                        Numeric
                                        Numeric
                                        Numeric
                                        Numeric
                                        Numeric
                                        Alphameric
                                        Alphameric
                                        Symbol
                                        Alphameric
                                        Alphameric
Description

Card Type
Parameter Code
Method Code
Units Code
Minimum Detectable
Decimal Point
Parameter Description
Collection Method
Unused
Description

Same as Card 1
Analysis Method
Units Description
Unused
                   Parameter Code Table Transactions
                             Figure 4.1.4
                                      50

-------
4.1.4   DESCRIPTION OF PARAMETER CODE TABLE TRANSACTION FIELDS

Card Type:  Identifies the transaction as either card I or card 2 of a
     two card set.  Valid values are 1 and 2.

Parameter Code:  Identifies the parameter being described.  Refer to
     APTD-0633 for a full list of currently accepted parameter codes.

Method Code:  Identifies both the collection method and the analysis
     method of the parameter being described.

Units Code:  Indicates the units in which the minimum detectable value
     is expressed.  A partial list may be found in Appendix A, Table 4.

Minimum Detectable:  Specifies the minimum value detectable using the
     specified collection and analysis methods.

Decimal Position:  A single-digit number from 0 to 4 which indicates
     the number of digits in the minimum detectable value that are to
     fall to the right of the decimal point.

Parameter Description:  A prose description of the parameter.

Collection Method:  A prose description of the collection method.

Analysis Method:  A prose description of the analysis method.

Units Description:  A prose description of the units.
                                      51

-------
4.2   SITE CODE TABLE MAINTENANCE

The Site Code Table Maintenance program creates and updates a table
containing valid site codes for this installation of AQDHS plus a prose
description of the site.

The key of each transaction contains the full coded identification of
the site:  state code, area code, site code, agency code and project
code.  If a matching key is found in the table file and the site
description in the transaction is blank, the table entry is deleted
from the file.  If the transaction description is not blank, it
replaces the description in the table.  If no matching key is found,
a new table entry is created.  This process is identical to that
described in section 4.1.

Refer to Figure 4.2.4 for a description of transaction.

The transactions must be sorted on the following field before being
used:

          Key                 bytes 1-12          ascending

The name of the load module is HXTABLE2.
                                      52

-------
4.2.1   ORGANIZATION

The Site Code Table Maintenance program is organized in a top down,
modular structure.  There is only one entrance and one exit from the
program, both contained in the highest level module.  Each lower level
module invoked has the same characteristics:  one entrance and one exit.

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an end-
          of-file is detected on the transaction file.  First
          EDIT-TRANS is performed which validates the fields on
          card input.  If the fields on the card are valid,
          LOCATE-MSTR is performed until the master file is
          positioned properly.  The required update is then
          performed.  Finally, READ-TRANS is performed which
          reads the next card.

Figure 4.2.1 shows the organization of HXTABLE2.
                                        53

-------
             MAIN-LOOP
                                            1
HXTAIU,K2 - Oi Ran ir.it i
-------
4.2.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.  If true, a data set
          end-of-file has been detected.

     o    LAST-TRANS-WAS-DELETE-SW
          May contain TRUE or FALSE.  If true, the last
          transaction deleted a site code table entry.

     o    RECORD-LOCATED-SW
          May contain TRUE or FALSE.  If true, the trans-
          action has been matched against the site code
          table.

     o    TRANS-REJECTED-SW
          May contain TRUE or FALSE.  If true, there is an
          error on one or more of the input data fields being
          edited.

     o    KEY-SAVE
          Contains the current site code table key until end-
          of-file, then it is replaced with high values.
                                      55

-------
4.2.3   ROUTINES

The following are major subroutines of the Site Code Table Maintenance
program.

     o    COPY-MSTR
          This routine performs WRITE-MSTR which writes out the
          site code table record unless the last transaction
          delete switch is on.   Next, it moves the old site code
          table record to a work area.

     o    EDIT-TRANS
          This routine edits the fields on card input for valid
          data.  If invalid, an appropriate error message is
          printed out.

     o    LOCATE-MSTR
          This routine cycles through the site code table file,
          performing COPY-MSTR and WRITE-MSTR until an equal-to
          or greater-than condition occurs between the old site
          code table and the input data.

     O    READ-MSTR
          This routine reads a site code table record and moves
          the old site code table key to key-save until end-of-
          file, then high values are moved to key-save.

     O    READ-TRANS
          This routine reads a transaction record and at end-of-
          file turns the END-OF-FILE-SW on.
                                      56

-------
Site Code Table Transaction
Columns
               Format
                                       Description
 1
 3
 7

11
13
73
 2
 6
 9
10
12
72
80
   XX
 9999
  999
    A
   99
X - X
Alphameric
Numeric
Numeric
Alphabetic
Numeric
Alphameric
State Code
Area Code
Site Code
Agency Code
Project Code-
Site Description
Unused
                      Site Code Table Transaction
                             Figure 4.2.4
                                      57

-------
4.2.4   DESCRIPTION OF SITE CODE TABLE TRANSACTION FIELDS

State Code:  Indicates the state (or other geographic division)  in which
     the sampling site is located.

Area Code:  Identifies the area within the state in which the sampling
     site is located.

Site Code:  Identifies the sampling site.

Agency Code:  Identifies the agency responsible for this sampling site.
     Valid codes are found in Appendix A, Table 1.

Project Code:  Identifies the project using this sampling site.   Valid
     codes are found in Appendix A, Table 2.

Site Description:  A prose description of the sampling site.

-------
4.3   PARAMETER STANDARDS TABLE MAINTENANCE

The Parameter Standards Table Maintenance program is used to create and
maintain a table containing both state and federal parameter standards.
Both of these standards may then appear on any reports relating to those
parameters.

A maximum of one state standard and one federal standard will be selected
for each report. Each standard is selected in the following fashion.
The table is searched and the location of the first state or the first
federal standard for the parameter in question is saved.  An attempt is
then made to match the unit codes in the master file with those in the
table.  If more than one match is made on the unit codes, the first one
encountered is used.  If no match on unit codes is made, the first standard
for the parameter is used.  Therefore, it is important to enter standards
in order of decreasing priority.  It may be desirable to create several
standards tables with different priorities assigned to a given standard.

The key of each transaction contains the following information: parameter
code, federal/state flag, and standard number.  If a matching key is
found in the table file and the description on the transaction is not
blank, the proper description (primary or secondary) in the table entry
is replaced.  If the description is blank and the transaction indicates
a primary standard, the entire table entry is deleted.  Otherwise, only
the secondary standard is deleted.  If no matching key is found, a new
table entry is created.

Refer to Figure 4.3.4 for a description of the transaction.

The transactions must be sorted before being input on the following fields:

          parameter code           byte 1-5       ascending
          federal/state flag       byte 6         ascending

-------
          standard number          bytes 7-8      ascending
          primary/secondary flag   byte 9         ascending

The name of the load module is HXTABLE3.
                                      60

-------
4.3.1   ORGANIZATION

The Parameter Standards Table Maintenance program is organized into two
routines, the root segment and the main loop.

     o    ROOT-SEGMENT
          Opens the data sets required by the program module,
          initializes work areas, switches, and files.  Next,
          the data file is processed by MAIN-LOOP until end-
          of-file.  Table entries are written or deleted
          according to edited input.  Finally, summary totals
          are written, files closed, and then the root segment
          terminates the run.

     o    MAIN-LOOP
          Editing is performed on card input by EDIT-TRANS.
          If no errors are found, LOCATE-MSTR is performed
          until record found switch is true and it is not a
          delete entry.  Then the master record is updated
          or a new record added.  Perform the READ-ROUTINE.

Figure 4.3.1 shows the organization of HXTABLE3.
                                       61

-------
                             MAIN-LOOP
W) I '['-TRANS
                                     Ul'llATK-KFCnKI)
                                                             1
                                                               in [MM
                1IXTARLK3  -  Organization
                       Figure 4.3.1
                                  62

-------
4.3.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.  If true, a data set
          end-of-file has been detected.

     o    LAST-TRANS-WAS-DELETED-SW
          May contain TRUE or FALSE.  If true, the last
          transaction deleted a standards table record.

     o    RECORD-FOUND-SW
          May contain TRUE or FALSE.  If true, either a new
          record is added or an old record is changed.

     o    TRANS-REJECTED-SW
          May contain TRUE or FALSE.  If true, an error or
          errors have been found upon editing card input.

     o    KEY-SAVE
          Contains the old standards table key until end-
          of-file, then it is changed to high values.
                                      63

-------
4.3.3   ROUTINES

The following subroutines are part of the MAIN-LOOP.

     o    EDIT-TRANS
          This paragraph edits all fields for valid data.   If
          any fields are invalid,  they are flagged and
          ERROR-ROUTINE is performed which lists an appropriate
          error message.

     o    LOCATE-MSTR
          This paragraph positions the standards file so that
          an existing record may be updated or deleted or a
          new record may be created.

     o    READ-ROUTINE
          This paragraph reads a card and lists it.

     o    UPDATE-RECORD
          This paragraph checks to see if the input record is
          new or old, lists an added or replaced message,  and
          updates the work area.
                                    64

-------
Parameter Standards Table Transaction
Columns
Format
Symbol
Description
 1 -
 7 -
10
12
62
 5
 6
 8
 9
11
61
80
 99999
     A
    99
     9
    99
 X - X
Numeric
Alphabetic
Numeric
Numeric
Numeric
Alphameric
Parameter Code
Standard Source (F/S)
Standard Number
Standard Type
Units Code
Standard
Unused
                 Parameter Standards Table Transaction
                             Figure 4.3.4
                                       65

-------
4.3.4   DESCRIPTION OF PARAMETER STANDARDS TABLE TRANSACTION FIELDS

Parameter Code:  Identifies the parameter for which this standard applies,
     Refer to APTD-0633 for a full list of currently accepted parameter
     codes.

Standard Source:  Identifies the source of this standard.  Valid codes
     are F for federal and S for state.

Standard Number:  A two-digit number indicating the frequency of use of
     this standard.  01 should represent the most frequently used
     standard for this parameter (i.e.  the default to be used when no
     match can be made on units code).

Standard Type:  Differentiates between primary and secondary standards.
     Valid codes are 1 for primary standard and 2 for secondary standard.

Units Code:   Indicates the units in which the standard is expressed.  A
     partial list may be found in Appendix A, Table 4.

Standard Description:  A prose description of the standard.
                                       66

-------
                                                            Section:   5.0
                                                            Version:   2.0
                                                            Date:      9/23/76
                                                            Page:      1
5.0   FILE MAINTENANCE AND TRANSACTION EDITOR


Two programs are used to build and maintain the AQDHS-II master file.   They

are the Transaction Editor program and the File Maintenance program.  The

AQDHS-II File to SAROAD Input program also modifies the AQDHS-II master file.

Refer to Section 3.3 for a discussion of these modifications.
                                      67

-------
                                                       Section:   5.1
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      1
5.1  TRANSACTION EDITOR

The Transaction Editor can only process AQDHS-II formatted transactions
(ref. pages 266 through 269 of this manual).   However, the user can encode
his transactions in SAROAD format and convert them to AQDHS-II format for
processing through the Transaction Editor, by using the SAROAD to AQDHS-II
conversion program, CXCONVRT (ref. Section 3.2, page 33 of this manual).

The Transaction Editor performs two basic functions.  First, it edits
all AQDHS-II converted input transactions for correctness and informs
the user of any errors.  Second, it converts all input transactions passing
the edit into an internal format usable by the File Maintenance program.
The editing and conversion of each transaction is unaffected by any other
transaction, either preceding or following.   Therefore, transactions may
be entered in any order.

The internal format transactions which are created by and are output from
the Transaction Editor program must be sorted into master file sequence
before they are input to the File Maintenance program.  The order of the
sort is as follows:

          KEY-1               bytes 4-18          ascending

               STATE          bytes 4-5
               AREA-CODE      bytes 6-9
               SITE           bytes 10-12
               AGENCY         bytes 13
               PROJECT        bytes 14-15
               TIME-CODE      bytes 16
               YEAR           bytes 17-18
                                   68

-------
                                                       Section:
                                                       Version:
                                                       Date:
                                                       Page:
                                    5.1
                                    2.0
                                    9/20/76
                                    2
          KEY-3
bytes 25-34
ascending
            PARAMETER-CODE
            METHOD-CODE
            UNIT-CODE
            DECIMAL-CODE
bytes 25-29
bytes 30-31
bytes 32-33
bytes 34
          KEY-2
bytes 19-24
ascending
            MONTH
            DAY-CODE
            START-HOUR
bytes 19-20
bytes 21-22
bytes 23-24
          ACTION-CODE,
          FORM-CODE &
          STATUS-FLAG
bytes 1-3
ascending
Please note that the AQDHS-II file maintenance program expects to see the
internal transaction card in the sort sequence shown above.  If this sort
order is modified, the program will not function.  The action (add, change,
delete)  to be performed by an input transaction is indicated by the action
code in column 80 as follows:
          Action Code                   Action Performed
               1
               2
     Deletes an entire master file record
     Adds an entire master file record or
       individual data fields to an existing
       master file record
     Replaces (or changes) the data fields
       of the existing master file record
       with the contents of the non-blank
       data fields of the transaction
                                  68-1

-------
                                                       Section:   5.1
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      3
The Transaction Edit Program views each transaction card  (i.e., the
punched card) both as a physical record and one or more logical records,
i.e., common key information.

A Form 1 record contains one physical record and one logical record.

Form 2 and Form 3 records have one physical record, but may have up to
four logical records., i.e., there is one logical record for each para-
meter entry in a Form 2 record and one logical record for each site entry
in a Form 2 record.

The edit function is summarized by the following rule:

          Tine logical record is rejected -if any field is in error.

This rule is necessary to protect the integrity of the file yet allow the
user to pass as many valid logical records as possible during any execu-
tion of the Transaction Editor.  Since an error in the key can only be
changed by deleting and readding the record, a logical record with an
error in the key is always rejected.  The reading3 status flag3 and action
code are the only non-key data fields in any transaction.  If the action
code is in error, the record is rejected.  A reading is in error if it
is non-numeric, contains embedded blanks (as opposed to leading blanks),
or exceeds the maximum value for the parameter.  (A reading of all blanks
is permitted.)  The program does not attempt error correction; it rejects
the logical record.  When an error is detected, the error message is
printed denoting the error and the action taken.  The message printed
depends on the error, the input transaction form number and the field
in error.  Consider each input transaction form number:

          Form 1  -  If any field is in error the entire input is
          rejected because there is only one logical record on the
          card (both physical and logical record).
                                   68-2

-------
                                                        Section:    5.1
                                                        Version:    2.0
                                                        Date:       9/20/76
                                                        Page:       4
          Form 2  -  The following rules apply:

            Card Rejected—The entire card is rejected if a key  field
            common to all logical records is in error.

            Logical Record Rejected—The logical record is rejected
            if the parameter code, method code, units code, decimal
            position, or reading for that logical record is in error.
            However, if the other logical records on the input card
            are valid, they will not be rejected.

          Form 3  -  The following rules apply:

            Card Rejected—The card is rejected if a key field common
            to all logical records is in error.

            Logical Record Rejected—The logical record is rejected if
            the start hour, area, site, or reading for that logical
            record is in error.  Moreover, the logical record is
            rejected if the site code group is invalid; the site code
            group is formed by the combination of state, area, site,
            agency, and project code.  If a corresponding entry does
            not exist in the site code table, the logical record is
            rejected and the column number of the first non-matching
            field in the group is flagged.  If the error message
            specifies an invalid site code group, it is good
            practice to ensure that the corrected record will
            correspond to a valid site code table entry.

As of update 14, the number of Transaction Editor error messages has been
expanded.  A complete list of these error messages with explanation is
included in Section 5.1.5.
                                   68-3

-------
                                                       Section:   5.1
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      5

The diagnostic message that follows serves as an example of the format of
one of the error messages formats produced by this program.

          ***TRE038E ERROR:  COLUMN 12 - INVALID PROJECT CODE -
          CARD REJECTED

The three consecutive asterisks at the left are used to highlight an
error message.  TRE identifies this as a Transaction Edit Error message.
The digits 038 are the identifying number of the message.  E is the
level of severity in the error.  Error severity levels are discussed
below.  The column number identifies the first column of the field in
error.  The text describes the error detected and the action taken by
the program.  CARD REJECTED means the entire card has been rejected.

The message that follows serves as an example of the format of an error
message which may be produced for a Form 2 or Form 3 transaction in
which a logical record is rejected.

          ***TRE047E ERROR:  COLUMN 65 - INVALID AREA CODE -
          GROUP 04 REJECTED

GROUP 04 REJECTED means the logical record formed by combining information
from columns 1 through 23 with the information in the repeating fields
in columns 63 through 75 was rejected.  Groups 01 through 03 were accepted.
Three internal records formed by combining information from columns 1
through 23 with the appropriate repeating fields were generated and passed
to the File Maintenance Program.

The error severity level symbols used in this program have the following
meaning:
                                    68-4

-------
                                                       Section:   5.1
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      6
     W    Warning—Indicates a possible error was made in the
          transaction.  However, it is not serious enough to
          hinder execution of the program.

     E    Error—Indicates a serious error was made.   The
          program takes no corrective action.  The logical
          record containing the error is rejected.  Edit pro-
          cessing will be continued on the remaining logical
          records,  if any.  The logical record in error should
          be corrected and resubmitted.  This corrected transaction
          can then be edited during a later execution of the
          transaction editor.

     S    Serious—Indicates a serious error was made.   Program
          execution is terminated.   All output of the program
          should be treated as unusable.  Correct the cause of
          the error and resubmit the job.

Refer to Figure 2.2-2.1 for the formats of the transactions.

The name of the load module is TXTREDIT.
                                   68-5

-------
                                                       Section:   5.1.1
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      1
5.1.1   ORGANIZATION

The following are the main modules of the Transaction Editor program.

     0    MAIN-LOOP
          Performed by ROOT-SEGMENT,  this routine edits input
          transactions, creating internal (system recognizable)
          transactions.  Depending on the input transaction
          code, the routine performs  a lower level segment to
          edit the different transaction formats.

     0    CONVERT-TRANS
          Performed by MAIN-LOOP,  this routine performs lower
          level segments to do the actual editing and to write
          the "edited" form out to the internal transaction file.

     °    SCAN-FULL-KEY
          Performed by CONVERT-TRANS, this routine scans the input
          transaction in its entirety for user errors,  e.g., invalid
          time code, non-numeric project code, invalid  day, etc.

     °    TRANS-1-REPEAT
          This routine is performed by CONVERT-TRANS when the input
          transaction form code is "1".   It performs the necessary
          editing functions on the readings and in the  case of
          invalid entries, prints out appropriate error messages.

     °    TRANS-2-REPEAT
          This routine is performed by CONVERT-TRANS when the input
          transaction code is "2".  It performs necessary editing
          functions on the repeating  fields and, in the case of invalid
          entries, prints out appropriate error messages.
                                   69

-------
                                                       Section:  5.1.1
                                                       Version:  2.0
                                                       Date:     9/24/76
                                                       Page:     2
          TRANS-3-REPEAT
          This routine is performed by CONVERT-TRANS when the input
          transaction code is "3".  It performs the necessary editing
          functions on the repeating fields and, in the case of
          invalid entries, prints out appropriate error messages.
Figure 5.1.1 shows the organization of TXTREDIT.
                                  69-1

-------
                                                Section:
                                                Version:
                                                Date:
                                                Page:
                                         5.1.1
                                         2.0
                                         9/24/76
                                         3
                        MAIN-LOOP
         CONVERT-
          TRANS
                          READ-
                           ROUTINE
                        CONVERT-
                         TRANS- 1
                        CONVERT-
                         TRANS- 2
                    -o
                        CONVERT-
                         TRANS- 3
SCAN-
FULL-KEY
TRANS-1-
 REPEAT
TRANS-2-
 REPEAT
TRANS-3-
 REPEAT
               TXTREDIT - Organization
                     Figure 5.1.1
                           69-2

-------
                                                       Section:   5.1.2
                                                       Version:   2.0
                                                       Date:      9/20/70
                                                       Page:      1
5.1.2     COMMUNICATION AND DATA FORMATS

The following COBOL working storage section fields are the major control
and data areas internal to the Transaction Editor Program.

     o    END-OF-FILE-SW

          When equal to TRUE,  indicates that an end-of-file has
          occurred on the input transaction file.

     o    END-OF-JOB-SW

          When equal to TRUE,  indicates a serious error has
          occurred in processing.   Program execution is
          terminated.

     o    FULL-SCAN-SW

          Used by the routines which scan the Form 2 and Form 3
          transactions.   When  equal to FALSE, indicates that
          only the fields in the repeating segments are to be
          scanned rather than  the entire key.

     o    MAXIMUM-VALUES

          A table containing the maximum values of certain parameter/
          unit code combinations.   Any reading exceeding a value in
          this table will be rejected.
                                  70

-------
                                             Section:   5.1.2
                                             Version:   2.0
                                             Date:      9/20/76
                                             Page:      2
WORK-TRANSACTION


The area in which the internal format transaction is
built.
                        70-1

-------
                                                           Section:  5.1.3
                                                           Version:  2.0
                                                           Date:     9/23/76
                                                           Page:     I
5.1.3   ROUTINES

The following are internal subroutines of the Transaction Editor
program:

          LOCATE-MAX-VAL
          Searches the MAXIMUM-VALUES TABLE ATTEMPTING to match the
          parameter and unit codes in the transaction with those
          in the table.

     °    SEARCH-FOR-PARM
          Searches the key portion of the parameter, method, unit
          codes table attempting to match the combination in the
          transaction with one in the table.   If no match is
          found, the field in error in the transaction is flagged
          by a diagnostic message!

          SEARCH-FOR-SITE
          Searches the valid site code table  attempting to match
          the site identification in the transaction with an
          entry in the table.  If no match is found, the field
          in error in the transaction is flagged by a diagnostic
          message.
                                     71

-------
                                                       Section:   5.1.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      1
5.1.4     OPTION CARD
One option card may be used to specify the information to be printed by
the Transaction Edit Program.   To pass information to the program, code
one or more keyword parameters in the operand field of the option card.
The format of the option card is given in Figure 5.1.4-1.  When a key-
word is identified it is checked for the presence or absence of the pre-
fix NO, as appropriate.   The program default options are indicated by
an underlined word in the following section of the text entitled Valid
Transaction Edit Keywords.  The program options are summarized by the
following rule:

          Except for error (E-level) messages3 you must take
          act-Ion to obtain any confirmation listings.

General Rules

     o    The Transaction Edit option card may be omitted, if
          desired.  If the option card is omitted, the default options
          NOLIST, NOFLAGW apply.

     o    If the option card is present, there must be only
          one card and all keywords must be punched within
          columns 1 through 72, inclusive.

     o    Keyword parameters may be entered in any order.

     o    At least one space must appear between two successive
          keyword parameters.   Two or more successive spaces are
          treated as a single space.
                                  72

-------
                                              Section:
                                              Version:
                                              Date:
                                              Page:
                       5.1.4
                      -2.0
                       9/23/76
                       2
                   GENERAL FORMAT
          OPTION - 1
OPTION - 2
Figure 5.1.4-1.  General Format of Transaction Edit Option Card
                        72-1

-------
                                                       Section:   5.1.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      3
     o    A comma may be used as a separator between successive
          keywords instead of, or in addition to a space.
          A space may precede and/or follow the comma when the
          comma is used as a separator.

Valid Keywords for Transaction Edit

LIST
NOLIST (Default Option)

Indicates whether or not a transaction card which passes the edit
criteria is to be listed on the AQDHS-II Edit Transaction Confirmation
Listing.  If at least one logical record from a transaction is accepted,
the transaction card is printed if the LIST option is specified.  If any
logical records on the transaction card are in error, the transaction
card is printed on the AQDHS-II Edit Transaction Diagnostic Messages
Listing regardless of the option specified.  If the LIST option is
specified, the erroneous transactions are listed separately from the
valid transactions.

FLAGW
NOFLAGW (Default Option)

Indicates whether or not warning messages are to be listed on the
AQDHS-II Edit Transaction Diagnostic Messages listing.  The E-level
(error messages) are always printed and may not be suppressed.
                                   72-2

-------
                                                           Section:  5.1.S
                                                           Version:  2.0
                                                           Date:     9/22/7h
                                                           Page:     1
5.1.5  Transaction Editor Diagnostic Messages


       TRE001E  ERROR:   COLUMN 01 - INVALID TRANSACTION CODE - CARD REJECTED

                        The only valid transaction codes are 1,  2,  and 3.

                ACTION:   CORRECT THE TRANSACTION CODE AND RE-SUBMIT.

       TRE002E  ERROR:   COLUMN 01 - NON-NUMERIC TRANSACTION CODE - CARD
                        REJECTED

                        The only valid transaction codes are I,  23  and 3.

                ACTION:   CORRECT THE TRANSACTION CODE AND RE-SUBMIT.

       TRE003E  ERROR:   COLUMN 80 - INVALID ACTION CODE - CARD REJECTED

                        The only valid action codes are 1 (Delete) 3
                        2 (Add)  and 3 (Change).

                ACTION:   CORRECT THE ACTION CODE AND RE-SUBMIT.

       TRE004E  ERROR:   COLUMN 80 - NON-NUMERIC ACTION CODE - CARD REJECTED

                        The only valid action codes are 1 (Delete)3
                        2 (Add)  and 3 (Change).

                ACTION:   CORRECT TEE ACTION CODE AND RE-SUBMIT.

       TRE005E  ERROR:   COLUMN xx - INVALID TIME CODE - CARD REJECTED

                        The time code beginning in Column xx is  invalid.
                        The valid time codes are shown in Table  2,  Appendix
                        Af  Page  149 of this mmrual.

                ACTION:   CORRECT THE TIME CODE AND RE-SUBMIT.

       TRE006E  ERROR:   COLUMN 02 - NON-NUMERIC STATE CODE - CARD REJECTED

                ACTION:   CORRECT THE STATE CODE AND RE-SUBMIT.

       TRE007E  ERROR:   COLUMN 02 - INVALID STATE CODE - CARD REJECTED

                        State  Code is not in the site file.
                ACTION:   CORRECT THE STATE CODE AND RE-SUBMIT

       TRE008E  ERROR:   COLUMN xx - NON-NUMERIC AREA CODE - CARD REJECTED

                ACTION:   CORRECT THE AREA CODE AND RE-SUBMIT.

                                  73

-------
                                                    Section:   5.1.5
                                                    Version:   2.0
                                                    Date:      9/22/76
                                                    Page:      2
TRE009E  ERROR:  COLUMN xx - NON-NUMERIC SITE CODE - CARD REJECTED

         ACTION:  CORRECT THE SITS CODE AND RE-SUBMIT.

TRE010E  ERROR:  COLUMN xx - NON-ALPHABETIC AGENCY CODE - CARD
                 REJECTED

         ACTION:  CORRECT THE AGENCY CODE AND RE-SUBMIT.

TRE011E  ERROR:  COLUMN xx - NON-NUMERIC PROJECT CODE - CARD
                 REJECTED

         ACTION:  CORRECT THE PROJECT CODE AND RE-SUBMIT.

TRE012E  ERROR:  COLUMN xx - NON-NUMERIC TIME CODE - CARD REJECTED

                 The time code 'beginning in Column xx is invalid.  The
                 valid time codes are shown in Table 3, Appendix A,
                 Page 149 of this manual.

         ACTION:  CORRECT THE TINE CODE AND RE-SUBMIT.

TRE013E  ERROR:  COLUMN xx - NON-NUMERIC YEAR - CARD REJECTED

         ACTION:  CORRECT THE YEAR AND RE-SUBMIT.

TRE014E  ERROR:  COLUMN xx - YEAR LESS THAN SIXTY - CARD REJECTED

                 SAROAD does not accept data prior to 1960.

TRE015E  ERROR:  COLUMN xx - NON-NUMERIC MONTH - CARD REJECTED

         ACTION:  CORRECT THE MONTH AND RE-SUBMIT.

TRE016E  ERROR:  COLUMN xx - MONTH ZERO OR GREATER THAN TWELVE -
                 CARD REJECTED

         ACTION:  CORRECT THE MONTH AND RE-SUBMIT.

TRE017E  ERROR:  COLUMN xx - NON-NUMERIC DAY - CARD REJECTED

         ACTION:  CORRECT THE DAY AND RE-SUBMIT.

TRE018E  ERROR:  COLUMN xx - INVALID DAY - CARD REJECTED

         ACTION:  CORRECT THE DAY AND RE-SUBMIT.

TRE019E  ERROR:  COLUMN xx - NON-NUMERIC START HOUR - CARD REJECTED

         ACTION:  CORRECT THE START HOUR AND RE-SUBMIT.


                           73-1

-------
                                                    Section:  5.1.5
                                                    Version:  2.0
                                                    Date:     9/22/76
                                                    Page:     3
TRE020E  ERROR:  COLUMN xx - DECIMAL POSITION GREATER THAN FOUR -
                 CARD REJECTED

                 AQDHS-II currently will not accept a decimal
                 position greater than 4.

         ACTION:  CHANGE UNITS, DATA VALUE, AND DECIMAL CODE AND
                  RE-SUBMIT.

TRE021E  ERROR:  COLUMN xx - NON-NUMERIC PARAMETER CODE - CARD
                 REJECTED

         ACTION:  CORRECT THE PARAMETER CODE AND RE-SUBMIT.

TRE022E  ERROR:  COLUMN xx - NON-NUMERIC METHOD CODE - CARD REJECTED

         ACTION:  CORRECT THE METHOD CODE AND RE-SUBMIT.

TRE023E  ERROR:  COLUMN xx - NON-NUMERIC UNITS CODE - CARD REJECTED

         ACTION:  CORRECT THE UNITS CODE AND RE-SUBMIT.

TRE024E  ERROR:  COLUMN xx - NON-NUMERIC DECIMAL POSITION - CARD
                 REJECTED

         ACTION:  CORRECT THE DECIMAL POSITION AND RE-SUBMIT.

TRE025E  ERROR:  COLUMN 21 - START HOUR GREATER THAN TWENTY-THREE -
                 CARD REJECTED

                 The valid Start Hour range for Form 1 (Hourly) data
                 is 0 through. 23.

         ACTION:  CORRECT THE START HOUR AND RE-SUBMIT.

TRE026W  WARNING:  COLUMN xx - START HOUR GREATER THAN TWENTY-THREE -
                   CARD ACCEPTED

                   An erroneous Start Hour has been coded, however
                   this will not affect the operation of the programs
                   or the file sequence,   (for forms 2  & S)

         ACTION:  NO ACTION REQUIRED.

TRE027E  ERROR:  COLUMN xx - NON-NUMERIC READING - CARD REJECTED

         ACTION:  CORRECT THE READING AND RE-SUBMIT.
                           73-2

-------
                                                    Section:  5.1.5
                                                    Version:  2.0
                                                    Date:     9/22/76
                                                    Page      4
TRE028E  ERROR:  RECORD CONTAINS NO READINGS - CARD REJECTED

                 Transaction contains no readings for Form 1
                 data or no key information and readings for
                 Form 2 and Form 3 data.

         ACTION:  CORRECT AND RE-SUBMIT.

TRE029E  ERROR:  COLUMN 19 - NON-NUMERIC NUMBER OF SAMPLES -
                 CARD REJECTED

         ACTION:  CORRECT TEE NUMBER OF SA1&LES AND RE-SUBMIT.

TRE030E  ERROR:  COLUMN 22 - INVALID COMPOSITE TIME CODE - CARD
                 REJECTED
                 The only valid Composite Time Codes are 1-9,
                 A, and B.

         ACTION:  CORRECT THE COMPOSITE TIME CODE AND RE-SUBMIT.

TRE031E  ERROR:  COLUMN 21 - NON-NUMERIC COMPOSITE TYPE - CARD
                 REJECTED
                                                             «
                 The only valid Composite Type codes are
                 1 (Quarterly), 2 (Seasonal), 3 (Monthly),
                 4 (Weekly) and 5 (Annual).

         ACTION:  CORRECT THE COMPOSITE TYPE AND RE-SUBMIT.

TRE032E  ERROR:  COLUMN 17 - NON-NUMERIC PERIOD - CARD REJECTED

         I        The Composite Period field contains invalid
                 data.

         ACTION:  CORRECT AND RE-SUBMIT.

TRE033E  ERROR:  COLUMN 17 - INVALID PERIOD - CARD REJECTED

                 The Composite Period field contains invalid
                 data.

         ACTION:  CORRECT AND RE-SUBMIT.


TRE034E  ERROR:  COLUMN 21 - INVALID COMPOSITE TYPE - CARD
                 REJECTED

         ACTION:  CORRECT AND RE-SUBMIT.
                          73-3

-------
                                                    Section:  5.1.5
                                                    Version:  2.0
                                                    Date:     9/22/76
                                                    Page      5
TRE035E  ERROR:  COLUMN xx - INVALID AREA CODE - CARD REJECTED

                 The Area Code specified is not in the Sits
                 Code  Fi le.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE,
TRE036E  ERROR:  COLUMN xx - INVALID SITE CODE - CARD REJECTED

                 The Site Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE037E  ERROR:  COLUMN xx - INVALID AGENCY CODE - CARD REJECTED

                 The Agency Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE038E  ERROR:  COLUMN xx - INVALID PROJECT CODE - CARD REJECTED

                 The Project Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE039E  ERROR:  COLUMN xx - INVALID PARAMETER CODE - CARD REJECTED

                 The Parameter Code specified is not in the
                 Parameter Code File.

         ACTION:  CORRECT AI1D RE-SUBMIT OR UPDATE THE PARAMETER FILE.

TRE040E  ERROR:  COLUMN xx - INVALID METHOD CODE - CARD REJECTED

                 The Method Code specified is not in the Parameter
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER FILE.

TRE041E  ERROR:  COLUMN xx - INVALID UNITS CODE - CARD REJECTED

                 The Units Code specified is not in the Parameter
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER FILE.
                          73-4

-------
                                                    Section:  5.1.5
                                                    Version:  2.0
                                                    Date:     9/22/76
                                                    Page:     6
TRE042E  ERROR:  COLUMN xx - READING EXCEEDS MAXIMUM PERMITTED -
                 CARD REJECTED

                 Card presently rejected by AQDHS-II.

TRE043E  ERROR:  COLUMN xx - READING EXCEEDS MAXIMUM PERMITTED -
                 GROUP yy REJECTED

                 Group presently rejected by AQDHS-II.

TRE044E  ERROR:  COLUMN 79 - INVALID STATUS FLAG - CARD REJECTED

                 Blank and S are the only valid Status Flag
                 values.

         ACTION:  CORRECT AND RE-SUBMIT.

TRE045E  ERROR:  COLUMN xx - INVALID START HOUR (READINGS SPAN
                 END OF DAY) - REJECTED

         ACTION:  CORRECT AND RE-SUB MIT.

TRE046E  ERROR:  INVALID OPTION - RUN ABORTED

         ACTION:  CORRECT AND RE-SUBMIT.

TRE047E  ERROR:  COLUMN xx - INVALID AREA CODE - GROUP yy REJECTED

                 The Area Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE048E  ERROR:  COLUMN xx - INVALID SITE CODE - GROUP yy REJECTED

                 The Site Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE049E  ERROR:  COLUMN xx - INVALID AGENCY CODE - GROUP yy  REJECTED

                 The Agency Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AfID RE-SUBMIT OR UPDATE THE SITE FILE.
                         73-5

-------
                                                     Section:   5.1.5
                                                     Version:   2.0
                                                     Date:      9/22/76
                                                     Page:      7
TRE050E  ERROR:  COLUMN xx - INVALID PROJECT CODE - GROUP yy
                 REJECTED

                 The Project Code specified is not in the
                 Site Code File.

         ACTION:  CORRECT AND RE-SUBMIT OP UPDATE THE SITE FILE.

TRE051E  ERROR:  COLUMN xx - INVALID PARAMETER CODE - GROUP yy
                 REJECTED

                 The Parameter Code specified is not in the
                 Parameter Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARMfETER
                  FILE.

TRE052E  ERROR:  COLUMN xx - INVALID METHOD CODE - GROUP yy REJECTED

                 The Method Code specified is not in the
                 Parameter Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER
                  FILE.

TRE053E  ERROR:  COLUMN xx - INVALID UNITS CODE - GROUP yy REJECTED

                 The Units Code specified is not in the Parameter
                 Code, File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER
                  FILE.

TRE054E  ERROR:  COLUMN xx - DECIMAL POSITION GREATER THAN FOUR -
                 GROUP yy REJECTED

                 AQDHS-II currently will not accept a decimal
                 position greater than 4.

         ACTION:  CHANGE UNITS, DATA VALUE,  AND DECItdAL CODE AND
                  RE-SUBMIT.

TRE055E  ERROR:  COLUMN xx - NON-NUMERIC DECIMAL POSITION -
                 GROUP yy REJECTED

         ACTION:  CORRECT TEE DECIMAL POSITION AND RE-SUBMIT.
                        73-6

-------
                                                           Section:  5.1.5
                                                           Version:  2.0
                                                           Date:     9/22/76
                                                           Page:     8
       TRE056E  ERROR:  COLUMN xx - NON-NUMERIC AREA CODE - GROUP yy
                        REJECTED

                ACTION:  COERECT THE AREA CODE AND RE-SUBMIT.

       TRE057E  ERROR:  COLUMN xx - NON-NUMERIC SITE CODE - GROUP yy
                        REJECTED                                        *

                ACTION:  CORRECT THE SITE CODE AND RE-SUBMIT.

       TRE058E  ERROR:  COLUMN xx - NON-NUMERIC PARAMETER CODE - GROUP yy
                        REJECTED

                ACTION:  CORRECT THE PARAMETER CODE AND RE-SUBMIT.

       TRE059E  ERROR:  COLUMN xx - NON-NUMERIC METHOD CODE -  GROUP yy
                        REJECTED

                ACTION:  CORRECT THE METHOD CODE AND RE-SUBMIT.

       TRE060E  ERROR:  COLUMN xx - NON-NUMERIC UNITS CODE - GROUP yy
                        REJECTED

                ACTION:  CORRECT THE UNITS CODE AND RE-SUBMIT.

       TRE061E  ERROR:  COLUMN xx - NON-NUMERIC READING - GROUP yy
                        REJECTED

                ACTION:  CORRECT THE READING AND RE-SUBMIT.

       TRE062E  ERROR:  COLUMN xx - NON-NUMERIC START HOUR - GROUP yy
                        REJECTED

                ACTION:  CORRECT THE START HOUR AND RE-SUBMIT.

*
 Serious Error - Do Not Use Any Output From This Run.

xx - Column number

yy - Group number
                              73-7

-------
                                                       Section:   5.2
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      1
5.2  FILE MAINTENANCE
The File Maintenance program is used to create and maintain the AQDHS
master file.  Internal format transactions generated by the Transaction
Editor program are used as input to the file maintenance program to
accomplish these functions.  These internal transactions must be sorted
into master file sequence before they are input into the File Maintenance
Program (see cataloged procedure AQSFUPDT).

Each internal transaction either adds data to, replaces (changes) data
in, or deletes records from the AQDHS-II master file.  Any combination of
transactions may be entered in one execution of the File Maintenance pro-
gram with the following exception:  each composite type transaction
(annual, weekly, etc.) must be entered in a separate execution of the
program.  Otherwise, the file maintenance program will terminate rather
than produce a duplicate record.

When a master file record is created and all readings are not supplied,
all blank fields up to the last supplied reading are filled with nines
to indicate a null reading.  These null fields may then be updated by
either an Add or Change transaction.   It is illegal to attempt to Change
a non-existing reading or to Add a reading to an existing reading.

If a reading has been unchanged since its submission to SAROAD, its status
flag is 'S1.  If it has been changed since submission to SAROAD, its status
flag is 'Cf.  Its status flag is 'A'  if it has not yet been sent to SAROAD.

The File Maintenance error message that follows serves as an example of
the format of a message produced by this program.
                                 74

-------
                                                       Section:   5.2
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      2
          ***FMT003E NO MATCHING KEY FOUND ON MASTER FILE -
          RECORD REJECTED

The three asterisks at the left are used to highlight an error message.
FMT identifies this as a File Maintenance error message.  The digits 003
are the identifying number of the message.  E is the level of severity
in the error.  The text describes the error and the action taken by the
program.   RECORD REJECTED means the internal transaction has been rejected.
The severity level symbols used in this program have the same meaning
as that given in the Transaction Edit Program.   A complete list of these
error messages is included in Section 5.2.5.

Refer to Figure 2.2-1.1 for the format of the master file records.

The name of the load module is FXFILMNT.
                               74-1

-------
                                                       Section:  5.2.1
                                                       Version:  2.0
                                                       Date:     9/24/76
                                                       Page:     1
5.2.1  ORGANIZATION

The following are the main modules of the File Maintenance program.

     0    MAIN-LOOP
          Performed by ROOT-SEGMENT, this routine (on the basis
          of the transaction action code) performs lower level
          segments to either add a record or data to the file,
          change a record in the file or delete a record from
          the file.

     °    FM-ADD
          This routine,  performed by MAIN-LOOP, controls the
          adding of records or data to the system master file.
          It performs lower level routines to locate the place
          in the old master where the record should be added
          and adds the record to the nexv master file.

     0    FM-CHANGE
          This routine,  performed by MAIN-LOOP, controls the
          changing of a record on the system file.   It performs
          lower level routines that locate the record to be
          changed, makes the appropriate changes, and writes
          updated record onto the file.

     °    FM-DELETE
          This routine,  performed by MAIN-LOOP, controls the
          deletion of a record from the  system master file.
          It performs lower level routines to locate the
          record to  be deleted and deletes it from the file.
                                 75

-------
                                                       Section:   5.2.1
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      2
          FM-READ-TRANS
          Performed by MAIN-LOOP,  this routine reads the next

          record from the transaction file.
Figure 5.2.1 shows the organization of FXFILMNT.
                                 75-1

-------
                                               Section:
                                               Version:
                                               Date:
                                               Page:
                                       5.2.1
                                       2.0
                                       9/24/76
                                       3
                             FM-
                           MAIN-LOOP
FM-DELETE
FM-ADD
FM-CHANGE
   FM-
READ-TRANS
                 FXFILMNT - Organization
                     Figure 5.2.1
                           75-2

-------
                                                       Section:   5.2.2
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      1
5.2.2     COMMUNICATION AND DATA FORMATS

The following COBOL working storage section fields are the major control
and data areas internal to the File Maintenance program.

     o    END-OF-FILE-SW

          When equal to TRUE, indicates that an end-of-file has
          occurred on the transaction file.

     o    END-QF-JOB-SW

          When equal to TRUE, indicates a serious error has occurred
          in processing.  Program execution is terminated.

     o    LAST-TRAN S-WAS-DELETE- SW

          When equal to TRUE, indicates that the preceding
          transaction deleted a record from the master file.

     o    MSTR-RECORD-LOCATED-SW

          Used by LOCATE-MSTR to indicate the positioning of the
          master file.   When equal to 0, the master file has not
          been properly positioned.  When equal to 1, the master
          file has been positioned and the key of  the transaction
          is greater than the preceding master file record but
          less than the following master file record.  The only
          valid action which may be taken is to build (add) a
                                    76

-------
                                             Section:   5.2.2
                                             Version:   2.0
                                             Date:      9/20/76
                                             Page:      2
new record from the transaction.  When equal to 2,
the master file has been positioned and a. matching
key has been found.  Data may be added or changed
in the record or the record may be deleted.
                         76-1

-------
                                                       Section:   5.2.3
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      1
5.2.3  ROUTINES
The following are internal subroutines of the File Maintenance program.

     0    FM-COMPUTE-SUB
          This routine calculates the position within the
          master file record into which the first reading on
          the transaction will be placed.

     °    FM-COPY-MSTR
          This routine copies records from the old master file
          into the new master file.

     0    FM-LOCATE-MSTR
          This routine uses the key of the transaction to
          position the master file so that the action indicated
          on the transaction may be performed.

     °    FM-SCAN-RECORD
          This routine scans the new master file record before
          it is written to the new master file.  Any readings
          which have not been supplied by this point will be
          filled with nines to indicate that they are null.
                                   77

-------
                                                       Section:   5.2.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      1
5.2.4     OPTION CARD
One option card may be used to specify the information to be printed by
the File Maintenance Program and to specify additional program functions
to be used for debugging purposes only.

To pass information to the program, code one or more keyword parameters
in the operand field of the option card.  The format of the option card
is given in Figure 5.2.4-1.  When a keyword is identified, it is checked
for the presence or absence of the prefix NO, as appropriate.  The
program default options are indicated by an underlined word in the
following seciton of the text entitled Valid File Maintenance Keywords.
The program options are summarized by the following rule:

          Except for error messages^  you must take specific
          action to obtain any confirmation listings.

General Rules

     o    The File Maintenance Option card may be omitted,
          if desired.   If the option card is omitted,  the
          default options NOLIST, NOSEQ, NOSNAP, NOFLAGW
          apply.

     o    If the option card is present there must be only one
          card and all keywords must be punched within columns
          1 through 72, inclusive.

     o    Keyword parameters may be entered in any order.
                                   78

-------
                                             Section:  5.2.4
                                             Version:  2.0
                                             Date:     9/23/76
                                             Page:     2
                  GENERAL FORMAT
         [OPTION - :fj          [OPTION - 2]
Figure 5.2.4-1.   General Format of  File Maintenance Option Card
                          78-1

-------
                                                        Section:    5.2.4
                                                        Version:    2.0
                                                        Date:       9/20/76
                                                        Page:       3
     o    At least one space must appear between two successive
          keyword parameters.  Two or more successive spaces
          are treated as a single space.

     o    A comma may be used as a separator between successive
          keywords, instead of, or in addition to a space.  A
          space may precede and/or follow the comma when the
          comma is used as a separator.

     o    Errors detected in any option field will cause the
          run to be aborted.

Valid Keywords for File Maintenance

LISTTRAN
                                                                 9

Indicated whether the standard AQDHS-II Internal Transaction listing is
to be produced.  The listing is not produced unless the keyword LISTTRAN
or the keyword LIST is in effect, i.e., the default is no listing.  Note
the prefix NO is not supported for this option.

LISTOLD

Indicates whether the standard AQDHS-II Old Master Listing is to be produced.
The default is no listing unless the option LISTOLD or the keyword LIST
is in effect.  Note the prefix NO is not supported for this option.

LISTNEW

Indicates whether the standard AQDHS-II New Master Listing is to be pro-
duced.  The default is no listing unless the option LISTNEW or LIST
is in effect.  Note the prefix NO is not supported for this option.
                                   78-2

-------
                                                       Section:   5.2.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      4
LIST
NOLIST (Default Option)

Indicates whether or not the three standard File Maintenance Confirmation
Listings are to be produced.  The three standard information listings
are:

     o    AQDHS-II Internal Transaction Record
     o    AQDHS-II Old Master Listing
     o    AQDHS-II New Master Listing

          1.   When the LIST option is in effect, the result
               is the same as if each of the following options
               were specified separately:

                    LISTTRAN
                    LISTOLD
                    LISTNEW

          2.   If any combination of fewer than three listings
               are required, the keyword options may be speci-
               fied in any combination and in any order.

          3.   When NOLIST is in effect, the three standard
               File Maintenance Confirmation Listings are not
               produced.  The three separate list options
               (LISTTRAN, LISTOLD, LISTNEW) must not be
               specified when NOLIST is in effect.
                                   78-3

-------
                                                       Section:   5.2.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      5
FLAGW
NOFLAGW  (Default Option)

Indicates whether or not warning messages are to be listed.  An example
of a warning message produced by this program is:

          ***FMT002W READING 01 - VALUE NOT SPECIFIED -
          FIELD FILLED WITH NINES

The default is NOFLAGW.  The E-level (error messages) are always printed
and may not be suppressed.

DE-BUGGING OPTIONS
      (Default Option)
The File Maintenance Program automatically checks file sequence  (both OLD
and NEW MASTER).  The SEQ and SNAP options are used for de-bugging purposes
only.  Therefore, the user should not normally specify these options since
they will greatly increase the operating costs of the File Maintenance
Program.  The SEQ option specifies whether each record is to be checked for
correct file sequence before writing the record to the updated (NEW) AQDHS-II
Master File.  The default is no sequence checking.  If the SEQ option is in
effect and the test shows that the record to be written will create an
out-of-sequence condition, an orderly termination of program execution
will occur.  The following error message will be printed:

          ***FMT005E ERROR:  NEW MASTER WILL BE OUT OF SEQUENCE,
          RUN ABORTED
                                  78-4

-------
                                                       Section:   5.2.4
                                                       Version:   2.0
                                                       Date:      9/20/76
                                                       Page:      6
If this error occurs, the job will terminate prematurely.  The New Master
File is unusable.

SNAP
NOSNAP (Default Option)

Indicates whether or not input/output buffers, key working storage areas
and the control switches are to be printed.  The default is NOSNAP.  If
SNAP is in effect, SEQ must also be in effect.

When the SNAP option is in effect, the I/O buffers, control switches, and
selected areas of working storage are formatted and printed.
                                   78-5

-------
THIS PAGE LEFT INTENTIONALLY BLANK
                 79

-------
THIS PAGE LEFT INTENTIONALLY BLANK
               79-1

-------
                                                           Section:  5.2.5
                                                           Version:  2.0
                                                           Date:     9/22/76
                                                           Page:     1
5.2.5  File Maintenance Diagnostic Messages
       FMT001E  ERROR:  READING xx - ATTEMPT TO ADD DATA TO EXISTING
                        READING - DATA REJECTED

                ACTION:  EXAMINE DATA IN THE TRANSACTION AND RE-SUBMIT
                         ACCORDINGLY.

       FMT002W  WARNING:  READING xx VALUE NOT SPECIFIED - FIELD
                          FILLED WITH NINES.

                ACTION:  NONE.

       FMT003E  ERROR:  NO MATCHING KEY FOUND ON MASTER FILE - RECORD
                        REJECTED

                ACTION:  CORRECT TRANSACTION AND RE-SUBMIT.

       FMT004E  ERROR:  READING xx - ATTEMPT TO CHANGE NON-EXISTING
                        READING - DATA REJECTED

                ACTION:  EXAMINE DATA IN THE TRANSACTION AND RE-SUBMIT
                         ACCORDINGLY.

*      FMT005E  ERROR:  NEW MASTER WILL BE OUT OF SEQUENCE - RUN
                        ABORTED

                ACTION:  SORT THE TRANSACTIONS AND RE-SUBMIT.

*      FMT006E  ERROR:  CONFLICTING OPTIONS - RUN ABORTED

                ACTION:  CORRECT THE OPTIONS CARD AND RE-SUBMIT.

       FMT007E  ERROR:  MORE THAN ONE IT-COMPOSITE-TYPE - SKIPPING TO
                        NEXT VALID TYPE

                ACTION:  SUBMIT ONLY ONE COMPOSITE TYPE PER FILE
                         MAINTENANCE RUN.

Non-Numbered Errors
       ***DUPLICATE RECORD IN OLD MASTER FILE***
       MASTER FILE RECORD KEY 1 = xxx
       MASTER FILE RECORD KEY 2 = xxx
       TRANSACTION RECORD KEY = xxx
       ***RUN TERMINATED***
       ***PLEASE REPORT THIS ERROR TO NADB***
                                80

-------
                                                           Section:  5.2.5
                                                           Version:  2.0
                                                           Date:     9/22/76
                                                           Page:     2
       ***MASTER FILE IS OUT OF SEQUENCE***
       MASTER FILE RECORD KEY 1 = xxx
       MASTER FILE RECORD KEY 2 » xxx
       TRANSACTION RECORD KEY = xxx
       ***RUN TERMINATED***
       ***PLEASE REPORT THIS ERROR TO NADB***
       ***NEW MASTER FILE WILL BE OUT OF SEQUENCE***
       MASTER FILE RECORD KEY 1 = xxx
       MASTER FILE RECORD KEY 2 = xxx
       TRANSACTION RECORD KEY = xxx
       ***RUN TERMINATED***
       ***PLEASE REPORT THIS ERROR TO NADB***
*
 Serious Error - Do Not Use Any Output From This Run.

xx - Column number
                               80-1

-------
                                                     Section:   6.0
                                                     Version:   3.0
                                                     Date:      3/1/77
                                                     Page:      1
6.0  DATA RETRIEVAL

AQDHS-II has a retrieval program-set to allow the user to selectively

retrieve data from the master file.  Retrieval selectivity is completely

at the option of the user and can be based upon criteria related to any

key or data field in a master file record.  In general the selection can

be based upon:

          0   Location

          0   Time

          0   Type of data

          0   Data magnitude

          0   Status

Two modes of operation are available.  These modes are a standard mode and

a sliding average mode.  In the standard mode, master file records are

selected according to user defined attributes and copied without change to

a standard answer file.  This standard mode provides data which may be

used for further processing by all data analysis and report generation

programs except the sliding average program.


In the sliding average mode, master file records are again selected according

to user defined attributes.  However, two changes are accomplished before

the records are copied to the sliding average answer file.  First each

record retrieved is changed, in the answer file only, to reflect that it

is now a sliding average record.  Secondly, the program may automatically
                                 81

-------
                                                      Section:   6.0
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      2
generate and insert extra records,  again only in the  answer  file,  to

provide data necessary for a wrap around capability during the  sliding

average computation performed by another program.


NOTE:  The answer file produced in the sliding answer mode can  only be

used by the sliding average program.

An example of the sliding average mode retrieval capability  is  as  follows.

Assume the user wanted to compute a sliding average from hourly data  for

the period 10 March 1970 to 30 March 1970, the retrieval program,  in

sliding average mode, would automatically select the  record  for 9  March

1970 if the record exists.  If no data for 9 March 1970 existed in the

master file, the program would generate an extra output record  for that

date containing null values in the readings fields.  This data  would  then

permit the sliding average to be computed for all hours including  the

first hour of 10 March 1970. (i.e., this accomplishes the wrap  around

capability).


Similarly if the records in the master were discontinuous, a null  record

would be generated at the beginning of each new series.  For example,

for the period above, if days 16, 17 and 25 were not  in the  Master file,

null records would be generated for days 9, 17 and 25.  Note that  day 16

would be missing from the answer file and, hence, from any later display

of the sliding average answer file.  No record for day 16 will  be  generated

since the day 17 generated record will provide the wrap around  capability
                                     82

-------
                                                      Section:   6.0
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      3
for day 18 and a generated record with null values preceeding a generated

record with null values would be totally useless and meaningless.


The retrieval package consists of two programs which are automatically

operated in sequence by the cataloged procedure.  The two programs serve

the purposes first of. processing the retrieval specifications proposed by

the user and secondly of retrieving data from the master file.


The cataloged procedure performs the requested retrieval in a multistep

job as illustrated in Figure 6.0-1.
                                    83

-------
( $$END
f RETRIEVAL
SPECIFICATI
1 CARDS
' $$SELECT
(LANGUAGE,
MODE, ETC)
1
ONI — 1
                                                      Section:
                                                      Version:
                                                      Date:
                                                      Page:
                                  6.0
                                  3.0
                                  3/1/77
                                  4
PROC
RETRI
SPECIF I

,ESS
EVAL
.CATION5



DIAGNOSTIC
MESSAGES
             COBOL
            COMPILER
                           COBOL
                         COMPILER
            STANDARD
            ANSWER
           RETRIEVAL
            PROGRAM
MASTER
 FILE
 SLIDING
 AVERAGE
RETRIEVAL
 PROGRAM
MASTER
 FILE
STANDARD
ANSWER
 FILE
                   DIAGNOSTIC
                    MESSAGES
                  LISTING
                  OF RETRIEVED
                  RECORDS
                  (IF SPECIFIED
              SLIDING
              AVERAGE
              ANSWER
               FILE
                                     DIAGNOSTIC
                                     MESSAGES
                                     LISTING OF
                                     RETRIEVED
                                     RECORDS (IF
                                     SPECIFIED)"—J
               FIGURE 6.0-1  SCHEMATIC OF RETRIEVAL PROCESS

                                    84

-------
                                                      Section:    6.1
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       1
6.1  RETRIEVAL LANGUAGE PROCESSOR


The Retrieval Language Processor program generates thfi actual Retrieval

program based on English—like requests entered By the. user.  These re-

trieval requests are edited and, if no severe errors are found, the

Retrieval program is compiled and executed to extract any data meeting

the user's specification.  Those records in the master file which have

qualified are placed in a separate answer file for subsequent processing.

The records in the standard answer file are in the same order and have the

same format as the records in the master file.  Therefore, the standard

answer file may be used by any program which accepts the standard master

file for processing.  Care should be used, however, as the standard answer

file is a subset of the master file.  Consequently, any changes to the

answer file will not necessarily be reflected in the master file.  The

answer file created by a sliding average request should not, as previously

stated, be used by any program except the sliding average program.


Every retrieval request consists of two control cards and one of the three

types of retrieval specification statements.   The control cards are the

$$SELECT and $$END cards.   The $$SELECT specifies  the beginning of

a retrieval request and several other items of information  for the re-

trieval.  The $$END card indicates  the end of  the  retrieval  specifications.

It contains no additional information.
                                85

-------
                                                      Section:   6.1
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      2
The three types of retrieval specification statements  are;  AQDHS-II

Retrieval Language Statements,  COBOL Language Statements placed  in-line,

COBOL Language Statements residing in copy members.


The contents and meaning of the control cards and  the  types of Retrieval

Specifications will be explained in detail later in  this section.


The format for the Retrieval Control Cards is specified in Figure  6,1-1.
                                     86

-------
Figure 6.1-1  Retrieval Control Card Format
                                                       Section:
                                                       Version:
                                                       Date:
                                                       Page:
              6.1
              3.0
              3/1/77
              3
Retrieval Control Cards
Columns
1-8
9
10-13
14-15
16-23
24
25-32
33
34-39
40-42
43-50
51
52-59
60-80
Format
A - A

AAAA

X - X

AAAAAAM

AAAAM

AAAAAAAA

AAAAAAM

                                 Symbol
                               Alphabetic
                               Alphabetic
                               Alphameric
                               Alphabetic
                               Alphabetic
                               Alphabetic
 Description


Card type

"Unused

Language Keyword

Unused

Member Name

Unused

Mode Keyword

Unused

List Option

Unused

Local Data

Unused

Repeating Routine

Unused
                                     87

-------
                                                      Section:
                                                      Version:
                                                      Date:
                                                      Page:
                                              6.1.1
                                              3.0
                                              3/1/77
                                              1
6.1.1  Retrieval Control Card Descriptions^
The meaning of the various fields are:
Card Type:
Language Keyword:
Member Name:
Identifies the. type of control card.

Valid entries are:

$$SELECT:  Specifies the Beginning of a retrieval

           request,

$$END:     Specifies the end of a retrieval request

           and must appear alone In the card.


Identifies the type of retrieval language to be used.

Valid entries are:

blank:     Specifies that retrieval specifications

           in AQDHS-II language will be used.

USER:      Specifies that retrieval specifications

           will be COBOL language statements.


If the USER option for the language keyword  is  used,

then the member name identifies where the  COBOL

language statements reside.

Valid entries are:

blank:    Specifies that the COBOL retrieval state-

          ments will be placed after the $$SELECT card.
                                 88

-------
                                                      Section:
                                                      Version:
                                                      Date:
                                                      Page:
                                             6.1.1
                                             3.0
                                             3/1/77
                                             2
Mode Keyword:
List Option:
member name:   Specifies the name of the  member  of  an

               external library where the COBOL  retrieval

               statements reside.  These  COBOL statements

               must be stored in the external  source

               library under the "member  name" prior to

               the execution of this type of retrieval.


 Identifies  the mode of retrieval.

 Valid  entries  are:

 blank:         Standard answer file is to be  created.

 Sliding:       Sliding average answer file is to be

               created.


 Identifies  whether the records retrieved are  to be

 printed or  not.

 Valid  entries  are:

 blank:         Do not list  records.

 NOLIST:        Do not list  records.

 LIST:          Print all records which were retrieved.
                                  89

-------
                                                       Section:  6.1.1
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     3
User Defined Data:        Specifies the name of the member in an external

                         source library containing a data structure at the

                         01-level defined according to the rules of COBOL.

                         It is used to define variables used in locally-

                         defined routines.   If the user defined data field

                         is non-blank, the  member is copied into Working

                         Storage Sec tion and assigned the label


                              01  USER-DATA-STRUCTURE


                         when the retrieval program is generated.


User Defined Subroutine: Specifies the name of the member in an external

                         library containing a user defined subroutine.

                         The user defined subroutine can be invoked only

                         by the user written COBOL statements defined in

                         the above Member-Name.  The user defined subroutine

                         must be a Llosed subroutine; the paragraph name,

                         USER-REPEATING-ROUTINE, is automatically generated

                         by the Language Processor.   tn order to invoke the

                         user defined subroutine, the "language keyword"

                         must be blank.  The "member name" must reference

                         a user defined external source library member,

                         and there must be a valid AQDHS-II retrieval

                         language request following the $$SELECT card.
                                  89-1

-------
                              Section:  6.1.1
                              Version:  3.0
                              Date:     3/1/77
                              Page:     4
The Repeating Routine is normally, but not

necessarily, the object of a Perform statement

and used where values in the repeating field

must be scanned for the purpose of accumulating

counts and sums or further qualifying the record.

This option in conjunction with the "User Defined

Data" option and the "Member-Name" option will

provide the user with expanded capabilities,

provided the user has some expertise in COBOL.
        89-2

-------
                                                       Section:   6.1.2
                                                       Version:   3.0
                                                       Date:       3/1/77
                                                       Page:       1
6.1.2  AQDHS-II RETRIEVAL LANGUAGE


The AQDHS-II retrieval specification consists of one or more relational

expressions which, in combination constitute a logical expression.  The

logical expression specifies a series of comparisons that are to be made

against specified fields in a master file record.  As a result of the

comparisons, the logical expression can either be true or false.  If

the logical expression is true, the master file record is selected.


Each relational expression consists of a subject name, an optional

negation flag, a relational operator, and an object name.  A series

of relational expressions are separated by a Boolean connector.


The subject name field and  object  name  field may  each contain only

a valid data name (see Figure  6.1.2).   An  invalid data name or missing

apostrophes will cause the  retrieval  to abort.  Parentheses may be used

for grouping provided that  the first  occurrence of a repeating data name

is not enclosed in parentheses.  After  the first  occurrence of a  repeating

name,  parentheses may be  used  freely.   Parentheses must be balanced when

the specifications are terminated.


The negation field must contain the negation character, N, or blank.

Any other character will  result in a  warning message.  The program will

then assume that negation was  intended  and continue processing.
                                 90

-------
                                                       Section:
                                                       Version:
                                                       Date:
                                                       Page :
                                               6.1.3
                                               3.0
                                               3/1/77
                                               2
The Boolean operator field may contain blanks or  the words  AND or  OR.

Blanks in this field signal the end of the retrieval specification and

terminate editing.   The program then expects that the next  card will

be the $$END card.   The words AND or OR indicate  that another  relation-

ship follows and that editing is to continue.
AQDHS-II Retrieval Language  Specifications
Columns


1 -22

   23

   24

   25

   26

   27

28-67

   68

69-71

72-80
Format
X - X
X
X - X
AM
 Symbol
Alphameric
                     Description
                    Subj ect Name

                    Unused

Alphabetic          Negation Flag

                    Unused

Special Character   Relational Operator

                    Unused

Alphameric          Object Name

                    Unused

Alphabetic          Boolean Operator

                    Unused
                                     91

-------
                                                       Section:  6.1.2
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     3
The meaning of the various fields are:
Subject name:       The name of a field in the AQDHS-II master file

                    record whose content is to be tested and compared

                    against the value specified by the object name.


                    If a name of a field in the master file record is

                    used In this portion it must be one of the names

                    in Figure 6.1.2.   The selected name, spelled exactly

                    as shown in 1'igure 6.1.2 is entered in Columns 1-22

                    of the Retrieval Language Specification card.  If the

                    statement contains parenthesis, the Subject Name must

                    be preceded by the appropriate number of left paren-

                    thesis.  If a repeating name (denoted by * in Figure

                    6.1.2) is used, special precautions are necessary.

                    The first time any repeating name is used in a

                    Retrieval Language Specification statement, it

                    must not be enclosed by any parenthesis.  After

                    the first repeating name has been used outside of

                    parenthesis, it or any other repeating name may be

                    used without restrictions in regards to parenthesis.

                    (See Precautions and Constraints)


Negation Flag:      When non-blank, indicates the Boolean NOT condition.

                    Valid codes are N and space.  Enter either N or blank

                    in column 24.
                                   92

-------
                                                       Section:
                                                       Version:
                                                       Date:
                                                       Page:
                                             6.1.2
                                             3.0
                                             3/1/77
                                             4
Relational Operator: Indicates the relationship to be tested between  the

                     subject name and the object name.  Valid codes are:

                         = equal

                         > greater than

                         < less than

                     Enter the valid code in column 26.  If column 26 contains

                     any character other than the above valid codes the lan-

                     guage processor program ceases to evaluate further

                     retrieval language statements, outputs an error message

                     and terminates execution.
Object name:
Boolean Operator:
The name of a field in the AQDHS-II master file record

whose content is to be tested, or a literal  (enclosed

in apostrophes) to be compared against the value

specified by the subject name.  Code the object

name in columns 28-67.  The field width for each valid

name is given in Figure 6.1.2.  The entry must be right

adjusted within the apostrophes.  Parentheses when

used, immediately follow the object name entry.


Connects a relationship or group of relationships

to another relationship or group of relationships.

Valid values are AND or OR.  AND indicates that both

relationships or groups must be true in order for the

entire relationship to be true.  OR indicates that

if either relationship or group is true, the entire

relationship is true.  The Boolean operator is


               93

-------
                                                       Section:   6.1.2
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      5
                     coded in columns 69-71.   If columns 69-71 are not

                     blank, and do not contain a valid VALUE,  the language

                     processor program ceases to evaluate further retrieval

                     statements, outputs an error message and  terminates

                     execution.


Columns 23, 25, 27, and 68 must be blank.   Unneeded columns in the Subject

Name and Object Name fields must be blank.   Columns 73-80 may  be used to

specify card sequence, if desired.
                                  94

-------
Valid Data Names for Retrieval
                                                       Section :
                                                       Version:
                                                       Date:
                                                       Page:
                         6.1.2
                         3.0
                         3/1/77
                         5-1
          ACTION-CODE

          AGENCY

          AREA-CODE

          COMPOS1TE-KEY-2

          COMPOSITE-PERIOD

          COMPOSITE-SAMPLES

          COMPOSITE-TIME-CODE

          COMPOSITE-TYPE

          DATA-FIELD*

          DAY-CODE

          DECIMAL-CODE

          FORM-CODE

          IDENT-KEY

          KEY-1

          KEY-2
KEY-3

METHOD-CODE

MONTH

NBR-OF-READINCS

PARAMETER-CODE

PROJECT

RPTING-SECTION*

SITE

START-HOUR

STATE

STATUS-FLAG*

TIME-CODE

UNIT-CODE

YEAR
*  Repeating data names.
                     Valid Retrieval Data Names

                            Figure 6.1.2
                                  94-1

-------
                                                       Section:   6,1.2
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      6
 ACTION-CODE:  Indicates the last action performed on the master file

      record.  The only possible values are '2'  for Add and '3'  for

      Change.  (Field width=l)


 AGENCY:  Identifies the agency responsible for the sampling.   Valid codes

      are found in Table 4, Appendix H.  (Field width=>l)


 AREA-CODE:  Identifies the geographical area in which the samples  were  taken.

      (Field width=4)


 COMPOSITE-KEY-2:  Identifies, as a group,  the following fields:

      COMPOSITE-PERIOD

      COMPOSITE-SAMPLES

      COMPOSITE-TYPE

      COMPOSITE-TIME-CODE



      (Field width=6)


 COMPOSITE-PERIOD:  Indicates the period during which the composite sample

      was taken.  Valid codes are:

      '01' - '04'    Quarterly and Seasonal Composite

      '01' - '12'    Monthly Composite

      '01' - '52'    Weekly Composite

      '00'           Annual Composite

      (Field width=2)

Figure 6.1.2 Valid Data Names for Retrieval Specification (Continued)
                                      95

-------
                                                        Section:   6.J..2
                                                        Version:   3.0
                                                        Date:      3/1/77
                                                        Page:      I
 COMPOSITE-SAMPLES:  Indicates the number of individual samples that

      were composited.   (Field width=2)


 COMPOSITE-TIME-CODE:  Indicates the interval at which the individual

      composited samples were taken.  Valid codes are found in Table 7,

      Appendix H.   (Field width=l)


 COMPOSITE-TYPE:  Indicates the interval at which the samples are composited.

      Valid codes are:

      'I1    Quarterly Composite

      '2'    Seasonal Composite

      '3*    Monthly Composite

      T4r    Weekly Composite

      '5'    Annual Composite

      (Field width-l)


 *DATA-FIELD:  The value of the reading or sample taken.  (Field width=»4)


 DAY-CODE:  The day of the month on which the sample was taken.

      (Field width=2)


 DECIMAL-CODE:  A .single-digit number from 0 to 4 which Indicates the

      number of digits in the reading that are to fall to the right of

      the decimal point.  (Field width=l)


 *Repeating Name

Figure 6.1.2  Valid Data Names for Retrieval Specification (Continued)
                                    95-1

-------
                                                        Section:    6.1.2
                                                        Version:    3.0
                                                        Date:       3/1/77
                                                        Page:       8


 FORM-CODE:  The number of the form used to create the master file record, i.e.

      1, 2 or 3.  (Field width=l)


 IDENT-KEY:  Identifies, as a group, the following fields:

      KEY-1

      KEY-2

      KEY-3

      (Field width=-31)


 KEY-1:  Identifies, as a group, the following fields:

      STATE

      AREA-CODE

      SITE

      AGENCY

      PROJECT

      TIME-CODE

      YEAR

      (Field width=»15)


 KEY-2:  Identifies, as a group, the following fields:

      MONTH

      DAY-CODE

      START-HOUR

      (Field width=6)


Figure 6.1.2 Valid Data Names for Retrieval Specification (Continued)
                                     95-2

-------
                                                       Section:   6.1.2
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      9
 KEY-3:  Identifies, as a group, the following fields:

      PARAMETER-CODE

      METHOD-CODE

      UNIT-CODE

      DECIMAL-CODE

      (Field width=10)


 METHOD-CODE:  Identifies both the collection method and the analysis

      method of the parameter being measured.  (Field width=2)


 MONTH:  The month of the year during which the sample was taken.

      (Field width=2)


 NBR-OF-READINGS:  The number of readings or samples contained in the

      master file record.  (Field width=2)


 PARAMETER-CODE:  Identifies the parameter being measured.  Refer to

      APTD-0633 for a full list of currently accepted parameter codes

      and Table 14, Appendix H for a partial list.  (Field width»5)


 PROJECT:  Identifies the project in association with which the sample

      was taken.  Valid codes are found in Table 5, Appendix H.

      (Field width=2)


Figure 6.1.2 Valid Data Names for Retrieval Specification (Continued)
                                     95-3

-------
                                                       Section:   6.1.2
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      10

 *RPTING-SECTION:   Identifies,  as  a group,  the following  repeating  fields:

      STATUS-FLAG

      DATA-FIELD

      (Field width=5)


 SITE:  Identifies the site at  wh^ch the samples  were taken.   (Field width=3)


 START-HOUR:  The hour at which the first sample  was  taken.   (Field width-2)


 STATE:  Identifies the state Cor  other geographic division)  in which

      the sampling site is located.  (Field width=2)


 *STATUS-FLAG:  Indicates the status of the associated reading.  Valid

      codes are:

      !A'    Added since submission to SAROAD

      'C1    Changed since submission to SAROAD

      'Sf    Sent to SAROAD

      (Field width-1)


 TIME-CODE:  Indicates the interval at which the  samples  were taken.

      Valid codes are found in Table 6, Appendix  H.  (Field width=l)


 UNIT-CODE:  Indicates the units in which the parameter was measured.

      A partial list may be found  in Table 16, Appendix H.   (Field  width=2)


 YEAR:  The year in which the sample was taken.  (Field width=»2)

 *Repeating name

Figure 6.1.2 Valid Data Names for  Retrieval Specification (Continued)
                                    95-4

-------
                                                       Section:  6.1.3
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     1
6.1.3  COBOL SPECIFICATIONS PLACED IN LINE


Inline COBOL language specifications are entered immediately following

the $$SELECT card.  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 unpredictable results.  A

data name named SUB (PIC 99 COMP SYNC) is provided for use as a subscript

for referencing repeating data names.


The following example is used to explain how the subscript is utilized.

    $$SELECT USER
         USER-P.

               MOVE FALSE TO RECORD-QUALIFIES-SW.

               IF PARAMETER-CODE IS EQUAL TO '42401'

                 IF YEAR IS EQUAL TO '71'

                   IF DECIMAL-CODE IS EQUAL TO '2'

                     IF TIME-CODE IS EQUAL TO '!'

                         MOVE 1 TO SUB

                         PERFORM USER-CK-RTN THRU USER-CK-END

                              NBR-OF-READINGS TIMES.

         USER-P-END.   EXIT.

         USER-CK.
               IF DATA-FIELD (SUB) > '0050'

                 MOVE TRUE TO RECORD-QUALIFIES-SW.

         USER-CK-END.   EXIT.

    $$END

                                 96

-------
                                                       Section:  6.1.3
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     2
In this example the master file record is examined to see if the parameter

code is sulfur dioxide, the year of record is 1971, the decimal point in-

dicator is 2, and the data stored is hourly data.  If all of these condi-

tions are met then each reading in the record is compared to .50 by using

the data name SUB and performing the paragraph U3ER-CK. If the record con-

tains at least one reading greater than .50 then the entire record is

written to the answer file.
                                  97

-------
                                                      Section:   6.1.4
                                                      Version:   3.0
                                                      Date:      3/1/.77
                                                      Page:      1
6.1.4  COBOL STATEMENTS OBTAINED FROM COPY MEMBER


If the user finds that a particular set of retrieval specifications which.

he has written In Cobol Is being used extensively he may wish to store

these specifications in a copy member.  This action would save having to

keep up with the cards and insert them properly in the run deck each time

that retrieval is desired.  After the copy member has been established

only the name of the member need be referenced in the $$SELECT card to

obtain the desired retrieval,  (see examples C and F of the types of

retrieval requests).


The establishment of copy members can be accomplished quickly and easily

by personnel in the users data processing  section.
                                     98

-------
                                                      Section:   6.2
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
6.2  RETRIEVAL REQUESTS


There are six regular types of retrieval requests, each, of which, can

be associated with the list option.  The type of request Is determined

by the contents of the $$SELECT card.  Examples of the retrieval request

types follow:

     a.  Retrieval of standard records using the AQDHS-II language

         retrieval specification statements following the $$SELECT card


$$SELECT                       LIST

AGENCY                » 'D'                                AND

YEAR               N < '72'                               OR

STATUS-FLAG           = 'C'                                OR

(PARAMETER-CODE       - '11101'                            AND

DATA-FIELD           > '30')

$$END


This specification will select all records which:

(a)  are for years equal to or greater than 1972 and are for the atmospheric

     research group.

(b)  all records with at least one status flag of changed.  (Regardless of  criteria(a))

(c)  all records which contain the parameter code for total suspended

     particulates which have a data field with a value greater than 30.

      (Regardless of criteria (a & b))
                                     99

-------
                                                       Section:  6.2
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     2
The above records will be placed in a Standard Answer file and since the

list option was used all records selected will be listed on the printer.


     b.    Retrieval of standard records using the COBOL language

          retrieval specification statements following the $$SELECT card


$$SELECT USER

          MOVE ZERO TO TALLY.

          IF PARAMETER-CODE IS EQUAL TO '42401'

            IF YEAR IS EQUAL TO '71'

              IF TIME-CODE IS EQUAL TO ' 1'

          MOVE 1 TO SUB

            PERFORM USER-CK THRU USER-CK-END NBR-OF-READINGS TIMES.

              IF TALLY NOT < 10

          MOVE TRUE TO RECORD-QUALIFIES-SW.

     USER-CK.

            IF DATA-FIELD NOT = '9999'

          ADD  1 TO TALLY.

     USER-CK-END.  EXIT.

$$END


This specification will select all records which contain at least

ten hourly readings for sulfur dioxide for the year 1971.
                                  99-1

-------
                                                      Section:   $.2
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      3
The records will be placed in a standard answer file and  they will  not

be listed.

     c.  Retrieval of standard records using the COBOL language

         retrieval specification statements residing in the copy

         library under the member name specified


$$SELECT USER RPTEST01

$$END


This specification will cause the COBOL statements contained in the copy

member RPTEST01 (shown below) to be used for the recrieval.


MEMBER NAME  BPTEST01

         IF YEAR IS GREATER THAN 70                  AND

            MONTH IS LESS THAN 4                     AND

            NOT COMPOSITE

           MOVE TRUE TO RECORD-QUALIFIES-SW.


This retrieval will select all records which do not contain composite data

and are for the months January, February, and March of the years 1971

and later.


A Standard Answer file will be created and the records retrieved will not

be listed.
                                    99-2

-------
                                                       Section:  6.2
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     4


     d.    Retrieval of sliding average records using the AQDHS-II

          language retrieval specification statements following the

          $$SELECT card.

$$SELECT                      SLIDING

TIME-CODE                     N - 'C'

$$END

This specification will select all records which do not contain composite data.


The records will be placed in a Sliding Average Answer file and will not be

listed.

     3.    Retrieval of sliding average records using the COBOL language

          retrieval specification statements following the $$SELECT card.

$$SELECT USER                 SLIDING LIST

          MOVE ZERO TO TALLY.

          IF PARAMETER-CODE IS EQUAL TO '42401'

            IF YEAR IS EQUAL TO '71'

              IF TIME-CODE IS EQUAL TO '!'

          MOVE 1 TO SUB

            PERFORM USER-CK. THRU USER-CK-END NBR-OF-READINGS TIMES.

          MOVE TRUE TO RECORD-QUALIF[ES-SW.

     USER-CK.

            IF DATA-FIELD < '9998'

            ADD 1 TO TALLY.

     USER-CK-END.  EXIT.

$$END
                                 99-3

-------
                                                       Section:    6.2
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       5
Thin .'jpecification will select the saite records selected by example (b)

however, they will be placed in a Sliding Average Arswer f£le and all

records retrieved will be listed.


     f.  Retrieval of sliding average records using the COBOL

         language retrieval specification statements residing in the

         copy library under the member name specified.


$$SELECT USER RPTEST01 SLIDING LIST

$$END


This specification will cause the COBOL statements contained in the copy

member RPTEST01 (shown below) to be ueed for the retrieval.


MEMBER NAME RPTEST01

     IF YEAR IS GREATER THAN 70                  AND

         MONTH IS LESS THAN 4                    AND

         NOT COMPOSITE

      MOVE TRUE TO RECORD-QUALIFIES-SW.


This retrieval will select all records which, do not contain composite data

and are for the months January, February, and March of  the years 1971 and

later.


A Sliding Average Answer ^ile will be created and all records retrieved will

be listed since the list option was specified.
                                    99-4

-------
                                                       Section:  6.2
                                                       Version:  3.0
                                                       Date:     3/1/77
                                                       Page:     6
     g.   Retrieval of modified answer records using the "member name",

          "list", "user-data", and "user define subroutine" options.


$$SELECT     RCOPYMKM      LIST     RLOCDATA      REPROUTN

YEAR             =         YEAR

$$END


This retrieval uses a subroutine to search a locally-defined county-code

conversion table.  The area-site code combination is used as the Table

argument.  If found, the routine returns a two digit code denoting the

county, otherwise it returns '00' as the county code.  If the county code

is found, the record is selected for retrieval and the county code is

moved to the two high order positions in the answer record (action-code

and form code positions) for subsequent processing.  It should be noted

that while the answer file contains modified records (i.e., the county

code is in the first two position); the master file is unchanged.  Note that

the answer file can then be sorted on county code and reports can be generated

by county.  It should be noted that the action-code and form codes are not

printed by the list programs and will not appear on any AQDHS-II reports.
                                 99-5

-------
CO
UJ
iS

o
ac
a.
LD
~y


UJ
t— •
i —
1 — 4
cr
•z ••
Q
-O LU
Ci f-
CC 0
                            a.
                            o
                                              o
                                                                                       T3-
                                                                                       a)
                                                                                       3

                                                                                       •H
                                                                                       4-1
                                                                                       a
                                                                                       o
       CX

       cti
       X
      W

..
_J
• • LU »• ••
UJ 5- » O
5" UJ IU '.xl
- o n_ o
 a.
rr co j a:
LO •-« »- O
a •> w u
a; LU < z
a. at _i •-•
i

|
c_> cr • "3 f— L. • co
a: jj t_) Q:
-J •— _J K O
O ' ~Z LU J CE
-Tt : 3 ^ DOT
v— ' ; o co co uj
Z. \ \ i
O i U_ , U_ U. Lu
o i •— • ' o rn i o o
^ t o ! ' , i
j LU ( ^ ' re • a; fr
t— -J O , LU 1 LU LU uU
Z3 ' LU "X .Z. \ .O '. CD 1) 03
0-lCO < 1'. | ^L, iL I 5T5:
2br>
n!w >- &) 2: ', ^ , ^ ^
i i
1 '' i
I !
1 I

-------
01  USER-DATA-STRUCTURE.
    02 COUIMTY-TA3LE-ARG,
       03 AREA-CODE-ARG PIC  9999.
       03 SITE-CODE-ARG PIC  999,
    02  LOCALLY-DEFIfJED-IDENTIFIEH
        03  CONVERSION-ERROR-TEXT
        03  USER-DIAGNOSTIC,
            04  USER-ERROR-KEY
            04  FILLER
            04  USER-ERROR-TEXT
    02  COUNTY-CUNVERSION-TABLE.
        03  FILLER
        03  FILLER
        03  FILLER
        03  FILLER
        03  FILLER
        03  FILLER
        03  FILLER
        03  FILLER
        03  F-ILLER
        03  FILLER
        03  FILLER
        03  FILLER
    02  COUNTY-CONVERSION-TABLE-R
          REDEFINES COUNTY-COMVERS
                                               Section:
                                               Version:
                                               Date:
                                               Page:
6.2
3.0
3/1/77
         00000100
        03  COUNTY-TABLE-KEY
        03  COUNTY-ID
    02  COUNTY-CODE,
        03  COUNTY-CODE-8YTE-1
        03  COUNTY-CODE-BYTt-2
s.


P
V
P
P
P
1C X(24)
ALUE 'NO MATCH
' CODE',
1C X(31) VALUE
I
I
C
C
X
X(
I
VALUE SPAC
44
) VALUE

NG COUNT
SPACES.
E
S
s.
PACES.
00000200
00000300
Y00000400
00000500
00000600
00000/00
000
000
00800
00900
00001000













ION-
P
P
P
P
P
P
P
P
P
P
P
P

T
I
I
1
1
I
I
I
I
I
1
I
1

C
C
C
C
C
C
C
C
C
C
C
C

9(
9(
9(
9(
9(
9(
9(
9(
9(
9(
9(
9(

4)
3)
2)
4)
3)
2)
4)
3)
2)
4)
3)
2)

VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE
VALUE

0
0
0
0
01.
1,
02.
0
0
0
0
0

0
0
001.
0
1
0
0
1
0
0
2.
,
02,
3.
1 .
03.
b ,
24.



ABLE
OCCURS
ASCEND I
COUN
INDE





T
X
P
P

P
P
Y
4 T
NG
IMES
KE
-TABLE
ED
I
I

1
1
C
C

C
C
BY
9(
9(

9.
9.
Y IS
-KEY
COUNTY-1
7)
2)


,
,








NDEX.












000
01 100
00001200
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
000
01300
01400
0 1 S 0 0
01600
01700
01800
01900
02000
02100
02200
02300
02^00
02500
02600
02700
02600
02900
03000
03100
03200
00003300
                      Example g. Continued
                             99-7

-------
                                               Section:  6.2
                                               Version:  3.0
                                               Date:     3/1/77
                                               Page:     9
USER-SELECT-CONTROL.                                            00000100
  PERFORM USER-COUNTY-CONVERSION THROUGH                        00000200
        USER-COJNTY-CONVERSION-END.                             00000300
  If-  COUNTY-CODE IS NUT EQUAL TO ZERO                           OOOOO'lOO
    IF COUNTY-CODE IS EQUAL TO '02' OK  Ml' OR  '23'             00000500
      MOVE TRUE TO RECURD-QUAL IF IES-Sri                          00000600
      MOVE COUNTY-CODE-BYTE-1 TO ACTION-CODE                    00000700
      MOVE COUNTY-CODE-BYTE-2 TO FORM-CODE                      00000800
    ELSE                                                        00000900
      MOVE FALSE TO RECORD-QUALIFIES-SW                         00001000
  ELSE                             	  '                        00001100
    MOVE CONVERSION-ERROR-TEXT TO USER-ERROR-TEXT               00001200
    MOVE 1DENT-KEY TO USER-ERROR-KEY                            00001300
    MOVE PROGRAM-PREFIX TO ERROR-PREFIX                         00001^00
    MOVE 101 TO ERROR-IDENT                                     00001500
    MOVE ERROR-FLAG-E TO ERROR-SEVERITY-FLAG                    00001600
    MOVE USER-DIAGNOSTIC TO ERR3R-DIAGNQST1C                    00001700,
    PERFORM PRINT-ROUTINE THROUGH PRINT-ROUTINE-END             00001800
    MOVE FALSE TO RECORD-DUALIFIES-Sw,                          00001900
  IF  COUNTY-CODE IS GREATER THAN '23'                           00002000
    MOy/E TRUE TO END-OF-JOB-SW.                                 00002100
                     Example g.  Continued

-------
                                            Section:  6.2
                                            Version:  3.0
                                            Date:    3/1/77
                                            Page:    10
USE RECOUNT Y-CUM VERSION.
  MOVE AREA-CODE:  TO  AREA-CODE-ARG.
  MOVE SITE TO SITE-CODE-ARG.
  SEARCH ALL COUNTY-CONVERSION-1ABLE-R
            AT END MOVE  ilRO TO COUNTY-CODE
            WHEN  COUNTY-TAOLE-ARG IS EQUAL TU COUNTY-TABLE-KEY
            CCOUNTY-INDEX)
               MOVE COUNTY-ID  (COUNTY-INDEX)  TO COUNTY-CODE.
   USER-COUNTY-CONVERSION-END.
     EXIT.
                 Example g. Continued
                       99-8.1

-------
                                                                          |Secticn:
                                                                          jVersiqn:
                                                                          |Date":
                                                                          ,Page:
                                                          !   i
UJ Ul Ul  a I  aJ Ul Ul Ul u; Ul aJ UJ
OOOOOOOOOOOO
C) D O  D  O D O t~> L7> O O O
CJLJL>l)L)t.JL>LJLJLJLJlJ
                                       UJ aJ Ul UJ Ul UJ  LL)
                                       O O O O O O  O
                                       D O O CJ O O  C)
                                       LJ LJ LJ LJ L) i)  LJ
       I
       >-- «- I- h-
                       I
                                    >-
                                                      >-
O O O  O C) O O O CD O O O
LJ L) LJ  LJ LJ O LJ LJ L> LJ LJ LJ
                                       V- t— «-- «- v- i-  t-
                                       2 2 2 2 2 2  2
                                       r> :T> 13 TJ TJ TJ  r>
                                       D n o o n n  CD
                                       LJ LI LJ LJ O LJ  LJ
 CO CO C"
             LO CO LO  LO LO CO LO LO  LO LO LO LO CO C1
                                                            LL! aJ Ul LU Ul UJ Ut Ul
                                                            o n o o o o o o
                                                            O CJ C! O O D Cl O
                                                            LJ LJ L) CJ LJ O L) LJ
                                                            »— »— i~i—  t— v— l-V-
                                                            22222222
                                                            7J 75 73  73  7J 7J 7> 73
                                                            O O O  O  O O O O
                                                            CJ L) C)  O  LJ C> L> C)

                                                            LO CO LO  LO  CO LO LO LO
                                                            22222222
 »—i v—i t—i i—i t- < HI  *-1  H< *--« *-* >~-i  i—t
 XXXXIXIXIXXX
 LJ LJ LJ CJ CJ C)  C)  LJ LJ LJ LJ  LJ
 »—  h- t— (— H- J-  V—  H  »— »— t—  t-

 y>>>3r:s.5>3rJ.. >>

 000000000000
 22222222225
                    I
                       i
                                      X X X X  X  X  X
                                      LJ CJ L) C.)  LJ  O  CJ
                                      J— V- »- »—  I-  1—  t-



                                      '   !   l          I
                                      D O O O  O  O  O
                                      2222222
                                         II          I   .
                                                            X X X  I  X  X  X X
                                                            LJ C) CJ  C)  CJ  C) O L)
                                                            t-»— h-l—  »--»-- I— V—
                                                              5-  >  >  >  >  >  ^
                                                            •   i          ,         !
                                                            ODOOOOOO
 O  O O O O
 *—4  *-l r-t .—I *—«

 CO  X) CO X) cc
                o o o o o o  o

                CO OD CC co  QO  CO
                                       0 0
                                                   o o o  o  o
 o o o o o
 rvj rxi rvj rvj rvi
                o o o o o o  c
                <\i ru ru ru rvj r\j  r\
oooooooooooo
OOOOOOOOOOGO
                                      tJ"lr/iry"lr-O-i-~«»-«—«f\J
                                      ooooooooo
                                      xO vD ^O •&  -"•*  «—*  •—'  »- * ^/^
                                      Cvj r\j ru r\j  cr  cr  cr  cr f-o

                                      c>ooooooc>ac
                                      oooooooo—•
                             o o o o o  o
                             --• ^' —> ru --•  ru
                             o o ••-» cr- ••—»  O"
                             r\j rvj —i *- -* » <  »- *
                             O C3 C3 O O  CJ
                             in in —• en --«  LO


                             CCi CO O O O  O
                             ^* ~ i O O O  O
                                                                                         6.2
                                                                                         3.0
                                                                                         3/1/77
                                                                                         11
o o o
^< ru KI
o o o
o o o
h- t— r-
oo oo co

o o o
» CD en
cr  cr =r
ooo
ooo

ooo
<35  C5 CT!>
ooo
ooo
f\j  ru ru
       t
         o o
         cr j"v
         o o
         o o
         en en
         cr cr
         o o
         o o
         o o
         o o
tlJ aJ UJ

f* r-* ~~1

OOO

*"• »-l r-1

»—»--»-

tjj LJ
         LU :U


         o c>
         --H T-*


         UJ Ul
                o  o o o o o  o
                vO  r^ co cr* o *-H  r\j
                o  o o o —<-<--<
               o  o o o o o  o
               en  :n en xi oo co  na

               o  o o o o o  o
               o  o o o o o  o
               »-l  »-4 »-* -—I •—t --H  *—I
               o  o  o o o o o
               o  o  o o o o o
               fM  rvi  ^J rvi rxj rv. ru

               Ul  a_J  'a 1 UJ Ul a I a I

               O  O  C> O O O C>
                                       o o o o
                                      o o o  C> O
               If- !•-  »-  I- f— I-  h
               Ul LL!  UJ  UJ UJ Ul al
                                         Ul til  Ul 'aI Ul
                      •—I— t-  ^- t- t - t-- t-
                      UJ O.J Ul  UJ Ul u! UJ UJ
                             Exampl
                                          i   i
                                          9-
                                             Continu
                                                         !   !
                                                                            i   i

-------
                                                      Section:   6.3
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
6.3  PRECAUTIONS AND CONSTRAINTS
The retrieval program package makes a number of  edit  checks  to  ascertain

that retrieval controls and specifications are acceptaBle.   These checks

are not exhaustive because of unavoidable limitations so that there are

some precautions that must be observed to avoid  unpredictable results.


The program performs checks  and if the check fails,  the program issues a

diagnostic message and terminates all further processing.  The  checks   are:

     0   There must be one and only one $$SELECT card

     0   The $$SELECT card must precede all other retrieval  specification

         cards

     0   Key words on the $$SELECT card must appear exactly  as  specified

         herein

     *   Retrieval specification statements must use  names which exist  in

         the list of Valid Data Names for Retreival Specification

     0   The $$END card must be the last card in the  retrieval  specification

     0   Entries on the control cards must be in the  correct card

         columns with the correct spelling as specified herein

     0   Retrieval specification statements in AQDHS-II language must

         conform to the syntax specified herein.


Although all specifications and operating instructions should be followed

precisely, additional care is desirable for the  following:
                                   100

-------
                                             Section:  6.3
                                             Version:  3.0
                                             Date:     3/1/77
                                             Page:     2
When literal fields are used in the retrieval specification

statements, the literal must be enclosed in quotes and the

number of characters in the literal must be the same as the

number of characters in the master record field to which the

literal refers.  The literal must be right justified using

leading zeroes for numeric values as required to complete the

field width (e.g., a data literal must be '0050' not '50').

The first time a repeating name is used in the AQDHS-1I language

retrieval specification, it must not be enclosed by any

parenthesis.  This rule may be stated alternatively as:  no

parenthesis may enclose the first occurrence of any repeating

name.  To avoid difficulty, when it is desired to use a repeating

name in a complex retrieval statement requiring the use of paren-

theses, the following statement should immediately precede the

first occurrence of the repeating name enclosed by parentheses:


     Repeating-name = Repeating-name                   AND


Thus a valid statement might be:


$$SELECT

AREA-CODE                =  '0032'                     AND

SITE                     =  '201'                      AND

PARAMETER-CODE           =  '11101'                    AND
                        101

-------
                                                       Section:   6.3
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      3
         *DATA-FIELD                    «  DATA^FJELD          AM)

         (DATA-FIELD                    -  foo50<              AND

         TIME-CODE                      - '3*1                 OR

         (DATA-FIELD                    »  '0075'              AND

         TIME-CODE                      « '8'I

         $$SEND

*If the line marked with, a asterisk were omitted, the complete statement

would be invalid.  Do not put the asterisk in your card(s)  it is for

illustrative purposes only.


     0   Caution must be taken in the preparation of retrieval specifi-

         cation statements to avoid conflicts in the comparison of null

         readings which are coded as 9999 and treated by the retrieval

         program as valid readings.  For example, to retrieve readings

         greater than some threshold value, say 50, the retrieval

         specification should also specify that the reading must be

         less than 9999.  The resultant statement might be

         DATA-FIELD                     = DATA-FIELD           AND

         (DATA-FIELD                   > '0050'               AND

         DATA-FIELD                    < '9999'}


         Furthermore it is recommended that the use of repeating names

         should be as close to the end of a retrieval statement as
                                    102

-------
                                             Section:   6.3
                                             Version:   3.0
                                             Date:      3/1/77
                                             Page:      4
possible.  Thus note in the previous example that use  of

non-repeating names occur Before the parts  of the statement

involving DATA-FIELD.


Stated another way, the most efficient retrieval will  be

obtained if (whenever the logic will permit] all non-repeating

data names are grouped at the beginning of  the conditional

statement.  Thus, in the first example above only those logical

expressions which reference TIME-CODE appear after  the first

reference to the repeating data name, DATA-FIELD,   The non-

repeating fields such as site are placed first.
                             103

-------
                                                      Section:    6.4
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       1
6.4  RETRIEVAL INPUTS


The Retrieval programs have three inputs consisting of the Retrieval

Control Cards, the Retrieval specification cards* or COBOL specifications  and

the current master file.
                                  104

-------
                                                      Section:   6.5
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
6.5  RETRIEVAL OUTPUTS


The Retrieval Program produces three types  of  output; diagnostic messages,

the answer set containing the selected  data, and  optionally a  list  of  the

records in the master file which qualified.  Two  sets of  diagnostic messages

are produced; one from the Language Processor  and one from  the generated

Retrieval program.   The Language Processor  diagnostics  CSee Appendix A)

display any  error encpuntered in processing the Retrieval Language  Specifi-

catlon Statements.   If the COBOL Language is used, error  messages may  be

generated by the COBOL compiler.   The Retrieval program may also generate

diagnostic messages.  In both cases the diagnostic messages indicate any

errors discovered by the program.  The  detectable errors  are discussed

in Section 6.3, Precautions and Constraints.


It should be noted  that due to the  sort  sequence  of the master file, records

selected for sliding average reports  must have  the  same decimal code.
                                  105

-------
                                                      Section:   7.0
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
7.0  OUTPUT PROGRAMS


AQDHS-II provides two output programs for producing various  listings of

data contained in the master file.   These are the Detail  List  program and

the Data Analysis Statistical List  program set.   In addition the Sliding

Average Program computes averages for display by the Detail  List Program.
                                    106

-------
                                                      Section:   7.1
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
7.1  DETAIL LIST PROGRAM


The Detail List program formats and displays  data selected  from the master

file or from the sliding average values file.  There are several formats

used depending upon the type of data C^s specified by the Time-Code)  to

be displayed.  Less than daily data Is displayed on a site  basis in a

matrix whose row labels are days and whose column headings  are hours.

Daily data are displayed in a matrix with row labels of days  and column

headings of months.  Weekly data are displayed in a matrix  with row labels

of week-of-the-month and column headings of months.  Monthly  and quarterly

data are displayed on a site by site basis under column headings of month

and quarter respectively.


The program operates in either of two modes:   a standard and  sliding

average mode.  The mode is determined by the  contents of the  input file.

The standard mode has two options:  a display option and a  summary option.

The display option allows the user to specify whether the program should

print data values meeting a user supplied expression or to  print all

variable data values which are <^9998.   The summary option  allows the

user to specify the type of summary columns and rows to be  printed.  The

'MEAN' option specifies that the number of readings, the mean reading and

the maximum reading will be printed for each row and column.   The 'SUM*

option specifies that the number of readings  and the sum of the readings

for each row will be printed.  No column footings are available in the
                                   107

-------
                                                      Section:    7.1
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       2
'SUM' option.  The sliding average mode has only one option;  the display

option.


The mean values computed By this program may differ from those computed

from the same raw data by the Data Analysis program Because the Data

Analysis program will adjust some values according to the minimum de-

tectaBle value whereas the Detail List program uses the raw data values.


The user is cautioned to use the proper entries on the option control card

for the type of input data file to Be processed.  Otherwise the program

will reject the options selected and terminate without processing the

data, immediately after it outputs the appropriate error  message(s).
                                  108

-------
                                                      Section:   7.1.1
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
7.1.1  EDIT CHECKS
The Detail List performs a number of  edit functions  to  ascertain  that

there is consistency between the Input data and the  options  selected by

the user.  In addition the program checks the applicability  of  the various

AQDHS-II tables for the parameter codes, site codes  and parameter standards.


In performing the various edit functions the program detects the  following

errors:

     0   One of the Summary Options (.MEAN or SUM)  was entered on

         the option control card while attempting  to print sliding

         average results.

     0   One or more of the option statements contains  a spelling

         error, a missing element or the elements  were  in the wrong

         order.

     0   The relational operator C ^» =, or ^) was missing in the

         display option statement.

     0   An unrecognizable character (neither N or blank) occurred

         between the keyword DISPLAY and the relational operator

         in the display option statement.

     0   The entry for the specified value in the  display option statement

         contains one or more non-numeric characters or exceeds the range

         .0000-9997.  (the values 9998 and 9999 have been reserved for

         special uses by the system.   9998 is used to condition printing
                                   109

-------
                                                      Section:    7.1.1
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       2


         of asteriks in the Detail List program and 999.9 is used to

         represent null values.)

     0   Both, keywords (SIM and MEAN) occurred on the option control

         card.

     0   No option control card was provided for a standard answer file

         listing.

     0   The threshold value in the display option statement was used

         inconsistently in relation to the relational operator.

     0   The input file name designated a non-existant file.

     0   The two Parameter Key and Parameter Description Tables  name in

         the runstream do not match in size or content.

Whenever any of the above error conditions are detected, the program

prints an error message and terminates without processing the input file.


In addition to the above errors, the program detects a conflict  between

the size of the Parameter, Parameter Standards and Site Code Tables and

the maximum sizes allowed in the program.  When this condition is en-

countered, the program prints a warning message but continues to process

the input file.  During processing, only that portion of the table or

tables that can be accomodated by the maximum program table size will

be used for processing.  This condition may result in Incomplete head-

ing identification in the output results.
                                    110

-------
                                                       Section:    7.1.2
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       1
7.1.2  INPUTS
The Detail List program requires access to a data file and may have an

option control card.   The data file may Be the master file,  a standard

answer file or a sliding average answer file.


The option control card contains keyword statements  for either option

(Summary and Display).  These statements may appear  on the option control

card in any order, but must be preceded or followed  by at least one

blank.  (Note that a keyword that starts in column 1 is considered to

be preceded  by a blank).   Statements may appear anywhere on the card

except columns 73 to 80.  All desired options must be contained on

one card.


The keywords for the Summary option are MEAN and SUM with the follow-
  i
ing meanings:

     MEAN:  Print the number of readings, the maximum

            reading and the mean for each column and row.

     SUM:    Print the number of readings and the sum of the

            readings for each row.  CColumn footings are not

            printed with this option).


The Summary option is valid only for processing  standard answer files

and one of the options must be stated or the program will assume the

mean option.  The presence of either of the Summary  option keywords will
                                   111

-------
                                                       Section:    7.1.2
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       2


cause the program to terminate before processing a sliding average answer

file.


The Display option statement consists of a keyword,  an optional  negation

flag, a relational operator and a threshold value  in that  order.   Each

element of the display option statement must be preceded and  followed by

at least one blank.  The definition of the elements  of the statement are:

     Keyword:                   DISPLAY

     Negation Flag:             N or Blank

     Relational Operator:       ^ » ~» <^(greater than, equal to,  or less than)

     Specified Value:           A number in the range .0000-9997.   (leading

                                zeroes in front of the decimal are not

                                required.   The decimal point  should always

                                be coded.   If it is  omitted it will be assumed

                                to be right justified in the  field).


Some examples of valid and invalid control card option statements  for

processing sliding average value files are given in Figure 7.1.2-1;  similar

examples for processing standard answer files are  given in Figure  7.1.2-2.
                                   112

-------
                                                  Section:    7.1.2
                                                  Version:    3.0
                                                  Date:       3/1/77
                                                  Page:       3
DISPLAY - 00.14                           :                                        V
III       |       Example 1.   Print only those data values equal to .14            \
   II
01 1 B00| OOII| | 000000009080000008080 BDOOflflOO(l90!)OOOOOeOOOflOO 0 3 000080000 0000000008DO
i i i i i i i i i it n u it H u it ii u » a n n n » a n n a H v 11 n n u 11 it i) ii n « 4i u a 44 4> 44 « it ii H » u u M u u si u » n ii it a H u u i) u n it n n n ii n n n n n •
1 1 1 II |  1 1 1 II 1 1 1 I 1 II II 1 1 I 1 11 1 II I I I 1 I II If 1 II I I 1 I 11 111 II I I II 11 I 1 I 1 1 1 I'll 1 I I 1 II 1 1 1 1 1 J I
22| 712222222222122222222222222222722222222 222222222222222 2 2 222222772222222227222
33 J3| 3333333| 333333333333333333333333333333333133333 133 33 3 3 333333333 3 3333 J333:-J3
|4444444444444[44444444444444444444444444444444444444444444444444444444444444444
S5555555555555555555555555555555555555555555555555555555555 555555555 555555555555
II f ItSSSl 8Si668SS6SS$6t6B6.65S66666568SS66B66S66S686i6B6666SS6566G666S66SBm66SS
777[777777777777777777777 J777777777777 7777 7777117177777 7777 7717 77 777 177 J J777I77I
088I81[ 8f 188| 3888888I88888B88I8888888B8888 8888881808888 88 8388888888888 8888888888
Jl 3H99339999999S99SS99S9 9999 309399993S999 999 9SS3993SS3 989993999 J339999S939JSS39
i i i i i i i i i ii ii it ii ii it w 11 it n a :i n » ii n n >i a a • n n i) 14 n it 31 H u it ii 4i 11 «i u 4i 4i ii 4i u 11 u u M u u » u M H it n n H n « n u it n n n n ii n 7i n n n N
       . UlntFTT BOH I
DISPLAY .N .<_?3.00 — —                                  '                         V
ii   i     I  -  I     Example 2.   Print only  those data values greater than            1
                                or equal  to (not less .than) 75.

11| 111| 1111111 0| | I 0 11111 ( 1111111 0 11 8 0 8 1111 0 0 0 0 0 It 9 0 I 0 I 0 B 1 0 0 I 0 I 0 0 0 1 B 0 0 0 0 0 0 D 1111 ( 8 I
I 1 II 11 1 II II I 1 111 1 1 1 1 1 1 I II1111111111 I 1111111 I I 11 I III 111111111II1 I II11 I 1 1 1 1 1 1 1 11 1 1
22| 22222222227222222222222222222222222222222222222222222222222222222272722222222
3333| 333333333J 3333333333333333333333333333333333333333333333333333333333333333 J"
|  444444(44(444444444444444444444444444444444444444444444444444444444444444444444
55555555| 5555| 555555555555555555555555555555555555555555555555555555555555555555
S6SiS6666SB66B8SBBBSiBSS666666S66i6666666B66S6SSS566566666686S666666S66S86S6S66S
777| 77777777| 777 77 7777 7 777777 77 77777777777 77777777777777777777777777 77 7777 777777
818888) 388| 388) 88888818888883838888881888833388838388888888888183388888818888883
9| 9 9 9 5 9 3 99 9 !! 3 3 9 9 9 9 9 9 9 9 0 9 3 9 9 9 9 9 3 9 3 3 5 ^ 3 2 9 9 3 3 9 3 0 J 9 9 99 9 •] 1 9 9 9 9 3 9 9 9 9 9 9 9 9 9 9 9 3 9 9 9 9 3 9 9 9 9 9
 i i j i j i i i i 'j ii :i u ii is is i) ii it ic ii ;.' n it n » )' n ii:« n »i: >• :s i: '>> :i n  n 4i u r n i. .1 it :i n ,1;; u '.i s «i n » » n i: » M » u » u u 11 n n n n n n » n D 11
       	riACK£TT 3Q31 	 	  _  	      .._._._	...	.	...  ._ 	     	_.	 , ^	.	    _
   Figure 7.1.2-1 Examples of Valid and Invalid Display Options  Statements
                  for processing Sliding  Average Values Files.
                                113

-------
                                                  Section:    7.^..2
                                                  Version:    3.0
                                                  Date:       3/1/77
                                                  Page:       4
                   Example 3.  CNo Control  Card)                                   ^
                               Print all Data Values.

BB8ooo9go90BegoeoHoeoooggooonoeoooQ oooooooooooooooooo oooooooootooaDoossooosMBi
i > i i s i t i i it n it 11 ii i) n ii it nan na»nann »»n »it 14 n»i! un4iii «uuuu41 u<< Hn u u}« u u» u unii nn« u unuH n n n nn n n ii n nu
11111111111111111111111111111111111111111111111111111111111111111111111111111111

22222222222222222222222222222222222222222222222222222222222222222222222222222222

13333J33333333J3313J13331333333J333333333333133333333333333333333333333333333333

44444444444444444444444444444444444444444444444444444444444444444444444444444444

J55555555S5555555555555555555555555555555555555555555555555555555555555555555555

ISI(EESS8(ESBSS8SESE8ES8EEEEBEEEfiSEEESE5EBGfiSEGBEBBES6SES8fiEB6SSEftSEEStSEB(SEES
                                i
177777777177777777777777777777777117 77777777777177777777777717777777777177777171

I33338338333B33333333S8833S88833383S888888B8338838833883838338I8383888S8888S88SI

JJ9899M399I9J!9JSJ39999999939999999S999999933999399999999993999399999J993959S3S
i i i i « i i i i ii 11 ini ii» it ii it u n n n »:< u a ii n M a 11 n i) M » n 11» n 4 ii i n a
  ..	HACKETT SO«I	._  .	...	
      O -10.00. 	                                                      V
[[I      |       Example 4.  Print only those data values greater               ^
                               than 10.

ig[BBBi8|BI|I||8BBBBB8l88B8B8BBIB088B8BBBE803BOBg08ag800B88B88fiB8BB8D8BI9B8808BB

1111111111| 1111111111111111111 in 1111111111111 in 1111111 in 111111 mi i HI 1111111

22(22222222222222222222222222222222222222222222222222222222222222222222222222222

3333J 3333333J 3333333333333333333333333333333333333333333333333333333333333333333

|444444<444444444444444444444444444444444444444444444444444444444444444444444444

55555555555555555555555555555555555555555555555555555555555555555555555555555555

65St85S6|6S5l6S66566BS6G66666666S66665666666fi665S666B666S666865666B6SSSISS666S6S

771| 7T777777777771717J77777 IJJT777 I?17777777777777777771777777 7111117771/717/771

888898) 8| B38| 888B8888888888888885888 888383883388 J3833383888888883888833888888888

91 9 3 3 9 9 9 9 3 3 9 9 9 9 9 9 3 9 9 3 9 9 3 9 9 9 9 9 5 3 9 9 5 S 5 9 9 3 9 9 3 9 3 5 9 •] 9 3 3 9 3 9 9 9 9 9 9 9 9 9 9 3 9 9 9 9 9 3 9 9 3 9 9 9 9 9 9 9 9
i i j i j i i i > n n i! i! it is n ii i! i) ii ii;? ;i :< ii n 11 u n a :•• r.:: ;i is:; i; » » n i;  u a :i :i :< s :i » si si si si n n 11 u w u K u u n 11 n n n » n n n n !i n
       HACX£TT 5QHI

  Figure  7.1.2-1   Examples of Valid and Invalid Display Options Statements
    (Continued)    for processing Sliding Average Values Files.
                               114

-------
                                                   Section:   7.1.2
                                                   Version:   3.0
                                                   Date:      3/1/77
                                                   Page:      5
   ' ~"    '  ~        Example 5,  Invalid;  No Blank between Display and ^>.           \

   II
ll| (HO| | 89| Q| | 8BSflB8fl»a8B8BBBa8B8B9809flBBaOBB8B9808BBflOI)08B090BB000000B01)0080i!09
i i i i i i i i i 11 ii mi u n ii IMI ii n ii n a n n n 11 n n n ii n n « » u i) u n «ii u u « 4i mi« « H )i si u M u u si si ii »ii o o H » u ii n w n ii n n M n n n 11 ii a
11 n 11 1111  11 n 11 M 1111) n 1111 M 1111 n 1111 n i ii n 11 n n 11 ii 11111111 n 111111 n 1111
22| 22ZZZZZZZZ222222222222222222222Z22222222ZZZZZZ2ZZ2222222222222222222222222222
                                  I
J3JJ|Jnnj|33Jjm3n313Jni3JJjn333n3333313JJ333333J3333U333333333333333333
|444444<444444444444444444444444444444444444444444444444444444444444444444444444
55555555555555555555555555555555555555555555555555555555555555555555555555555555
11 S S i B 81 ( 6 6 S B 8 6 S 8 S S S 6 S S I S S S S S i 11 6 5 6 E 8 S S i 5 i 6 S 6 6 E 6 S 6 6 S B 8 S E 8 B E B J E £ t S 6 S S S 6 6 S f B 6 S ( E E S
777| 7777777777 777717771111117777 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 T 7 7 7 7 T777777
m8i8||B88|S8B88888888B88SBBI8838B88S88888883B8S88S88888S8SB8ISIISiSSSI8888(BS8
Si SS9SS!9999999SS3S99J3S999S!S99S99959999993999999999999999 99993939999 999 999M99
i t i i » i ' i i n n n n n is n 11 ii ii ii ii n n n n n 11 n n M ii 1111 M 2s H n 11 H «ii 4] <:« u 4i ii 4i 4j «i si ii u 54 55 54 ;MI si B ii o u u u H ii H u N ii n n ii is mi )i ^ n
        > ..10." Op"                            - ~ - ^
ii    i      - •- -      Example 6.  Invalid; Display Misspelled.
   II
ll| 18 l( t| Ot| 8H IIIIIIHHO BOO§888BflBBB80BB»088B088 00 8000 008 8180181018811(0 88(111
i i i i i i i i iniiiinMUiiiiiinannana»nnnana»)i>i)i)ia««i«i4t4iti4)«i4)ai»>iiRnuuiiiiHiinnnnHnni»ini*
111 1 1| 1 1 MI 11 II 1 11 111 1 11 I II II 111 H I 11 1 II 1 I I I I I 1111 I I I I II II II 1 1 I) 1111 II 111111 II 1 1
221 Z2222222ZZ222Z2ZZ22222222222222222222222222222Z2222222222222222222 22222222222
333|  333333331 333333333333333333333333333333333333333333333333333333333333333 3333
|4444444444444444444444444444444444444444444444444444444444444444444444444444444
55555555555555555555555555555555555555555555555555555555555555555555555555555555
SiSSSSCSj S6S S6SESC656 S6S6E6CSES6S 6E6EE6S5S6 66S6SSS5666 66S666SSSEBSS65E SSSS666SSS
77771777777777777177777)71777777777777177777777777777777777777777777777777777777
8388891 5 1 888| 8888888888888883868388388888883888333338383888838838888388888898883
9|99933S939JS9393999993S235999993l;59999!!3399993999399333959a99399999a99999999999
i ! i i s s > i '. i: •; •>: n n i! ii n ; n i: n n i: it :> :t it n 21 :j n .'; ;. ;> :, » n :i :i 49 1> u i: 41 o ii 11 11 u :i v ;i :i » si s< ;i ;; si a ii n u si u « i> H » ;i n n n 11 n » n » n »
   Figure 7.1.2-1 Examples of Valid and Invalid Display Options Statements
     (Continued)   for processing Sliding Average Values Files.
                                115

-------
                                                     Section:   7.1.2
                                                     Version:   3.0
                                                     Date:      3/1/77 ,
                                                     Page:      6
>  DISPLAY .10.00
  ||    |     |          Example 7.   Invalid; No Relational Operator.
      II
\
   15) BIO) 00| B|| BBBOBBBBBBBBBBBBBOOBOOBOOeDOBBOBOBDOOOOO00000000 8 B 0 B 8 D 0 B B 8 B B 8 fi B 8 8 B B
   i i i i i i i i i it int ii u i> ii ti 111* n >i a n M a n n a N • it »11 M n n » u n u «i u u u n ii 41 u <>» M u u M s»i si :i u u n n u u u «ii u n 11 ?i n n i< n n it >i » N
   111 n| 11| 111111111111111111111 n ii 11111111 n 1111111111111111111 n 111111111111111
   22| 22222222222222222222222222222Z22222222222222222222222222222227222222222271222
   33331333331333333333333333333333133333333333333331333333333333333333333333333333
   | 4444444444444444444444444444444444 44444444444444444444 444444444444444444444 4444
   S55555555555555555555555555555555555SS5555555555555555555555555S5555555555555555
   B6glS5685l86688Si8666B5SS666656666B66666666666656666666666666665666B6668B6B66S6S
   in\imninnnwnnmmmmmiinmnmimnnmnniiiiimniin
   IB MBI| IIB| 8 8 888898 1888 8 38 8818 888 8 88381118118888383881 8 8 3 8 8 8 8 S 8 8 8 8 8 8 8 3 111 8 8 I 8 B 8 8
   91 JS9 1S9SS99999999S199931931999589999S8399993999399SS99999S99999999999S99999999!
   i i i 4 s i i i i ii ii ii i) u is ii ii ii it n >i n n 14 a » n n n > ii n 13 u b ii u »ii M 4i«] (i u u u 4i u 4i u ii u 53 u u si si si H ii ii n n H u ii ii H n n n ii n i< n n n ii n it
  	  HACKETT goal	.	.	
   SUM-DISPLAY. > -10.00                                           ;	S.
       [|    I       [    Example 8.   Invalid; Contains Summary Option Statement.         \
     I     II
   |[BBBI| BBB| 11 BB| B| | B B I B B B 0 B B 1 0 B B B B 0 B I B I B B B C 0 0 8 D 8 B B B 0 B B B 1 0 B B 0 B B 0 fi B 8 B B 0 B B D 8 8 B B B D B B
   111 11 1 I 1 1[ 1 1 1 1| I 1 1 1 I 1 1 1 1 1 1 11 1 1 1 1 I 1 I 11 I 1111111II11M1111111111JI I 111111 I 1111 It 1 1 1
   I22222|2222221222222227222222722222222222222222222722272227272222222222222222222
   33333333|3333333|333333333333333333333311333333333333333333333333333333333333333
   4[|4(44(444444444444444444444444444444444444444444444444444444444444444444444444
   55555555555555555555555555555555555555555555555555555555555555555555555555555555
   g6!66666S666| 666666666666666666666666556666655656556666666665556666666658S6ISSS6
   777J777| 77777 7777777 T7J1 7 J 7 J7J777 7 7 7 1777J 77777 I 77 I 7777777777777777 I 7777JT777 717J
   I88888B888| 3| 888| 8 8 3 8 8 8 3 8 3 8 8 8 S 3 2 3 B 8 8 8 8 3 8 8 3 3 3 3 3 3 3 3 3 3 g 8 8 3 8 8 8 3 8 8 B 8 8 8 B 8 8 8 8 8 8 8 8 8 8 8 8 8 3
   9 3 9 9 3 i 5 9 9 3 9 3 O 9 3 3 9 3 3 3 S 9 9 9 9 9 3 S 9 ? 9 3 9 ? 0 S 9 3 9 9 3 ? 5 1 Q 3 9 n ? 9 9 S 3 3 3 9 9 9 9 9 9 0 3 9 9 9 9 3 9 9 9 9 9 3 9 9 9 9 9
   i i i 4 s i i i ) n n in: n 11 ii n i; ii ;i n 11 n 2;;; :> n ;i ;i 19 r ;;;: -,i ;s •( n :;:: «.< n <: n •< .1 u 4;.: o \i •> u .: •* » :c ; n a
  	 HACKETT 5Q8!	
     Figure 7.1.2-1  Examples  of Valid and Invalid Display Options Statements
        (Continued)   for processing Sliding Average Values Files.
                                 115-1

-------
                                                  Section:   7.1.2
                                                  Version:   3.0
                                                  Date:      3/1/77
                                                  Page:      7
SUM DISPLAY > 10.00 .                                                              \
                    Example 1.   Use Sum Option, Print Only Values Greater           \
                                Than 10.
  II    I       I

I     II
f|B(OB|QBO| 0| 00| 8|| BBBBBBBOOOBOBSOOOOOOOBOODOOOOODOOOOaOOOOOOOOOOOOOBBOBeOOBOBBI
i t i 4 t i i i i it it 11 ii M ii it mi n a » n n » » n n 21 n »ii n » M it it » ii ii i« 4i » a « si it u u M a u » u u u ii D u H u u ii u u it n n n n n n n >i n M
1 11111 1 1 1|  1II 1|  1 II 1 1 1 It II II 11 11 I 1 II11 1 I II I II II II 111 1 I II 1 11 11 1 II 1 1 II 1 1 1 1 I 1 111 1 1 II

| 22222| 2222222222222222222222222772222222722222222222222222222222222227222222222

33333333) 3333333) 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 313 J 3 3 3 3 3 J 3 3 J 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3

4|| 4| 44*444444444444444444444444444444444444444444444444444444444444444444444444

555555555555555J5555555555555555555555555555555555555555555555555555555555555555

fBlfSCS66SC6| SSB6BS686S66666666SC66666665666666666666S6S66686t8(666S66C5C6CSCCEG

7777777J 77?7777777777 177777177777777777777 7777177777177777 7777777777777777777771

88 B8B88888I 3| 888| 8888888888888888388383888 88388883;;!B88 8 888888888888 88888188888 S

J9 !H| 999999993 JJS99939J959MSS9S98359933399S33 99 999399 993S999S9999999J999999999
i i i 4 i i i i i it it it ii :< i) it mi ii n ii n n » n n ii n n »ii »si M ;s :i IMI »4i ii it it u 4j it 4i a ii si ii u u ii u *i it it u u ii o n u n li ii H n n M n n it n n n ii 19 M
	HACKtTT goal	,	.	.	  .  	   .   	.	
 II
r  r
                    Example 2.   Use Mean Option, Print All Values.                  \
MHOJ«JOH»l»000DI«IBBB88flBBB«B00880BflOfl880000eflBB88fl0888P0BOOeS»B0088»e8«»9
i i i i i i i i i ii n u 11 u is ii 11 ii 11 n n n n » B a 11 n n » )i n n i» » » 11 ji n 4i 4i « « « u 4i 4? u ii n si u u M sj !4 ii a M mi o o M o « ii a u nn n n » n n n
111 II 1 1 1 I 1 II 11 1 1 I 1 1 1 t 1 1 11 1 I I 1 I I 1 1 11 I I 1 1 1 I 1 1 11 I 1 1 I It II 11 1 I 1 1 1 11 II 1 1 11 1 1 I 1 1 11 1 1 I 1 1

22222222222222222222222222222222222222222272222222222222222222222222222222222222

13333333333333333333333333333333333333333333333333333333333333333333333333333333

| 444444< 44444444 444444 444444 444 44 4 4 44 4 4 4444444 444444444 4 4444 44 44 444444444444 4444

5|5|5555555555555555555555555555555555555555555555555555555555555S55555555i55S55

86S58S6666S65S6S6G G686656656S8666SS6666666S56S566S6S6 566 66666 66S666666SJS 666S6SS

7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 77 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 T 7 7 7 7 7 7 7 7 7 T

18888988888388888888888888838888888888388338888388888838338888888888888888888888

jgS7399999383999999399999999393n99539333993n9393999!)939333999!999939999S9999S3
i 2  s 4 J • ' i > : ii >"! -i ii ii ii •: •> -3 -i a » H !) :• " s Ji » i1 '-: ': J* '-> :i i' •> •' ''• " 1! n u (1 " " " " S! :' :; -; M -' •' sl " u u *; ti u H u «s (i it ii :» n n 11 11 n it n it .« it
  Figure 7.1.2-2  Examples of Valid and Invalid  Option Control Card
                  Statements for Processing  Standard Answer Files.
                                 116

-------
                                                   Section:    7.1.2
                                                   Version:    3.0
                                                   Date:      3/1/77
                                                   Page:      8
 SUM                                                                              \
                    Example 3.  Use Sum Option,  Print All Values.                   \
   I
 | | « B 0 0 B fl 0 0 8 B D 0 I 8 0 B 1 0 1 0 0 0 fl 0 0 I B 1 0 0 fl fl fl 8 0 9 0 0 0 0 fl 8 0 0 0 0 B 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 B 9 0 0 I 0 0 0 8 8 0 0 D 0 0 9
 i i i • » i i i > it n n n M a n nil i»»Ji a a » a a » a a a « a a u a a 17» a u tin a u u a t> a » a » u u « » »ji u » u « a u u a u ti u a it n n n H n n n 11 n u
 11111111111111111111111111111111111111111111111111111111111111111111111111111111
 1222222222222222222222222222222222222722222222222*222222222222222 2222222222 22212
 33333333333333333333333333333333333331333133133333333333333333333333333333333333.
 4||4444(44*444444444444444444444444444444444444444444444444444444444444444444444
 555555555555555555555555J5555555555555555555555555555555555555555555555555555555
 IISSSSSEt556666 6 « S 6 S S 6 6 { 6 6 B 6 S S i S 5 6 6 S 6 16 5 6 6 6 6 S 5 6 6 S 5 6 S S 6 6 6 5 6 6 6 6 6 6 6 6 6 6 6 M S 6 S t 6 6 6 6 5 6
 11717777T7777777777777777777777777777777777777777777777777 7 7 77 T 1777 IT 77777 771111
 iiiititmtiaiiiiiiasmusniias s 8883 tmaaaiinsaisasassaassittssBisiasuiii >3
 J9!9999!)9J9399999S33939339988999999993399999933399J9999999999995999999939399333
 i i 14) i i i i it n «si u » i! IMI ii n ji n n » » n it a n n n a n y n » JM« :i« « u u u « n n u u a si a a x H si« u » n n a u u n u n u u n n n n « n n n n a »
        HACKtTT SOfll	  	,			                . ..  .               	
 DISPLAY.? lOJEAM                                                                A
 i!    i         li    "Ecample 4.  Use Mean Option,  Print Only Values Greater          \
    II         I   1
 111 1111 01 0 11 1111111111 8 11 S I 0 n 8 J B ( 0 B 0 B 11111 0 0 fl 0 0 0 0 0 B 0 D a B fl I 0 0 B 0 0 0 0 B 0 8 0 fl 0 8 0 D II « 1 B B
 i i i i i i i i i iiiiiiiiMUiiiiiiiinnniiMnarnnjuiJiBMB»!iMn«iiuiuuMuu)iMnmiiit)HUHi)uHniinn»nii))iin«i
 iiiit| ni i[ 11 n[ 1111111 MI i in 11 M 11111 in 1111111111111111 n 1111 M n 111111111111
 22I222222222222m22222222222222222Z272222M222222222222227222222722227M2?22222
 3333(333333333333333333333333133333333333333333333333333333333333333333333333333
 (444444<44444|444444444444444444444444444444444444444444444444444444444444444444
 5 5 5 5 5 5 5 5 5 5 5 5 5 5| 5| 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 5
 E6(i(SB6| 6S56666S666666666B66666666666B66656SB55S66S66S6866666656G66666S6S656BS6
 777| 77777 77J77777T77777J 7 77J 77777 777 77777777777T77777T77777 777 J777777777777 77777
 8 83 J 3 3| 8| 8 8 8 8 3 5 3 8 9 8 8 8 3 8 8 8 8 B 3 S 8 8 3 8 ? 5 5 ? 8 8 8 8 8 3 8 3 S 83 8 « 8 8 8 53 8 B 88 B 88 IB888 J88SB38 8 8 8 883
 9| 3 3 3 3 3 9 9 9 9 9 3 9 3 9 9 E 3 3 9 9 3 3 9 3 3 9 9 9 9 9 ? 9 3 C 3 5 S 33 19 0 9 3993 3 3 3 3 9 9 9 9 3 9 9 9 9 9 9 3 9 S 3 9 9 9 9 9 3 9 9 9 9 9 1
 i j i i s s i i i ;i it ;j 11 u » i; ii'! i:: :i 111: ;<." .".:' it n n :•:~ •'• • > v i' :i •> >'• •' » -'' » ''•  :>;' •> » u »i » :i u K u ti H i» n » n n n <).'»n n /i a
_^.	  HACKETT -OBJ.	 .	,	-  	
   Figure 7.1.2-2  Examples of Valid and Invalid  Option Control Card
     (Continued)   Statements for Processing Standard Answer Files.
                                116-1

-------
                                                   Section:   7.1.2
                                                   Version:   3.0
                                                   Date:      3/1/77
                                                   Page:      9
                    Example 5.  (No Control Card)  Use Mean Option,  Print            \
                                All Values.

|OBO»08000000»eMOOOBGOM08B8800000»OOOeOO 0000 30000000D 00000000000 00 0008 B 8000088
t i > 4 i i i i i it ii » ii u it ii mi it M ii n n it n a n n n H it n ii u i) 311> ii n «4i n a u 4i u IT u u u ji u u si u ii» » si u (i R n H u it ii n u n n n n ii n n it n n •
111 H n 111 n n t n n n 1111 n 1111111111111111111111111 n 1111111 M 11 n M 11 n 111 j i ii

2 1111 : 1 J 2 2 2 2 1 J 2 2 2 2 2 2 2 2 2 2 12 1111 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ? 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 111 2 2 ? 2 2 2 2 2 ? 2 2 2
                                   I
33333333333333333333333333333333333333333333333333333333333333333333333333333333

4444444(444444444444144444444444444444444444444444444444444444444444444444444444

i 5 5 5 J 5 5 5 5 5 5 S i S S 5 5 5 5 5 5 5 S 5 5 5 5 5 5 5 5 5 S 5 5 5 5 5 S 5 5 5 5 5 5 5 5 S S 5 5 5 5 5 5 S 5 5 5 S 5 i 5 S 5 S S S 5 S 5 5 5 5 5 5 5 5 5 S

$6816Jt«fS5i6S66ISiiltSt(666S6S566S866S66566666665666666666S66SS66566GSS6($5SSBS

7777777777777777777777777 7 ?J 7 7777777777777 777777777777777777 77171171777177717777

lllllllllSlllSSfl81ltSIISIt!8III8millS8338S83aS8SUa8SS8SIIBtllIIS81SllIt8a8tt

S9S999J9S999399939S999M99999S32339999999339S9999399999939999999S99999999999399!
t i i 4 t i i i i ii ii ini ii ii i( ii it ii a ii u n ii ii n ii n n ii it » »>i n ii»ii 31 tt ii it 4114 u it i)  H H n ii n n i> n » n n n a
        H4CXETTJB41	.	i	.	        			
MEAN .SUM                                                 - -
 II                 Example 6.  Invalid; Control Card May Contain Mean
...                        or Sum but Not Both Together.
i i i « i i > i i»iiiitiMi»iii?iiitanan>iannnniiiinni«Diii»ii»«iiii«ii4U4nm»isuiusjS4aii!isi>mni7umJiiiiiuiiiiiT77iHnnHnnt«
i if ii 1 1 1 1 ii ii 11 1 111 1 1 it 1 1 1 1 it i ii 1 1 1 1 1 1 n i n 1 1 1111 n n n in iin i nn 11 1 111 1111 1 1 1

iiii^iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

33333333333333333333333333333333333333333333333333333333333333333333333333333733

| 44444) | 44444444444444444444444444444444444444444444444444444*444444444444444444

5 1  5 1 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3-5 5

SSt 6CGS6 66S566S6 SS66666666GE6E66 6666666666SC666656566566 S6666&66666SE5S666666&ES

77777777777777777777777777777777777777777777777777771777777777777777777777777777

J33!3838S883838883B888888888SB83888a8SCa883688a38838338Sa3338888888333BB3B388aS3

9S99939933399939999999999999S929S99S99399339039399D339933999999392999J9999339999
i l l ' i i i i i n ii i! •: •< mi n :i i] .") n r ;: .< ,, ;; ;t ;i i) ;• :• ;i :; ;i ;s is :? 31 :i <: " " i) " o •> <' u u u '.< » ii it ii :( '-' •: '.! u ;i u u u u » n » a n it 11 n it n n n » ;» it
    Figure 7.1.2-2  Examples of Valid and  Invalid Option Control Card
      (Continued)   Statements for Processing  Standard Answer Files.
                                 116-2

-------
                                                       Section:    7.1.3
                                                       Version:    3.0
                                                       Date.:       3/1/77
                                                       Page:       1
7.1.3  OUTPUTS
The Detail List program uses 11 different formats to display non-composited

data and 5 different formats to display composited data.   There is one

format corresponding to each. Time-Code Cor sampling Interval) applicable

to non-composited data.  There are five formats for composited data

corresponding to the five permissible composite types.  The output format

is automatically selected by the program based upon attributes of the

data processed.  As many formats will be used as is necessary to display

data in the input file.  Thus it is possible that the program will use

all 16 formats or only one depending upon the number of different data

types in the input file.


Any of the 11 non-composite data formats may be used to display sliding

averages with the following differences.  The title of the report is

changed to specify a sliding average report, the row and  column foot-

ings are omitted, and two messages are printed at the bottom of the page

explaining data which was not printed and the reason.
                                  117

-------
                                                                                                                   Version:    3.0
                                                                                                                   Date:          3/1/77

                                                                                                                   Page:          2
CJ
<
Q_
        cr
        :D
        to
         CO
         s:
         O
         I
         U
         EC
         O
         CT
         Q_
a:
O
Q.
UJ
a:
         a:
         o
a

a;
*-•
•a
ru
o
UJ

o
C*    Ul
—'    y
o    r>
o    -o
      o
>-    s:
UJ
*r

o

0
a:

O    I
H-1    t—
_J    CO
_1    UJ
"-•    S
K    **
uj    o
o.    o
      I
CO    t-
H-    uj
a:    *:
«t
a.    co
      >-i
      co
••    >-
co    _i
t-    
                              CC
                              UJ
                              a.
                    or   uj
                    o   •-
                          II
                               o
                               o
                               CO
                         UJ
                         Q    —
                         3    O
                         o    o
                          cr    «•
                          <    •    O
3    >-   o:    — «
CO    uj   UJ    O
      r   i—    o
           2    O
••    Z   «-t    O
      CJ   1-1
      UJ   _l
      _i   a.
                                i

                               UJ
                                       ^    a:
                                       CO    I
                               a.
                               Q.
                                       >-    -^
                                       a:     •
                                       <
                                       o    ^
                                       Z    (J
                                       o
                                             o
                                             ,0
                                             ru
                               a:
                               uj
                               a.
                               x
                               -    -^
                                        cr      •
                                        at
                                        o.
                                             r
                                             v
                                             o
                                             ui
                                             .0
           ooooo*~«ooooooooooooooo    oooooooo




           ^O>o*^3'OO*^-4^-rurur\jrijf\jnjOf^>O(\j^    ^3—*— if\jr\jr\jruf\i
     O    OOOOO-^t^OOOOOOOOOOO— -OLTI    OOOOOOOO

           ooooo-^ooooooooooooooo    oooooooo




           K>-»»o — o — — — «rur\jrururu(\jocoo — 3    ,D_« — rurvi'xinj'v
     cr    o-*ooorucoooooooooooo«-*o:j    oooooooo
     o     «..».«.«.«...........     ..«...••
           OOOOO-^OC^OOOOOOOOOOOOCD    OOOC3OOOO




           r*tr\j*oo*ooo« ~4-*rufurunjrur\;o*ONFi — =r    ^>— »^»furu'\jruf\j
     CO    O-*O-*O— «O-OOOOOC?OOOOO— •O»n    OOC3OOOOO
     o     .....................     ........
           ooooo— «ooooooooooooooo    oooooooo




           ruK>-^co^>o    -~-*— «rururu<\iruruocr'\i-*oo>O-4.-.rurui\jrijf\j
     r^    o ^^ o -4 o — *    ooooooooooo-^oruooooooooo
     o     ••••••     »•••••••»••»•••••••••••
           OOOOO-*    OOOOOOOOOOOOOO— OOOOOOOO




           —i ru — * co >o ^o    •^•*4^*furur\iru^\jruo-4-^-^aDcrf^— * — r\i >\i f\i r\i t\i
     >o    o-^o-^o-^    ooooooooooo— «o.-»ooooooooo
     o     •••«»•     .......................
           ooooo»-«    oc»ooooooooooooooooooooo
cr.
z>
o
ir
           ru-^- — rururviruru
     in    o—«oruo»^    00000000000-^00000000000
     o     ......     .......................
           OOOOO-4    OOOOOOOOOOOOOO<3OOOOC3OCSO




           ru o — ru =r ru    ru-«— «s
     o     ......     •»*»»»...».•••.••••*»•*
           OOOOOrt    OOOOOOOOOOOOOOOOOOOOOOO




           *^>o»4ru^-4    ^-.^^4rurur\jfO'rfi»oru-O"/i-4fnoo^*-^rurururvj''i
     ru    oooruoo    oooooooooooooooruooooooo
     o     ......     »•«»••...»..«••«••••«••
           C"OOOO-^    OOOOOOOOOOOOOOOOOOOOOOO




                      uo    m^»*4rurur\j^>'rf>*o-o>o*^i-^^noo*4-Hru'\irur\jf'>
     -*    oooruoo    OOOOOOOOOOOOOOCO^OOOO
     o     ......     ..»••......•.•.........
           O O O O O — *    OOOOOOOOOOOOOOOOOOOOOOO




           ^rui*-tf>*oo    m-^*^ruru'\jKiPO»o^>oru-^'Ooo-4^.ru'>jrurum
     o    ooo— *oco    oocxoooooooooooto^ooooooo
     o     ......     .......................
           C5OOOOO    OOOOOOOOOOOOOOOOOOOOOOO
o    o
ru    — *
                          UJ
                          a
                                                                                                                                                            C
                                                                                                                                                            O
                                                                                                                                                           •H
                                                                                                                                                                O    CT-
                                                                                                                                                                -^    O
                                                                                                                                                                          0)
                                                                                                                                                                          4-J
                                                                                                                                                                          a
                                                                                                                                                            O
                                                                                                                                                            K

                                                                                                                                                            a)
                                                                                                                                                            4-J

                                                                                                                                            ru    —    —  o

                                                                                                                                                  o"    -  &
                                                                                                                                                  *-*    ^      o    o
                                                                                                                                             ru    -«    o
                                                                                                                                                           ru   o    co
                                                                                                                                                  <    x

                                                                                                                                                  2:    s:
                                                                                                                                                             r-~

                                                                                                                                                              cu
                                                                           117-1

-------
                                                                                                             Sec- 1 ion :

                                                                                                             Vc'rsion:

                                                                                                             Date:

                                                                                                             Page :
                                                                                                                                         /.  I .  }
                                                                                                                                         >.()

                                                                                                                                         J/L/77

                                                                                                                                        3
13
<
0-
DC.
O
a.
o

or
         :>   UJ
         cc   -.
         m   «^    »*
         s:         x
         0-
         UJ   >-
1-1    O
ar    «t
ra    o
 i     or
UJ    «
LJ    tO
Ct
         o
         to
LJ    _l
UJ    O
~>    :>
O    X
         a
         o
        ui
        »•-
        —
              rr

              rx
LJ
<    UJ
      o
                       o
                       o
                       LJ
                       LJ
                       UJ
                       O
                               O
                               o
                               o
                                             CE
                                             UJ
                                             a.
                                     x
                                     •a
                                     ar
                                        ->   tr
                                        05   X
                    O
                    z
                    •«
                    t-
                    to
                                     n.
                                     o.
cc
I—
UJ
                    ct
                    o
                    o
                    LJ
                    CO
                    UJ
                    •
                 UI
                 O
                 O
     UJ
     *—
     NH

     t/5
                 O
                 ^


                 II
                 o
                 O
                 LJ
                                             in
                                             ru
                                             o
                                             -O
                                             ru
                    o   uj
                    o   ar
                    x   «
                 •t
           V5    O
           »-»    >-•
           o>    o:
           >-    O
                                             a:
                                             UJ
                               «   nc
                               05   X
                               C£   ru

                               o
                 UJ   O       «(
                 f-   O       •—
                 •-,   -.       CO
                                             a.
                                             a.
                    UJ    C5
                    s:    DC
                         o
                         i
              X    05
              O    2    -«
              _4    >-!    O
        
         I    o    t—    a:
              to    uj    uj
        <          s:    H-
        Q.               Z
        UJ    ~    S    1-1
              a    o
              UJ    ~<    L»
        ..    t-    >-    Z
        >•    UJ    LJ    «-•
        LJ    J"    UJ    _1
        ^    <    _i    a.
        uj    a    _i    I
        o    «    o    **
        «    CL    LJ    O5
                               ru
                                I
                               ru
                               o
                      o
                      o
                                    s:
                                    >^
                                    LS
                                             -O
                                             ro
                      UJ
                      •XL
                               uj   tr
                               a    uj
                               >•    o
      x    o— '-^ru-orucrooooooooo— *o'"uor\jr~3ooooooo
      «i     ..............................
      y    ooooo-— oooooooooooooo—««-«oooooooo




      z.    •-*r*>ooDru^\jeo*-*^-^rur\jrururuf\j^r^Trur\jr^^'r^^t»^r\jr\jr\ir\jru
      '\jJ>--«^«r\jrur\irurunj'oa2"O^^3r>o-^--.-r\irurur\j'U
      •o    oo^*o*OfUooooooooooooooo.ooooooooo
      ru     ..............................
            OOOOO»-tOOOOOOOOOOOOOO— «OOOOOOOOO




            or^ yOrvj^ ^^>o*^-^rufur\jrururuK>o- *c -~ =J  oo— »*^-^r\jr\jr\jr\jiM
      ru    oo~*OLnruoooooooooooooo-^r-~oooooooo
      ru     ..............................
            o o- ooo— «oooooooooooooo— «ooooooooo




            oco-fi**tro-o-^-Mrurururururu^^*^fu>o-^o-^-^«-^rururururu
      — <    oo-^o^ooooooooooo^-ooorucooooooooo
      ru     ..............................
            ooooo— «oooooooooooooo-^ooooooooo




            c^*Oro^*5»o>o— *^-rurururu
      O    OO-^OrOOCDCSOOOOOOOO-^O^HO^^OOOOOOOOCS
      ru     ..............................
            ooooo—«oooooooooooooo-*ooooooooo




            O3^ru«ooj>— i»«rurururuf\irufUPO-»     oo^^oruooooooooooo-^o-^o-^oocsoc^oooo

            OOOOO-"OOOOOOOOOOOOOO-«— -OOOOOOOO




            o— • — — coo-r^—.—.ru(M-vjruror\j—iru—.to-D^— •—!—• — runjrvjrury
      tf>     OO»^O-^OOOOOOOOOOC3— .O— *O-^f\JCDOOOOOOO
      *«•     .....•••......•...........*•••
            ooooooooooooooe^ooooo^^^^oooooooo
IX
o
o
I
            ofO— «-*>or>ooooc5ooooo.^oruo— .tnooocaoooo

            oooooooooooooooooooo-~— «oooooooo




            ^•-jDo«-<»otT'O*"*w^rurururu'O'-5ruo»^ruor\j*oru^<»-»rururuKir\j
      >o     oo^^ooooc><^c>oooooo^*orvjoor— oooooooo
      o-^»ooo— *^^rur\jruru»'lro— «r^^-»ru5Tru    K>^*^-rururuKirO
      in     ooooor>-*oooooooooooruoo    oooooooo
      r*     .....................     ........
            OOOOOOOOOOOOOOOC3OOOO— «    OOOOOOOO




            ru^>r*>^^moo«-<— .rururufupoi^^^^o— *r\j=r^*    ^-^-^rururui^*o
      ^     oooooo-ruoooooooooooruoo    oooooooo

            oooooooooooooooooooo— «    oooooooo




            ja^ro-^Kioo— •~*rururur\jf>^n-**oruo=Jo    m-^*^fufurui*or'i
      ff\     oooootc^oooooooooooruoo    oooooooo

           oooooooooooooooooooo-^    oooooooo




            ^j'-J3ru^tr'ioo-^.^«furu'\tru^o^<-"rur-^£Droo    Ln~*-^rururufiOfO
      ru    oooooco^ooooocaooooo— «oco    oc^oooooo

           OOOOOOOOOOOOOOOC3OOOOO    OOOOOOOO



      >-
      i    «rur^ain-or^K>o-o— "rum3inor^
                                                                                                                                                  ru
                                                                                                                                                  o-    r>    o
                                                                                                                                                  ru    o    «
                                                                                                                                      O    uj    
-------
                                                                                                                      Version:     3.0

                                                                                                                      Date:           3/1/77
                                                                                                                      Page:           4
—             O          rr                   x      •        •          »           •                •                           •                   •               QI
               O    >•    f*-     -*             o                to                           in            -o                     O
a.             o    u_    «     LJ             «!•»••                •                            .             •                     ^j
               ouJ                   uj    o       »^         -*          -*               ru                           ru            —«                     ^x
               3          >-     _i             y

         U          X          X
         Z          I-          «                                                                                                                                    Q
         «          Z          LJ                                                                                                                                    C
         Or     ••    O          UJ              •   COOOCOOOOCOOOOCOOOOOOcOOOOOOOOOOGO       CD                           O
         O     >-    I          O             O                                                                                          =»                           T-l
         t-     UJ                              Z                                                                                                                      4J
         "     *                °~                                                                                                                                    0.
         2                 •     O                                                                                                                                    Q
         O     Q           •                                                                                                                                          ^
         T     <                                                                                                                         o
               O          -•     ••             to                                                                                                                      C
         uj     Q;          o     uj             ru                                                                                                                      "J
         O     «          o     O                                                                                                                                    Q)
         o     co                a                                                                                                                                    g
         CO                II     O                                                                                                                                    ^^>

         Q-                UJ     CO                                                                                                                                      ,
         UJ                O     H-                                                                                                        O                           "
                          O     -<             "                                                                                                                      ?
                          LJ     Z             rU                                                                                                                      r*

         t-                LU                                                                                                                                          QJ
         LJ                >-                                                                                                                                          4-1
         Uj                1-1     —                                                                                                                                    (2
         *•>          uj    co     o                                                                                                                                    I—i
         Q          LJ          O                                                                                                        O
         rr          z                        a-                                                                                                                      u
         a.     t-    -9    ~-                   ->                                                                                                                      q
               uj    *-    o     ••                                                                                                                                    ^
               uj    ^    o     uj                                                                                                                                    O
               u.    >-«    o     •—                                                                                                                                    CC
                    sr          •-•
               re    co    it     co                                                                                                                                    cxi
               <    z                                                                                                                   o
               uj    ^                                                                                                                       i
               z    cc    o     —             —                                                                                                                       '
H-             >-.    i-    o     o
o:             _J          LJ     o                                                                                                                                    -*-1
00                                                                                                                                    £
a.             o    ••    >>*                •                           •              ••               p-;
•^       j     \    •—          uj             *-«ru^o»^               ^                           •-•            r\j^
t-       a     co    ui          tr                                                                                                                                    .
<       ct     x    z:    «     <.                                                                                                                                    %[
o       «*     o                                                                                                                                                     £
         LJ     LJ    co    a:                                                                                                                                          3
>-                  «    «t     —                                                                                                                                     en
*—       x          co    LJ     o                  *o^>m^               to                          t^
                                                                                                                                                                     3

                                                                                                                                                                     13
_ia:       z    «-«    zr    ^^    -^       ex
a            z    «*         o       u                            •                                                                                                J-J
              r>          a    ru       o                                                                                                                            ™
ft       ••                tO    «       X                                                                                                                           T3
>-—                aJ    ••                                                                                                                                    m
         CO                f-    10
                          4     I

                          co    uj                                                                                                                                     °
                               ^                  inoino               in                           in       -o    —    in
                                              O****                 •                            •              ••                OJ
                          «                   oo«ru3               o                           ^ru^               iH
         uj                uJ    —'                                                                                                                                     rx
         o    -^          »—    o                                                                                                                                     g
         z    u.          M    -.                                                                                                                                     b
         <    -I          CO    O                                                                                                                                     ™
         _i    o               ru                                                                                                                                     r;
         _»o               o                  w>-oin5»               to                           t^-otosr               W
         *-«o                              f».»»»»                 •                            •»•
         uj    —•    cc                        oooxru               _                           _
         ^    -V    LU         ••
         ct    I    _!         ru
         =3    o    a.          i
         co    o    X    co    >-
              «    —    »-<    O    _l    ••«             rO»»          •           •                 •                            •              ••               'H
         <_iO    o
         i    o    i—    cc    -»

         rur»-
              a:Oto             «^»*w»                 »                            ,              •«
              UJ*^O                   OOOOO               ru                           rO            *-»tO
         "    H-    I-    Z
         >•    UJ    LJ    i-t    •'
         LJ    y    uj    _i    —
         Z    <    _l    Q.     I                                                                                                              z
         uja:_ii>->-                                                                                               «tx
                                                                            117-3

-------
                      Section:   7.1.3
                      Version:   3.0
                      Date:      3/1/77
                      Page:      5
UJ
IB
3-
OC
O
O.
UJ
X
4
t—
4
O

>.
t—
H*
1
4

a
a:
•-H
4










































Z
a
o
z
0
UJ
o
o
»— 1
a.
UJ
UJ
a
tr
a.
z
_j
0
tr
4
U

X
»_
a:
0
z

„
UJ

,_
co




UJ
LJ
Z
4
i
_J
1-4
UJ
o:
D
CO

LJ

cc
UJ
X
0.
CO
o
s:
*—
4

1

4
O_
UJ

M
>-
LJ
Z
UJ
o
SQUARE MILE-MONTH SAROAO KEY: 3«oooiooiA06
V
CO
z
o
I—


••
CO
1—

z
-1










UJ
»—
<
i
o
LJ
f—
EC
-
1
4
Z
4
















SC.
4
"^

•^
H-
UJ

LJ
•^3
CO


••
O
o
X
»—
UJ
ar

z
o
£
LJ
UJ
_J
„ 1
o
u
o-
a:
UJ
o
o
u
LU
O
o
LJ
UJ
f—
CO
o
0
o
II
UJ
o
o
UJ
CK


t-\
•
a:

o

•
z


s

II
UJ
£
H-
co


•«
UJ
f—
4-4
CO






CO
or
^
O
X

tO
O


••
_1
4
>>
Ct
uJ
h—
Z
f-«

Z
f— 1
_J
a.
s:
CO
ru
UJ
0
o
LJ
-J
3:
u
aJ
a
0
o
UJ
a
o
LJ
CO
I—
z
o
o
UJ
CO
0
o
o
UJ
ac



ru
0
o
.•4
r^.

o
^
ru

M
Kl
UJ



ru
o
_l
o
^
0

..
ru
1
^
UJ
•^


^
i~-
rO
•O
0
4
r~l
O
O
.-4
O
o
o
^
ff\

••
^.
1
>-
UJ
X
z:
4
UJ
O
ru






o
ru





r-




^
v-4

X
13
O
X

—
*"*





CO
0






in
o






ru
0



>~
Q
(M
O
in
0
o
CO 0
ru
»
o




to
o
•
o



CO
o
o


in
o
•
o




Kl
O
0




r\j
0

o




_t
o
•
o




_*
0
o




— • ru
o o
o
in
0
o
CO O
ru
•
o




^
o
•
o



CO
o
o


in
CD
•
O




ff\
0
0




ru
0

o




.-4
O
•
o




_
0
o




o o
ru
0
o
0 CO O O O
ru
•
o




-o
ru
•
o



-o
—
0


o
w*
•
o




-0
o
o




^
0

o




ru
o
•
o




ru
0
o




in -o r» co o
o o o o o
ey-
es
o
CO C
Kl
•
o




o
I"O
•
o



^
ru
0


in
•^
•>
o




ox
o
0




.0
0

o




rO
O
•
o




•o
0
0




o *•
o o a- ru
^ 3 ~n g-
O 0 0 O
in -*o o 10
0 O 0 O
D CO to CO CO CD
in co to .-4
o — 4 ru =3-
• • • •
o o o o




in ^ o KI
— • o — 4 ru
• • • •
0 0 O 0



o =r ;r to
^ —4 O **
0 O O O


in CD in in
ru CT -« o
• • • •
o o o o




in ^ o 10
-« ru to —
o o o o




o -o -o ru
—• ~ ru «

O O 0 0




in co t —
o o -< ru
• • • •
o o o o




in co to — •
o o -* ru
o o o o




i ru to ^r in sO
ru
o
>o
ru
o
o co o
•
CD




ru
a-
•
o



ru
ru
CD


O
ru

o




ru
0
o




CO

4*
o




•o
to
•
0




tO
to
o




r~ to 0
o in
O 0
;r in
~- ru
o o
O O CO CO C
in o-
o —>
• •
O 0




in "-
T^ O
• •
O O


-
o ru
3- -4
O 0


in in
ru sr

o o




in "-

0 0




0 to
— • ru

o o




^ »*-
0 -O
• •
o o




•3" r~-
o *o
O 0




0 -« ru ro ;
ru ru ru ru n
— j\
0 0
r^ .0
ru ~
0 O
D o CO J>
a-
sj ru o ru
ru — (M =»•
41 41 •
O O O




ru ru co ru
ru „ „ ^
• • •
0 O 0



ru ru t^ o
o -* ••* =r
0 O 0


o ru o in
ru -• — ^
• 4> •
O O O




r\j ru =» o-

0 O 0




to ru -o ru

• • •
o o o




— ru =T —
^ •-• « ^
» • •
o o o




_ ru 3 —
9 —4 -* ^
0 00


z
< X
r in •o o uj 4
j ru ru ^ 5: y
2> Hour Interval (Mean Option) (Continued)

|


•*"*
V-4
O
p,
OJ
&

(^
QJ
t>
en
*§

v-i
cO
13
d
fTj
4_)
CO

1 1 i

O
OJ
t— i
a,

5
:*•
K<
[J-]


i — 1
|


.
r- 1
•
r~*-

OJ
J_j
3
hn
•H
P1-!




117-A

-------
                      Section:   7.1.3
                      Version:   3.0
                      Date:      3/1/77
                      Page:      6
UJ

«J
Q.



































f—
a:
O
Q_
UJ
a:
t
>—
<
o

>-
>—
_j

— y
S3
cr

<

















































13
Z
>-*
a:
o
*•>
*-»
z
Q
y

UJ
Q
CD
CO
Q.
UJ


••
H-
LJ
UJ
•o
o
a:
a.












<
»—
CO






UJ
^
^
_l
_J
»«4
UJ
>
a
CO

c_>

or
Hi
I
a.
to
o
3t
*_
•a

i

•a
UJ


••
>-
o
z
UJ
o
<
o
V*
o
0
o
JJ
K\



••
>-
UJ
)£

0

o
or
-*
UJ
>
1— <
CO
or
UJ
a.
_,
o
^
o



••
Q
O
h-
UJ
s:

to
»-l
CO
>-
_l
^
z
•X

















_l
4
f—
Z
UJ
z:
^
a:
»-•
co
z
*— 1


••
0
o
x
*—
UJ
1
z
o
t— *
^—
o
UJ
-J
_J
0
o

•»
ct
<
UJ
>-







•
.
.
_*
o
0

II
UJ
o
o
0

uJ
f—
CO


«-«
o
o
o
II

UJ
o
o
LJ

4^
UJ
ct


>M%
t
a:
—
»-»
co






CO
ct
^>
O
I

^
0


••
_J
«c
^
cr
UJ
»»-
*-4

13
z
^t
„ 1
O-
^
CO
UJ
Q
O
u

_l
»!
Z
^


O
o


••
UJ
t~
co


M«
o
o
o


•*
UJ
QC
^


Kl
in
o
Ht
«^
O
ru
sj-


••
to
i
>-
UJ
^;


fO
O
o

o


»•
ru
I
UJ
^


^r
r-
3J
•o
o
<
•^
o
o
-^
0
o
o
;J
fO


»•
•^
1
>-
I4J










^
CO
*~*
o
L£
^
Ci
z
-
ct
4
Q
z
o
o
UJ
CO































CO
«_^
«**\
o:
<
o
z
<
»—
CO

>-
or
<
^
^-«
cc
°-





















UJ
CL
>.
»—
UJ
>-

a:
UJ
a.
^t

*.
X
-
2






































CO CO -O =T
o o — ru
o o o o
....
o o o o


fi «i -o o
O O 0 —
0000
....
0000


-o^-o-oo




A CO  -X) 9"
0 O 0 O
O O O O
• • • •
0 O O O


ru ru CT -0
o o o o
o o o o
• • * *
o o o o



— .-. f\j rO
o o o o
0 0 O O
• • • •
o o o o


-* —* r\i KI
o o o o
o o o o
• • • •
o o o o



0 O O 0 0






































o
=y
o
•
o


o
**
0
•
o


0 0 >0 0




o
5J-
o
•
o



l/>
AJ
0
•
o


in
.-*
o
•
o


0
«-l
o
•
o



in
0
o
*
o


in
0
o
•
o



o o o o






































o
3"
o
•
o



_*
0
•
o


>£> 0 00 0




ij
r*
0
.
o



o
^
o
.
o


=T
ru
o
»
o


-0

o
.
o



CO
o
o
.
o


CO
o
o
•
0



o -rufi =t






































&~ f\l Kl
rO ^ Ki
o o o
• * *
000


CO 0 —
^ IM (M
000
• • •
o o o


0 0 0 -0 ,0 >0 0




^ oo nj
O — • f\J
o o o
* • •
o o o



tn tn cs
— « O f\l
O 0 O
• • •
o o o


(^ ro ru
ro — * o
o o o
• • •
o o o


•o rvj D




o AJ rvi
=» ^ o
o o o
* • *
0 00



in in o
ru =r f\i
0 O O
• • •
o o o


in r- *\j
•-» — ^ r^>
o o o
* • *
o o o


O CO 00
-* ro T^I
0 0 O
• • •
o o o



7 r-* •-•
o 1*0 ;r
o o o
* * •
0 O 0


CT t»- *— t
O r^ ^
O O O
» • •
0 00



f\! -C ^i KJ fS rxi
1XJ
d)
r-J/
c
,_J
4-1
cl
o
u
v~^



' ^
£
o
•H
4-J
P.
o

c
cti
0)
^
^^

rH
Cfl
t^
H
01
4J
C
h- 1

J|J
3
•^ 5
^ ffi
o
• -* 45
Tj
PJ
cd
ru o m 4->
«-••-• U CO
O O
* " U_l
° o 0

0)
ru ^ o i — 1
•-« ^^ fi p..
o o g
• • efl
00 X
W

(M -o ru
— -1 =T -H
0 O |
. . f")
00 .
1
r~l
•
ru s» — r^
— * _« ^
oo 0)
* * M
oo 3
oo
•H
ru =r — « ^
— • ^^ ^
0 0
. .
o o

z

-------
                                                                                                       Section:    7.1.3

                                                                                                       Version:    3.0

                                                                                                       Date:         3/1/77

                                                                                                       Page:         7
13
«I
O.
       CD
       Z
       UJ
       o
       o
            O
            O
             o
             Jt
                 2T
             ~   O
*

a
            o
            a
                       =»
                       r-
                       o
          a
          <
          UI
               U

               UJ

               O
                           in
                           o
               UJ
               o
               o
                                                                                                                                                    a)
                                                                                                                                                    3
                                                                                                                                                    C
                                                                                                                                                   •H
                                                                                                                                                   4J
                                                                                                                                                    c
                                                                                                                                                    o
                                                                                                                                                    O
                                                                                                                                                   •H
          UI   CO
          Q   >-
          0   +->
          O   Z
                                                                                                                                                    a
                                                                                                                                                    cfl
                                                                                                                                                    01
       CE
       O-
o
—
 ».
CJ
                 X   -«
                 t—   o    ~
                 X   o    UJ
                 a.   o    »—
CC

O
CL
a

>-
a

oc.

   o
               o
<   3-
o   in
     o

z   o*
-*   ru
     o
ar   -<
i*\   ru
                            I
                           >-
                                        X
                                        •»
                                        s:
                                 O
                                 O
                                 o
                                <   o
                                UJ   O
                                s:   o
                                                                   Kl JD O- in
                                                                   o o o -<
                                                                   o o o o
                                                                   o o o o
                                                                   « fi in CD
                                                                   o o o o
                                                                   o o o o
                                                                   o o o o
                                                                           =r (>• rvj fO in
                                                                           l\J "O d rO -»
                                                                           o o o o o
                                                                           o o o o o
                                                                           sr f\j =r — eo
                                                                           -* nj ru ru o
                                                                           o o o o o
                                                                           o o o o o
                                                                                                                     o
                                                                                                                     o
                                                                                                                                                   0)
                                                                                                                                                   •U
                                                                                                                                                   d
                                                                                                                                                   O
                                                                                                                                                   ffi
                                                                                                                                       J-J
                                                                                                                                       S-l
                                                                                                                                       O
                                                                                                                                       ex
                                                                                                                                       a)
                                        S-i
                                        0)

                                        CO

                                        ^
                                                                                                                                       S-i
                                                                                                                                       03
                                                                                                                                      T3

                                                                                                                                       tfl
       ac.
       ul
       I
       CL
       CO
       O
       3L
       •
                      a:
                      UJ
                           sr
                           o
                           o
                           in
                           IM
                            I
               r--
               m
               o
               o
               «-
               O
               O
               O
                                        IM
                                        ru
                       X
                                 ru
                                 o
                  o   o
                  ^«   o
                      o
                                                       ro .o !>• in
                                                       o o o —t
                                                       o o o o
                                                       o o o o
                                                            ru w -o o
                                                            o o o «
                                                            o o o o
                                                            o o o o
                                                                   -« ru t*i in
                                                                   o o o o
                                                                   o o o o
                                                                   o o o o
                                                       —« ru »o in
                                                       o o o o
                                                       o o o o
                                                       o o o o
                                                                                       =r cr- t*i ru in
                                                                                       ru >o — o —
                                                                                       o o o o o
                                                                                       o o o o o
                                                                 -c -o ru co o
                                                                 -* ru ^ — —•
                                                                 o o o o o
                                                                 o o o o o
                                                                           CO *O -* HI =»
                                                                           o -• ru ft o
                                                                           o o o o o
                                                                           o o o o o
                                                                                       m M ^rf\ a
                                                                                       o -» ru -^ o
                                                                                       o o o o o
                                                                                       o o o o o
                                                                                                                                  O
                                                                                                                                  o
CO
ru
o
o
                                                                                                                     O
                                                                                                                     o
                                                                                                                                       o-
                                                                                                                                       rO
ru
=t
o
                                                                                                                               =1
                                                                                                                               o
                                                                                                                               o
                                                                                                                     -«     ru
                                                                                                                                      M-l
                                                                                                                                       O
                                                                                                                                       t
                                                                                                                                       cfl
                                                                                                                                       X
                                                                                                                                      W
                                                                                                                                           3
                                                                                                                                           oo
                                                                                                                                           •H
                                                                                                                                           Fn
                                                                                                                             ~-t    —.   3
       2

       UJ
<   -J   Q.    I
or   _i   r   >-
4   O   <   UJ
a.   o   to   j:
                                                                                                                                      x
                                                                                                                                      «t
                                                                                                                                      s:
                                                                   117-6

-------
                                                                                                           Sect ion :    7.1.3
                                                                                                           Version:    3.0

                                                                                                           Date:         3/1/77
                                                                                                           Page:         8
13
<
OL.
             •o
             o
o              ~
O   UJ         UJ
*•*   7    *•    f*v
O   O   CC    O
O   ^   <*    L>
O        UJ
        o:
        O
Q


CO


Q.
        o
        cc
        OL
             X


             O
             o
             t£
             CO
              I
             3!
cr

a.
uj
Of

•a
H-
4
a

>-
a

tx.
u

x

cr
O
z
             o
             o
             o
              I
     Q
     s:
l_>
«-*
a:

UJ
                  O
                  O
                  O
                  UJ
                  CO
                  o
                  r>
                  x
                  CO
                  1-4
                  to
                    o
                    UJ
                    o

                    IV!
                    o
                            o
                            o
                       a   «t
                       o   z
               o
               o
          o    ••
          O   UJ
          o   t—
               •-<
          II   CO

          UJ
          O   -H
          o   o
          o   o
               o
          •a.
          UJ
          a:    ••
          -
                                         X

                                         y

                                          *
                                    ^   a:
                                    co   i

                                    o   «
                                    tr   rvi

                                    o

                                    <
                                    >—
                                    co

                                    >-   ^*
                            Q.
                            a.
                       o
                       2   «
                       O   O
                       o
                       UJ   O
                       to   «-•
                                         •v
                                         tJ
                                         o
                                         .o
                                         (M
                            tr
                            UJ
                            a.
                                                                                                                                           S-i
                                                                                                                                           O
                                                                                                                                           Vi
                                                                                                                                           0)
                                                                                                                              T3
                                                                                                                              >-l
                                                                                                                              ct)
                                                                                                                              id
                                                                                                                              C
                                                                                                                              CO
                                                                                                                                   &
                                                                                                                                   cO
                                                                                                                                   X
                                                                                                                                   w
                                                                                                                         0)
                                                                                                                         l-i
                                                                                                                         3
                                                                                                                         t>o
                                                                                                                         •H
                                                                                                                         P-t
                                                                                                                              13
                                                                                                                              0)
                                                                                                                              3
                                                                                                                              C
                                                                                                                              •H
                                                                                                                              W
                                                                                                                              C
                                                                                                                              O
                                                                                                                              CJ
 o
•H
4-)
 Ci
O


 CO
                                                                                                                                   cO

                                                                                                                                   1-1
                                                                                                                                   0)
                                                                                                                                         3
                                                                                                                                         O
                                                                                                                                        PC

                                                                                                                                        oo
                                    "•   ac.
                                    co   x
        UJ
        ;>
        ex
        r>
        CO
        cc
        UJ
        I
        Q.
        CO
        O
        <

         I
                       ui   \r>
                       •-   o
                             •o
                             o
          ir         *•
          H-         r\j
          co         I
          z   co    >•
          1-4   or    uj
             O   CO   O
             M   >-i   X
O
t-"
o
                co    r-
                o    -o
                     •o
                     o
     tx.    "    •*    i
     O    O    _J    «.
     u.    o    <    o
     _l    I    >•    O
     3    t~    cr    -i
     CO    UJ    UJ    O
           y    >-    o
                z    o
     ••    2    >-•    5T
     OL    O         fO
     UJ    i-H    CO
     »—    t—    ^


     <    _J    Q-    I
     Ct    _J    Z    >-
     <    O    -   o
                                    >-   UJ
                                                                                                                                      <    X
                                                                                                                   - to O O      O    UJ    «*
                                                                 117-7

-------
                                                                                                           Section:
                                                                                                           Version:

                                                                                                           Date:
                                                                                                           Page:
                                                                                                                            7.1.3
                                                                                                                            3.0
                                                                                                                            3/1/77
                                                                                                                            9
        ce
        o
             o
             0
                  o
             >-   z:
cr
o
a.
UJ
or

4

4
O
4


O


CC
•—I
4
        O   Q         •
        y   4         •
             o        —
        uJ   or        o
        &   •*   --^   o
        a   co   o
        CO        -t   II
                  cr
                  a
                  *•
        UJ    O   -I   *->
        ->    :>   ?:   co
        o    ~v   o
        or    ,j   o
        a.    o   -•   —
             :>   >-»   o
             «-•   Z   o
                  4   O
             Z   5:
             O   >vl   II
                       O
                       O
                            Q
                            O
                     4
                     Z

                     O
                     UJ
                     o
                            o
                            Q
                            O
                            o
                                         UJ
                                         r
                                         IT
                                         X
                                         a
                                         4
                            CO   4

                            O   Z
                            cc   z
                            4   4
                            O
                            z   s:
                            4   a_
                            I-   Q.
                            CO
                                 in
                            >-   o
                            cr     •
                                    z   o
                                    o
                                    (_>   in
                                    UJ   ru
                                    co   -^
                                         o
                                         o
        4
        Z
     cc    —   4
     UJ   O   UJ
     a.   o   cc
          X   4
_i   co   t—
O   >-   uJ
cr   cr   I   •->
                  CO
                       x

                       o
        I             C
                                                                                                                             !-J

                                                                                                                             O
                                                                                                                        a)    P3
                                                                               M
                                                                              •H
                                                                              Pn
                                                                                                                            rsl
                                    a
                                    cc
        z
        4
        >         cr
        or         uJ
        Z)         _J
        CO    UJ    CD
             O    CD
                       UJ   -O
                       I—   O
                            O
                            f--
                            o
                                    4
                                    f—
                                    CO
                                         s
                                         Q.
                       CO
                       CC
        >-•    X    CO   O
        cr    o         x
        uj    >-•    co
        I    o    4   ru
        Q,         C3   —
        CO    Z
        O    UJ
        3ET    O    —

        4    cr    o   4
             »-    I   >
        I    «-i    •-   rr
             z    uJ   uj
        4         T   t-
        O-              Z

             ac.    5
             UJ    •-»   C-3
                            UJ
                            1C
                            o
                            4
                            O
                            o
                                    or     •
                                    4
                                    z:    —
                                    w    o
                                    CC.
                                    a.    in
                                         s:
                                         x
                                                           -+   —   ru
                                                      X    O   O   O
                                                      2TOOOO
                                              4   O   O   O   O
                                              UJ    •    •    •     •
                                              s:   o   o   o   o
                                                                                    in
                                                                                    o
                                                                                            in
                                                                                            o
                                                                             -<    fl
                                                                             ru    r*i
                                                                                                           o    o    o    o   o   o o
                                                                                                           o    o    o    o    o    o o
                                               •   ruoruoruoruooooooruoooooruoruoruoruoruoruru      ^r
                                              O                                                                                       ru
                                                 o
                                                 x
        UJ
        u
             UJ
             T
             cr

             a.
                  o
                  UJ
                  O
                  LJ
                       a.
                       s;
                                    UJ
                                    a.
                    UJ
                    X-
                                 4
                                 tr
                                 UJ
                                 o
                                 UJ
                                              CO   O   O   O    O
                                              ««»•••
                                                   o   o   o    o
                                                      ^    o    o   o   o
                                                      o     •     •    •    •
                                                           o    o   o   o
                                                     O    o o o o <
                                                                                            in
                                                                                            o
                                                                                                    CO
                                                                                                    o
                                                                       ~-   ru

                                                                       o   o
                                                                                                                -.   ni    KI
                                                                                                          'rurur\jrvrufxir\jrururu*n"O
                                                                    117-8

-------
                                                                                                              Section:     7.1.3
                                                                                                              Version:     3.0
                                                                                                              Date:          3/1/77
                                                                                                              Page:          10
UJ           O              UJ
cs           —         ~   o
4      uj   o         ry   o            2    ru   ,c f*» 1/1 co
Q_      L_)O         <   O            -   _i            y                                                                                                             C
        _i   ru              i                                                                                                                          -H
        -IT                                                                                                                          4_l

        "                   ""                                                                                                                          C
        UJ                   U                                                                                                                          Q

        ij   £              o            o    Ci ° Ci ——— — — — — 2i ^ 1^ «« — « — —!^ 2i!^— — — !ii ^Ci^i I!      ^                  u

        to   *•              o
                         •   o
        Q   O          •                                                                                                                               /—,


        3   O          •    ~            *•*    o   o o o o o — — -I — — -I— ~ — — —  *  *  *-!_!—-To oo o o      ^    —    ru       °
        or   «         a   o            o                                                                                                             '1^.
        CS   c/>         o   D                                                                                                                          ^
        *:              o   o                                                                                                                         ' CX
        LJ                                                                                                                                               C^
        «....
                        O2            OOOOOOl
        ..              O   ^            2
        OO'—'oru-or—i
        n:         2   to                 i—    •     ............................      ru     •    •        >

              UJ    I-         •«            t-l                                                                                                             (jj
              UJ    »-   -    UJ                                                                                                                          ^
              U.    M   O    >-                                                                                                                          tj
                   3T   O    >-*                                                                                                                           •-•
              or    co   o    to                                                                                                                          I—1
              4    «r                           ru    ^ r— i
              UJ    «   II                 OL    •     •  •
              2    or         -*            uj   o    o o
t—            >-«    *—   uj    o            co                                                                                                            .,_!
rr            ^         Q    o                                                                                                                           ^
000                                                                                                                          ^
Q_            O    •.   CJ                                                                                                                               l~i
UJ            O    Q    I                                                                                                                                ,
ttr            oO^»»                 rvj^f*i
              -«Xuj-i
              I    X         <                                                                                                                           O
              0                                                                                                                                           ex
              O    CO   -\
                                                                                                                                                          0)
        uj         co   2    o                 ru    J3 r^ :
        2    "«    >-   >-i    O            _!•••
        »-ICO—J<^^            I3OOO'
        «I    t-    1   I    CO            -3                                                                                                             0)
        ₯    -•    Z   ^    —       T                                                                                                                   £
              2    1         O       H-                                                                                                                   w
              3         o    ru       z                                                                                                                   ,-j
        f-              1M    >-       O                                      ^                                                            ^             •<

        »—              n                 2    •     •.••••••.•••••••.•.•••»•••.•      ru     •     •

        fc—              UJ    .*            *^                                                                                                             ^-!
        co              t—    rn                                                                                                                           cfl

                        f-    >-                                                                                                                           rj
                        to    UJ                                                                                                                           ^

                                           >-    .     ............................

                        UJ    O            Si
        >•    --•         »—    o                                                                                                                          m
        i—    u.         >-•    «                                                                                                                           O
        l->    _J         CO    O

        *    o               o                 ru      r-i^ too-oruin o-ruKi    r^ i^ r^    o-. r^   ^ o o-    a-co-)      o-    -t    -,        ^
        >—o                            tr    •     ..•........•........«.«..«•«      ru     •     •       'ij

        4    Xh    n I         ..            4                                                                                                             C
              x    _i         ru                                                                                                                           cti
        -i    o    a.         i                                                                                                                           X
        •a.    cj    s         t-                                                                                                                          W
        O    ^*    4         til

        cj    x         >-                 rr    •     ............................      ru     •     •       	i
        O    uj    uj   _l                 '0r^r^r'~coo*~«r^*£>=*ooi-O3'co         co    *^    -^       r—
        uj    *•*•    o   _j    o*            CD    •     ...••.....••..•».........•*         ru     •     .
        ^    «    I   >    o            "   °    ° °° °° — — —- — -' — — — — — - ru <\»- — -.-« oo o o               -    ru        ju

         I    O    •-   cc    -«                                                                                                                           S
              CO    UJ   UJ    O                                                                                                                           ^
        «I         S    t-    o                                                                                                                           60
        a.    '          2    o                                                                                                                          -H
        LJJ i    ••    ^y   HH    o                 f\j    ^5 f^ i
              tt    CD         *\l            Z"    •     •  •
              til    ^H   O                 ^   O    O O
        »"    t—    H-   ST                 "^
        >-    UJ    O   "-«    ••
        CJ    3"    UJ   —I    -^
        Z    ««    _|   Q_    I                                                                                                            e
        uJQt_»Z>->-                                                                                              
-------
                                                                                                  Section:    7.1.3
                                                                                                  Version:    3.0
                                                                                                  Date:         3/1/77

                                                                                                  Page:         11
L5
4
Q.
            L9
            ru
            o
Z    O
O    O
—1    O
       >
       z
       HH   CC
       4   4
       _l   tO
       0.
       X
       o
       LJ

            CO
       —   CC
       I—   4
       LJ   ca
       UJ    I
       ->   X
       o

       Q.   »*
              a
              r*.
              tf
                     tr
                     <
                                                                          ao
                                                                          3
                                                                          ru
                          <
                          x
                     ru   •«
                     o   LJ
                     o   o
                          O
                     II   LJ
                     UJ
                          CO
          O   •—
          LJ   Z


     Z    UJ
     O    t-
     i-t    h-l   CM
     I-    CO   O
     4        O
     INI
     •-1    HI
     ;»    o   «•
a:
o
UJ
tx.
•a.
o
C9   4    UJ
UJ   _)    O
o   u.    o
o        o
                                      CE
                                      «t
                                      a
                                      UJ
                                      a.
                          CO   3


                          O   w*|

                          CC   X
                          4   4
                          O   3C
                          Z
                          4   CC
                          »-   3
                          CO   O
                               X
                          >-
                          CC   fl
                          4
                          O
                          Z   r^
                          O   LJ
                          LJ
                          UJ   O
                          CO   '-'
                                      O
                                      •O
                   O
                   o
                   o
Z    >0 00
4    M W
uj    —t ru
x
                                                  o
                                                  z
                                           LJ
                                           UJ
                                           a
                                                  o
                                                  z
                                                  LJ
                                                  a
                                                f> OD
                                           Q.    rO a-
                                           Ul    «-* OJ
                                           CO
                                                              o
                                                              o-
                                                                     O   CO
                                                                     O-   ST
                                                                     -<   ru
o
a:
<
LJ

X
>—
IT
O
Z
L9
 I
            Z
            13
         O
         T.
                 -
              CO   UJ
                   X
                          O
                          o
                                 o
                                 tr
                                 4
                                 O
                                 Z
                                 4
                          cc
                          4
                          UJ
                          tz.
                          UJ
                          0.
                                      X
                                      •^
                                      X
                               cc
                               Z)
                               o
                                             z
                                             o
                                               -
                                                                                                               13
                                                                                                                0)
                                                                                                                3
                                                                                                                C
                                                                                                               •H
                                                                                                                4J
                                                                                                                C
                                                                                                                O
                                                                                                               O
                                                                                                                c
                                                                                                                o
                                                                                                               •H
                                                                                                                4-1
                                                                                                                    cd
                                                                                                                    a)
                                                                                                                            S-l
                                                                                                                            OJ
                                                                                                                            4-1
                                                                                                                            c
                                                                                                                            H

                                                                                                                            >^
                                                                                                                            OJ
                                                                                                                            OJ
                                                                                                                     0)
                                                                                                                     S
                                                                                                                     en
                                                                                                                     c
                                                                                                                     n)
     CO
     z
     O
LJ
O
o:
o
       UJ
       L»
                 z
                 UJ
                 si
         CO
         z
         a
         O
     O   t-
         O
         uj
         _)
         _i
         O
         LJ
              a:
              uj
                     LD
                     Z
                     O.
                     s:
                          ru
                           I
                          =T
                          r*.
                          o-
                          »
                          O
                          ta
                          IM
                          O
                          o
                          -^
                          o
                          o
                          o
                          a-
                          CC
                          4
                          X
                      (T
                      a.
                               LJ

                               O



                               f^
                               X
                               X
                               L9
                                                  a
                                                  a.
                                                  4
                                                  CC
                                                  4
                      UJ   CE
                      (X   uJ
                      >-   Q
                                      uJ
                                      UJ
                                      £
                                                                O
                                                                z
                                                                     z
                                                                     4
                                                                          X
                                                                          4
                                                                          X
                                                                                                                            (X
                                                                                                                            6
                                                                                                                            cfl
                                                                                                                            X
                                                                                                                            w
                                                                                                                     I
                                                                                                                    n
                                                                                                                r^

                                                                                                                OJ


                                                                                                                &o
                                                               117-10

-------
                                                                                        Section:    7.1.3

                                                                                        Version:    3.0

                                                                                        Date:        3/1/77

                                                                                        Page:        12
                                      .
    o



    **

    UJ


    a
    LJ


    CO
    i—
    •-4

    2
                             «   f\J
                            o   —
                            o   ru
                            UJ   O
                            o   o
                                       -o
                                       o
                                       o
                                                                                                C!
                                                                                                O
                                                                                                •H
                                                                                                4-1
                                                                                                a,
                                                                                                o
       O
       er
       a
           -J   O
           O   O
           •>   r
                                ru
                                r—
                                o
                                                                                                1-1


                                                                                                4-1
                                                                                                tH
tr
o
CL
a

on
       O
       a:
       a:
       O
       2
           z
           o
    ^H   (O


    a:   ••
    ui   a
    a.   o
         i
    en   t~
    I—   UJ
    a   x
    «
    a.   in
         t—4
         CO
    o
    o
    o
                                  a.   co
                                  UJ   O
                                  CO   O
                                       o
                                       IP
                                       O
                                       o
                 o
                 a
                 o-
       cr
       O
       (O

       u
    O
    a.
ct   •-«
uj   z
X
a.   u.
co   o
o
r   co
»—   UJ
<   a
    i»t
i   x
    O
CD
CD


CD


CO


O
I
t—
2
O
                   :>
                   tr
                       UJ
                       1C
                       o
                       o
                 ru
                 I
                        .O
                        O
                                       •o
                                  •X   Kl
                                  -3   o
                                  •^   o
                                       o-
                                       ru
                                       o
                                  a   «
                                  a.   o
                                  -
Ul
>c
3f



UJ
»—
. 1— t
CO
f\l
o
o
•


—4
o
o
                                                         117-11

-------
                                                                                           Section:    7.1.3

                                                                                           Version:    3.0

                                                                                           Date:        3/1/77

                                                                                           Page:        13
UJ
(J
           o
           o
           a-
       CD
       Z
       oc.
       o
       2
       O
       T
       Q
       O
       m
       I-H
       Q.
       UJ
cc
<
CO
                        C>
                        O
             •a
             z:
             •-*
             o
             UJ
             o

             rvi
             o
             o
             o
             CO
             t—
             I—I
             z
                                                                                        "O
                                                                                         0)

                                                                                         c
                                                                                        •H
                                                                                        4-)
                                                                                         c
                                                                                         o
                                                                                        o
                                                                                         c
                                                                                         o
                                                                                         p.
                                                                                        o
                                                                                         cd
                                                                                         -
3:  uj
             o
             o
                        UJ
                        IT
                                                                                         CO
                                                                                         3
                                                                                         cx
                                                                                         o
                                                                                         a
                                                                                         OJ
       a
       a
o

cr
    to
x   >-
to   —i
•—   f
•-I   Z
z   «*
             rvj
             O-
                                                                                                    S-i
                                                                                                    0)
               UJ
               _1
               _l
               o
                    IS
                    z
                    <
                    to
              I
             >-
             UJ
                        >-t   o
                        CO   O
                                                           117-12
                                                                                                    CO
                                                                                                    4-J
                                                                                                    CO
                        O
                        o
                        o
                        z
                                                                                                    o

                                                                                                    01
cc
o
CO

o
»-l
cc
UJ
Jt
0.
CO
o
s:
H-

                        o
             o
             o
                               Z)
                               C3
O
Z
ru
                             •o
                              •
                             in
                                                                                                    CO
                                                                                                    XI
r^

 0)
 !-i
 3

-------
                                                                                                   Section:    7.1.3
                                                                                                   Version:    3.0
                                                                                                   Date:        3/1/77
                                                                                                   Page:        14
-o
fO
is
«J
Q.
     a
     o

     rvj
     o
     o

z   o
O   O
•-!   O
       CO   ~
       UJ   >-
       5»   UJ
                      r«-    -*
                      o
                   Q
                   O
                          O
                          UJ
                                                                                                                      0)

                                                                                                                      C
                                                                                                                     •H
                                                                                                                      4-1
                                                                                                                      0
                                                                                                                      O
z   o
k-1   tt

     r*l   «-i
     —   a.    fi
     o   O    o
     —   a;    o
      «.   f-    o
            13   O
            iij   nr    uJ
            o   X    o
            in   u    o
            f\l        (J
                      •-•   'm
                      co   o
                          o
                   o
                   o
                   o
       O
       tr
       a:
       Q
       Z
     I
     •>v
     CO
          o
          o
                 (O
                 •-*
                 CO
                      ^   ni
                          o
                      5T   Lfl
                                                                                                                      c
                                                                                                                      o
                                                                                                                     •H
                                                                                                                     4-1
                                                                                                                      CU
                                                                                                                     O

                                                                                                                      C
                                                                                                                      n)
                                                                                                                      a)
                                                                                                                            •H
                                                                                                                             CO
                                                                                                                             o
                                                                                                                             a

                                                                                                                             o
                                                                                                                      o
                                                                                                                      OH
                                                                                                                      0)
                                                                                                                      CO
                                                                                                                     3
                                                                                                                             (X)

                                                                                                                             c

                                                                                                                             4-1
                                                                                                                             CO

                                                                                                                             LH
                                                                                                                             O

                                                                                                                             QJ
                                                                                                                             t—I
                                                                                                                             Cu
          ct         ••
          UJ        •
          CD    l-»   UJ
          O    CO   5C
          CD    O
     uJ        Q-
     o   co    sr   KI
     >-   <    Q   r~
     x   ta    o   o
     UJ            9
     Q            o
     _j   ..    *,   LS
     «   o    _j   ru
     X   O    «t   o
     CE   X    »   O
     o   t-    a:   »»i
     U_   uJ    uJ   o
          T    »—   O
               Z   O
     ••   Z    1-1   £T
     (TO        -O
     uJ   -H    •
                          _l
                          o:
                          ILl
                          »—
                          CE
                          «

                          O
                                      UJ
                                      o
                                      o
                                      CJ
                                       I
                                      CO
                                      UJ
                                      o_   -. ~-> -• —
                                      X   O O O O

                                 UJ   CO
                                 a.
                                 uj
                                      U5
                                      z
CJ   7    UJ
z   <    _1
uj   o:    _i
cs   <    o
•x   a.    cj
                                 1-1   o
                                 co   a:
                                 O
                                 a
                                 x
                                 o   o   — ru p-n :»
                                 o   D.   oooo
                                                       .o
                                                        •
                                                       nj
                                                       •a
                                                       uj
                                                       z:
r^
 •
Kl
                                                                                                                             X
                                                                                                                            w
                                                                                                                            r^-

                                                                                                                             a)
                                                               117-13

-------
                                                                                                           Section:    7.1.3

                                                                                                           Version:    3.0

                                                                                                           Date:         3/1/77

                                                                                                           Page:         15
LU
C3
     ni
 •   o
>   UJ
Ql   v-«
13   O
CO   O    UJ
     _    ^
»-   O    3
Z   O    "O
UJ   O
—10
cc   «-•    ••
I         X
<         I—

Q   ..    O
uj   >-    ar
•-   UJ
z   *•
UJ
K-t   Q
o:   <
O   O
I    or
UJ   «
u   to
or         LJ
                       JK
                       «t
                O
                o
                             u
                             UJ
                             o
                            r-
                            O
                            o
                            LJ
                            tr
                            UJ
                            a
                                         x
                                         <
                                         I
                       a:
                       <
                       Q
                       z
                       <
                       i-
                       to
                                         a.
                                         a.
                                                           ooooo—.000000000000000    oooooooo
O
CO
        o
        ac.
        a.
                  tr   uJ
                  I—   O
                  uj   O
                  z   cj
             *•*   a:
             _i   o
             o   _i
             >   o
             •N       in
                             uJ    rv
                             co    ^
                                         o
                                         -o
                                                           ooooo*-.000000000000000    oooooooo
                                                                                                            oooooooo
                                                           ooooo-^ooooooooooooooo    oooooooo
a
a.
UJ
ct
tr   ~   <
liJ   O   UJ
Q.   o   tr
     I   <
m   H-
t—   UJ
ex   at   ^

a.   co   a
        or    "
        O    co
                  CO
                       at
                       a
                            o
                            o
                            o
                            4
                            UJ
                            a:
                     rvj
                     r«.
                     o
                                                      o    ••»•••••••••»•••«•»«•    ........
                                                           ooooo-«ooooooooooooooo   oooooooo
                                                    0*^0-^0-^^    ooooooooooo—.oruooooooc^oo
                                                     .».«».     .......................
                                                    ooooo—    oooooooooooooo—oooooooo
a

a:
                            IX
                            UJ
                            a
                                  X
                                  4
                                  f
                                    —>   rr
                                    CO   X
                                               •O    O-^O-^O-^    OOOOOOOOOOO—-i    -.      CO
                CO    O
                     ^)      >-
                     o      tr
                                         a-
                                         (VI
                                         Q-
                                         O-
                       0}
                       CE
             X
             o
                  13
                  a:
          co
          2    —
ru

>-
UJ
        •a
        co
             3   O   _l
             u.   3   <
             _i   r   >•
             3   i-   a:
             CO   oJ   UJ
        DL              Z
        UJ    ••   Z    »-H
             tr   o
             uj   —"    ca
U   T   UJ    _J
z   «   _i    a
uJ   tr   _J    I
13   <   O    •<
«   a.   o    co
                                    s:   ^
                                    «-t   CJ
                                    IX
                                    a.   in
                                         (V
                                         in
                                         •o
                     o
                     o
                            o
                            o
                                         tr
                                         uJ
                                         in   Or^O4%JO*^   OOOOOOOOOOOv^OOOOOOOOOOO
                                         o    ••••••    .......................
                                              ooooo-^   ooooooooooooooooooooooo





                                              f\jo*^nj9fu   rvj^.^^(\iAj(\j»^ruKi^^'Oo^*f^cy>o*-**^rvj(Mf\jfMro
                                         a   o»«oruoo   ooooooooooo—.ooooooooooo
                                         o    ••••».    •»•••*••••••••••••»••».
                                              
                                         Kl   OOOfUOO   OOOOOOOOOOOOOOO-^OOOOOOO
                                         c>    ••••».    .••••••»••••*»••••*••••
                                              ooooo«   ooooooooooooooooooooooo





                                              ** -O ~* f\t & ~*   ^T-^~«r\j(\jrumKihnAj*Oro.*Kioo-**—ruryrucvr-o
                                         IM   oooruoo   ooooooooooooooo-ruooooooo
                                         o    ••«•••    .......................
                                              ooooo-^   ooooooooooooooooooooooo





                                              ^*Kir\jo^o   LO*^*^r\Jf\J(\Jhn'OKiO'Of^—«^ooo-^»*rurururof^
                                         -^   OOOAJOO   OOOOOOOOOOOOOOCO'tOOOOOOO
                                         o    ......    .......................
                                              ooooo-^.   ooooooooooooooooooooooo





                                              — rur^flOf'io   in^^—*r\jAjru"O^'O^^ru-^'-^oo-^-^f\joj(\jf\jK>
                                         O   OOO-^OCC   OOOOOOOOOOOOOOCO^IOOOOOOO
                                         o    ......    .......................
                                              oooooo   ooooooooooooooooooooooo




                                         >-
                                         it   ^^rur^crin^r^coc^o
                                         O   ooooooooo—*
                                                                                                                   0)

                                                                                                                   fi
                                                                                                                                  c
                                                                                                                                  o
                                                                                                                                  •H
                                                                                                                   E
                                                                                                                   a
                                                                                                                                  >

                                                                                                                                  OJ
                                                                                                                                  4-)
                                                                                                                                  c
                                                                                                                                               3
                                                                                                                                               O
                                                                                                                                       0)
                                                                                                                                       C
                                                                                                                                       O
                                                                                                                                               o
                                                                                                                                               a
                                                                                                                                       03
                                                                                                                                       3
                                                                                                                  T3


                                                                                                                   cfl
                                                                                                                  4-1
                                                                                                                  CO
                                                                                                                                       a,

                                                                                                                                       nl
                                                                                                                                       X
                                                                                                                                       w
                                                                                                                  (1)
                                                                                                                  V-l
                                                                                                                  3
                                                                                                                  60
                                                                                                                  •H
                                                                                                                  PM
                                                                     117-14

-------
                     Section:  7.1.3
                     Version:  3.0
                     Date:     3/1/77
                     Page:     16
UJ
-
»—
t— I
_l

•—
z
UJ
•-H
CO
3
O
UJ
z
UJ
1-4
CC
0
UJ
LJ
0
CO
»—
LJ
uJ
-5
CC
a.
a
»-t
cc
o
_1
U-
UJ
*-
a
t—
CO
>~
h-
»-4
:>
»— 1
t—
-
Z
UJ
o
o
o
o
o
o
>-
UJ
It
o
<
o
CC
to
_J
0
:>
_i
O
^
z
o
_l
•-•
cc
UJ
a.
CO
(—
cc
<
CL.
CO
>-
>-i
z
o
UJ
o
O
o
cc
u.
CO
•«
cc
UJ
»—
•*J
s:
ec
<
n_
UJ
I
^~
o
X
cc
UJ
t-t
cc
o
o
UJ
X
UJ
-
<
Z
4
-I
<
*—
UJ
a
CO
o
O
X
UJ
2
O
H-
LJ
uJ
_l
O
LJ
..
CC
<
UJ
>-
•
o
o
It
o
o
o
t—
in
o
o
o
II
UJ
o
UJ
cc
o
CC
O
_l
u.
*^
o
II
UJ
I—
in
UJ
H-
•-«
CO
co
cc
0
X
o
:>
cc
UJ
»—
z
_»
a.
<
CO
..
UJ
Q
O
LJ
_l
<
LJ
Ul
r*.
o
UJ
o
0
LJ
CO
>—
z
o
o
UJ
1—
to
^4
o
o
o
UJ
cc
(M
f-
0
-H*
o
1
UJ
ar
o
0
o
-o
o
..
r-
^4
ru
o
o
o
o
Cd
0
o
1
>-
UJ
SECONDARY STANDARD(S)
cc
UJ
a
X
.
cc
X
ru
oL
CL
•
r\j
"V
t!)
.0
o
f\J
££
?£oSSSS;$SSS£;n!n-£;?£0^SS™SSS£
co ru — i —
z
fO oo«^o^rgooooooooooooooo>ooooc»ooo
0 0
0 O
— « o o
0 0
o o o
000*^00000000000000-^00000000
ooo — oooooooooooooo— .oooooooo
-«OCTooooooooooo-«ooor\icoooooooo
C»OO-*tOOOOOOC3OOOOOOO— -OC^OOOOOO
•— O")OOOOOOOOOOO**O-^O-*OOOOOOOO
OOOOO«*OOOOOOOOOOOOOO-4OOOOOOOO
to
o
cc
z
•—
CO
>-
cc
-
^~
•
cc
cc
UJ
CL
— «
X
a:
X
s:
CL
CL
•
ru
rA
z>
•o
p"l
_J
<1
Cc
UJ
Q
UJ
u.
o -**
CO O O
0 0
cc
o
- J>
0 0
in o o
0 0
J» 00
o o
-o -o
f\ 0 O
o o
ru o o
0 O
< -» ru
-HO— 4000^0000000-^0— to— *ruooooooo
OOOOOOOOOOOOOOOOOO~*'-4OOOOOOO
o — roo-o-~-.rurvjrvjru^-oruo-.rusrruj>ru-._rvjruru"0
oooooooooooooooooo — —.0000000
ooocr— oooooooooooruoo ooooooo
oooooooooooooooooo-< ooooooo
oooc>ruooooooooooo(\joo ooooooo
oooooooooooooooooo— . ooooooo
OOOCOKlOOOOOOOOOOOfMOO OOOOOOO
oooooooooooooooooo-* oooooooo
OOOCC^OOOOOOOOOOO-^OtO OOOOOOC5
ooooooooooooooooooo ooooooo
[n
0
o
o
IM
o
o
ru
o
o
o
ru
o
o
ru
0
o
o
o
o
0
0
o
0
Figure 7.1.3-1 Example of Standard Answer Report - One Hour Interval (Sum Option) (Continued)
117-15

-------
                                                                                                            -Section: ^7.1.-3
                                                                                                            Version:    3.0

                                                                                                            Date:          3/1/77

                                                                                                            Page:          17
             O   >-    N.    •**
             <   rr    o-                                                                                                            s-^

             O   3         ••                                                                                                       QJ
ujorruj                :j      to        o         ru              sj                         ru               ,-j
c!>           ••*   crj    *•    o                 ••••               »                          •               ^
<           oujccO           3E    ^      o        ru         10              co                         o               ^
Q.           OU.1O           ^>            «        ^         —4              —                         ru              "H
             o         uj                 co                                                                                          -1-1

             to   •«         «                                                                                                       O
        Oil                                                                                                      U


        QC    ••   O         UJ            •    DOOOOOOOCOOOOCOOOOOOOOOOOOOOOOOCO
        O    >•   r         Q           O
        t-    UJ                           Z                                                                                          'O
        1-1    5^              a                                                                                                       C
        z                •    o                                                                                                       O
        O    Q          •                                                                                                            -H


        uj    or         o    uj           ru                                                                                          r-\
        o             uj    to    o                                                                                                                                                                                                              -1
             or   co    M    co                                                                                                       O
             •a   z                                                                                                                 prj
             UJ   «X    UJ                 t^
             z   o:    Q    -.           —                                                                                          CM
1-           t-l   t-    O    O
ctr           _>         o    o                                                                                                       i
0                           o                                                                                                       '
0.           o   -    «                                                                                                            j_,




>-      o    to   uj         a:                                                                                                       CU

a      <    o         *•
        o    o   co    o:                                                                                                             j_,

»—      xcooo                fO^i/>^              to                         *-               ^



             •3         v    ru     O                                                                                               T3
                        <    I                                                                                                       4-1
                        »-    >-                                                                                                       C/J
                        CO    UJ
                             ^                 inoino              iri                        iri              n,
                                          »••••                •                          •              >i
                        ••                 O    O      —•         IM         3              O                        =t              u
        UJ              UJ    —
        o   ">         *-    o                                                                                                          ~v   uj         —                                                                                                       w
        X   I   _i         ru
        ^   o   a.         i
        CO   (_>   X    CO    >-                                                                                                       <—\
             •^   •«    QC    uj                                                                                                        I
        ocoOi;                 PUSTO^)              rvi                        to              ro
        «-*xo                 i/*»»»«                •                          »               .
        CC   UJ   UJ    T                 O    O      O         «         —•              =»                        <\J              _j
        UJ   O   (V         ^
        X   Z   <    IM    r^                                                                                                        •
        OL   •-•   •-    o    ru                                                                                                       ^~
        OT                   -o
        O   L9              o                                                                                                       Q)
        £?>•••«                 »*r\jinoo              —*                        f~              M
        >—   ^-*   O    «J    »^            fl»»          •          •                •                          •              |j
            O                                                                                                       -rj
        I    O   >-    OC    —                                                                                                       ,2
             CO   UJ    UJ    O                                                                                                       hH
        «        I    t—    O
        a              z    o
        ilJ»»Zl-ld                 ^^f\jLO-   UJ   U    >-t    •«
        O   jr   uj    J    -»
        z   <   j    a.    i
        UJ   QC   -J    I    >-            >-
        o   Of~«>
        <   CL   u>    co    at            O    ooooooooo-*»-» — -*—«—•-*-^-^
                                                                      117-16

-------
                      Sect!on:
                      Version:
                      Date:
                      Page:
7.1.5
3.0
3/1/77
18
*^
UJ
13
<
0,
h-
cc
o
a.
UJ
oc
<
t—
o
>-
»-"
»_4
_J

a
3C
»-•
«s














































cs
z
t— 1
a
»—
>— i
z
o
T
UJ
o
o
CO
a.
Ul
t—
o
UJ
r>
o
cc
(L
«
Z
*— t
_)
0
cc
o

X
fc—
cc
o
z
*»
UJ
»—
•4
^-
to






UJ
o
^

_l
_l
•-4
UJ

cc
^
co

^j
*-•
cc
UJ
X
QL
CO
O
s:

^

i

^
a.
UJ


••
>-
o
z
UJ
u>
<
,0
o
^*
o
o
o
o
o
>-
UJ
o
4
0
(X
I
CD
3F
1
UJ
_l
•— i
UJ
cc
«
r>
O
co
V.
CO
z
o
*-

^
CO
1—
»-i
2













UJ
fc-
«t
_J


fr-l
k—
X
•a.
o.

o
UJ
_i
H-
»—
UJ
CO

J

h-
o
t~


••
cc
UJ
>—
UJ
y
«i
a:
«t
O_
x
O
cr
«*
z
X
z
o
4
O
Q.
<
p-t
CC
t—
1-4
>
«
CD
Q
D
1—
UJ
CO
f^
CO
>-
—1
4
z
<



















cc
•a
*^

.^
f-
UJ
1C
LJ
r>
CD


••
O
O
X
f—
UJ
y

Z
O
fH
t—
LJ
UJ
_l
1
o
o
w
r-
. o-
••
cc
UJ
•
•
o
o
II
UJ
0
o
LJ
UJ
t—
I-*
CO
o
o
o
II
Ul
a
o
LJ
•9.
UJ
cc
cc
^
LJ
»
z

m

n
UJ

•a
»—
CO



UJ
*—
1^
CO







co
cr
^
O
T

!•/>
O


••
_1
«
^
cc
UJ
^>
z
1-4

(J
-z
9-»
_J
a.
y
«
CO
ru
•«
UJ
0
LJ
LJ
UJ
O
o
UJ
o
o
CO
>—
»-4
z
o
•-4
O
O
••
UJ
*—
**
in
o
o
o
UJ
cc
ru
o
,*•
f^
o
^
ru

^
fO
•
>-
UJ
5£


ru
o

0

o


•«
(M
t
>-
UJ



^
r—
rt

o

«*
o
o
«^
o
o
o
^
f/>


••
**
1
>-
UJ
S£
y
co
•
O
ru

o
ru




r-
~ *





a


a

o
i

—•







co
o






in
o






ru
o




>-
<
Q
3
^
0
CO C
*4
ru
o

FO
O
•
o


CO
o
o




m
o
•
o




hH
O
•
O




ru
o
•
o




v-f
o
•
o




M«
0
•
o




o c
SJ
0
> CO O
ru
o

o
•
o


CO
o
CD




in
o
•
o




hO
O

o




ru
o
•
o




*•«
o
•
o




_
0
•
o




u m ^r
300
CO
o
•
•-*
o to o c
ru
•
o

ru
•
o


>£
•"
O




0
-^

0




JD
O

o




^
0
«
o




ru
o
•
o




ru
o
•
o




000°
ru
•
> O CO
•
o

m
•
o


*Y
ru
o




in
-~
•
o




r>
0

o




•o
o
•
o




*o
o
•
o




t*»
o
•
o




° 0 °
o ru ru =»
ru to in oo
• • * •
O CO GO GO CO O
in co fi «-»
o ~* ru si
• • • •
o o o o

»t o "> ru
• • • •
0 O O O


o ^ ^  *«

O O 0 0




o -o -o ru
— ^ ru 3
• • • •
O O 0 O




in co *-rt *^
O O *->(\l
• • • •
o o o o




in ao **) ^*
o o -* ru
• • • •
o o o o




— ru fO =i j\ -0
53-
CO
•
0 CO C
w
•
o

ru
5T
•
0


ru
ru
o




o
ru

o




ru
0
•
o




00
«*
»
o




r*>
«i
•
o




•*>
rO
•
0




I-- 00 0
co ru
-* o
• •
— • ru
> o o oo co
in o-
o -<
• •
O 0

in r^
^^ o
• »
O 0


o ru
a- -»
0 O




in in
ru a-
• •
0 O




in r~
_• -*
• •
0 O




O CD
-< r\j
» »
O O




^ f^
O r*>
» »
0 0




^ r*'
O ''O
• •
0 0




— (\j rvj r\j ru
0
i\J
*
f\t
O O GO
nj
•
o

nj
OJ
*
0


(M
CD
0




O

O




CO
Kt
»
O




— t
^
•
0




v^
CT
»
O




r\j r\J ru
Report - 3 Hour Interval (Sum Option) (Continued)
j_(
(D
I>
CO
^
T)
t^
nj
T3
C
rO
4-J
en

LH
Q


cu
t-H
ft
0
n)
X
w



1 — 1
1

•
rH

r-~


OJ
i-l
3

•H

H-l










117-17

-------
                       beccion:   /.i.j
                       Version:   3.0
                       Date:      3/1/77
                       Page:      19
ft




Ul
ca
4
O.




































t_
X
o
Q.
Ul
x

4
t—
4
Q

£
t_4
1
4
^
O
cr

4

























































0
•-*
X
0
H-
•-»
z
o
y
Ul
0
o
CO
•— »
Q_
UJ


M
^->
<_>
UJ
"O
o
o:
CL.












<
^
»-*
«J
o
cr
4
(_>
3-
>—
X
O
Z

..
UJ
f*
4
^.
co






UJ
t_)
z
4
_J
i«l
UJ

X
o
CO

u
•-<
X
UJ
X
0.
CO
0
z
K-
4

1

4
0.
Ul


••
>•
u
Z
Ul
o
4
-O
o
4
•i
0
O
.^
0
o
o
51
Kl

••
>•
Ul
^

r\
4
O
X
4
CO




f*
CO
X
4
ID
1
z

Kl
**
O
ft
^
!_)

O
UJ
o
in
ru


Kl
T
-v
CO
Z

»-4
CO
X
Ul
a.
CO

D
z
o
z



Q
o
I
»—
Ul
z

to
to
>-
_J
4
z
•*


















_J

f—
z
UJ
z

X
t_
to
z
»_4


••
o
o
X

Ul
z

z
o
*H
»~
u
UJ
J
_l
Q
i_J
^
f*.
a-
ft


M
X
4
UJ
>-






•
•
•
o
o

II

UJ
o
o
u

UJ
^_
f*
CO


*-*
o
0
o

II

Ul
o
0
0

4
Ul
X
4


f^
•
X
o

•
z
*^

Kl

II

Ul
H-
<

CO


••
Ul
t—
»-•
CO






CO
X
^3
a
X

?f
o


••
_J>
4
>
X
UJ
t—
z
t— »

LS)
z
1-4
_J
a.
2E.
CO

r*>


»•
UJ
o
o
LJ

_J
?
[^
Ul
0

in
o


UJ
o
o
o

to
f-
««*
z
•^


»4
o
o


•*
UJ
^_
_
CO


v^
o
o
o


••
«t
UJ
a:
<


[n
o
.*
ft
ft
o
ru
^


•«
Kl
1

Ul
^


Kl
O
»^
O
o


••
(M
1
>-
UJ



SJ-
^.
3
-0
o
4
ft
O
o

0
o
o
3-
Kl


••
ft
|
>.
UJ
V














/^
CO
*— »
o
X
4
a
z
4
f—
CO

^
X
4
O
z
o
u
UJ
co

































^^
CO
^

X
^
Q

4
^
to

X
4
5;
*— (
X
a.























Ul
a.
V-
*~



X
«
UJ
>.

X
Ul
a.
—
^
X
4
y

cr
^
o
X
v^

1

f-\
u

in
ni


Kl
z
•^
co
T
cs
1
~^

o
0
o
*
o
^









X
4
Ul
>-

X
UJ
a.
rt

^
X
4
z


3
a
X


o
I

ft
»^






f^.
o






K>
o




>_
4
r>


















































0000
ru ru 9 -o
o o o o
• • • •
O 0 O O




O -O -O -0




CO CO >O 9
o o •» ru
o o o o
• • • •
O O O 0



in in oin
0 O •< ft
o o o o
• • • •
o o o o


Kl Kl 43 0-
O O O O
0 O O O

0 O 0 0



ru IM si -o
o o o o
o o o o

o o o o



— -<(VI Kl
o o o o
O 0 O O
• • • •
o o o o



f» ft ru Kl
o o o o
o o o o
• • » •
o o o o



« ru KI ^


















































O 0
o —
ft ft
• •
o o




000*00.000000




o a
cr ft
o o
• •
O 0



in o
ru =r
o o
• •
O 0


in 3
ft ru
O 0

O 0



0 ,0
*«l ~^
0 0

o o



in co
O 0
o o
» »
o o



in CD
0 O
O 0
• •
O 0






















































O O (C CO 43 ^
-^ ru ru o i^ »*-
« _ — 0 — ft
• • • • • •
O O 0 O O O




OO-£)OOO*OOO ru in r~ ru
Kl «-^ O ••* ^* Kl
0 O 0 O 00
• m • » • •
O O O O O O



^ ru to o co 
^
0)
4J

UJ
1

w
D
O
ffi

-4.


1

-M
J^
O
a,

{~di


(D
^
CO

<^

Td
M
ctJ
13
C

-w
CO


M— (
o

CD
, — |
&
B
S
?S
W


i — 1
I


*
r- 1
•
I""--

QJ
j_i
r-j
t\n
UiJ
•H
r-t-l











117-18

-------
                                                                      St-rl ion:   7. 1.3

                                                                      Version:   3.0

                                                                      Date:      3/1/77

                                                                      Page:      20
UJ
13
     IS
     z
     X
     o
     o
     a
     co
         -o
         o
         —•>-••
         o  <  oc
         o  x  <
         O     UJ
~  O
>-  I
         s:

         o
         o
         a:
               O
               O
o
UJ
o

in
o
          UJ
          O
          o
          D
                                                                                 13
                                                                                  0)

                                                                                  C
                                                                                 •H
                                                                                          O
                                                                                          U
o
•H
4-1
a,
o

6
AIR QUALITY DATA REPORT
STATE: NORTH CAROLINA PROJECT: (
V4
UJ
z
_i
_i
»-•
UJ
cc
CO
u
»-*
cr
UJ
X
OL
CO
O
x

4

•
^
0.
UJ


~
o
^
UJ
«c
CO
or
m
i
x
Kl
O
»*
O
u
UJ
o
ru
"I
X
>>
to
X
19
1
X
••
CO
*-
1— 1
z
3

UJ
1^
X
CD
o

^
o
CD
cr
4


••
CT
UJ
»—
X
«
cc
<
Q-
z
M
UJ
_J
<
X
1—
I
CL
_1
O
z
UJ
X
a.
o
t—
aj
X
eo
*-*
>-
_i
<
z
4
cr
CD

CO
^
o


„
0
o
X
^-
UJ
y

Z
Q
*-H
>—
UJ
_l
_l
o
Ll
0
u
UJ
»—
CO
o
o
o
II
UJ
o
o
<
<
•
ct
4
0
0
z
II
H-
cn
•*
UJ
*—
*-•
OT
co
ct
D


*o
o


M
_»
<
^
ff
UJ
>—
z
fcH

u
z
_,
a.
x
CO
V*
O
o
••
UJ
•—
•-I
CO
o
o
o
UJ
a:
in
o
~«
o
ru
0
ru
i
>-
UJ
x:
o
o
o
••
ru
>•

5t
in
*>
o

_*
o
o
o
o
o
CT
fO


^,
1
>-
UJ
V
r^.
c»
X 0
Z> 0
0
O
Z
hO
ru o
ru o
o
ru
-o o
^ o
o
cc *
o
x

O 0
—• o
o



V*
CT O
0 0
O


>-
0 00000
f-
o
0
o
o
0
o
ru
o
o
o



.^
o
o
o



V4
o
o
0



0000°
CT -» in
— • ru ro
o o o
O 0 O
0 O O
•o o- in
0 0 -*
o o o
O O 0
CT ~O 0
o o — •
o o o
o o o



ru «n in
o o o
o o o
o o o



ru "i in
0 O 0
0 O O
O 0 0



— ru ^ CT in
in o- o- to t*i
o o o o o
o o o o o
o o o o o
l\) *^ — * O -*
o o o o o
O O O 0 0
.0 -O "u co o
— ru CT — -•
o o o o o
o o o o o



tf> t*\ ^-i f\ CT
o -« ru ^ o
o o o o o
O 0 O O O



CO 1*1 -» HI CT
o — « ru ro o
O 0 O O O
o o o o o




o
•-I
o
> 0 CT O C
r*
0
o
CO
ru
o
o



r^
rO
0
0



r*-
•o
o
o



LI ru ru ru rt
ru
in
o
o
ru
o
0
00
K)
o
o



^4
CT
O
O



•-•
CT
O
O



j?u S
tandard Answer Report - 6 Hour Interval
Example of S
M
i
•
1-1

r^
fll
UJ
V-l
3
M
•H












                                             117-19

-------
Section:
Version:
Date:
                                7. 1 . j
                                3.0
                                3/1/77
                                21

UJ
[3
4
CL





































h~
ac.
O
a.
UJ
or

4
f—
O

>-
t~
•*(
1
4
O
or
>«-i
4









































ts
z
»-«
rj£
o
H-
••H
z
o
y

UJ
Q
O
CO
a.
UJ


•»
*—
LJ
UJ

a
a;
a.











4
~Jr
t-H
1
O
4
U

X
.V
a:
O
z

••
UJ
»—
4
f—
CO



UJ
u
z
4
_l
UJ
:>
IX
^>
co

LJ
ac
UJ
X
a.
n
o
3E
4
,

4
a.
.*
o
z
u>
4
O
O
o
o
o
^
ff\



..
>-
UJ
^

0
4
0
or
4
CO



j-\
CO
tr
4
ao
i
5;

*O
.^
o
•"•
^
u

CJ)
UJ
o
o
^^

fo
y
•X
CO
z
1
r>


..
CO
»—
z
0


















UJ
»— *
X
o
»H
Q

or
u.
^
CO

IV
UJ
»—
y
4
4
a.

UJ
z
3
•">


*•
X
»—
z
o
3T







O

a.
UJ
3E
0
*—
O
^
O
z

u
1
•
4
»-l
t^
UJ

C3
UJ
CO


..
o
o
X
»-
UJ

CO
1— 1
CO
>.
1
4
Z
4











y
UJ
-j
a:
f—
CO
z
^-1

H-l
>
4
i-\


"
O
X
UJ
3"
[—}
1— t
t—
CJ
UJ
-J
0
O

••
cr
4
UJ
>-








.
•
.
^*
o
o

II
UJ
Q
0
U

UJ
•—
(-4
CO


**
o
o
0
n

UJ
Q
O
(j

4
UJ
K
4


.
(£
4
(_t

.
Z

ro
II

UJ
i—
4
f—
CO
UJ
^~
»-«
CO





CO
IX
o
X
CO
o


..
4
:»
(£
UJ
*-
z
o
_J
a.
4
CO
*••
UJ
Q
0
U

1
4
X
t-l
l_)
UJ
o

m
o


••
j.i
c^
0
o
CO
l~
t-t
z
3


V4
o
e>


..
UJ
t—
CO


V*
o
o
o


»
4
UJ
a:


•-•
(M
O
fO
-
o
ru


..
to
i
>-
^
in
o
v*
0
o

»•
rvj
1
>-
UJ
3C
.3.
f«
O
J>
o
4
O
o
o
o
o
••
w^
1
UJ
*











«•*
CO
^*
o
a.
4
a
z
4
»—
CO
>•
cc
4
O
z
0
u
UJ































I—*
CO
^«
o
5
z
•—
CO

ac
4
I

rr*
a.















UJ
a.
»—

f
UJ
a

i

^
X
4
T

.
a.
T

SJ
f\l


X
a.
a.

^
.


«^
u

o
\*»

^
y
^
O
3
o

rvi









»
>-

o:
UJ
Q_

-*
^
X
4

.
a
X

^
ru
Q. 3 *•« -^
0. CO

^
.
. rOKtlOfOfOrOtOfOOOOOOOOOOOOOOOOKVOfOOmOrO
^ 0
o z

o
«>^
oj(\j=»^oj>^>ru cooccffi
ST njoooo—-»f\i=T — , ^ r\j HI
X
o
^5

m
^J Q; _ « ru «0 U1 CO Ml — rO a t- -.
O — OOOOOO-K13
X


--ru^inooK,-. ^ =r ^ -
ooooooo~*rxi KJOHI^
«(
CE
UJ
£ 5 ^fvj^^t>o^r*(o^o^rupocrijn^T^(Ocro«Ajro^ijn^f^{t)O'o .
u. O oo<>o<>ooo<^-^-*'-^-^-^-^«^*-«--«--»f\jr\j}rvjAjf\if\jr\jr\jr\jf\jfiri
. ,
3
c
•H
4-J
£
o

JjV



^^s
f^
o

J-J
_
l^~\
^-J

E
CO


1

^
r>
S-i
a)
4-)
c


j_!
3
o
33

CO




4-*
Vl
O
O-t
CLJ
P^
.
*~j
QJ
J5
en
^

T3
s-i
fti
'O
fd
cd
j_j
C/D
•4-1
°
QJ
,— |
P-
rt
X
W


i— j
I
CO
r-H
•
r^-

flJ
M
3
•H
\^-4







117-20

-------
                                       Section:    7.1.3

                                       Version:    3.0

                                       Date:          3/1/77

                                       Page:          22
                                                                                   O
—            .o          ;T                  z
              o          r-    ru            <                                                                                                              ^^
              <          t>                  UJ                                                                                                              T3
              —          -                  I                                                                                                               m
              o               "                                                                                                                            .:;
UJ            o    >r         UJ            CJ                                                                                                               ^J
O            —    -I    ~    O            -i                                                       .                                                        C
it            O    Z>    CC    O            >-                                                                                                              -rl
CL            O    ->    «    CJ            UJ                                                                                                               4-1
              O          UJ                  Z                                                                                                               C

              5    ..    *"    <            (E                                                                                                               °
        13         X         X            «-i                                                                                                              v^
        z         •—         *«            ce

        cc    •»    o         uj
        o    >-    z:         o      ".    _i                                                                                                              -~-
        V-    UJ                       IO    «                                                                                                               C
        •->    3-•    H    o      co                                                                                                                    3
        +*         U.                       U1                                                                                                              CO
        Q.         *-•    UJ    CO      >-    O                                                                                                              ^--^
        uj         ce    o    •-      cc     •
                   o    o    «      «                                                                                                                   M
                   *    u    z      o    *•»                                                                                                              ^J
                   z>         r>      z    u                                                                                                               ?
        i-    r*    »-    uj            O                                                                                                                    p*
        CJ    _J          »—            CJ    1/1                                                                                                               ^
        uJO-J>-«-»ujru                                                                                                               <1J
        T>JCCOOCO^                                                                                                               4-1
        o    v    o         o                                                                                                                            p;
        tr    _i    o                       m                                                                                                              M
        d.    O    —«    »•                  y
              "3*    ^^    O    ••            V                                                                                                               ,^
              **    z    o    uj            cs                                                                                                               ul
                   40f-3                                                                                                               2
              z    y         •-.                                                                                                                            o
              O    M    II    CO            O                                                                                                               PC
              •-<    te                       o
              _l    _l    UJ                  —                                                                                                              CM
              -I    «.    O    —                                                                                                                            ^H
>-            1-1    co    o    o
ce            z:          o    o                                                                                                                             ,
O                            o                                                                                                                             I
cv            cc    ••    «
uj      <    uj    o    uj                                                                                                                                  u
cr      z    a.    o    cc    ••                                                                                                                            M
        M         X    <    <                                                                                                                            O
<      -J    co    •—         uj                                                                                                                            n,
t-      o    >-    uj         tr            z                                                                                                               dj
«t      oe    OE    i    *•»««,                                                                                                               ce!
o      <    •<           •                  uj
        o    CL    co    cc                  i                                                                                                               . ,
>•«-><    M                                                                                                                            *•;
I-      X         CO    CJ    f«-            O                                                                                                               w

_ictco_j«ru»-                          •                                                                                     tn
«tOH-4ZCOUJ                                                                                                               CJ
=>      z    M    z    »    >u            z                                                                                                               -      O    Z                                                                                                               CO
                         co    uj      ce    z


                                      i    i                                                                                                               o
        uj               oj    -o      «    a.
        (j               •-    o      t-    a.                                                                                                               a)
        Z               •-!    —      CO                                                                                                                    t-t
        <               CO    o            VP                                                                                                               rv
        _i                    r-      >-    o                                                                                                               p
        _>                    o      a:     •                 rurua--o                 o              J3    -o    AJ    -o    cc   a- ru          b
        i-<                            4                       oooo                 ~*              *-«ru9*oof>*»sD          .^
        UJ                            3£^            ^•••»                  •               •»•••••          r^
        >•         ce         ~v-«o            ooooo                 o              ooooooo          W
        ce         uj         ru      ce                 co
        =>         -i          i      a.    in
        eo    uj    tu    co    >•            ru                                                                                                               i—I
              o    CD    ce    uj            ^                                                                                                                i
        O    •-    O    3    5C                                                                                                                            CO
        K-.    x    CD    O                  ro
        ce    O          X                  XT              •    ruoruoruoruooocaooruoooooruoruoruoruoruorMru            ,
        uj    •->    co         w            -^            o                                                                                                 r~1
        XO-I>o                               oooo                 o              ooooooo          °r
         i    »-i    t—    ce    **                    x                                                                                                      >r^
              Z    JJ    uj    o                    u                                                                                                      H*
        <         r    i-    o                    o
        CL               Z    O                    I


              UJ'^ICA                               O****                  •               ••»••«•
         »#    I—    »—    Z                  —I                  OOOO                 O              OOOOOOO

        i_>    I    tu    _i    -.      uj    ce
        z    <    -J    a.     i      CL    uj
        ujce_ix>-      »"P            *•

        <    tx    cj    co    ^c            u.            o    ooooooooo*^«^v^v^v«*-*v«*^v<»v4ruf\}ruf\irurMr\]r\truru>tP'>
117-21

-------
                                                                                           Section:    7.1.3
                                                                                           Version:    3.0
                                                                                           Date:        3/1/77
                                                                                           Page:        23
0
1
CL
           ID
           =1
UJ   O
LJ   O
Z   O
<   O
_l   IX)
       a:   >•
       =3   UJ
       CO   *
       o
       z
       O   cr
       rr   «
       (J   CO

       LJ
       <
       CD
       O
       CK
       a.
                        UJ
                    —   o
                    ir   O
                    <   o
                        o
                        UJ
                        Q
     •   UJ
     »   Q
     O   O
     O   LJ


     II    CO
                    O   Z
                    o   z>
                    o
                    •-   O
                    •-«   O
                    CO
               I-   —   UJ
                                   z
                                   O   o   ooooo
                                   z
                                                                                             'ooooo
                                   LJ   O   OOOO
                                   O
                                                                                             10OOOO
                                                                                                        T)
                                                                                                        0)


                                                                                                        C
                                                                                                                       c
                                                                                                                       O
                                                                                                                       CJ
                                                                                                                       c
                                                                                                                       o
                                                                                                                       •H
                                                                                                                       4J
                                                                                                                       0

                                                                                                                       cn
                                                                                                                       cd
cc
o
a.
       UJ
       z
           UJ
           z
           o
           o
           >»
           CO
           X
           o
           LJ
           CO
           t—
o

cr
CO    O
z
   O
                    CK   -«
                    UJ   O
                    t-   O
                    z   o
                    -.   o
                        ru
                    LS
                                   cc
                                   Q.
                                                                                              OOOOO
                        fu
                         »
                        o
                        ru
                         •
                        o
                                                                                                                       •H
                                                                                                                       Cfl
                                                                                                                       P
                                                                                                                       O
                                                                                                                       CX
                                                                                                                 Cfl

                                                                                                                ^

                                                                                                                13

                                                                                                                 Cfl

                                                                                                                 C
                                                                                                                 cd
                                                                                                                4-J
                                                                                                                       O

                                                                                                                       a)
                                                                                                                       Cfl
                                                                                                                       X
                                                                                                                       W
                                                                                                                      r-

                                                                                                                       0)
                                                                                                        OD
                                                                                                       •H
       LJ   X   UJ   -I
       Z   <   J   Q.
       uj   cr   _i   z
       L5   <   O   <
       
-------
                                                                                              Section:   7.1.3

                                                                                              Version:   3.0

                                                                                              Date:        3/1/77

                                                                                              Page:        24
            -o
            o
UJ

13
            o
            o
       2
       O   O
       T   «I
           O
       ui   a
       o   «*
       o   to
       CO
                         O
                         O
                         o
                         UJ
                  o
                  o
                  CO
                  *—


                  2
                              s:
                              o
                              CO
                                     •   r\j
                                    O   —
                                    >   -D
                                    O   O
                                    z   o
                                                                                                                    0)
                                                                                                                    3


                                                                                                                    •H
                                                                                                                    4-J

                                                                                                                    C
                                                                                                                    O
                                                                                                                    U
                                                                                                               c
                                                                                                               o
                                                                                                               •H
                                                                                                               4-1
                                                                                                               ex
                                                                                                               o

                                                                                                               B
                                                                                                               3
                                                                                                               C/J
o
cr
a.
           O   O
           •>•   r
           ^   i-
           _i   uj
           o   y
           •>
           v^   Z
                  o
                  o
                              CJ
                              o
                             o
                             o
                                                                                                  S-i
                                                                                                  0)
IX.
O
0.
•a.
3
o

a

•a
       o
       o:
       a:
       o
       «t
       ^~
       CO
       UJ
       o
           O   INI
                •a.
                CO
ac    "
UJ    O
Q.    O

CO    I-
t-    uj
ac.    z:

a.    co

     to
                         UJ
                         ac.
=T
r^.
O

o-

o

ru
                   I
                  >-
                  UJ
                                  Kl
                                  CO
                                  o
                                  O
                                  o-
                                  1/1
                                  o
                                  o
                                         Kl
                                         o
                                         o-
                                         ru
                                         o
                                         o
                                                                                                                          4-1
                                                                                                                          (-1
                                                                                                                          o
                                                                                                                          PH
                                                                                                                          0)
                                                                                                                          oi
                                                                                                                    0)
                                                                                                                    s
                                                                                                                    CO
                                                                                                                           03
                                                                                                                          T3
                                                                                                                    a)
                                                                                                                    4-1
                                                                                                                    W
a:
o
co
           uj
                aa
                CD
              x
              I-
              Z

              O
           O
       cj   o:   o
       •-•   »-   to
       CE   M
       LLl   Z   CO
       X        <
       a.   u.   o
       en   o
       o
       I   CO   ••   ~
       t—   UJ   Ci   _J
           x   t—   a:
           O   aJ   UJ
                z:   >-
             •

             UJ
                  •o
                  o
                         o
                         o
                                    X
                                    a.
                         a:
                         
-------
                                                                                        Section:   7.1.3
                                                                                        Version:   3.0

                                                                                        Date:       3/1/77

                                                                                        Page:       25
           •o
           o
13
4
Q.
     o
     o

     o
     o
     o
     a
       o:
       O
                    x   O
                    X   O
                    «x   u
                 z
                 *-^
                 (_)
                 UJ
                 o
                                                                                                    13
                                                                                                     0)
                                                                                                     3

                                                                                                    •H
                                                                                                    •U
                                                                                                     C
                                                                                                     O
                                                                                                    o
       z
       o
       T
      O
      o
      m
           o
           a:
                 UJ
                 o
                 Q
                                                                                                                   o
                                                                                                                   •H
                                                                                                                   4-1
                                                                                                                   CX
                                                                                                                   O
           -
                 UJ
                                  z
                                  o
                                  01
                                      in
                                       •
                                      in
                                                                                                             to

                                                                                                             0)
                                                                                                             u
                                                                                                             c
                                                                                                             (-4
                                                                                                             a)
                                                                                                             4J
                                                                                                                   c/
                                                                                                                   o
                                                                                                                   CX
                                                                                                                   0)
                                                                                                             0)
                                                                                                             s
                                                                                                             to
                                                                                                                   S-i
                                                                                                                   n)
                                                                                                                   T3
                                                                                                                   C
      UJ
      u
               m
               ID
                 o
                 o
                       o

                       o
                       ru
                        i
                                                                                                             o

                                                                                                             a)
                                                                                                            rH

                                                                                                             |

                                                                                                            td
      I
      a.
      en
      o
       i

      <
      a.
    i
    UJ
    a
    _i
    •a.
        4
        O
               o
               o
               •f.
        I

        z
        o
                   ac.              at
                   40     tr   >o
                   Z)   I-     UJ
                   a   CD     t-
                       •o     cc
                       O     4

                   _l   -<     O   O
                   40         Z
                   »   o         ru
                   cc   -«
                   ui   o
                   t—   o
                   z   o
                                      in
                                       •
                                      in
                                                                                                    r~^

                                                                                                    a)
      UJ
      13
                   a.
                   s:
                                  «H   O
                                  to   o
                                                         117-24

-------
                                                                                              Section:    7.1.3

                                                                                              Version:    3.0

                                                                                              Date:        3/1/77

                                                                                              Page:        26
UJ

«x
a.
           o
           13
           ru
      Z   o
      O   o
      M   O
                    -   o
                    ac   o
      IT)
      UJ
       Z
       »-4
       <
       _l
       a.
       I
       o
       o
       O:
       a.
                         LJ
                         UJ
                         O
           *e

           o
           o
           IT
         (VI   ••
         O   UJ
         o   O
to             o
         II    1_>

         UJ   CO
         o   «-
~        O   HI
tO        LJ   Z
a:    o        r>
^>    «—•   1.1
as    o   •—
 •    «   «   ru
s:        to   o
     o        o
r*i    •-»
-^    a.   *\
o    n   o   ••
—i    a:   o   uj
 ac
 o
 a.

 or

 4
       O
       tx
       
            o

            u
            UJ
            o

            ru
           is
            i
                    II
                3T
                O
                tr   UJ
                I   a
                o   O
                         o
                         o
                    UJ
                    ir   ~
                IO
a

oc.
        x        to
        »-••>-
        a:   co   -J    •
        o   t—   <   z
        Z   •->   Z   >-•
                    o   —
                         o
                         o-
                         ru
                         o
                                                                                                            a)

                                                                                                            C
                                                                                                           •H
                                                                                                            4-1
                                                                                                            a
                                                                                                            o
                                                                                                           u
                                                                                                                       a
                                                                                                                       o
                                                                                                                       a

                                                                                                                       CO
                                                                                                                       •H
                                                                                                                       M
                                                                                                                       O
                                                                                                            o
                                                                                                            O

                                                                                                            I

                                                                                                            4J

                                                                                                            O

                                                                                                            s*
                                                                                                            pi
                                                                                                                       13
                                                                                                                       U
                                                                                                                       cfl
                     «I   I
                     »—   >-
                     tO   UJ
                                                                                                                        03
                                                                                                                        4-1
                                                                                                                       CO
                    UJ   CD
                    »—   -*
                    *-<   ^^
                    to   o-
                                                                                                                        O

                                                                                                                        0)
                         ru
                         I
       Z
       o
       o
           o
           >-
           I
            
                     a:
                     z
                     (—1

                     o
                                     o
                                     O
                                     o
              ru
              o
              o
              f>
              o
              o
              o
                                     Z   *> =J
                                 u>   Q.   o o o o
                                                                                                                        X
                                                                                                                       W
r~

 0)

 3
 oo
•H
                                                             117-25

-------
                                                                                                                    Section:
                                                                                                                    Version:
                                                                                                                    Date:
                                                                                                                    Page:
                                                                                                                                       7.1.3
                                                                                                                                       3.0
                                                                                                                                       3/1/77
                                                                                                                                       27
         3>   UJ
         a:   —
 o
    or
o:
UJ
Of
a
Ct
UJ
         •-«    o

         O    0
         •    Ct
         LU    1
         U    CO
         or
         =>
         O
         o    _i
         ul    O
         ">    >
         O    -^
         a:    _)
         n.    o
en

 I
ac.
o
a.
is
<
ct
o
»-•
_l
co
o

>-
a

or
*-t
•9
              ui
              a.

              to
              t—
              CC
              <
              a.
        a    ~
        O    to
                    z
                    o
                    3:
      o
      o

l_>    II

Ct    UJ
i-    O
UJ    O
3"    ' >

or    " i
o    >-
  i    •—«
O    CO
u
                    *    o
                    UJ    O
                    <    o

                    I    II
                    t—
                    CO    UJ
                    uj    o
                    I    O
                         u
                    a
                    o
                    x
                               UJ
                               o
                               Q
                               o
                               UJ
                               ^—
                               1-4
                               CO
                               o
                               o
                               o
                               LUl
                               or
CO

CO
                         or
                         o
                    z    *-•
                    <.
                         CO    UJ
                               *:
                         UJ    O
                         »-    o
                         CO    O
                               •o
                   3:
                   3
                   cr
                         CO
                         a:
                         O
        2    X   CO
        uj    O   Z    -<
        at    •-»   »-i    o
        «t    or    ••
        m    3    o
        «*    u.    o
        UJ    ~   Z    —
              cr   o
                               r\j
                               I
                               ru
                               o
                               UJ

                               o
                               o

                               o
                               o
co

o


Q

4
t—
CO
                                             cr
                                             i
                                             CL
                                             Q.
                                       o    --«
                                       z    o
                                       o
                                       <_>    \r\
                                       uj    ru
                                       co    <-•
                                             -D
                                             f\J
                                             tr
                                             UJ
                                             a.
                                       ~    cr
                                       CO    I
                                       <   Q.
                                       I-   Q-
                                       CO
                                            a-
                                       s:   —.
                                       «-«   u
                                       ac.
                                       a.   in
                                            X
                                            •^
                                            L5
        U    3"    UJ    _l
        2    <    _l    Q.
        Ut    Ct    _l    Z
        ti    <    O    <
        <    Q.    U    CO
                                            od«oooooooo    «LJ
      —.     ......................   ........       ^
           OOOOO-^OOOOOOOOOOOOC>OO*OOOOOOOO    CO_J
                                                                                                  CD UJ
                                                                                                  Z CO

                                                                                                  Q t—
                                                                                              i    J3-^    -^»^^»f\jf\jrvirufxif\jo=r(\j—.cro-D^*—.rxirorururu    ujo
      CO    O-*O*-O*i*C3OOC5OOC5CiOOO--«Of\JOC>OOOOC3OO    CD^-i
      o     •••«••*•«••»•»••••••••••••••••    2:0
           OOOOO— «OOOOOOOOOOOOOO»"OOOOOOOO    13
                                                                                                  z cc
                                                                                                     Q
                                                                                                  ^—
                                                                                                  z «
           rg ru -• o •£ -*    -«-»«f\jrvjroruru(\jOf^-^ — mo-r~--» — rvjfvjrorMfu    UJM
      r^    o-^oruc>'-»*ooooooooooo-^o*^O'Oooc3c^ooo    *-tor
      o     ..............................    oui
           00000^*00000000000000000000000    <~t t—
                                                                                                  U- »-•
                                                                                                  u. a:
                                                                                                  3 o
                                                                                                  CO
                                                                                                  ?»>-
      -o    o-*oruoo«rooooooooooo--»ooooooooooo    •-.— co

O                                                                                                UJ O
I                                                                                                =>
           fuo—»f-n=atn    rxi—«^irurvif\jfOf\irn—»i/io^-^^^>o-^-^ru*\jAjrvjro    o»—
      ITI    OOOf\JOO«OC>OOOOOOOOOOC3OCrc3OC^OOOOO       UJ
      O     ......«...»..»»».»............    Q^J
           OOOOO — *OOOOOOOOOOOOOOOOOOOOOOO    UJZI
                                                                                                  »—
                                                                                                  p •-
                                                                                                  Q.  O
                                                                                                  z  z
           ~» co «-« ru =r fu    fO-M^*f\jnjruKiroK>—..0,0 — r^Kir^».-«—.rur\j(\jf\jK\    a
      ^    OOor\IOO*OOOOOOOOOOC3OOOO*^OOOOOC3O    OQ
      O     .«....*.......«.........».....       n
           OOOOO*^*  OOOOOOOOOOOOOOOOOOOOOOO    t— Q
                                                                                                  o
                                                                                                  Z UJ
                                                                                                     :D
                                                                                                  UJ -J
           »^in»-«--<3'-i    5j*^^4ruf\ifu^r^mH^>o^T^iH^r^O'^-i<\jf\jf\jAjm    r>4
      P*\    OOOfUOO«OOOOOOOOOOOOOOCO(\JOOOOOOO    _S^-
      o     •«••••*«•»•••«»•••«•«••••«•••»    UI
                                                                                                     (J
                                                                                                  UJ ooooooo    uJ-<
      o     ..............................    >.
           OOOOOO*  OOOOOOOOOOOOOOOOOOOOOOO    «*O
                                                                                                     z
                                                                                                  (J> »-»
                                                                                                  ^  D

           -^ruineor-oo    LT>—•^irviruruKiN^f^^jt^ro.^^oo*o^»—•rorurvjrxjKt    oj
      •i    OOO—«OCO«OOOOOOOOOOOOOOOZTOOOOOOO    t-iCO
      o     •».»••«•••»•««•••«•••«»»»»»»»»    _j
           000000*00000000000000000000000    coco
                                                                                                    UJ
                                                                                                  CO t—
                                                                                                 UJ «X
                                                                                                 t— LJ
              «-»r^r*-r\iLnrvjNO^*^*r\jrurur\jr\jr\j^co^r—«^of^—» — ~-"fMr\jrur\j   *3t-»
      o    *oo-^o-oruoooooc^oooooooooLnooooooo   oo
      o    «   ..•.....•.»..».....•....•...•   k-*z
           *  ooooo.-*oooooooooooooo--«oooooooo   o*^
                                                                                                  ^
                                                                                                 •-1 ^

      >-                                                                                           * <;
      Df^cocro    *_»
      a    ooooooooo-^-^-^-^«^i-^.^-^»^-^rijAjf\jfxjrur\jr\jf\ir\jrur^    *cc
                                                                                                                                                                     S-i
                                                                                                                                                                     a)
                                                                                                                                                                     D
                                                                                                                                                                     o
                                                                                                                                                                     CU
                                                                                                                                                                     c
                                                                                                                                                                    c
                                                                                                                                                                     o
                                                                                                                                                                     a.
                                                                                                                                                                     a)
                                                                                                                                                                     a)
                                                                                                                                                                     60
                                                                                                                                                                    60
                                                                                                                                                                    C
                                                                                                                                                                    •H
                                                                                                                                                                    13
                                                                                                                                                                    •H
                                                                                                                                                                    4-1
                                                                                                                                                                    O
                                                                                                                                                                    ex

                                                                                                                                                                    cd
                                                                                                                                                                    X
                                                                                                                                                                    w
                                                                                                                                                Cxi

                                                                                                                                                ro

                                                                                                                                                r-(

                                                                                                                                                r-~

                                                                                                                                                 0)

                                                                                                                                                 3
                                                                                                                                                 bO
                                                                                                                                                •H
                                                                         118

-------
                                                                                                                    Section:     7.1.3

                                                                                                                    Version:     3.0

                                                                                                                    Date:          3/1/77

                                                                                                                    Page:          28
UJ
13
        OC
        3
        CO
              fM
              O
              UJ
              O    UJ


              O    ID    Cr
              O    ->    «*
        Z
        UJ    O
        .-I    O
        ID    —
                UJ
                o
                o
                o
              cr
              UJ
              O-
co
_i
•a
:>
CC
o:
O
UJ
CD
        o
        uJ
        •—
        Z
        U)
        a

        o
        CO
        O
        tr
        o.
                    Z
              -0
              >•    3E
u
UJ
o
                                       O
                                       ac
              X

              cr
              ru
              <
              O
              cr
           o    UJ
           o    o
                 O
     O    II    O

     tr    LU    co
     t-    Q    t-
     UJ    O    1-1
     I    LJ    Z

           UJ
              <-+    CT
              _1    O    I-
              O    —I    >-i
              >    O    CO
              X    O
                               o
                               o
              O   LU    —•
              »   I»r    O    «•
              —"   UJ    O    UJ
CO

 I
cr
a
a.
UJ
cc
C3
-
 U
 a
              Z
              O
              a.

              co
              t-
              a:
                    13
                    I
                    a
                    a
                    r
                         o    -.
                         O    O
           cc    .•
           •3    <
<    a.
>-    Q.
CO

>-    r-t
tr     •

o    •->
Z    LJ
a
LJ    in
uj    ru
co    —>
                                             o
                                             -a
                                             ru
                    UJ
                    I   ">
         o:
         a
CL    CO    O
      HI    1-1    ru
      co    tr    r-
~    >-    a    o
CO    _l    _J    —
,_    «t    u_    _
•-!    Z    **    —
z    •«          o
r>         o    sr
           ~    ru
                 a-
           H
                               I
                               >-
                               UJ
                               ^
                               o
                               o
                               o
                               4)
                               o
                                             IX
                                             UJ
                                             CL
        i-<          Z
        i—          uj    co
        LJ          JF    a:
        •«    uj    3    o
              o    ce    o
        »—    w    •—    I
        2    X    CO
        UJ    O    Z    —
        TL    —i    »i    O
                               f\J
                                I
                                       »>    tr
                                       co    I
                         tr    ru

                         o
                         z    s:
                         <    o.
                         t—    a.
                         co
                               =T
                         i-l    CJ
                         cr
                         a.    in
                               ru
         <   u.    O    <
              _l    X    »
         i    3    t-    tr
              CO    UJ    UJ
         •»         Ii-
         O-               Z
         UJ    ••    Z    »-•
              cc    o
              UJ    11    (J
         ••»->-    z
         LU    CC    _l   S
         O    <    O   -
                               UJ
                                       UJ    CC
                                       CL    UJ
                                       >-    o
                                                                                                                                                          cc
                                                                                                                                                          UJ
                            ru     ..............................     .x
                                  OOOOO^*OOOOOOOOOOOOOO-^OOOCDOOOOO    UJLJ
                                                                                                                         _J

                                                                                                                         u- a

                                  or^Ln-^^rr^>o«^-^rvirururuf\jruro-^=T=TLnc»O'.^ — «-«rururururu    z»—
                            fu    C^O-^O51OOOOOOOOOOO^^OOO*-»COOOOOOOOO    ^-«(_>
                            ru     ..............................       uj
                                  OOOOO-*OOOOOOOOOOOOOO-^OOOOOOOOO    CO_I
                                                                                                                         (J oj
                                                                                                                         Z CO
                                                                                                                         It
                                                                                                                         O I-
                                  o^5T^-*^oo>o*^^^rururururururoruruo-O3'O-^*^-^rururururu    ^uj
                            —    OO.-iOfOOOOOOOOOOOO— .O-4O-.OOOOOOOOO    UJ bJ
                            ru     ..............................    rr7
                                  ooooo^.ooooooooooc>ooo-^oocsooooc>o
                                                                                                                         U. I-
                                                                                                                         00
                                                                                                                            z
                                                                                                                         cc
                                  o^ru~-3o-c-*.— rururururururururuu")sO-«£J.-«»^-*rururviruru    uJO
                            O    OO— OruOOOOOOOOOOO— .O-^O-^OOOOOOOOCS    (J)»-«
                            ru     ..............................    5:0
                                  OOOOO-^OOOOOOOOOOC»OOO-^--*OOOOOCDOO    ^>
                                                                                                                         2 cr
                                                                                                                            o
                                                                                                                         f—
                                                                                                                         z <
                                  oro-^-^*Lnor^'^^«rurururururururu^.c>>o— *m—«-~— •rururururu    uJ»-t
                            o    oo«o«ooooooooooo-«oruo— .ruoooooooo    •—rr
                            «     ..............................    OUJ
                                  OOOOOOOOOOOOOOOOOOOO— '-^OOOOOOOO    »— 1»—
                                                                                                                         u. •— •
                                                                                                                         u. cc
                                                                                                                         o o
                                                                                                                         to
                                  OK*-*v-ir>o*eo-*~*rurururvjrurijru»-*'~— *inco     *-«^^--^rururururu    ^ >-
                            to    oo-*ooooooooooooo~*oruoo     ooc^ooooo    i-*
                                  — mo-— .3JJO-— — •rururururor'iruo.-.i-'iirm    ru-»-«rururuKiru    QI-
                            r^    ooooocrooociocDoooooorvicso    oooooooo       LU
                            ^4     «...•.•....••••.•...•     .*...»..    £>UJ
                                  OOOOOOOOOOOOOOOOOOOt^-^    OOOOOOOCD    UJS.
                                                                                                                         H-
                                                                                                                         =1 *~
                                                                                                                         a. o
                                                                                                                         s z
                                  — **o*o~Kim^-*.— rururururOK>-'»co-*ru5rru    ro^^^^rururoro'O    O
                            -O    OOOOOO--"OOOOOOOOOOOfVIOO«OOOOOOOO    LJO

                                  OOOOOOOOOOOOOOOOOOOO.^*  OOOOOOOO    *— Q
                                                                                                                         o
                                                                                                                         Z UJ
                                                                                                                            o
                                                                                                                         UJ -I
                                  »*>*c:3-~*»*>t*.o-*— «rurururu*'>H^«-*in — — •;»-*    sj-^-^rururuKifi    "P•
                            _     ..............................    a.
                                  OOOOOOOOOOOOOOOOOOOO-"*  OOOOOOOO    ^UJ
                                                                                                                            CD
                                                                                                                         LU •*
                                                                                                                         L3 CC
                                                                                                                         •a. uj
                                  ST>O^ — K^K»o*^^«rurururuKipo-.^fOC3=T^    LrA-^^rururui^fO    ac>
                            »    ooooocOfOoooooooooooruor/.«oooooooo    uJ«r
                            .*     ..............................    >.
                                  OOOOOOOC3OOOOOOOOOOOOO*  <^OOOOOOO    -tCD
                                                                                                                            2
                                                                                                                         13 •-<
                                                                                                                         Z O

                                  cr»--m-->oopo— .— .rurunjro^irn— irutncoi^o    LO-<-^rururuHiKi    Q_J
                            to    oooooo^ooooooooooo-^-oco*  oooooooo    »-«co
                            — .     ..............................    _j
                                  OOOOOOOOOOOOOOOOOOOC>O*  OOOOOOOO    COCO
                                                                                                                            aJ
                                                                                                                         CO I-
                                                                                                                         UJ <
                                                                                                                         H- LJ
                                  >occ;T-»=Tor-- — — ---i
                            ru    ooooooinooooooooooo— «o-o*ooooc>ooo    u>o
                            — .     ..............................    MZ
                                  OOOOO-^OOOOOOOOOOOOOOO*  OOOOOOOO    Qi-1
                                                                                                                         T
                                                                                                                         •-i *:
                                                                                                                            z
                            >-                                                                                           * •«
                            <    ,^ru^:^m>or--cocT-o-*ruM"t=TLr».oi^eoo*o-*r\j*n5TLn-or-coo-o    *_l
                            O    OOOOG>OOOO^*^-*— «^^^*^^-^«^^*^
                                                                                                                                                     OJ
                                                                                                                                                     3
                                                                                                                                                     C
                                                                                                                                                     •H
                                                                                                                                                     4-1
                                                                                                                                                     c
                                                                                                                                                     O
                                                                                                                                                     U
                                                                                                                                                                   0)
                                                                                                                                                                   4-1
                                                                                                                                                                   c
                                                                                                                                                     O
                                                                                                                                                    PC

                                                                                                                                                     (U
                                                                                                                                                     a
                                                                                                                                                    o
                                                                                                                                                                   o
                                                                                                                                                                   a.
                                                                                                                                                                   0)
                                                                                                                                                     a)
                                                                                                                                                     t>o
                                                                                                                                                                   00
                                                                                                                                                                   c
                                                                                                                                                                  •H
                                                                                                                                                                   4-1
                                                                                                                                                                   O
                                                                                                                                                                   cfl
                                                                                                                                                                   X
                                                                                                                                                                  w
                                                                                                                                                                   CNJ
                                                                                                                                                                   OJ
                                                                                                                                                                   V-i
                                                                                                                                                                   00
                                                                          118-1

-------
                                                                                                                Si'I'I  i 1>1!

                                                                                                                Vers i on

                                                                                                                Date:

                                                                                                                Page:
                                                                                                                                   1.0

                                                                                                                                   -5/1//7
                                                                                                                                   29
4
a.
              o    >-   i-
              •a    a   o
              —    4   *-
              O    ^
              o    or
              _«    CD   ••
              O    UJ   OC
              O    U-   4
              O         UJ
              3         >-
                              o
                              o
>
ac.
rr
uj
z
•-«
o
a:
O
a.
cs
4
cc
         a:    ••
         O    >-
         t—    UJ

         z
         o    o
         y    i.
              o
         uj    or
         O    4
         O    CO
         CO
        CJ
        UJ
        —)
        o
        a:
        Q.
              UJ
              z
        

      UJ    CO
      O    t-
      o    »-.
      u    z

      UJ
      f—

      to    o
           o
                   t—    O    UJ
                   HH    O    »—
                   T:         i->
                   mam
     o    —
     o    o
O   UJ
o   tr    ••
144
                   £   -.    4

                   co   tr

                   co   o    tr
                                                                                                                                  a:
                                                                                                                                  UJ
                                            -^    «
                                            i\j    *
                                                                                                                                co _i
                                                                                                                                L5 UJ
                                                                                                                                Z CO
                   •a
                   Z
                   4
                              CO
                                      ac
                                      r>
                                      o
                                                                                                                               «x UJ
                                                                                                                               UJ UJ
                                                                                                                               O D
                                                                                                                                  Z
                                                                                                                               a:
                                                                                                                               UJ O
                                                                                                                               CD t-i
                                                                                                                               Z O
                                                                                                                               3
                                                                                                                               Z CE
                                                                                                                                  O
                                                                                                                       CJ UJ
                                                                                                                       t—« H-
                                                                                                                       U. M
                                                                                                                       u. ar

                                                                                                                       OT

                                                                                                                       « 4

                                                                                                                       o Q-
                                                                                                                       »— CO

                                                                                                                       UJ O

                                                                                                                       O 1-
                                                                                                                            OJ
                                                                                                                            3
                                                                                                                            C
                                                                                                                            •H
                                                                                                                            4-J
                                                                                                                            C
                                                                                                                            O
                                                                                                                            U
                                                                                                                                               J-i
                                                                                                                                               QJ
                                                                                                                                               3
                                                                                                                                               O
                                                                                                                                       (M

                                                                                                                                        I

                                                                                                                                       4-1

                                                                                                                                       O
                                                                                                                                       Pu
                                                                                                                                       0)
                                                                                                                                               OJ
                                                                                                                                               6D
                                                                                                                                               CO
                                                                                                                            oo
                                                                                                                            C
                                                                                                                           •H
                                                                                                                           -a
                                                                                                                                              u-l
                                                                                                                                               o
13
z
•-«
o
4
o
a

(X
        z   u.
        4   _»
        _J   o
                        CO    UJ
                              *:
                        uj    -•
                        I—    O
                                                 ru
                                                  •
                                                 o
        tr
        3
        co
             X
                   CO
tr   uj    uj
uj   o    a.
x   z    4
a.   i-i    »-
co
O   C3
3:   z    ••
I-   «    o
4   _]    O
     •i    X
 i    a    i-
     co    uj
4         S
Q.
UJ   ••    Z
     tr    o
                        to
                        cr
                             f\J
                              I
          3
     ru   i^
     o   ru
          .o
          o


     4   O
     >   O
     tr   —

     <—   o
                        (J
                        Z
                                           in
                                           o
                                                         ru
                                                          •
                                                         o
                                                                              CO
                                                                               •
                                                                              o
                                                                                                                               Q. O
                                                                                                                               s: ^
                                                                                                                               a
                                                                                                                               LJ O

                                                                                                                               f- O
                                                                                                                               o
                                                                                                                               Z LU
                                                                                                            > UJ
                                                                                                               O
                                                                                                            UJ 4
                                                                                                            o a
                                                                                                            4 UJ
                                                                                                            tr :>
                                                                                                            UJ 4
                                                                                                            >
                                                                                                            4 C5
a _i
I-H CO


CO CO
   uj
CO I—
UJ 4
t— i_J
4 «-»
LJ O
                                                                                                                            Ou

                                                                                                                            cfl
                                                                                                                            X
                                                                                                                           w
                                                                                                                                              (M
                                                                                                                                               I
                                                                                                                                              P~-


                                                                                                                                               01
                                                                                                                                               bO
                                                                                                                                              •H
                        a.
                        TL
                                           4    ~ <
                                           O    O i
                                                                       118-2

-------
                     Section:   7.1.3
                     Version:   3.0
                     Date:      3/1/77
                     Page:      30
UJ
a
co
^
cr
UJ
»—
~z.


K%



O
u_

UJ

^J
cr
UJ
_
LJ
Z
Ul
L5
CD
O
0
O
0
o
UJ
o
•a
O
or







X
1—

o
3-
i
UJ

_
a;
UJ
tr
4
:D
a
CO

CO
z
o
1—


•ft
CO
I—
>-l
z
Z)













ul
t—

J
^
LJ
»-«
t—
CC
4
Q.

O
UJ
_j
i—
fc-
UJ
CO
_l
4
^
o



••
CE
UJ
ft—
UJ
I
4
cc
J
MONTH; MARCH

4
U
O.
^
^,

LJ
or
t—
UJ
I
r-i

^
CE


»•
O
o
X
r—
UJ
s:
co
r^
CO
>-
i
4
Z





















CE
4
"-3

•*
H-
UJ
ac

o
CO

^
o
o
X

UJ


z
o
!_•
V—
LJ
UJ

_J
0
o-
ac
UJ
o
o
UJ
o
0
LJ
UJ
>—
t -i
CO

—
o
o
o

II

Ul
o
o
LJ

^(
UJ
CE



^
a
4
LJ

ft
Z


31

II

Ul
H-

f_
CO


**
UJ
t—
1— t
CO







CO
tx
3
o
I

m
o

^4
_J
•
ul
^c


5T
ft»
ff\
,
UJ
v'
ft
4
a
UJ
»—
H^
« a:
UJ LJ
_»
u. o
»~4
Z 1-
n LJ
U)
CO -J
O UJ
Z CO
!-«
O 1—
4 Ul
Ul UJ
K 7

U. 1—
0 0
Z
CE
UJ O
tn v-4
2: o
r>
^ ce
o
»—
Z 4
•-!•«« co morom^^ *o oro ^UJH»<
TO*^-^. ru ruru*^^-«ru ru ru*^ ^^n-ict
rxjftft ft ••••• * •• *LJuJ
OO O OOOOO O OO OH-»»^
U. H-l
u. a:
o <_)
CO
inm ^~ 'Or*-&*f'iLn co i~- — « mz>"
ooo ~* ruruv**-**"* ru ruru ^.i— *4
ruftft • •••»• • •• » __)
OO O OOOOO 0 00 OOQ-
1— CO

Ul O
in in •-• *o t^ ^ t^ ru m i^ m ^ c^ H~
r-oo *-t — 4 ru ru «-« *^ ^* ruru — * UJ
— , . . . ••... . ». ftOuJ
OO O OOOOO O OO OUJ£
i—

a. o
s; z
KiftO ^«- or^-h^-r^o fi i**-o CDO
^ o o o •"• *^ ru ru f\j »• t ^* to t*\ i i o
v« •* • •*•»• » •• • »— *
OO O OOOOO O OO O I— O
CC 0
ra z ui
O 3
X ul _J
ruru a -oo>OsOtr» co or^ r«-i>«i
~*oo o Oft-ft — ruru *^ -^^ru ^-j^^
»*•• • ••••• • •• »4
oo o ooooo o oo o:>uJ
IS
UJ 4
L5 Ct
4 UJ
•-.•-. K> ^"f^-ft^f'-CO CO  7UJ4
Oftft ft ••••• « •• »^>
OO O OOOOO O OO O4C5>
^
O H-<
z o
H-t H-<
— «*^ ru foinr^tnru ro =»-o -~o_j
moo o ooo^^ru KI oru ^H-«CO
Oft* ft ••••• ft •• ft_J
OO O OOOOO O OO OtOU}
ul
CO 1—
Ul ~ * <1
4 —*rup'i^i/iois»coo'Oft*ruKi^ij~*>or~3DCfo-^rup/>^Ji/>>o * „ J
(Continued)
, — i
cfl
(-1
cu
4-1
c
M

V(

O
ffi

CO

1
1
4-1
V-l
O
ex
a)
(5

.
00
cO
J-4
OJ


-------
                       Sect ion:
                       Version:
                       Date:
                       Page :
7. 1. 3
3.0
3/1/77
31
UJ
L5
-
t—
«— t
1
H
**
















DE MONITORING
o
CO
•— t
tx
Ul


,.
I—
LJ
UJ
•-5
a
tr
a.












^
z
i— i
i
o
tr

^_j

X
»—
tr
o
z


^
UJ

^
t-
co






Ul
LJ
Z

1
1
*_,
UJ

tr
=>
CO

LJ
»-*
tr
UJ
x
a.
CO
o
i
*—
•a

1

-
LJ
^
UJ
L5
-D
O
0
O
o
o
o
a
UJ
0
O
cr
CO




,-*
CO
tr

03
1
I

~
O
_4
^
LJ

L9
UJ
O
in
f\i


r*^
y
•v
CO
z:
LS
1



••
CO
^~
t-H
Z

























UJ
0
^-*
X
o
z
o
5-
z
0
to

r-f
to
ec
UJ
cv
eo
•-«
o
?•
o
z


««
o
o
1.
*-
UJ
z

CO
f— 1
CO
y-
_l
<<
z
4




















_ I
«x
t—
z
UJ
^
^
cr

eo
z
t-H

^
O
o
I
t—
UJ
I

z
o
*~4
1—
LJ
Ul
J
_J
O
LJ
=1
O-
cr
UJ
o
o

II

UJ
o
o
LJ

UJ
1—
•-«
eo

t
Q
0
o

II

UJ
o
o
LJ

<
UJ
tr
<


^^
•
tr

LJ

•
z
^^

^
PO

II

UJ
t—
^
t—
co


••
UJ
*~
*-t
CO







CO
tr
^
o
X

sy
o

„
*

ct
UJ
f—
^
HH

LD
^
»-«
J
Q.
5
CO
LU
O
LJ
3:
o
UJ
o
in
o
UJ
o
0
0

eo
t—
•-4
^
^


— »
O
o

•*
UJ
t—
^^
CO


*-•
0
C3
O


••
<
UJ
tr
^


rO
in
o
— ^
-^
V4
0

ru



••
rO
1
>_
UJ
y


^
o
*^
o^
^~
0


••
ru
i
>-
UJ
^


O"
f-
CT
JD
0
-
UJ
ANDARD(S)
t—
CO

>-
tr
0
o
z
0
o
UJ
CO


































^^
CO
v^
0
tr
«
o
z
«x
>—
CO

>-
tr
4
s:
^-i
tr
Q.






















UJ
CL

*~
•
er
>-
tr
UJ
CL
X
<1
T
•
tr
X
y
a
a.

in
r\


,-*
LJ

in
ru
^^

Kl
T
•**
IS
D

O
O
o
«
o
5T







•
tr
>-

tr
UJ
a.

•^

^
X
«i in in •-« »o t^ j)
T KIOO-^*-» ryrvj
rvj o o o o o o
• • • • • • •
cc o o o o o o
X

eo
fO H*I r^o- o t*~ r^-
o o o o — * — « r\j
SL *-tOOOO OO
Q- • * • * * •
0. o o o o o o^

o*

f\l f\J Z3 ^Q O *O
i/1 CD O O O f» —•
y-* «-
AJ o
*-^ X
— » -^ ro ^ r- -*
Kl *-»OOOO O —
Z <~.oooo oo
x. « » • • • •
O o o o o o o
^

o
Q _ m ^j- ^*. m co
O ^OOOO OO
•* OO^OOO OO
0 • » " • » *
,-t O O O O O O



in m o
ro * o o — • * «
0*000 # «
-J * • • * * *
— « ^
U. O
1— 1
^ »—
t-. LJ
UJ
to _j
C5 UJ
^ CO
t— t
O *-
< UJ
UJ UJ
rr v

u. t-
O 0
2-
cc
UJ O
CO *-»
5. O
=5
2T a:
O
t —
Z' -
»-H f\Jin t*» moo QI —
*-• «-4 «-4 ru ru <*-* UJ
OOO O OO QLiJ
• * * * * * LjJ 21
O CZ> O O O O t—
z> *—
OL O
^ ^
*~~ o m r- o o O
ruOJ'-' —* rO K> LJO
ooo o o o »-*
• •» • • » ^_ o
ooo o o o o
2T UJ
o
UJ -J
J5inco o r-f- o-a
f\JOJ-H — • (^J^O 	 I ~Z>
ooo o o o  UJ
o o o o o o o
UJ *I
t_3 or
 ^ro o:^>
^-•rMfU O K>^ uj •
• •• • • • <[ O
ooo o o o 2
o *~*
2: o
fOinco ^ r-*-» o_j
«-t*^r\j o Kifi I-HCO
OOO O CD O 	 1
*•• • ••coco
ooo o o o ui
to *—
uj 
^O & i-o -» V
J?
* 

J~i
di
4J
C
M

Vi
3
O
Pd



-------
                                    Version:

                                    Date:

                                    Page:
                                3.0

                                3/1/77

                                32
UJ
Cf)
<
Q_














to
_J
<
t>
o:
UJ
»_
Z
M_|

r^



CC
O
li_

UJ
t9
«t
ct
UJ
>
4
CD
^
^^
o

_i
CO

1

>—
cc
0
CL
Ul
cc

Ul
C3
CC
Ul
*
C3
Z
•-t
o
t— 1
_l
CO
^
^
^
Q

>-
H-
#— 1
_l

Z)
CT

CC
*_t
4






















LS
_
CC
o
»—
»-«
z
o
T

Ul
£i
o
CO
a
Ul


••
h-
LJ
Ul
•->
O
cc
CL











•a
z
r* I
i
0
cc
<
LJ

X
H-
or
o
z


••
Ul
»—
h-
CO


Ul
LJ
2
if
_J
_l
»-<
Ul
;>
cc
^>
to

o

cc
UJ
X
a.
CO
o
•s.
t—
*4

1

<
a.
UJ


V
LJ
2
Ul
LS
<
OOU06
^*
o
o
0
Kl

••
>-
Ul
₯

0
-%
to
cc
.
<
y

••
X
^
6
X
















z-
»^
Ul

»
_l
<
z
itf















cc
ul
_l
co
CO
^J
ED

CO
<
C3


••
O
O
X
I—
aJ


Z
O
»-l
o
Ul
_J
_J
o
LJ
1
w
a:
-






•
•
•>
_•
0
o

M
UJ
o
o
LJ

UJ
*—
t— *
en


.^
o
o
0

II

u»
o
0
ft

Ul
cc
^


/-^
•
cc
•a
LJ

•
Z
Vdf

cr
Kl

H
Ul
^
CO

Ul
»—
»— t
m






CO
cr
•^
0
i


cc
Ul
^.
z
»-*

L5
2
1
CL
y
«i
CO
3
••
Ul
o
o
LJ
_l
?
LJ
Ul
0

in
0


••
Ul
O
O
LJ
CO
•—
t-4
2
Z)


~*
O
o


••
Ul
t—
*-«
CO


•-^
o
o
0

••
-
Ul
•^£_


^•
^*
u"»
•Q
o
<
^4
0
o
«4
o
0
o
=J
^

..
^«
t
>-
bJ
^





































































rxi
f\> 0
ru o
o
•



V*
,0 o
^* o
o
a: •
^
o
X
9**
0 O
—• o
o
•




3 #
o *



>-
o o
 o o o —
 o o o o
 o o o o
 o o o o
 o o o o
 o o o o
 — (M it J3
 0000
 o o o o
 o o o o
    ryj a r-~
  « o o o
  « o o o
  « o o o
                     •o •o n o> o
o o m o o
o o rvi o o
-< r^ o  in HI
o -* -^ in o
o o ;T ^ o
o o »» o o
  oo ru =i to
  -^ rvj ^r o
  o r«- co o
  o o -~ o
                   ru
                   o
                                                         O;
                                                         UJ
                                                       • cc
                                                      UJ LJ
                                                      U UI
                                                      2 CO
                                                      t-H

                                                      O I-
                                                      •^ ui
                                                      UI UJ
                                                      n:
                                                      ui o
                                                      CD *H
                                                         cc
                                                         o
                                                      <-, CC
                                                      LJ LU
                                                      U. CC
                                                      3 LJ
                                                      CO
                                  O (X
                                  »— to
                                    •"^
                                  ill Q

                                  13
                                  O >-
                                    UJ
                                  Q LJLJ
                                  Ul £
                                  >—
                                  Z3 I—
                                  Q. O
                                  5: z
                                  o
                                  LJ O


                                  1- Q
                                  O
                                  2 Ul
                                    Z)
                                  Ul _1
O   4
o   r> ui
 •     L5
     Ul 1
     cs or
     ^ UJ
o   cc >
^   ui 
o   «i o
 •     2
-*   Q _J
^   "-• CO
O   _l

O   CO CO
 •     Ul
     to •—
     Ul 1

     t— LJ


*    LJ O
                                               01
                                               3
                                               C
                                               •H
                                               4-J
                                               c
                                               O
                                               U
                                               >

                                               0)
                                               J-l
                                               a
                                                                    P
                                                                    O
                                               ^D


                                                I
                                                S-i
                                                o
                                                01
                                                00
                                                S-i
                                                0)
                                                                    •H
                                                                    i—I
                                                                    C/3
                                                                    I
                                                                    w
                  CN


                  CO
                                                                    M)
                                                                    •H
118-5

-------
                                                                                                  Section:    7.1.3

                                                                                                  Version:    3.0

                                                                                                  Date:         3/1/77

                                                                                                  Pane:         33
            -O
            O
<
Q.
            o   r>
            O   "5
                          UJ
                      ••£>
                      a:   o
                                      IE
                                      UJ
                                      a.
       13        I        I           «t
       Z        t-        «           3-
       1-1        z        o
       a:   ~    o        uj            •
       O   >-    3f        O      ^   IT
       t—   UJ                    CO   X
       .-.   x:             ru      ~
       z             •   °      o   =r
       O   Q         •          oc   rvj
       y   <         •          <
            O        -   ~      Q
       O

       O
                 l->
                          C3

                          O
                                 -

CO   UJ
                                 (/)   I


                                 03

                                 tr   -
                                                                                                                                   UJ
                                                                                                                                o uj
                                                                                                                                ujX
                                                                                                                                I_


                                                                                                                                Q. O
                                                                                                                                s: 2:
                                                                                                                                O
                                                                                                                                O Q
                                                                                                                                   „
                                                                                                                                t— o
                                                                                                                                            W)
                                                                                                                                            C
                                                                                                                                            ^
                                                                                                                                           £J
                                                                                                                                           ^
                                                                                                                                           '"
                                                                                                                                           >— I
                                                                                                                                           CO


                                                                                                                                           M-j
                                                                                                                                            Q


                                                                                                                                            m
                                                                                                                                           _5
                                                                                                                                           "
                                                                                                                                            Pi
                                                                                                                                            6
                                                                                                                                            n)
                                                                                                                                            X
       Ul
       >
       a
       3
       co        z   to
                M   a:
                co
                                 >-    ^*

                                 CC«
                                 oc    <_>
                                 a.
                                                  r\jooooo-»
       W
       o
       -*LD
       ••»-»-   z
       ^   UJ   LJ   ^~*    ••
       (jyui-J-^
       Z<_lQ-I
       uJa:-iZ>-
       (j   «t   o   *t    uj
       <   OL   o   co    ac
                                             cr
                                             3
                                             O
                                             X
                                                  O«OOOOO~*
                                                                                                                                   UJ
                                                                                                                                tO >-
                                                                                                                                uj <
                                                                                                                                t— 1_>
                                                                                                                                <>— i
                                                                                                             *««*UQ
                                                               118-6

-------
                                                                                                          Section:
                                                                                                          Version:
                                                                                                          Date:
                                                                                                          Page:
                                                                                                                            7. 1.3
                                                                                                                            3.0
                                                                                                                            3/1/77
                                                                                                                            34
             o
             CD
19
1
a.
             o
             o
             o
             f\i
                       cc

                       UJ
                       >-
                             O
                             LJ
CO
_1
«x
>•
        O
        Z
        r>
        o
        a:
        CJ
             sr

             o
             O
             a:
                             LJ
                             UJ
                             O

                             tr
                             o
                             o
                             o
                                               OOOOOOOO
                                                                                                                  CO J5 -O CT> .O

                                                                                                                  O O O O O
Of
o
C9
«
cc
o
1-1
_l
CO
cc
O
a.
L9
<
X
-J
CO
<
O
o

a:
        O
        a
        n.
LJ
2
<
                        O
                        O
                       t—    o
                       »-l    O
                       CO
                                                                                                                 • oo -o -o IP

                                                                                                                  o o o o
             u_   i-i   o
                  f   O
                CO   ~*
          I-l   UJ
uj        to   z
Z   ••   >-   •-«
•1   CO   _1   f
<   t-   •<   X
s:   «-t   z   «-

     o        o
—             f\J
        •a
        t-              UJ
        CO              I-
                        ^>

                                                                                               » o o o o
                                               0*000000
                                               OOOOOOOO
                                                                                                                -« CO -O -O U1 ^)

                                                                                                                ~* o o o o o
                                                                                                                — O O O O O
                                     2
                                     o
                                                                                                                  co -o -o in
                                                                                                                   •  .  •  •
                                                                                                                  O O O O
                                                                                                                                   . ct
                                                                                                                                  UJ LJ
                                                                                                                                  i-l LJ
                                                                                                                                     UJ
                                                                                                                                  to _)
                                                                                                                                  O UJ
                                                                                                                                  o >-
                                                                                                                                  «xuj
                                                                                                                                  UJUJ
                                                                                                                                  CD »-t
                                                                                                                                  TO
                                                                                                                                     a:
                                                                                                                                     o
                                                                                                                                  1-1 a:
                                                                                                                                  O UJ
                                                                                                                                  u. a:
                                                                                                                                  =3 LJ
                                                                                                                                  to
                                                                                                                                  O X
                                                                                                                                  f— CO
                                                                                                                                  O UJ
                                                                                                                                  UJ £
                                                                             i -« ru
                                          >-     *•••••••••••••
                                          <<    OOOOOOOO**—***—*-*~4
                             o

                             o

                             o
                                                                                                                                  CL O
                                                                                                                                  s: z
                                                                                                                —* CO >O «O L/^ >O    O
                                                                                                                 ......   LJO
                                                                                                                —. O O O O O       •-<
                                                                                                                                  •— Q
                                                                                                                                  O
                                                                                                                                  Z UJ
        k-    O
        cj    —   cc

             X   _)
        _l    O   cV
        «t    cj   3:
        LJ    ~   «»
        ^1         CO
        13    X        >-
        O    UJ   uJ   _J
        _J    Q   Q.   1-1
        o    z   <   <
        cc    *•<   ^—   o
        o
        UJ    (J
        H-    Z   >.   ~
        UJ    ^**1   O   _l
                       or     . *
                       Q.    O *
                       •a      «
                                                                                                                 •« « -o i^

                                                                                                                 i O O O O
                                          cc
                                          •<
                                          3:
                                                                                                                  CO  ar
                                                                                                                                  «i uj
                                                                                                                                  a: :>
                                                                                                                                  UJ «
        CL
        UJ
             O   l-
             CO   UJ
                  s:


             CE   O
             cc
             «t
             CL
                  O
                  LJ
     cc
     UJ
     t—

     *-1


     z

     —I
     CL


     CO
                             o
                             CD
                             O
                             O
                             f\J
                             I
                             >-
                             UJ
                             ^
                                          -a    *
                                          ~j    *
                                                                                                          • ^) -£l           O  I
                                                                                                          •  .  •           H-l CO
                                                                                                          • O O           _!
                                                                                                                          CO CO
                                                                                                                             Jj
                                                                                                                          CO •—
                                                                                                                          UJ <
                                                                                                                          >— LJ


                                                                                                          >.....   LJ O
                                                                                                          i O O O O O   •—i Z
                                                                                                                          O M
                                                                                                                          Z
                                                                                                                                               -d
                                                                                                                                               0)
                                                                                                                             C!
                                                                                                                             O
                                                                                                                            u
                                                                                                                                               cfl

                                                                                                                                               t-i
                                                                                                                                               cu
                                                                                                                                               4-1
                                                                                                                                               C
                                                                                                                                               Q

                                                                                                                                                I
                                                                                                                                               V-i
                                                                                                                                               O
                                                                                                                                               ft
                                                                                                                                               O)
                                                                                                                                               M
                                                                                                                                               03
                                                                                                                                               M
                                                                                                                                               0)
                                                                                                                             60
                                                                                                                             C
                                                                                                                             •H
                                                                                                                             13
                                                                                                                             •H
                                                                                                                                               M-l
                                                                                                                                               O

                                                                                                                                               0)
                                                                                                                                               t-i
                                                                                                                                               cx
                                                                                                                                               w
                                                                                                                                               CM
                                                                                                                                                I
                                                                                                                                               CO
                                                                                                                             r-«

                                                                                                                             a)
                                                                                                                                               •H
                                                                                                                                               P-i
                                               OOOOOOOOO
                                                                    118-7

-------
                                                                                                  Section:    7.1.3

                                                                                                  Version:    3.0

                                                                                                  Date:         3/1/77

                                                                                                  Page:         35
            f\J
            O
            O
            K>
       Z   O

       O   O
       *-t   O
       CO
       UJ
            O
            a:
       a.
       3:
       D
       O
       X.
       a.
-
I
UI
Q
_l

              fw
              o
              f\J
              o

              o
              en
          u

         UJ    *-
         I—    r*l
         •a    I
         >—    >-
         CO    Ul
                          o
                          o
                          o
                          o
                          o
                          (\J
                          I
                          o-
                          sr
                          o
                                             o o
                                                2
                                             IT
                                             uj in
                                             CD *-*
                                             s: o
                                             ^
                                             z or
                                                a
                                             >—
                                             2 •«
                                             UJ «-•
                                             U. IT
                                             13 O
                                             CO
                                             O O.
                                             t— co
                                 o
                                 3T
                                                         O UI
                                                         UJ Z
                                                         o
                                                         (_> O
                     «.
                     •>•
                     !T
                     UI
         a
         X
         <
         CO
     f\J
     O
     o
                                             O DC
                                             < UJ
                                               C3
                                               Z
                                                 O _l
                                                 —1 CO
                                                 _l
                                                 CO CO
                                                    UJ
                                                 co •-
                                                 UJ 1
                                                 >— CJ

                                                 CJ O
                                                 •-t 2
                                                 a 1-1
                                                 z
                                                                                                                           01
                                                                                                                           OJ
                                                                                                                           4-1
                                                                                                                           J-l
                                                                                                                           O
                                                                                                      0)
                                                                                                      60
                                                                                                      n)
                                                                                                      S-i
                                                                                                      0)
                                                                                                                           GO
                                                                                                                          13
                                                                                                                          •H
                                                                                                               O

                                                                                                               0)
                                                                                                               rd
                                                                                                               X
                                                                                                                          CXI
                                                                                                                           I
                                                                                                                          (JO
                                                                                                                          •H
                          UI
                          UI
                                          o o o o o
                                                               118-8

-------
                                                                                                      Section:    7.1.3

                                                                                                      Version:    3.0

                                                                                                      Date:         3/1/7",
                                                                                                      Page:         36
            -o
            o
CS

                    O
                    O
                                            in      M
                                            o     • a
                                            O    UJ O
                                       O
                                       z
                                     o
                                     o
19
Z
CO

 I
a:
o
a.
<
z
       o
       IX
u

X
                 O
                 I
     O   5"
     :>
     ^-^   z
            z   s
            O   M
            tr   ••
            uj   a
            o.   o
                 x
            co   i-
            >-   UJ
            z   s;
            <
            a.   co
                 •-*
                 in
                                                 co _)
                                                 u UJ
                                                 Z CO
       or   co
       O   i-
       z   -•
                    UJ

                    *-•
                    CO
                           o
                           o
                           o
                           UJ
                           ct
                           o
                           o
                           o
                           -
                                                 o o
                                                   z
                                                 a:
                                            M    UJ O
                                       o.   f»-    CD >—
                                       uj   o    z o
                                       CO   O    O
                                             •    Z LC
                                                   O
                                    CO   UJ *»*
                                is   «   1-1 a:
                                r>   o   u UJ
                                «   o   1-11—
                                                 CO
                                                 Z >-
                                         o a.
                                         ^- co
                                                                                                                                 T3
                                                                                                                                 (D
                                                                                                                                 3

                                                                                                                                 •H
                                                                                                                                 4-1
                                                                                                                                 c
                                                                                                                                 O
                                                                                                                                 U
                                                                                                                                 c
                                                                                                                                 M
                                                                                                                                  Vi
                                                                                                                                  O
                                                                                                                                  cx
                                                                                                                                  0)
                                                                                                                                  0)
                                                                                                                                  M
                                                                                                                                  cd
                                                                                                                                  M
                                                                                                                                  Q)
                                                                                                                                  oo

                                                                                                                                 •H
                                                                                                                                 13
a.
UJ
o
»—I
_J
CO
o

a:
UJ
>•        or
or   z    uj
=)   UJ    _1
CO   U    CD
     O    CD    >-
o   or    ^    _i
M   >-    CD    X
K   !-•         •-
UJ   Z    CO    Z
X        •«    0
a.   u.    a    Si
co   o
a
2:   to    •*    »
            UJ   O
            Q   O
            •-t   X
            X   I-
            CD   uJ
               CE
               uJ
               >-
               z
       z
       UJ
       o
            <   0    <
            O.   LJ    CO
                           o
                           o
                           o

                           o
                           I
                           >-
                           UJ
                           x:
                   t^
                   •i
                   •o
                   o
                   «
                           O
                           o
                    I
                    >-
                    UJ
                    x
                                       or
                                       a.
                                        uj
                                             •     u
                                                 uj <
                                                 o cc
                                                 1 UJ
                                            CO   CC >•
                                       a:    IM   uj «i
                                       «i    o   >•
                                       s:    o   « LS
                                             •     z
                                                 O •-!
                                                 Z O
                                                 l«« 1-4
                                            CO   0-1
                                       m    ru   >-< co
                                       UJ    O   _1
                                       u.    o   co co
                                             •     uJ
                                                 CO t—
                                            «    o o
                                            *    >-i Z
                                            *    Q »-i
                                                 z
                                                                                                                                        M-l
                                                                                                                                         O
                                                                                                                                  cfl
                                                                                                                                  X
                                                                                                                                 W
                                                                                                                                 CM
                                                                                                                                  I
                                                                                                                                 ro
r-

 0)

 3

•H
En
                                "H    O
                                CO    O
                                                 « _»

                                                 « CO
                                                                 118-9

-------
                                                       Section:    7.2
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       1
7.2  AQDHS-II SLIDING AVERAGE PROGRAM


The Sliding Average program of AQDHS-II computes the values of the

sliding average for arbitrary intervals selected by the user.  The

program performs these calculations on  data contained in a sliding

average answer set generated by the Retrieval program.  The sliding

average is computed for the data values without regard to the

decimal code.  The formula used for this computation is:

                 i

     S± -  M   2.7  Rj
where:


     S =the i   sliding average

     M =the interval over which the average is computed

     R =the reading value

     j =index to the position of R in the series of all R's


The sliding average is placed in a Reading position in an output

file such that it is composed of that Reading plus the (M-l) immediately

preceding Readings.  All reading positions in the output file will con-

tain a computed sliding average value, provided a sufficient number of

readings were contained on the master file.   If a sliding average for

a reading cannot be computed,, due to insufficient data, the corresponding
                                   119

-------
                                                       Section:    7.2
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Pa2e:       2
position is set to C9998) which causes *** to be printed in that position

by the Detail List program.  In order for a sliding average to be computed

there must be at least (M+l)/2 valid readings (rounded to the nearest

whole number) in the interval M.  The following examples show this

requirement:

     For a three (3) hour reading interval

         (3+1)/2 = 2 valid readings required

     For an eight (8) hour reading interval

         (8+1)/2 =4.5 rounded to 5 valid readings required

     For a twenty-four (24) hour reading interval

         (24+1)/2 » 12.5 rounded to 13 valid readings required


The interval selected by the user must be less than the maximum number

of readings that can be contained in a master file record.  Thus the

maximum interval size will depend upon the type of data as specified by

the TIME-CODE.  Figure 7.2-1 provides a table of maximum interval sizes

versus TIME CODES.  Sliding averages may be computed for all types of

readings, however composite readings would give meaningless results and

therefore should be avoided.
                                   119-1

-------
                                                      Section:
                                                      Version:
                                                      Date:
                                                      Page:
                                      7.2
                                      3.0
                                      3/1/77
                                      3
             Time

             Code
Interval
   Maximum

Interval Size
1
2
3
4
5
6
7
8

9
A
B
C
1 Hour
2 Hour
3 Hour
4 Hour
6 Hour
8 Hour
12 Hour
Daily

Weekly
Monthly
Quarterly
Composite
23
11
7
5
3
2
Not Applicable
27, 28, 29, 30or 31
depending on month
3
11
3
Not Applicable
Figure 7.2-1.   Maximum Interval Size for Sliding Average Calculation
                                  119-2

-------
                                                      Section:   7.2.1
                                                      Version:   3.Q
                                                      Date:      3/1/77
                                                      Page:      1
7.2.1  SLIDING AVERAGE PROGRAM EDITS
The Sliding Average program performs a number of  edits  to  ascertain that

the program will process the input data.   On performing the edit  function,

the program detects the following error conditions:

     0   The control card is missing

     0   The input file was not a Sliding Average Answer file

     0   The input file name designated a non-existent  file or the

         named file contained no data.

When any of these conditions are detected the program prints an

error message and terminates without processing the input  file.
                                   119-3

-------
                                                      Section:   7.2.2
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
7.2.2  SLIDING AVERAGE PROGRAM INPUTS
The Sliding Average program has two inputs:   the control card and the

Sliding Average Answer file produced by the Retrieval program.


The Sliding Average program control card is  used to specify the interval

over which the sliding average is computed.   The control card statement

consists of three elements:  a card identifier keyword, an optional

clarifier keyword and the value of the interval in that order.  The

identifier keyword is AVERAGE.  The optional clarifier keyword is INTERVAL.

The value of the interval may be any value in the range of 2 to 31.  The

keywords must appear exactly as given and must be preceded and followed

by at least one blank.  The entire statement must occur in columns 1

through 72 of the control card and only one  control card is allowed.

If a keyword starts in column 1 it is assumed to be preceded by a blank.

Examples of valid and invalid control cards  are give in Figure 7.2.2.
                                   120

-------
                                                   Section:   7.2.2
                                                   Version:   3.0
                                                   Date:      3/1/77
                                                   Page:      2
AVERAGE 54                                                                        V
I  I  I I I              Sample 1,  Compute Sliding Average Over 24 Intervals.            ^
   I
|| BBIMOOOIJteOOOOOOOOOOOOgSBOOOOOOOOOOOOO OOOD00000300DOOOO 00 080flOOO()9098()EI8080i
i i i i i i i i i it n it ii M ii ti mi ii nii nnii a a » n n»)i n ti J411 it ii it a4i ii it 4i«4 »uii u4i !i» u si M » it ii uu u ii n ou u uii u i»« n n n u nn 11 n n »
| 1 111 1 1 1 11 1 1 111 1 11 11 1 1 II II 1 1 1 I I II 1 II 1 1 II II 1 1 I I II II J 11 I 11 II 1 1 I I I I I 1 1 1 I I 1 1 1 1 1 1 II 1.1
22222222)  22222222222222222222222222222222222222222222222222222222222222222222222
J33JJ3J3333J3J333J33333J33333333333333333333333333333333333333333333J33333333333
4444444M) 4444444444444444444444444444444444444444444444444444444444444444444444
i|[ SS5[ 5S5555S5555S5555555555555555555555555555555555555555555555555555555555555
88S6I S6SS6IS6tlSIS6SE6S56SS6886S56SS6S65SSS66668SES5666EE666&5S56SBB66StS8SSISSG
77777l777777777777J77777777777777777711771?111111171111111117111Mimi'llinmi
BBS888SISSSI8B888S88888B88B8S8S8a8888888S888883188iS888888B8IB8S8SSBISI8l88St8B8
9SS| J99M9S939999399399999399 §939939999999 99999939993039999 8999999999993899S93SS
i i i < i i i i i nn ii u M it n IMI 11 ii n a a » » »:i n a «11 a u u i: u 11 u 33 u ii u u u 4i ii 4i 4i a it 11 ii u 51 u u » >i u u n n a u n K it u ii n n n n H n n n >i i> it
        LI *«•!»* w KAAI
AVERAGE. .3.  * "                 "                                                    V
•»••**              Example 2.   Compute Sliding Average Over 3 Intervals.
    I
IIIIIIIOOOIIBIB!)OOIBOII18BBBaBB8BB8BB8888aBBBBBBBBBB88B08D68BB8BSBDa8089IOa8S8B8B
i i i < i i i i i ii ii ii 11 M is 11 ini if»11 nn it nan a n Bn n nH M a i? n»«ii u «« ««««nM 11 usi M is 54 ii 54 si H im oH o H 11« n ii it n n u n Ji n ii n»
11111 11 1 1 II 1 111 1 1 111 1111111 11 11 I I 1 I 1 I I 1 I 11 I 1 1 I 1 tt It I 1 I 1 1 1 1 I I 1 111 | 1 1 1 ] 1 | 1 | 1 n 1 It I
22222222222222222222222222222222222222222222222222222222222222222222222222222222
J3J31331|333333333333333333333333333333333333333333333333333333333333333333333J3
44444444444444444444444444444444444444444444444444444444444444444444444444444444
5ll 555[ 5555555555555555555555555555555555555555555555555555555555555555555S55555
t$SSSS6666S5SSS66SS6B66SSS5666S66S666666SS6666S6$E666S666SES6SS6BS6666S66SBS6SSS
77777| 77777777777777777J77777777777777777777771777777777177777171777777777777771
8Sn3388383388S3883333S88888883SS8a383S38833883833S335a383888a88883S3B8S8BS8B8B8
999|99399399399999333999SS999993S = 3993S!!S33'i9339993939939999939993}99999933999n
i : i i s i > i < i) n 'i ii 'i ij n n n 11 a 71 ?;:: i* n K :: :i :i - ;>;::. :i:! ii >: ;t 11 <> n "• n '< e ,1» :i;) ii:? -i j<:: s :i :i si si EI i; a M u is ;i i; it » it i; n ;i n n n :i ;s a
        HJCKgTT JiOBl    _.. _       .    .  . _ _
     Figure 7.2.2  Examples of  Valid and  Invalid Sliding Average Control
                   Card Statements.
                                 121

-------
                                                   Section:    7.2.2
                                                   Version:    3.0
                                                   Date:       3/1/77
                                                   Page:       3
    RVaL 3        "\
|   |   |              Example 3.   Invalid;  No  Card Identifier Keyword.
 I  I  I
I8| 0»| OliBOOflOOOfllQOOBOO 0000 J800000 00090000000000000 000000 OOOOOOB0000008»0(1DB» 99
i i i « » i i i i u nit 11 u ii it ii M ii ii Ji tt a » a a n n » a 11 a a H is 11« »11« ««i a « « u a u »st si u u 54 a u si a » u u u o w u u 11 u a it n n n n n n n » u «
11II11( 11 11 I I 111 111 11 I 1 1 1 II I 1II1111 1 II11 I 1 1 I I 11111 I II 1 M 1 11 II II1 1 1111 1 I 1 1 1 11 II 11
22222222222222222121222222222722222222222222222222222222222222222272222222222222
33|3333J 3I 33333333333333333333333333 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 J 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 33333333
4444444<4444444444444444444444444444444444444444444444444444444444444444444444(4
51 S( 51 555555555555555555555555555555555555555555555555555555555555555555555S5555
|gim6»S6SB66S86566666S65566BS665 6 666E6666E66666S666 6 66666 6 t E656B6666S855 SE6666
7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 J 7711111177 7 7 7 7 7 7 I I 7 7 7 7 7 7 7 I T 7 7 J 7 7 7 7 1 7 7 7 7 7 7 7 17 7 7 7 7 7 7 7 7 7 J 7 7 7
I83BS88SI8B8888888888S8888888838B88333838888388388888388338888388883888888188831
| SSil 9S9399J9999MSS93989n3!M999 39939933993993999993399939 9939 J99S3999S9955999
i i ii I i i i « N i! u n u u n mi n » n n a ji «11 n a n a « n » a a u » a a <• 41 a u u u mi u it sni u a u a »si si u u n a o u n H n a u n n n n u n n n n » »
       .. INTE3VAL..5                                - - — — — — - - , -- — ^
I I III I   I   I     Example 4.   Compute Sliding Average Over 5 Intervals.
   I      III
I [ 68 8881 OB| 8 8118810880808880 0000 00 BOB OOOOOBO 8000 OBO 00 00 OBOO 08 OBBO 0000 D98SOBB08 00
i i i i J i i i i ii it u i) M u u u u ii n n a n » n a n n n » « n ji M is u Ji u n «• ii« o « « « 4i mi si ji uu u u « 11 jj u a n ii o « »s B «i u H »f n n n n TJ n ii n n u
1 11 1 [ T n i n 1 1 1 1 1 1 n 1 1 1 1 1 1 1 1 1 1 M i j i n n 11 1 11 1 1 1 1 1 1 n 1 1 1 1 n 1 1 n n 1 1 1 1 1 n i n i n 1 1 1 r
Z2222MZ2 7222222222222222222222272222222222222222222222222222 2222227222222222722
33333333331 333313333333333333333333333333333333333333333333333333333333333333333
44444444444444444444444444444444444444444444444444444444444444444444444444444444
5(| 555| 55| 5 1 5[ t5 5 5 1 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
8S666S56S6S666S6666665G6666666C6SS5 6666666E6666E 56655 666666S6666666E66ESE6G6S5SG
77777| 77777777777717 77 717 T7 777777 77 77777 777777777 7177 1777 7 J7777J777J 17 777777777 J
8 8 8 8 8 8 3 5 8 8 3 3 8 63 8 8 3 8 8 8 8 3 8 B 8 8 8 88 8 8 3 8 8 3 8 8 » 3 8 8 8 8 8 S 8 8 3 33 3 3 8 3 3 3 8 8 3 8 883 8 8 8 8 38 838 3 3 B S 8 I B
9991 99991  999| 9 9 9 3 9 9 9 9 9 5 D » 9 1 9 9 9 3 « 3 9 S 3 9 9 3 9 9 S 3 9 5 S 9 9 9 3 3 3 9 9 9 9 9 3 3 9 9 9 3 3 9 9 9 9 J 9 9 9 9 9 9 S 9 S 9 9
i 1 : i i I i ) > 'J n i! u ii i! il i> .1 :) n ii ti  ;; :; ;i it :j <» 41 41 u .4 o «, 41 ', 4; :; ,< -.: -.3 ;; a ji si ;i ;i ;j ;i i; u u » c, ji u o n n r. n u n n n '>> » u
             •
    Figure 7.2.2  Examples of Valid and Invalid  Sliding Average Control
     (Continued)   Card Statements.
                                121-1

-------
                                                    Section:    7.2.2

                                                    Version:    3.0

                                                    Date:       3/1/77

                                                    Page:       4
       .S                                                   ~    ~~~                  \
                     Example  5.   Invalid; No Space Between Average and 3.            \





8| 8080BOOOIOBOOOOQOOOB00800900090000000000aOOOOOOOOOOO 0 0 OOODOM000000080B00008BI)
i i i t i i i i i it n :i i> u i) u ii 11 n » n n n » D n 11 n » N 31 n 11 u u ii 11 n n u 4i 4t 4i u u u <'« it n 1111 M is it ii it ti n ]t n n 14 n n >i» a * n u 11 u a it n it 11 iimiiMiiii»mniijtiMoiiiiHBiiiinnHTiniiimii
[ 111 [ 111 n n 11111111 n n n 111111111111111J111111 u i ii 111111 H n 111111111 H n in i


2222m22l22M2Z22M:M2Z2222m2n2222222222Zkim2222222222?2M22222222?2Z22222


33333333|33333333333333331333333J333333333333333J3J333333333333J3333333J3J333333


44444444444444444444444444444444444444444444444444444444444444444444444444444444

5F|555|5555555555555555555555555555555555555555555555555555555555555555555555555


8S6666666B66666B66B6B66S666B66BBB66GBB6656656556666666G S6666BS66B8668$66BB688B6(


1717J[ 7117777777711777 J77777 J17777 I I 17777 777117117177777777717117717117111111117


88838!88888888888833888B53388838333S138833393383388S33838388888888BB888a8888S88S


999 99 99 9 3 S 9393 3999 9 9 3 9 9 353 3 99939 9 9 S 9 3 993 9 9 3 S93 9 3 3 393 9 3 9 9 9 99 99 9999933S 99 9 99999 9 ?
 I 1 J 4 i i I I 1 '5 II 11 •'. II Ii Ii III! I! n II ?! .') 21 li II II II » Z -1 II U '< H Ji 3! 11 11 •) <: 4! n U Ii Ii '•> .1 II i);! :.' i! M ii ii ii il 1) CJ II SI U U Ii ii V (I il 11 II II I) 14 iS 7$ 1) 71 I) It
        HACKcTT 3081 _ _                                           -


     Figure 7.2.2   Examples of Valid and  Invalid  Sliding Average Control

      (Continued)   Card Statements.
                                 121-2

-------
                                                      Section:    7.2.3
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       1
7.2.3  SLIDING AVERAGE PROGRAM OUTPUTS


The Sliding Average program produces a Sliding Average Values  file for

further processing by the Detail List program and a diagnostic message

printout.  The diagnostic message printout contains error  and  run  status

messages.  The Sliding Average Values file contains records  in Master File

Record format except that the Readings are sliding average values.
                                  122

-------
THIS PAGE LEFT INTENTIONALLY BLANK
               122-1

-------
7.3   DATA ANALYSIS

The Data Analysis program performs various statistical analyses on data
contained in the AQDHS master file.  The results of the calculations are
written to the statistics file to be formatted by the Statistical List
program.

The following statistical information is computed:  minimum and maximum
observations; arithmetic mean; standard deviation; geometric mean and
standard deviation; percentage of readings present; and the 10th, 30th,
50th, 70th, 90th, 95th, 96th, 97th, 98th and 99th percentile occurrence.

The following statistics are used in this program (x represents a raw
data value and n represent the number of values):

Arithmetic Mean:
                    n
                   1-1       Xl + X2 + '  *  '  + Xn
             X  =
                    n
                                       n
Arithmetic Standard Deviation:


2 ,
1

' v .x> - (S Xi)2 "
1-1
n - 1 J
2 , .2 (xl + X2 +
2 n
n - 1
1/2


n

                                   123

-------
Geometric Mean:
     x  » Antllog
      6
                     n
       Antilog
                                              log x.^ 4- log
                               n
                                       . +  log x,
                                                                             n
Geometric Standard Deviation:
                     n
     ff  = Antilog
      o
                                       L  Io^i
n - 1
                                                         1/2
The files input to the Data Analysis program  (AQDHS master file or answer
file and the key portion of the  parameter, method, unit, minimum detectable
table) must be flagged by the File Flagging programs before being used by
Data Analysis.

Composite data is not supported  by this program.

The name of the load module is DXSTATIS.
                                      124

-------
7.3.1   ORGANIZATION

Although the Data Analysis program is written in FORTRAN IV rather than
in COBOL, it is still organized in the same fashion as the other programs
in AQDHS.  The gross structure consists of an initialization segment,
a main loop and a wrap-up or termination segment.  The following sub-
segments are identified by the comments preceding them in the program
source listing.

     o    Initialize the Sample Set - Before processing of a sample
          set begins, all accumulators are initialized to their
          nominal values.

     o    Initialize Minimum Detectable Table - This code is executed
          only once.  It reads the key portion of the parameter,
          method, unit, minimum detectable table into an internal
          array for future reference by other program segments.

     o    Extract Farms for New Sample Set - This code saves the
          information necessary to identify the sample set.

     o    Determine Minimum Detectable Value - The minimum detectable
          value array is searched until the current parameter code
          and unit code are matched and the associated minimum
          detectable value is extracted.   If no match is found,
          the minimum detectable value is set equal to 1.0.

     o    Accumulator Loop - Accumulates  intermediate internal results
          until a change in sample set (new state code, new parameter
          code, etc.) is detected.  At the beginning of each loop, the
          date in the record is assumed to be the last date in the sample
          set and is saved.  Any readings less than the minimum detectable
          value are substituted by half of the minimum detectable value.
                                       125

-------
     o    Compute Statistics - Computes  and formats  the beginning
          and end of the sample set;  the minimum and maximum
          readings;  the percentile distribution; the means and
          standard deviations; and the percentage of readings
          used in the calculations.

     o    Write Statistics Record - Formats the information based
          on the decimal position indicator and writes the record
          to the statistics file.

Figure 2.3.1 shows the organization of DXSTATIS.
                                       126

-------
                               Accumula tt
                                                      Compute
                                                    Statist ics
Ar i Lhini' tic
   Mean
Aril lime t i c
Standard
])ev in t i on
1
r

Write
Statistics
Record
(li'onir t r i c
Standard
Dev i.i t ion
                                         I'erc ent i 1 1 e
                           DXSTATIS  - O
                                  Figure  7.3.1
                                               127

-------
7.3.2   COMMUNICATION AND DATA FORMATS

The following variable names are the major control and data areas internal
to the Data Analysis program.

     o    LNORML
          May be .TRUE or .FALSE..  When .TRUE., indicates normal
          program completion.  When .FALSE.,  indicates abnormal
          program completion.

     o    LMREOF
          Set to .TRUE, upon end-of-file on the copied master file.

     o    LMAINS
          Set to .FALSE, upon completion of all processing.  Causes
          the program to leave the main loop and enter termination.

     o    LVFRST
          Set to .FALSE, to indicate that the minimum detectable
          value array has been built.

     o    LACCUM
          When .TRUE., indicates that processing and accumulation
          of the current sample set is to continue.

     o    NRDATA
          Array used to accumulate counts for calculating
          percentiles.
                                      128

-------
7.3.3   ROUTINES
There are no major internal subroutines in the Data Analysis program.
                                       129

-------
7.4   STATISTICAL LIST

This program accepts the statistics file generated by the Data Analysis
program as its input and formats the information contained therein.
There are no user options.

The name of the load module is SXPRINTS.
                                     130

-------
7.4.1   ORGANIZATION

The following are main modules of the Statistical List program.

     o    MAIN-LOOP
          Performed by ROOT-SEGMENT, this routine generates a
          "Data Analysis Report" (from an input statistics file)
          providing such statistical information as percentiles,
          arithmetic and geometric means and arithmetic and geo-
          metric standard deviations.

     o    STATISTICS-REPORT
          Performed by MAIN-LOOP, this routine performs several
          lower level modules to actually format the report,
          (e.g., to set up and print headings) and to display
          it.

     o    READ-ROUTINE
          Performed by MAIN-LOOP, this routine reads the next
          record in the statistics file.

Figure 7.4.1 shows the organization of SXPRINTS.
                                      131

-------
                          MA IN-LOOI'
KILL-TTTLKS
                        STATTST1CS-
                           RIIPORT
READ-ROUT1NK
           SXPRINTS - Organization
                  Figure 7.4.1
                             132

-------
7.4.2   COMMUNICATION AND DATA FORMATS

The following COBOL working storage section fields are the major control
and data areas internal to the Statistical List program.

     o    END-OF-FILE-SW
          When equal to TRUE, indicates that an end-of-file
          has been detected on the input statistics file.

     o    RUN-ABORTED-SW
          When equal to TRUE, indicates that an error severe
          enough to cause the run to abort has been detected.

     o    PRINT-CONTROL-BLOCK
          Determines the format of the report listing.
                                        133

-------
7.A.3   ROUTINES

The following are internal subroutines of the Statistical List program.

     o    FILL-TITLES
          Completes skeletal headings with identifying informa-
          tion (e.g., agency, state, project, standards, etc.) so that
          they correctly identify the data in the report.
                                      134

-------
7.5   FILE FLAGGING

AQDHS supplies two programs to flag the input files used by the Data
Analysis program.  They flag the key portion of the parameter, method,
unit, minimum detectable table and the master file or answer file to
be analyzed.  This flagging is required due to ANS FORTRAN restrictions.
                                       135

-------
7.5.1   ANSWER FILE FLAGGING

This program module copies the answer file and appends an end-of-file
sentinel record.

The name of the load module is MXSENTNL.
                                       136

-------
7.5.1.1   ORGANIZATION

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the answer file.  First,
          the data is moved from the input area to the output
          area.  Next, a new answer record is written and the
          old answer file is read.  After all the input has
          been processed, an end-of-file sentinel record is
          written.

Figure 7.5.1.1 shows the organization of MXSENTNL.
                                      137

-------
                MAIN-LOOP
        r
MXSKNTNI. -  Organization
     Figure 7.r..l .]
                138

-------
7.5.1.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.   If true,  a data set
          end-of-file has been detected.

     o    SENTINEL-CHARS
          An area of all nines which  will form  part of the
          sentinel record.
                                      139

-------
7.5.1.3   ROUTINES

The following are major subroutines of the AQDHS Data Analysis Copy
program module.

     o    READ-ROUTINE
          This routine reads an answer file record.

     o    WRITE-ROUTINE
          This routine writes an answer file record.
                                       140

-------
7.5.2   FARM-CODE-KEY FILE FLAGGING

This program module copies the Parm-Code-Key file and appends an end-of-
file sentinel record.

The name of the load module is NXSENTNL.
                                       141

-------
7.5.2.1   ORGANIZATION

     o    MAIN-LOOP
          This routine is performed by ROOT-SEGMENT until an
          end-of-file is detected on the Parm-Code-Key File.
          First, the data is moved from the input area to the
          output area.  Next, a new Farm Code record is written
          and the next Parm-Code-Key file record is read.  After all
          the input has been processed, an end-of-file sentinel
          record is written.

Figure 7.5.2.1 shows the organization of NXSENTNL.
                                      142

-------
                 MAIN-LOOP
       I
                           UKAn-KOt'TINr
NXSENTNL  -  Organization
     Figure 7.5.2.1
                  143

-------
7.5.2.2   COMMUNICATION AND DATA FORMATS

The following defines the usage of certain working storage names:

     o    END-OF-FILE-SW
          May contain TRUE or FALSE.   If true,  a data set
          end-of-file has been detected.

     o    SENTINEL-CHARS
          An area of all nines which  will form part of the
          sentinel record.
                                       144

-------
                                                            Section:  7.5.2.3
                                                            Version:  2.1
                                                            Date:     1/27/77
                                                            Page:     1
7.5.2.3   ROUTINES


          The following are major subroutines of the AQDHS Data Analysis Copy

program module.


     o    READ-ROUTINE

          This routine reads a Parm-Code-Key file record.


     o    WRITE-ROUTINE

          This routine writes a Parm-Code-Flag file record.
                                 144-1

-------
                                                            beet ion:   /.o
                                                            Version :   2. \
                                                            Date:      1/27/71
                                                            Page:      2
7.6       TABLE LIST PROGRAMS

          AQDHS-II supplies three programs to list the auxiliary tables
     most essential to the system - the parameter standards,  the
     site code, and the parameter method-unit code tables.   The names of
     the load modules are, respectively,  PXPRMSTD, PXSITE,  and PXMETHOD.
     Descriptions of these programs follow.
                                 144-2

-------
                                                            bection:  /. t>. i
                                                            Version :  2. L
                                                            Date:     1/27/77
                                                            Page:     3
7.6.1     PARAMETER METHOD - UNIT CODE PRINT PROGRAM

          PDMETHOD is a program used to print the parameter method -
unit code table in a columnized format which includes headings and a
footnote feature.  The method - unit code key file and corresponding
description file are alternately read, in that order, to produce two
detail lines,  with an implicit one-to-one relationship between the two
files being assumed.

     Refer to Figure 7.6.1.1-1 for a sample run and Figure 7.6.1.1-2 for
sample output.

     The name of the load module is PXMETHOD.
                               144-3

-------
                                                            Section:   7.6.1.1
                                                            Version:   2.1
                                                            Date:      1/27/77
                                                            Page:      4
7.6.1.1   ORGANIZATION

          PGM-INIT

          This routine opens  all files,  initializes  the  end-of-file switch
     to '0'  (indicating the end of  the file has not  yet  been reached),  prints
     the normal update messages, and initializes one of  the page headings.
     Then the first record is read  from each file,  counters of total
     input records and input  records from each file  are  incremented, the
     first page and footnote  are initialized,  and the first parameter
     method - unit code table entry is printed thru  performing PRT-REC.

          MAIN-LOOP

          Each file,  the method - unit code key file and corresponding
     description file,  is alternately read, in that  order,  until the
     end-of-file is reached for one of the files.  From  the key record  and
     description record,  two  detail lines containing the table entry are
     printed by performing PRT-REC.

          PRT-REC

          First, a check is made to see if 53  detail lines  have been
     printed on the current page.   If so, the  footnote for  that page
     is printed, and the next page  and footnote are  initialized.  The
     table entry fields are moved to the corresponding fields on the
     first detail line, which is then printed.  The  first detail line
     contains all the key information and the  first  half of the des-
     cription.   The counters  of detail lines printed on  the current
     page and of table entries printed out are incremented.  A second
     detail line is then printed, containing only the second half of the
     description indented to line up under the first half.   This time,
                                144-4

-------
                                                       Section:  7.6.1.1
                                                       Version:  2.1
                                                       Date:     1/27/77
                                                       Page:     5
only the detail line counter is incremented.


     WRAP-UP


     After spacing ahead to the appropriate line on the page, the

last footnote is printed.  The four ending messages displaying the

input and output counters are then printed on a separate page, the

files closed, and the run is terminated.
                             144-5

-------
                                                      Section:   7.6.1.1
                                                      Version:   2.1
                                                      Date:     1/27/77
                                                      Page:     6
SAMPLE JCL TO PRINT THE PARAMETER METHOD-UNIT CODE TABLE
    //Valid Job Card Goes Here
    //STEP1  EXEC  AQSPMETH,
    //             KEY FtL=HTPRMlAB,
    //             DESCF1L=HTPRM2AB
                    Figure 7.6.1.1-1
                         144-5.1

-------
                                                                                Sect ion :   / . t>. 1. I

                                                                                Version:   2.1

                                                                                Date:       1/27/77

                                                                                Page:       7
                                                                                         H    I
                                                                                         P   M
                                                                                         PH
                                                                                         H   H
                                                                                         p
                                                                                         O   vD

                                                                                         W   r-'
                                                                                         >-I

                                                                                         &    ^


                                                                                         c/1    bO
                                                                                             •H
    z in
    o —
     .
O O UJ X
I o ^> f
*— I ^^ UJ
oJ —   O
5"   OO OJ
Q   -> O
Q. "
UJ ~>   C3
X UJ JJ -iJ
I Z O OH
5- o a. o
< >-« 3 a
a: tn   o:
•j •-«- a
                                           144-5.2

-------
                                                                                                            Section :

                                                                                                            Version :

                                                                                                            Date:

                                                                                                            Page:
                                                                                                         7.6.1.1
                                                                                                         2.1
                                                                                                         1/27/77

                                                                                                         8
                                                                                            to
                                                                                            cc
                                                                                       to
                                                                                       ct
                                                                            ^o
                                                                            a:
                                  co
                                  cr
                                                             i
                                                            0:
                                                                                                                            a.
                                                                                                                            i
                                                                                                                            i-3
o
in
                     :rr''?"_JUj_j
                                                                                                                            _
                             03;    uja:aj<3aj   u-
                                                                    ujccuj-i^>-i^


                       c^oo>-tO5.ZCOS:sc05"?'EE

                       O -^ Z>    o   O    I    I    O    I     I    O    »     I     I    I
                                                                                                        I CO f^\ CO UJ CO ">

                                                                                                         O X "J    —"V

                                                                                                            :r   •-    2
                                  a   »-
                                                                  1
                                                                  3r
                O
                1-4
                t—
                o

                o
                     _l   O

                     o   o
                                                                  a:a:Q:
                                                                  III
           a <

           Z5 i
o   rr    n 7 
                                               o
                                               UJ
«3i_>—   ^   ^"    T=»-
CLO-aCLQ.CLCLl.OC^CnCL(nuJ>-iUJ—'UJ—luJ

O^-»HS*-'C:*-'OS-'O "-^ C:'-^>-X^X>.X
                                                                                                                      0.
                                                                                                                      cr
                   CL
                   ar
cr
a
Ml— »-i>-OCOOCflQujOUJOO
X«3 X<-*-4OD—iI>-i_J>-i_l—"O
                                                                                       CO?-00^'CO^«7—i^«O
                                                                                                                              o i o x n i
                                                                                      ujsi_jzuj5:>-s:oxoojjoujoioxciuj
                                                                                      a.CLQ.uj—<»-iQ:a:CLCL<
           00:
                0x
                     00: n
                              i<^«i>--'a><:>.-.a>-aDO!IiOZ3DaCj_icDZa2?'cO—
                                i— < *— < t— 
                                                                                                                             1
                                                                                                 vD

                                                                                                 r^-

                                                                                                  a)
                                                                                                  M

                                                                                                  00
                                                                                                 •H
                                                                                                 fn
   UJ
   O
                     (>   o
                     o   «
   UJ
   Q
   D
   CJ
   I
   o
   o
   I
   Q
   O
Q
- '

O
^^

O


o


0 0


o

'M
0

r\j
0

ru
o

ru
o

'XJ
o

OJ
o

rvj
o

r\i
o

3-
O

CT
O

^r
0

a-
o

3
0


0

3
0

3-
O

3
O

3"
                                                           144-5.j

-------
                                                                                   Section:   7.6.1.1
                                                                                   Version:   2.1

                                                                                   Date:       1/27/77
                                                                                   Page:       9
                                                                                                  T3
                                                                                                  01

                                                                                                  fi
                                                                                                  •H
                                                                                                  4-1
                                                                                                  C
                                                                                                  O
                                                                                                  o
 •o -o ^u -a
 o- o- o- o-
                                                                                                  0)
                                                                                                  M
                                                                                                  3
                                                                                                  00
  C/7  I—
  O  Z

  o  a:
  CJ  Q.
  UJ  I
  a:  OT
  I   UJ
  z  «-•
  o  at
o «  »-
• tn  OD
UJ UJ  -
 I I < I
1— H- UJ *-
1-1 KH  r
z r i s:
i i _i i
S E « X
o: a: >- a:
< < o <
Q- Q_ I- CL
                                            144-5.4

-------
                                                            Section:  7.6.1.2
                                                            Version:  2.1
                                                            Date:     1/27/77
                                                            Page:     10
7.6.1.2   PXMETHOD COMPLETION
          The following messages are printed upon normal completion of
PXMETHOD:
     P ARM-METHOD-UN IT-KEYS-READ                        xxxxxx
     PARM-METHOD-UNIT-DESCRIPTION-RECORDS-READ
     TOTAL-RECORDS-READ                                zzzzz
     PARM-METHOD-UNIT-TABLE-ENTRIES-PRINTED
     where xxxxxx, yyyyyy, zzzzzz,  qqqqqq represent the applicable counters.
                               144-6

-------
                                                            Section:  7.6.2
                                                            Version:  2.1
                                                            Date:     I':"'
                                                            Pace:     11
7.6.2     SITE CODE PRINT PROGRAM


          PDSITE is a program to print the site code table in a columnized

format which includes headings and a footnote feature.   This table is

contained on an input file.


     Refer to Figure 7.6.2.1-1 for a sample run and Figure 7.6.2.1-2 for

sample output.


     The name of the load module is PXSITE.
                               144-7

-------
                                                            Soot ion:   " .o.J,
                                                            Version:   J. L
                                                            Date:      1/J7/;
                                                            Page:      U
7.6.2.1    0 KGANJ[Z.ATJ_ON

          FGM-LNIT

          The input  table  and output  print files are opened,  the end-of-file
     switch is  set to  '0*  since  all records in the file have  not been read,
     the normal  update messages  are printed,  and one of the page headings is
     initialized.   The first  table entry is then read off the site code table,
     and the input record  counter is  incremented.   After the  first page and
     footnote are initialized,  the detail line containing the first table entry
     is  printed by performing PRT-REC.

          MAIN-LOOP

          The site code table file is read, and the input record counter
     incremented,  until end-of-file is  reached.   Each table entry is printed
     on  a detail line  by performing PRT-REC.

          PRT-REC

          A check is made  of  the line-count for the current page.  If the
     count indicates the current page contains 55 detail lines,  the
     footnote for the  current page is printed, and the next page and footnote
     for that page are initialized.  The table entry fields are  then moved
     into the corresponding print fields on the detail line.   The detail
     line is printed out,  and the counters of table entries printed and
     of  lines on the current  page are incremented.

          WRAP-UP

          After spacing ahead to the  appropriate line on the  page, the last
     footnote is written out.   The two  ending messages displaying the input
                                144-8

-------
                                                        Section:  7.6.2.1
                                                        Version:  2.1
                                                        Date:     1/27/77
                                                        Page:     13
;ni(l oiil|)ul counters are  then  printed  on a separate page.  The files

are then rlosed, and  the run  is  terminated.
                            144-9

-------
                                                   Section.:    . o . J . 1
                                                   Version:   :.I
                                                   Da to :      I  :;, 77
                                                   Page:      U
    SAMPLE JCL FOR PRINTING THE SITE CODE TABLE
//Valid Job Card Goes Here
//STEP1   EXEC AQSPSITE,
//             SITEFIL=HTSITEAA
                 Figure 7.6.2. L-l
                    144-9.1

-------
                                                                                Section:   7.6.2.1

                                                                                Version:   2.1

                                                                                Date:       1/27/77

                                                                                Page:       15
                                                                                       H
                                                                                       P
                                                                                       Pn
                                                                                       H

                                                                                       g

                                                                                       W
                                                                                       i-J
                                                                                       <5    3
                                                                                       C/3    00
                                                                                            •H
      -o
      f%.
      o

    rvj

    z 1/1
    O -<
    »—»
    « cc
    a: uj
  o uj m
uj o >• sr
•— I -* uj
l-H —   O
OT   ff) LU
O   —• Q
Q- ••
UJ >   O

5" UJ UJ UJ
i ^ o a:
X 3 a O
 to LJ
a: uj < 2
X x _) •-«
                                           144-9.2

-------
                                                                                                         Section:
                                                                                                         Version:
                                                                                                         Date:
                                                                                                         Page:
                                                                                                                          7.6.2.1
                                                                                                                          2. 1
                                                                                                                          1/27/77
                                                                                                                          16
          O —•* r\j rS} ?y J*t J} t— CO  »OOOOOOOOOOOO»-»f\J
          oooooooc o -s ooooooooooooo
            oc ooooooo                                 M
          M                     O II  If II  II M  II M  II II II  It II  II
            II  II It  U H II n II                                   UJ
          LJ                     MoJuJjJUJUJUJUJUJUJUJuJLjJuJd
          O uJ uJ UJ hU •-'' U.1 uJ uJ   d  & C> O O  O O  O O O O O  O C
          QQQOOQOCiOajQOOQOOOOOOOOOO
            ULJUUUULJUlJ
                                 i UJ UJ uJ uJ uJ uJ I
                                                                  jJ


                                                                 i CO
a
a:
               o o <
               o o i
               o o i
                     ' O O '
                     ' O C i
                     .00'
             M  II II  II M  II It  M
          a
          (_)
             i  o O :
             too:
             >  O O I
I UJ UJ .
• O O :
i O O (
» (_> u i
               UJ UJ
               ct or
                      1^1 ^| jj LjLj
 CO
    ^ ^^ «-. .^ oj f\j r\j i
i    OOOOC5OOOOOOOOO
 ^oooooooooooooo
 oooooocooooooc
• O                                 tl
 O H It U II M It II II II  II II  II II

 II  UJ lAJ U-l UJ UJ liJ UJ UJ UJ UJ UJ  UJ (il O
    ^ O O O O O O d Q O O  O Q O
 UJOOOCDOOOOOOOODU
 ^ L-J U t—J l_> 'O LJ t-J ^> LJ LJ1 t_)  LJ t-J
 o                                <

    UJUJuJUJ.lJUJlAJUJUJ;UJUJUJUjni


 a.

                                                                                                                                   c
                                                                                                                                   •H
                                                                                                                                   4J
                                                                                                                                   c
                                                                                                                                   o
                                                                                                                                                   -I

                                                                                                                                                   iO
          H  it H n  it n  n M  ii H  M

          uJuJuJUJuJoJuJaJuJuJUJi
                                                 II  II II  II  II II  II II
                                                                                                                                   CN

                                                                                                                                   VO

                                                                                                                                   r^
          OOOOOGOOOOOOOOOOOOOOOOOO
  UJ
  o
UJ UJ


  CO
          OOOOOOOO^OOO OOOOOOOOOOO—• r*\
          ooooooooooooooooooooooo>-v
          OOOOOOOOOOOOOOOOOOOOOOOO
          oooooooooooooooooooooooo
          OOOOOOOOOOOOOOOOOOOOOOOO
                                                          144-9.3

-------
                                                                       Section:   7.6.2.1
                                                                       Version:   2.1

                                                                       Date:       1/27/77
                                                                       Page:       17
=» =r
ru rvj
a: a
I I
OT CO
o o
X rt
O O
o o
UJ Mj
a: a:
i I
UJ UJ
Q O
O O
u o
i i
UJ aJ
                                                                                      QJ
                                                                                      3
                                                                                      a
                                                                                      a
                                                                                      o
                                                                                      u
                                                                                     rsl
                                                                                      I
                                                                                     CsJ

                                                                                     VD

                                                                                     r-^

                                                                                      0)
                                                                                      ^

                                                                                      oo
                                                                                     •rl
                                    144-9.4

-------
                                                            Section:  7.6.2.2
                                                            Version:  2.1
                                                            Onto:      1/27/77
                                                            Page:      18
7.6.2.2   PXSITE COMPLETION


          The following messages are printed upon normal completion of

PXSITE:
     SITE-CODE-RECORDS-READ                       xxxxx


     SITE-CODE-RECORDS-PRINTED                    zzzzz,


     where xxxxx, zzzzz represent the appropriate counters.
                                 144-10

-------
                                                            Section:  7.6.J
                                                            Version:  2.1
                                                            Date:     1/27/77
                                                            Page:     19
7.6.3     PARAMETER STANDARDS PRINT PROGRAM

          PDPRMSTD is a program that reads the parameter standards table
entries from a file and then prints these entries in a columnized format
which includes headings and a footnote feature.

     Refer to Figure 7.6.3.1-1 for a sample run and Figure 7.6.3. 1-2 for
sample output.

     The name of the load module is PXPRMSTU.
                               144-11

-------
                                                            Section:   7.6.3.1
                                                            Version:   2.1
                                                            Date:      1/27/77
                                                            Page:      20
7.6.3.1.   ORGANIZATION

          PGM-INIT

          The input standards file and output print file are opened,  the
     end-of-file switch is initialized to '0' to indicate all records in
     the file have not been read,  the update messages are printed,  and one
     of the page headings is initialized.  The first record on the  parameter
     standards file is read, and the input record counter is incremented.   The
     first page and footnote are initialized, and the first table entry is
     printed by performing the PRT-REC routine.

          MAIN-LOOP

          The parameter standards  table file is  read, and the input record
     counter incremented, until end-of-file is reached.   A detail line is
     printed for each entry by performing PRT-REC.

          PRT-REC

          If the line-count for the current page is greater than 52,  the
     footnote for the current page is printed, and a new page and its
     footnote are initialized.  The table entry  fields are moved to the
     appropriate print fields and the detail line printed.  The counters
     of table entries printed and of detail lines printed on the current
     page are incremented.

          WRAP-UP

          After spacing ahead to the appropriate place on the page, the
     last footnote is printed.  The two ending messages are then printed
     on a new page, the files closed,, and the run is terminated.
                                 144-12

-------
                                                    Sect ion:   7.0.j. 1
                                                    Version:   2.1
                                                    Date:      1/27/77
                                                    Page:      21
;AMIM.K  ICA.  KOK  PRINTING  TOE PARAMETER STANDARDS TABLE
  //Valid  Job  Card  Goes  Here
  //STEP1    EXEC AQSPSTDS,
  //         PRMSTDS=HTSTNDAB
                 Figure  7.6.3.1-1
                       144-12.1

-------
                                                                                          Sert i on
                                                                                          Vi-rs i on
                                                                                          D.I It-:
.'. i
I/J//77
                                                                                                         H
                                                                                                         P
                                                                                                         P-i
                                                                                                         H

                                                                                                         O

                                                                                                         W
                                                                                                         ,-1
                                                                                                               CM
                                                                                                                I
                                                                                                               OJ
                                                                                                               S-i
                                                                                                               3
                                                                                                               oo
                                                                                                               •H
    o -•

    to a;
o   ft jj
>- O UJ H
CO O i 3T
a; «
      <_>
 .
a   — o
a. ••
 I  3 Q.
ai tn   T
J •-« — O
Q ^> « O
CC UJ 
-------

u^
<
CL

*
#






jj
_/
cn
>_
IT
CO O
o •— *
a: >—
-i
.r a:
** LJ
»— CO
CO LiJ
Q
rr
UJ
i —
UJ
i
a:
^
Q.







-
?
* or
* re
i
0
CO
UJ
aj f—
CO
OJ
O
LJ
i
tr
* <
* 0-





•i <: •« « or or or rr

O-txaa ,_(_>_>_
arrrcrcr _• — -. — UJUJUJLIJ
r* r^ UJUJ.AJUJ-^-^-*— « y ? y v
*J "3 ^* ^ fVfVOrk • »^^»TT"T~T
y ' £^^~^|2SS????rj£a£
—••"-•Ljuy^y^ «.»•
a-fr*-**-*-"}— >:^~> • • • • arfl'rrfr-j-J-J—/
*— *— a: a: :£ £ 5:7"a:a:Q:ctiXXX— ^cc-^f\jnjrv'\)^^^'«T
jj UJ O O 3C7?~S. ^!*I^^
'J) L5 UJ UJ
(jj ;_j fy Q^ Q; Q^ jr y y y y ^" *f y y 3" y V
— i _j ^33)r)Z5a,ixaoLxa.a.CLQ-a-CLX
<[orunaoo'\jruoo

rO f^l fO ""O 1^1 N"I ^1 rO fO r^l rO ^) ^O fA i^O rO f^ ^ ^O ^O
ys ysysyyryiyy/yyz-rysT
L3LBOOLSL5OL3L5UL5L5L5LDL5L50JL5L5


inoin ooooooooou^oinooooo
r-^>r~-o^)in^)Lnooooj5j3-o-Da>^)coo
^ * * *
0000
*-< =T -^ ^




— 
T T
o
y y i y
O L5 UD L3
r> "D 3 13

O o O O
0 000
— i _*

— ru « — .
o o o o


-o — •
o o





0 0
rvj ru
^T ^






jj
^
LJ
UJ
y-
1
rr

_/
<
5
^

••o
£J



.n
rv

Kl
y
CJ


o
-o



o


















a: or or -r
ar rr
< < rr ex rr ct
>• >• ex Q a. a
rr rr ^^ —<—•—'
UJ UJ
a. a » - v »
X X X X
» ^ '
y >~ • • • •
o 3 or or rr a-
i. « X "^ r
x x <^ <~* »^ *-<
 Z) Z5

O C- O O C O
^0 & -0 *Q 4> ^


ru ru *-• — » AJ ru
o o o o o o


ru -^ ^\J
000





O O C?
i^ =J =T
=T ^T ^


Sc'c-L ion: 7.6.3. 1
Vers ion : 2.1
Date: 1/27/77
Page : 2 J











.
T>
d)
3
C
•H
4-J
C
O
CNl
1
iH
•
c"O
^
.
r--

0)
S-i
3
60
>r-j

















144-L2.J

-------
                                                                        Section:   7.6.3.1

                                                                        Version:   2.1

                                                                        Date:      1/27/77

                                                                        Page:      24
                                                                                      -a
                                                                                      a)

                                                                                      C
                                                                                      •rH
                                                                                      4-)
                                                                                      0)
                                                                                      S-l


                                                                                      60
                                                                                      •H
x. a.
i i

-------
                                                             Section:   7.6.3.2
                                                             Version:   2.1
                                                             Date:      1/27/77
                                                             Page:      23
/. <>. }. '}   \>7.VW:;\\) f.OMI'LK'i JON


          The following messages  are  printed out upon normal completion
of PXPRMSTD:
     PARM-STANDARDS-RECORDS-READ              xxxxxx


     PARM-STANDARDS-RECORDS-PR1NTED           JJJJJJ,


     where xxxxxx, yyyyyy represent  the  appropriate count values.
                                144-13

-------
                                                            Section:   8.0
                                                            Version:   2.1
                                                            Date:     1/27/77
                                                            Page:     2b
K.0  FILE MERGING


     AQDHS-II provides a file merging program to merge two distinct

AQDHS-II master files into a single AQDHS-II master file.   This program

provides to the user the capability to archive old data, thus reduce

the size of his working AQDHS-II master file and his operating expense.
                                 145

-------
                                                       Version:   I.:
                                                       Dace:      9/I-v'7b
                                                       Page:      1
8.1  FILE MERGE PROGRAM

The FILE MERGE program creates a new AQDHS-II master file from two
distinct AQDHS-II master files.  The two files which are to be merged
can not have any records with the same key.

Refer to Figure 3-1.3-1 for sample run.

The name of the load module is AXMERGE.
                                  145-2

-------
                                                       Section:   8.1.1
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      1
8.1.1  ORGANIZATION
          MAIN-LOOP
          This routine is performed by MAIN-LINE until an end-of-file
          is detected on both input files.   The appropriate record
          from input file one or input file two is moved to
          the output buffer.   Then the record is written and a new
          record is read from either input  file one or input file
          two.
                                   145-3

-------
                                               Section:
                                               Version:
                                               Date:
                                               Page :
                                     8.1.1
                                     2.0
                                     9/24/76
                                     2
                       MAIN-LOOP
 WRITE-
  RTN
READ1-
 RTN
READ2-
 RTN
Figure 8.1.1-1.  Shows the organization of AXMERGE.
                          145-4

-------
                                                       Section:  8.1.2
                                                       Version:  2.0
                                                       Date:     9/24/76
                                                       Page:     1
8.1.2  FILE ARCHIVING

In order to reduce your operating expenses we suggest that you split
your AQDHS-II master file into a working file and an archived file. This
will reduce your file size and thus reduce the run time of most of your
programs.  At the end of each year you can then archive your oldest year
of data and merge this with your archived file using program AXMERGE.
AXMERGE also will allow you to merge two distinct master files (i.e.,
two AQDHS-II master or answer files) thus allowing you to do statistical
work on your entire data base.

By using the retrievals in Figure 8.1.2.1, you can split your file into
a working master (a master file subject to change) and an archived file
(a master file with few or no changes).
                                    145-5

-------
                                                  Section:
                                                  Version:
                                                  Date:
                                                  Page:
8.1.2
2.0
9/24/76
9
Retrieval to create an archived file of 1973 and older data:
COL 1-22
SUBJECT
NAME

$$SELECT
YEAR
$$END
COL 24
NEGATION
FLAG




COL 26
RELATIONAL
OPERATOR


<

COL 28-67
OBJECT
NAME


'74'

COL 69-71
BOOLEAN
OPERATOR




Retrieval to create a working master file of 1974 and newer data:
COL 1-22
SUBJECT
NAME

$$SELECT
YEAR
$$END
COL 24
NEGATION
FLAG




COL 26
RELATIONAL
OPERATOR


>

COL 28-67
OBJECT
NAME


'73'

COL 69-71
BOOLEAN
OPERATOR




                    Figure 8.1.2-1
                           145-6

-------
                                                       Section:   8.1.2
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      3
In order to retain the answer files  as master files you need to catalog
the answer file.
     The following is an example:
          //  EXEC AQSRETVR,
          //       MSTRFIL=OLDMSTR,
          //       ANSWRFL=MSTRB74,
          //       DISP=' NEW, CATLG, DELETE'
          //COMPILE. INPUT DD  *
               see figure 8.1.2-1  for the appropriate retrieval
               statements to  archive 1973 and older data
          /*
     The following is another example:
          // EXEC AQSRETVR,
          / /      MSTRFIL=OLDMSTR,
          //      ANSWHFL=MSTRA73,
          //COMPILE. INPUT DD *
               see figure 8.1.2-1 for the appropriate retrieval
               statements to create a working master for 1974 and
               newer data
          I*
          II
                               145-7

-------
                                                       Section:  8.1.3
                                                       Version:  2.0
                                                       Date:     9/24/76
                                                       Page:     1
8.1.3  SAMPLE MERGE

RUNS
In order to merge two distinct files it is necessary only to invoke the
cataloged procedure AQSMERGE and name the two files to be merged and the
name of the new master file.

Refer to Figure 8.1.3-1.
                                  145-8

-------
                                                        Section:  8.1.3
                                                        Version:  2.0
                                                        Date:     9/24/76
                                                        Page:     2

//*
//* TEST  ] 7- ARCHIVE A M/,,'-TE?  >t  CREATE  A VG?:<:i;G MASTER
//* -;; '71'
$$END
/*
//TEST8B  EXEC AQSRETVR,
// PROJECT='CNA087.LMH.CDHS.LRM.AQS',
//             MSTRFIL-FTMSTRAE,
//             ANSWRFL=RTANSR16
//COMPILE.INPUT  DD *
$$SELECT
YEAR                     < '72'
$$END
/*
//MERGE EXEC AQSMERGE,
//           INFILE1=RTANSR15,
//           INFILE2=RTANSR16,
//           NEWMSTR= FTMSTRAF
//PRINT1   EXEC AQSELIST,
//       PROJECT='CNA087.LMH.CDHS.LRM.AQS',
//              MSTRFIL=FTMSTRAE
//PRINT2   EXEC AQSELIST,
//       PROJECT='CNA087.LMH.CDHS.LRM.AQS',
//              MSTRFIL=FTMSTRAF
                           Figure 8.1.3-1
                             145-9

-------
                                                        Section:   8.1.4
                                                        Version:   2.0
                                                        Date:      9/24/76
                                                        Page:      1
8.1.4  AXMERGE MESSAGES

NORMAL COMPLETION
     The following message is printed upon normal completion of
AXMERGE:

          AXMERGE 	 FILE MERGE PROGRAM
          INPUT FILE 1 CONTAINS xxxx RECORDS
          INPUT FILE 2 CONTAINS mmmm RECORDS
          OUTPUT FILE CONTAINS nnnn RECORDS

ABNORMAL COMPLETION
     The following message is printed upon abnormal completion of
AXMERGE:
          IDENT-KEY= xxxx IS FOUND ON BOTH FILES... RUN TERMINATED.
          MERGE FAILED	
                                145-10

-------
                                                    Appendix:  A
                                                    Version:   2.0
                                                    Date:      9/24/76
                                                    Page:      1
                          Appendix A - CODE TABLES

Agency Codes  	  147
Project Codes 	  148

Time Codes	149
Unit Codes	150
                                   146

-------
Agency Codes
Code      Agency

A	EPA group responsible for atmospheric surveillance
B	EPA group responsible for meteorological activity
C	EPA group responsible for effects research
D	EPA group responsible for atmospheric research
E..	EPA group responsible for abatement activity
F	State agency
G	County agency
H	City agency
I	District agency
J	Private
K	Institution (university, college, etc.)
L	Military
M	International agency
N	Other Federal nonmilitary agencies
0-Y	Open for future expansion
Z	Other
                              Agency Codes
                                 Table 1
                                     147

-------
Project Codes
Long-term Surveillance

      Code     Project
       01	Population-oriented surveillance
       02	Source-oriented ambient surveillance
       03	Background surveillance

Short-term Surveillance

      Code     Project
       04	Complaint investigation
       05	Special studies
       06	Episode monitoring
                         Project Codes
                            Table 2

                                    148

-------
Time Codes


Format 1 Transaction

      Code     Interval
        1	 1 hour
        2	 2 hours
        3	 3 hours
        4	 4 hours
        5	 6 hours
        6	 8 hours
        7	12 hours

Format 2 and 3 Transactions

      Code     Interval
        8	1 day
        9	1 week
        A	1 month
        B	1 quarter
        C	Composite data (Format 2 only)
                          Time Codes
                            Table  3
                                   149

-------
Unit Codes
Code      Units
 01.......micrograms/cubic meter (25  C, 1013 millibars)
 02	micrograms/cubic meter (0  C, 1013 millibars)
 03	nanograms/cubic meter (25  C, 1013 millibars
 04	nanograms/cubic meter (0  C, 1013 millibars)
 05	milligrams/cubic meter (25° C, 1013 millibars)
 06	milligrams/cubic meter (0° C, 1013 millibars)
 07	parts per million (volume/volume)
 08	parts per billion (volume/volume)
 09	COHS/1000 linear feet
 10	RUDS/10,000 linear feet
 11	meters/second
 12	miles/hour
 13	knots
 14	degrees
 20	microns
 30	.picocuries/cubic meter
 31	microcuries/cubic meter
 32	picocuries/square meter
 33	microcuries/square meter
 34	picocuries/cubic centimeter
 35.......picocuries/gram
 50	number of threshold levels
 70	milligrams F/100 square centimeters-day
 80	milligrams SO.,/100 square centimeters-day
 81	micrograms S0?/square meter-day
 90	tons/square mile-month
 91	milligrams/square centimeter-month
 92	micrograms/cubic meter-month
                        2-
 98	milligrams' SO,  /square centimeters-30 days
 99	milligrams/square centimeters-30 days
Q
  On a calendar-month basis.
                               Unit Codes
                                Table 4
                                     150

-------
Appendix 15 - AQDHS DIAGNOSTIC MESSAGES
                 151

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
AQDHS DIAGNOSTIC MESSAGES


Most diagnostic messages from AQDHS are self-explanatory.   However,  some

messages refer the user to this document for further explanation.   The

message, with their explanation, are listed below.


*** WARNING:  FARM TABLE OVERFLOW,   CONSULT USER GUIDE FOR CORRECTIVE

ACTION.


     AQDHS currently has a built-in limit of 100 entries in the

     parameter, method, unit codes, minimum detectable table.

     This restriction is included to limit the amount of core

     utilized.  If this message should ever appear,  the limit

     has been exceeded.  It is possible to increase the limit

     but only at the expense of using additional core.  The

     following programs must be modified:

          Parameter Code Table Maintenance

          Transaction Editor

          Detail List

          Data Analysis

          Statistical List

     Refer to Appendix C for further instructions on accomplishing

     these changes.
                                  151-1

-------
                                                      Appendix:   B
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       2
*** WARNING:  SITE TABLE OVERFLOW.  CONSULT USER GUIDE FOR CORRECTIVE

ACTION.


     AQDHS currently has a built-in limit of 100 entries in the valid

     site code table.  This restriction is included to limit the amount

     of core utilized.  If this message should ever appear, the limit

     has been exceeded.  It is possible to increase the limit but only

     at the expense of using additional core.  The following programs

     must be modified:

          Site Code Table Maintenance

          Transaction Editor

          Detail List

          Statistical List

     Refer to Appendix C for further instructions on accomplishing these

     changes.


*** WARNING:  STANDARDS TABLE OVERFLOW.  CONSULT USER GUIDE FOR CORRECTIVE

ACTION.


     AQDHS-II currently has a built In limit of 50 entries in the parameter

     standards table.  This restriction is included to limit the amount

     of core utilized.  If this message should ever appear, the limit has

     been exceeded.  It is possible to increase the limit but only at

     the expense of using additional core.   The following programs must
                                  151-2

-------
                                                 Appendix:   B
                                                 Version:    3.0
                                                 Date:       3/1/77
                                                 Page:       3
be modified:

     Parameter Standards Table Maintenance

     Detail List

     Statistical List

Refer to Appendix C for further instructions on accomplishing these

changes.
                             151-3

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      4
EXRPTLST


The following are the diagnostic messages which may be generated by the

Detail List Program.


Message:

     RPT001S ANSWER FILE CONTAINS NO DATA-RUN ABORTED

Meaning:  There were no records in the primary input file, possibly because

          the retrieval request was overly restrictive and no records

          qualified.

Action:   Examine your retrieval request  and  rerun  the  job, if necessary.


Message:

     RPT002S STATEMENT IS NOT RECOGNIZED-RUN ABORTED

Meaning:  The statement identifier is not the first word in the statement,

          is misspelled or missing.  Valid identifiers are DISPLAY, MEAN

          and SUM.

Action:   Correct the control card and resubmit the job


Message:

     RPT003W CONTROL CARD MISSING FOR STD ANSWER FILE-ASSUMING MEAN REPORT

Meaning:  No control card defining the type of report was specified.

          Therefore the "MEAN" rather than the "SUM" option will be used

          to prepare the report.

Action:   If the "SUM" option is desired, enter a transaction with "SUM"

          on the control card and resubmit the job.
                                   152

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      5
Message:

     RPT004S SYNTAX REQUIRES RELATIONAL OP (< ,  =, > )-RUN ABORTED

Meaning:  The relational operator is missing, improperly coded or out of

          sequence in a display statement.  The report is not produced.

Action:   Check the display statement for correct format and syntax.

          Correct the error and resubmit.


Message:

     RPT005S SUPPRESS NULL READING INVALID USE OF DISPLAY STMT-RUN ABORTED

Meaning:  The Display statement logic will cause all valid readings to be

          suppressed.  For example the statement:

               DISPLAY READINGS N  < 9999

          is invalid.

Action:   Correct the display statement and resubmit the job.


Message:

     RPT007S SYNTAX REQUIRES NEGATION SYMBOL (N)  OR BLANK-RUN ABORTED

Meaning:  The "not" is misplaced or keypunched as one or more non-blank

          characters.  The report is not produced.

Action:   Correct the error and resubmit the job.


Message:

     RPT008S SYNTAX ERROR-RUN ABORTED

Meaning:  The control card contains one or more words not recognized as
                                   152-1

-------
                                                      Appendix:   B
                                                      Version:    3.0
                                                      D^te:       3/1/77
                                                      Page:       6
          the correct form for a DISPLAY, MEAN or SUM statement.   The

          report is not produced.

Action:   Correct the control card and rerun the job.


Message:

     RPT009S DISPLAY STMT PARAMETER NOT NUMERIC-RUN ABORTED

Meaning:  The threshold used in a Display statement must be a number in

          the range of 0 to 9997; leading digits are not required.  The

          report is not produced.

Action:   If a display option is desired, input a transaction with a

          numeric threshold and resubmit the job.


Message:

     RPT010S MEAN STMT MAY NOT BE USED WITH SLIDING AVERAGE INPUT

Meaning:  The display option is the only option which may be specified

          for Sliding Average File.

Action:   If the "MEAN" option is desired check the spelling of the name

          assigned to the MSTRFIL parameter to ensure that a standard

          Answer File is specified.  If a Sliding Average file is to

          be processed, delete the "MEAN" option and resubmit the job.


Message:

     RPT011S SUM STMT MAY NOT BE USED WITH SLIDING AVG INPUT-RUN ABORTED

Meaning:  The display option is the only option which may be specified
                                   152-2

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      7
          for a Sliding Average file.

Action:   If a "SUM" option is desired check the spelling of the name

          assigned to the MSTRFIL parameter to ensure that a standard

          Answer File is specified.  If a Sliding Average file is to be

          processed, delete the "SUM"  option and resubmit the job.


Message:

     KPT012W INTERVAL CODE CONVERSION ERROR-EXECUTION CONTINUING

Meaning:  The internal sliding average interval used by the Sliding Average

          Program could not be converted to a two digit number for use

          in the report header.  The output is usable.  The error may

          occur in the rare condition of a machine error.

Action:   Save the input files and the output and contact your Program

          Support Group for assistance.


Message:

     RPT013S OUTPUT FILE CONTAINS NO DATA

Meaning:  There were no records processed hence the report contains no

          data.

Action:   Check the number of records returned in the answer file and,

          if desired, change the retrieval and rerun the  job.


Message:

     RPT014S KEYWORD READINGS REQUIRES STANDARD ANSWER FILE-RUN ABORTED
                                    152-3

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      8
Meaning:  Only the optional keyword "AVERAGES" may follow the word DISPLAY

          when processing a sliding average file, however the word "READINGS"

          was detected.

Action:   If a Sliding Averages file is to be processed with the DISPLAY

          option, replace, the word "READINGS" with "AVERAGES" and resubait

          the job.


Message:

     RPT015S KEYWORD AVERAGES REQUIRES SLIDING AVG VALUES FILE-RUN ABORTED

Meaning:  Only the optional keyword "READINGS" may follow the word DISPLAY

          when processing a standard answer file, however the word "AVERAGES"

          was detected.

Action:   If a Standard Answer file is to be processed with the "DISPLAY"

          option, replace the word "AVERAGES" with the word "READINGS"

          and resubmit the job.


Message:

     RPT016S MEAN AND SUM ARE MUTUALLY EXCLUSIVE OPTIONS-RUN ABORTED

Meaning:  The control card may contain the "MEAN" option or the "SUM"

          option but not both.

Action:   Select the option desired, keypunch the desired control card

          and resubmit the job.
                                   152-4

-------
                                                      Appendix:   B
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      \".-.v\       9
 L31-RUN ABORTED
                                  152-5

-------
                                                       Appendix:   B
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       10
Meaning:  The  interval specified in the AVERAGE statement is not within

          the  range of 2 to 31.

Action:   Correct the control card and resubmit the job.


Message:

     SLA006S SLIDING AVERAGE RECORD REQUIRED-RUN ABORTED

Meaning:  The  program has found a record that is not a sliding average

          record.  This can happen if a standard answer file is concatenated

          to the Sliding Average file via the JCL.

Action:   Insure that all files used as input are Sliding Average Answer

          files.


Message:

     SLA008S SLIDING AVERAGE ANSWER FILE CONTAINS NO DATA-RUN ABORTED

Meaning:  There were no records in the Sliding Average Answer file

          possible because the retrieval request was overly restrictive

          and no records qualified.

Action:   Examine your retrieval request and rerun the job,  if  desired.


Message:

     SLA009S SLIDING AVERAGE STATEMENT INVALID OR MISSING-RUN ABORTED

Meaning:  The statement identifier "AVERAGE" is misspelled or missing.

Action:   Correct the control statement and resubmit the job.
                                   152-6

-------
                                                      Appendix:  B
                                                      Version:   3T0
                                                      Date:      3/1/77
                                                                 11
Message:

     SLA010S SYNTAX REQUIRES NUMERIC PARAMETER BETWEEN 2 AND  31-RUN ABORTED

Meaning:   The program could not recognize the interval parameter,

          possibly because it is missing, improperly keypunched or

          misplaced.

Action:   Correct the control statement and resubmit the job.


Message:

     SLA011W INTERVAL SPECIFIED EXCEEDS MAX READINGS-SKIPPING TO NEXT SAMPLE

Meaning:   The interval specified exceeds the maximum number of readings

          for the time code.  The program skips to the next data set

          defined by a change in the combination Key-1 and Key-3 in the

          answer record.

Action:   Either of two approaches may be taken to process the records

          which have been skipped.  If the answer file is relatively

          small, reduce the interval and rerun the job.  If the answer

          file is relatively large, rerun the retrieval to extract the

          records which have been skipped and rerun the Sliding Average

          program.
                                   152-7

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      12
LXLNGPRC


The following are the diagnostic messages which, may be generated by the

Retrieval Language Processor Program.


Message:

     LNG001S  PREMATURE END OF FILE ON CONTROL CARD FILE-$$END MISSING-

     RUN ABORTED

Meaning:  The last card in specifying a retrieval must be a $$END card.

          The retrieval run is terminated prematurely.

Action:   Correct the error and resubmit the job.


Message:

     LNG002S FIRST CONTROL CARD NOT $$SELECT-RUN ABORTED

Meaning:  The first control card in specifying a retrieval must be a

          $$SELECT card.  The run is terminated prematurely.

Action:   Correct the error and resubmit the job.


Message:

     LNG003S IDENTIFIER DATA NAME INVALID-RUN ABORTED

Meaning:  Subject and object names (identifiers) must be spelled exactly,

          including the hyphen, as spelled in the Valid Names Table.

          See Figure 6.1.2.

Action:   Correct the subject name or object name and resubmit the job.
                                  152-8

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Pago:      13
Message:

     LNG004S PARENTHESES UNBALANCED AROUND FIRST OCCURRENCE OF  REPEATING

     NAME-ABORTED

Meaning:  The first reference to a repeating name must  appear at  least

          once without parentheses prior to the use of  repeating  fields

          enclosed in parentheses.

Action:   Correct the error and resubmit the job.


Message:

     LNG005S NO CONTROL CARDS IN INPUT STREAM-RUN ABORTED

Meaning:  As a minimum the $$SELECT card and the $$END  card must  be

          present for a retrieval.

Action:   Correct the error and resubmit the job.


Message:

     LNG006W INVALID NEGATION CHARACTER-NOT CONDITION WILL BE ASSUMED

Meaning:  Although any character will serve as the negation symbol "N",

          the correct character should be used to avoid the diagnostic

          message.

Action:   No action required in this job unless other errors have been

          detected.


Message:

     LNG007S INVALID RELATIONAL OPERATOR-RUN WILL BE ABORTED
                                  152-9

-------
                                                       Appendix:   B
                                                       Version:    3.0
                                                       Date:       3/1/77
                                                       Page:       14
Meaning:  The relational operator is not one of the following symbols:

          "=" denoting equals, " ^> " denoting greater than or " «^ "

          denoting less than.

Action    Correct the error and resubmit the job.


Message:

     LNG008S INVALID BOOLEAN OPERATOR-RUN WILL BE ABORTED

Meaning:  Either one or more relational expressions are missing or the

          Boolean operator AND or OR has been entered following the last

          relational expression in the retrieval specification.

Action:   Correct the errors and resubmit the job.


Message:

     LNG009S UNEXPECTED INPUT-CARD IGNORED-SCANNING FOR $$END CARD

Meaning:  The sequence of the retrieval specification statements is

          incorrect.  The program is expecting a $$END card (i.e.,  the

          Boolean operator AND or OR did not follow the last relational

          expression).   The error could be caused by a card out of

          sequence or a missing Boolean operator.

Action:   Correct the error and resubmit the job.


Message:

     LNG010S UNMATCHED BOOLEAN OPERATOR-RUN ABORTED

Meaning:  Either one or more relational expressions are missing or  the
                                  152-10

-------
                                                       Appendix:   B
                                                       Version:    ,3-C)
                                                       Date:       3/1/77,
                                                       Page:       15
          Boolean AND or OR has been entered in the last relationship

          job input card.

Action:   Correct the errors and resubmit the job.


Message:

     LNG015S $$END CARD MISPLACED OR MISSING RUN ABORTED

Meaning:  The program thinks the $$END card should Be the next card.

          This error condition is raised when an end-of-file is not

          preceeded by a $$END card.  Note the $$END is always required.

Action:   Correct the error and resubmit the job.
                                  152-11

-------
                                                      Appendix:  B
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      17
RXRETRVR
The following are the diagnostic messages which may be generated by the

Retrieval Program.


Message:

     RSA001S MASTER FILE CONTAINS NO RECORDS

Meaning:  The master file as indicated in the Job is empty (null).

Action:   Correct file name using latest listing of the master file for

     accuracy.


Message:

     RSA002W ANSWER FILE CONTAINS NO RECORDS

Meaning:  No answer records were selected (no records qualified) fitting

          the given criteria specified on the retrieval statements).

Action:   Check retrieval statements for accuracy if retrieval was

          expected.  After correcting, resubmit job run if necessary.
                                    153

-------
                                                     Apvendix:  B
                                                     Version:   3.0
                                                     Dace:      3/1/77
                                                     Pa^e:      18
Trnn.'znotion Editor Diagnostic Messages


    TRE001E  ERROR:   COLUMN 01 - INVALID TRANSACTION CODE - CARD REJECTED

                     The only valid transaction codes are 1,  23 and 3.

             ACTION:   CORRECT THE TRANSACTION CODE AND RE-SUBMIT.

    TRE002E  ERROR:   COLUMN 01 - NON-NUMERIC TRANSACTION CODE - CARD
                     REJECTED

                     The only valid Li'unnacLion codas a»e 1,  23 and 3.

          '   ACTION:   CORRECT THE TRANSACTION CODE AND RE-SUBMIT.

    TRE003E  ERROR:   COLUMN 80 - INVALID ACTION CODE - CARD REJECTED

                     The only valid action codes are 1 (Delete),
                     2 (Add)  and 3 (Change).

             ACTION:   CORRECT THE ACTION CODE AND RE-SUBMIT.

    TREOOAE  ERROR:   COLUMN 80 - NON-NUMERIC ACTION CODE - CARD REJECTED

                     The only valid action codes are 1 (Delete),
                     2 (Add)  and '6 (Change).

             ACTION:   CORRECT THE ACTION CODE AND RE-SU1MJT.

    TRK005K  ERROR:   COLUMN xx - INVALID TJME CODE - CARD REJECTED

                     The Lime code beginning in Column -sx is  invalid.
                     The valid time codes are shown in 'Fable  33 Appendix
                     A,  Page  149 of this manual.

             ACTION:   CORRECT THE TIME CODE AND RE-SUBMJT.

    TRE006E   ERROR:   COLUMN 02  - NON-NUMERIC STATE CODE - CARD REJECTED

             ACTION:   CORRECT THE STATE  CODE AND RE-SUBMIT.

    TRE007E   ERROR:   COLUMN 02  - INVALID STATE CODE - CARD REJECTED

                     State  Code  is not in the site file.
             ACTION:   CORRECT THE STATE  CODE AND RE-SUBMIT

    TRE008E  ERROR:   COLUMN xx - NON-NUMERIC AREA CODE - CARD REJECTED

            ACTION:   CORRECT THE AREA CODE AND RE-SUBMIT.
                                153-1

-------
                                                    Appendix:  B
                                                    Version:   2.0
                                                    Date:      9/24/76
                                                    Page:      2

 TRE009E  ERROR:   COLUMN xx - NON-NUMERIC SITE CODE -  CARD REJECTED

          ACTION:   CORRECT THE SITE CODE AND RE-SUBMIT.

 TRE010E  ERROR:   COLUMN xx - NON-ALPHABETIC AGENCY CODE  - CARD
                  REJECTED

          ACTION:   CORRECT THE AGENCY CODE AND RE-SUBMIT.

 TRE011E  ERROR:   COLUMN xx - NON-NUMERIC PROJECT CODE -  CARD
                  REJECTED

          ACTION:   CORRECT THE PROJECT CODE  AND RE-SUBMIT.

 TRE012E  ERROR:   COLUMN xx - NON-NUMERIC TIME CODE -  CARD  REJECTED

                  The time code beginning in Column xx is invalid. The
                  valid  time  codes are shoun in Table  3} Appendix A,
                  Page 149 of this manual.

         ACTION:   CORRECT THE TIME CODE  AND RE-SUBMIT.

 TRE013E   ERROR:   COLUMN xx - NON-NUMERIC YEAR  - CARD  REJECTED

         ACTION:   CORRECT THE YEAR AND RE-SUBMIT.

 TRE014E   ERROR:   COLUMN xx - YEAR LESS THAN SIXTY  - CARD REJECTED

                 SAROAD does  not accept data prior to 1960.

 TRE015E  ERROR:   COLUMN xx -  NON-NUMERIC MONTH - CARD REJECTED

         ACTION:  CORRECT  THE MONTH AND HE-SUBMIT.

 TRE016E  ERROR:   COLUMN xx - MONTH ZERO OR GREATER THAN TWELVE -
                  CARD REJECTED

         ACTION:  CORRECT THE MONTH AND RE-SUBMIT.

 TRE017E  ERROR:  COLUMN xx - NON-NUMERIC DAY - CARD REJECTED

         ACTION:  CORRECT THE DAY AND RE-SUBMIT.

TRE018E  ERROR:  COLUMN xx - INVALID DAY - CARD REJECTED

         ACTION:   CORRECT THE DAY AND RE-SUBMIT.

TRE019E  ERROR:  COLUMN xx - NON-NUMERIC START HOUR -  CARD REJECTED

         ACTION:   CORRECT THE START HOUR AND RE-SUBMIT.

                             153-2

-------
                                                 Appendix:   B
                                                 Version:    2.0   '
                                                 Date:       9/24/76
                                                 Page:       3
TRE020E  ERROR:  COLUMN xx - DECIMAL POSITION GREATER THAN FOUR -
                 CARD REJECTED

                 AQDHS-II currently Mill not accept a decimal
                 position greater than 4.

         ACTION:  CHANGE UNITS, DATA VALUE, AND DECIMAL CODE AND
                  RE-SUBMIT.

TRE021E  ERROR:  COLUMN xx - NON-NUMERIC PARAMETER CODE - CARD
                 REJECTED

         ACTION:  CORRECT THE PARAfrfETER CODE AND RE-SUBMIT.

TRE022E  ERROR:  COLUMN xx - NON-NUMERIC METHOD CODE - CARD REJECTED

         ACTION:  CORRECT THE METHOD CODE AND RE-SUBMIT.

TRE023E  ERROR:  COLUMN xx - NON-NUMERIC UNITS CODE - CARD REJECTED

         ACTION:  CORRECT THE UNITS CODE AND RE-SUBMIT.

TRE024E  ERROR:  COLUMN xx - NON-NUMERIC DECIMAL POSITION - CARD
                 REJECTED

         ACTION:  CORRECT THE DECIMAL POSITION AND RE-SUBMIT.

TRE025E  ERROR:  COLUMN 21 - START HOUR GREATER THAN TWENTY-THREE -
                 CARD REJECTED

                 The valid Start Hour range for Form 1 (Hourly) data
                 is 0 through 23.

         ACTION:  CORRECT THE START HOUR AND RE-SUBMIT.

TRE026W  WARNING:  COLUMN xx - START HOUR GREATER THAN TWENTY-THREE -
                   CARD ACCEPTED

                   An erroneous Start Hour has "been coded3 however
                   this will not affect the operation of the programs
                   or the file sequence,   (for forms 2  & 3)

         ACTION:  NO ACTION REQUIRED.

TRE027E  ERROR:  COLUMN xx - NON-NUMERIC READING - CARD REJECTED

         ACTION:  CORRECT THE READING AND RE-SUBMIT.
                          153-3

-------
                                                    Appendix:   B
                                                    Version:    2.0
                                                    Date:      9/24/76
                                                    Page:      4

 TRE028E  ERROR:  RECORD CONTAINS NO READINGS - CARD REJECTED

                  Transaction contains no readings for Form 1
                  data or no key information and readings for
                  Form 2 and Form 3 data.

          ACTION:   CORRECT AND RE-SUBMIT.

 TRE029E  ERROR:  COLUMN 19 - NON-NUMERIC NUMBER OF SAMPLES -
                  CARD REJECTED

          ACTION:   CORRECT THE NUMBER OF SAf-fPLES AXD RE-SUBMIT.

 TRE030E  ERROR:  COLUMN 22 - INVALID COMPOSITE TIME CODE - CARD
                  REJECTED

                  The  only valid Composite Time Codes are 1-9 >
                  A, and B.

          ACTION:   CORRECT THE COMPOSITE TIME CODE AND RE-SUBMIT.

 TRE031E  ERROR:   COLUMN 21 - NON-NUMERIC COMPOSITE TYPE  - CARD
                  REJECTED

                  The  only valid Composite Type  codes are
                  1  (Quarterly)^  2  (Seasonal),  3 (Monthly),
                  4  (Meekly)  and 5  (Annual).

          ACTION:  CORRECT THE COMPOSITE TYPE AND  RE-SUBMIT.

 TRE032E   ERROR:   COLUMN 17  - NON-NUMERIC PERIOD - CARD REJECTED

                  The  Composite Period field  contains  invalid
                  data.

         ACTION:  CORRECT AND RE-SUBMIT.

 TRE033E   ERROR:   COLUMN  17 -  INVALID PERIOD  - CARD  REJECTED

                 The Composite Period field contains invalid
                 data.

         ACTION:  CORRECT AND RE-SUBMIT.


TRE034E  ERROR:  COLUMN  21 - INVALID COMPOSITE TYPE - CARD
                 REJECTED

         ACTION:  CORRECT AND PE-SUBMIT.


                             153-4

-------
                                                     Appendix:  B
                                                     Version:   2.0
                                                     Date:      9/24/76
                                                     Paae:      5
 TRE035E  ERROR:  .COLUMN  xx -  INVALID  AREA CODE - CARD REJECTED

                  The Area  Code  specified is  not. in  the Site
                  Code  File.

          ACTION:   CORRECT  AND RE-SUBMIT OR UPDATE THE SITE FILE.
 TRE036E   ERROR:   COLUMN xx  -  INVALID  SITE  CODE  -  CARD  REJECTED

                  The Site Code specified is not in  the Site
                  Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

 TRE037E   ERROR:   COLUMN xx  -  INVALID  AGENCY CODE  -  CARD REJECTED

                  The Agency Code specified is not in the Site
                  Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

 TRE038E  ERROR:   COLUMN xx  - INVALID  PROJECT CODE - CARD REJECTED

                 The Project Code specified is not in the Site
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

 TRE039E  ERROR:  COLUMN xx - INVALID PARAMETER CODE - CARD REJECTED

                 The Parameter Code specified is  not in the
                 Parameter Code File.  .

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER FILE.

TRE040E  ERROR:  COLUMN xx - INVALID METHOD CODE  - CARD REJECTED

                 The Method Code specified is not in the Parameter
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER FILE.

TRE041E  ERROR:  COLUMN xx - INVALID UNITS CODE - CARD REJECTED

                 The Units Code specified is  not in the Parameter
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE TUB PARV'STEH FILE.

                              153-5

-------
                                               Append ix:  B
                                               Version:   2.0
                                               Date:      9/24/76
                                               Page:      6

 TRE042E  ERROR:  COLUMN xx - READING EXCEEDS MAXIMUM  PERMITTED  -
                  CARD REJECTED

                  Card presently rejected by AQDHS-II.

 TRE043E  ERROR:  COLUMN xx - READING EXCEEDS MAXIMUM  PEKMFTTED  -
                  CROUP yy  REJECTED

                  Croup presently rejected by AQDHS-LT.

 TRE044E  ERROR:  COLUMN 79 - FNVALLD STATUS FLAG  - CARD REJECTED

                  Blank and S are Llie only valid Slntus Flag
                  values.

          ACT/ON:   COHHECT  AND HE -SUBMIT.

 TRE045E  ERROR:   COLUMN xx - INVALID START HOUR (READINGS SPAN
                  END  OF DAY)  - REJECTED

          ACTION:   CORRECT  AND HE-SUBMIT.

 TRE046E  ERROR:   INVALID OPTION -  RUN ABORTED

          ACTION:   CORRECT  AND RE-SUBMIT.

 TRE047E  ERROR:   COLUMN xx -  INVALID AREA CODE  - GROUP yy REJECTED

                  The Area  Code  specified  Is not  In the Site
                  Code  File.

          ACTION:   CORRECT  AND HK-SUBMIT OR UPDA'I'E TI1K  SITE EI'LE.

TRE048K   ERROR:   COLUMN xx -  FNVALT.D SITE CODE  - CROUP yy REJECTED

                  The Site  Code  upccif'.tid  is no I  In the Site
                  Code  File.

         ACTl'ON:  CORRECT  AND HE-SUBMI'T OR URDATE THE  SITE FI'LK.

TRE049E  ERROR:   C07,UMN xx -  INVALfD AGENCY CODE - GROUP yy REJECTED

                  The Agency Code specified is no 1:  in the 'Site
                 Code Vile.

         ACT TON:  CORRECT AND RE-SUBMIT OH UPDATE  THE  S L'TK FILE.
                        153-6

-------
                                                   Appendix:   15
                                                   Version:    2.0
                                                   Date:      9/24/76
                                                   Page:      7

TRE050E  ERROR:  COLUMN xx - INVALID PROJECT CODE - GROUP yy
                 REJECTED

                 The Project Code specified is not in the
                 Site Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE SITE FILE.

TRE051E  ERROR:  COLUMN xx - INVALID PARAMETER CODE - CROUP yy
                 REJECTED

                 The Parameter Code specified is not in the
                 Parameter Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER
                  FILE.

TRE052E  ERROR:  COLUMN xx - INVALID METHOD CODE - GROUP yy REJECTED

                 The Method Code specified is not in the
                 Parameter Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER
                  FILE.

TRE053E  ERROR:  COLUMN xx - INVALID UNITS CODE - GROUP yy REJECTED

                 The Units Code specified is not in the Parameter
                 Code File.

         ACTION:  CORRECT AND RE-SUBMIT OR UPDATE THE PARAMETER
                  FILE.

TRE054E  ERROR:  COLUMN xx - DECIMAL POSITION GREATER THAN FOUR -
                 GROUP yy REJECTED

                 AQDHS-II currently will not accept a decimal
                 position greater than 4.

         ACTION:  CHANGE UNITS., DATA VALUE,  AND DECIMAL CODE  AND
                  RE-SUBMIT.

TRE055E  ERROR:  COLUMN xx - NON-NUMERIC DECIMAL POSITION -
                 GROUP yy REJECTED

         ACTION:  CORRECT THE DECIMAL POSITION AND RE-SUBMIT.
                            153-7

-------
                                                       Appendix:   B
                                                       Version:    2.0
                                                       Date:       9/24/76
                                                       Page:       8

        TRE056E  ERROR:  COLUMN xx - NON-NUMERIC AREA CODE - GROUP  yy
                         REJECTED

                 ACTI'ON:  CORRECT THK ARK A CODE AND RE^SUHMTT.

        TKKOWE  ERROR:  COLUMN xx - NON -NUMKRIC SITE CODE  - CROUP  yy
                         REJECTED
        TRE058E  ERROR:   COLUMN xx - NON-NUMERFC PARAMKTER CODE  - CROUP yy
                         REJECTED

                 ACTION:   CORRECT THK PARAMETER CODE AND RE-SUBMIT.

        TRE059E  ERROR:   COLUMN xx - NON-NUMERIC METHOD CODE -  CROUP yy
                         REJECTED

                 ACTION:   CORRECT THE METHOD CODE AND RK~r>lWMIT.

        TRE060E  ERROR:   COLUMN xx - NON-NUMERIC UNTTS CODE - CROUP yy
                         REJECTED

                 ACT1'ON:   CORRECT THE UNITS CODE AND RE--SIIHM1T.

        TRE061E  ERROR:   COLUMN xx - NON-NUMERFC READING - CROUP  yy
                         REJECTED

                 ACTION:   CORRECT THE READING AND RE-SUBMIT.

        TRE062E  ERROR:   COLUMN xx - NON-NUMERIC START HOUR -  GROUP yy
                         REJECTED

                 ACTION:   CORRECT THE START HOUR AND RE~SUiJM[T.
*
 Serious Error - Do Not Use Any Output  From This  Run.

xx -- Column nuinbnr
yy - Group number
                                153-8

-------
                                                       Append ix:   15
                                                       Version:    2.0
                                                       Date:       9/24/76
                                                       Page:       9
        File Maintenance Diagnostic Messages
        FMT001E  ERROR:  READING xx  - ATTEMPT  TO  ADD  DATA TO  EXISTING
                        READING - DATA  REJECTED

                ACTION:  EXAMINE DATA I'N  THE  TRANSACT TON AND RK-SUBMTT
                         ACCORDINGLY.

        FMT002W  WARN TNG:  READING xx VALUE NOT SPECIFIED - FIELD
                          FILLED WITH NINES.

                ACTION:  MONK.

        FMT003E  ERROR:  NO MATCHING KEY FOUND ON MASTER  FILE -  RECORD
                        REJECTED

                ACTION:  CORRECT TRANSACTION  AND RE-SU/1MIT.

        FMT004E  ERROR:  READING xx  - ATTEMPT  TO  CHANGE NON EXISTING
                        READING - DATA REJECTED

                ACTION:  EXAMINE DATA IN  THE  TRANSACTION AND RE-SUBMIT
                         ACCORDINGLY.

        FMT005E  ERROR:  NEW MASTER WfLL BE OUT OF SEQUENCE - RUN
                        ABORTED.

                ACTION:  SORT THE TRANSACTIONS AND RE-SUBMIT.

        FMT006E  ERROR:  CONFLFC'ITNG OPT CONS - RUN ABORTED

                ACTION:  CORRECT THE ORTTONS  CARD AND RE-SUhM[T.

        FMT007E  ERROR:  MORE THAN ONE IT -COMPOSITE-TYPE  - SKIPPING TO
                        NEXT VALID TYPE

                ACTION:  SUBMIT ONLY ONE  COMROSLTE TYRE  PER FILE
                         MAINTENANCE RUN.
Non -Numbered Errors
       ***DUPLTCATE RECORD FN OLD MASTER FILE***
       MASTER FFLE RECORD KEY 1 -- xxx
       MASTER FFLE RECORD KEY 2 = xxx
       TRANSACTION RECORD KEY = xxx
       *»*RUN TERMINATED-**
       »"^?T,EASE REPORT TUTS ERROR TO NADU***


                               153-9

-------
                                                         Appendix:  B
                                                         Version:   2.0
                                                         Date:      9/24/76
                                                         Page:      10
        *-----MASTER "FFLE  FS OUT OF  SEQUENCE***
        MASTER'FILE RECORD KEY  I  -  xxx
        MASTER KILE RECORD KEY  2  -  xxx
        TRANSACT TON RECORD KEY  •--  xxx
        ---•'•RUN TERMINATED"**
        •—•M'LEASE KKI'ORT 'I'll I S ERROR TO NADI3-'-**
        •A.V.VNEW MASTER FILE WILL RE OUT  OF  SEQUENCE***
        MASTER FILE RECORD KEY I -= xxx
        MASTER FILE RECORD KEY 2 - xxx
        TRANSACTION RECORD KEY - xxx
        ***RUN TERMINATED***
        ***PLEASE REPORT TUTS ERROR TO  NAJ)B***
*
 Serious Error  -  Do  Not Use Any Output From This Run.

xx - Column number
                                153-10

-------
                                                       Appendix:  B
                                                       Version:   2.0
                                                       Date:      9/24/76
                                                       Page:      11
AXMERGE MESSAGES


NORMAL COMPLETION

     The following message is printed upon normal completion of
AXMERGE:


          AXMERGE 	 FILE MERGE PROGRAM
          INPUT FILE 1 CONTAINS xxxx RECORDS

          INPUT FILE 2 CONTAINS mnunm RECORDS

          OUTPUT FILE CONTAINS nnnn RECORDS


ABNORMAL COMPLETION

     The following message is printed upon abnormal completion of AXMERGE:
          IDENT-KEY= xxxx IS FOUND ON BOTH FILES... RUN TERMINATED	
          MERGE FAILED	
                               153-11

-------
THIS PAGE LEFT INTENTIONALLY BLANK
             153-12

-------
                                                      Appendix:  C
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      1
                      Appendix C  -  PROGRAM MODIFICATION



Increasing Size of Farm Code Table  ......    155

     Parameter Code Table Maintenance   .....    155

     Transaction Editor    ........    155

     Detail List    .       ........    156

     Data Analysis  .       ........    157

     Statistical List       ........    158



Increasing Size of Site Code Table   ......    159

     Site Code Table Maintenance     ......    159

     Transaction Editor    ........    159

     Detail List    .       ........    160

     Statistical List       	161



Increasing Size of Parameter Standards  Table  ....    162

     Parameter Standards Table Maintenance    ....    162

     Detail List    .       ........    162

     Statistical List       ........    163
                                  154

-------
                                                      Appendix:  C
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      2
INCREASING SIZE OF PAJRM CODE TABLE


Whenever it is desired to increase the size (number of entries)  of the

parameter, method, unit codes, minimum detectable table,  it is necessary

to modify the following programs:

          Parameter Code Table Maintenance

          Transaction Editor

          Detail List

          Data Analysis

          Statistical List


The current limit for the number of entries in the table  is 100 entries

in all programs except Data Analysis.   The limit in the Data Analysis

program is currently 120.


The following paragraphs discuss the changes to be made in each program

described above.


     °    Parameter Code Table Maintenance

          Change the VALUE clause of the following sentence:

          77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 100.

          on or about sequence number  00016700, from 100  to the

          new limit of entries.  For example:

          77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 150.

          will increase the limit  to 150 entries.
                                   135

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      3
Transaction Editor

Change the VALUE clause of the following sentence:

77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 100.

on or about sequence number 00045300, from 100 to the

new limit of entries.  For example:

77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 150.

will increase the limit to 150 entries.   The value should

be the same as that specified in the Parameter Code Table

Maintenance program.


Change the OCCURS clause of the following sentence:

02 PARM-CODE-KEY-TABLE          OCCURS 100 TIMES.

on or about sequence number 00124200, from 100 to the

new limit of entries.  For example:

02 PAKM-CODE-KEY-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.   The value

should be the same as that specified for NBR-OF-PARMS.


Detail List

Change the VALUE clause of the following sentence:

77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 100.

on or about sequence number 00037800, from 100 to the

new limit of entries.  For example:

77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 150.
                         156

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      4
will increase the limit to 150 entries,  The value

should be tne same as that specified in the Parameter

Code Table Maintenance program.


Change the OCCURS clause of the following sentence:

02 PARM-CODE-KEY-TABLE          OCCURS 100 TIMES.

on or about sequence number 00133700, from 100 to  the

new limit of entries.  For example:

02 PARM-CODE-KEY-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified for NBR-OF-PARMS.


Change the OCCURS clause of the following sentence:

02 PARM-DESCRIPTION-TABLE          OCCURS 100 TIMES.

on or about sequence number 00135300, from 100 to  the

new limit of entries.  For example:

02 PARM-DESCRIPTION-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified for NBR-OF-PARMS.


Data Analysis

Change the array size of the following variable:

X         , MVDATAC 600 )

on or about sequence number 00018200,  from 600 to  the
                         157

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      5
new limit of entries, incrementing by 5 for each, new

entry.  The current value of 600 sets a limit of 120

entries.  To increase the limit to 150 entries,  enter

a value of 750 as the array size.  The number of entries

should be greater than or equal to the value specified

in the Parameter Code Table Maintenance program.


Statistical List

Change the VALUE clause of the following sentence:

77 NBR-OF-PARMS          PIC 999 COMP SYNC VALUE 100.

on or about sequence number 00024400, from 100 to the

new limit of entries.  For example:

77 NBR-OF-FARMS          PIC 999 COMP SYNC VALUE 150.

will increase the limit to 150 entries.  The value

should be the same as that specified in the Parameter

Code Table Maintenance program.


Change the OCCURS clause of the following sentence:

02 PARM-CODF-KEY-TABLE          OCCURS 100 TIMES.

on or about sequence number 00090700, from 100 to the

new limit of entries.  For example:

02 PARM-CODE-KEY-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified for NBR-OF-PARMS.
                         158

-------
                                            Appendix:   C
                                            Version:    3.0
                                            Date:       3/1/77
                                            Page:       6
Change the OCCURS clause of the following sentence:

02 PARM-DESCRIPTION-TABLE          OCCURS 100 TIMES.

on or about sequence number  00126100, from 100 to the

new limit of entries.  For example:

02 PARM-DESCRIPTION-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.   The value

should be the same as that specified for NBR-OF-PARMS.
                        158-1

-------
                                                      Appendix:  C
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      7
INCREASING SIZE OF SITE CODE TABLE


Whenever it is desired to increase the size (number of entries)  of the

valid site code table, it is necessary to modify the following programs:

          Site Code Table Maintenance

          Transaction Editor

          Detail List

          Statistical List


The current limit for the number of entries in the table is 100 entries.


The following paragraphs discuss the changes to be made in each program

described above.


     0    Site Code Table Maintenance

          Change the VALUE clause of the following sentence:

          77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 100.

          on or about sequence number 00014800, from 100 to the

          new limit of entries.   For example:

          77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 150.

          will increase the limit to 150 entries.


      °    Transaction Editor

          Change the VALUE clause of the following sentence:

          77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 100.
                                  159

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      8
on or about sequence number 00045400, from 100 to the

new limit of entries.  For example;

77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 150.

will increase the limit to 150 entries.  The value •

should be the same as that specified in the Site Code

Table Maintenance program.


Change the OCCURS clause of the following sentence:

02 SITE-CODE-TABLE          OCCURS 100 TIMES.

on or about sequence number 00125800, from 100 to the

new limit of entries.  For example:

02 SITE-CODE-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified for NBR-OF-SITES.


Detail List

Change the VALUE clause of the following sentence:

77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 100.

on or about sequence number 00037900, from 100 to the

new limit of entries.  For example:

77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 150.

will increase the limit to 150 entries.  The value

should be the same as that specified in the Site Code

Table Maintenance program.
                         160

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      9
Change the OCCURS clause in the following sentence:

02 SITE-CODE-TABLE          OCCURS 100 TIMES.

on or about sequence number 00159400,  from 100 to the

new limit of entries.  For example :

02 SITE-CODE-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified for NBR-OF-SITES.


Statistical List

Change the VALUE clause in the following sentence:

77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 100.

on or about sequence number 00024500,  from 100 to the

new limit of entries.  For example:

77 NBR-OF-SITES          PIC 999 COMP SYNC VALUE 150.

will increase the limit to 150 entries.  The value

should be the same as that specified in the Site Code

Table Maintenance program.


Change the OCCURS clause in the following sentence:

02 SITE-CODE-TABLE          OCCURS 100 TIMES.

on or about sequence number 00092300, from 100 to the

new limit of entries.  For example:

02 SITE-CODE-TABLE          OCCURS 150 TIMES.

will increase the limit to 150 entries.  The value

should be the same as that specified in NBR-OF-SITES.
                        161

-------
                                                      Appendix:  C
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      10
INCREASING SIZE OP PARAMETER STANDARDS TABLE


Whenever it is desired to increase the size (number of entries) of the

parameter standards table, it is necessary to modify the following

programs:

          Parameter Standards Table Maintenance

          Detail List

          Statistical List


The current limit for the number of entries in the table is 50.


The following paragraphs discuss the changes to be made in each program

described above.


     °    Parameter Standards Table Maintenance

          Change the VALUE clause of the following sentence:

          77 NBR-OF-STANDARDS          PIC 99 COMP SYNC VALUE 50.

          on or about sequence number 00016900, from 50 to the

          new limit of entries.   For example:

          77 NBR-OF-STANDARDS          PIC 999 COMP SYNC VALUE 100.

          will increase the limit to 100 entries.   Note that

          the picture clause must also be changed  to allow for

          more digits.
                                  162

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      11
Detail List

Change the VALUE clause of the following sentence:

77 NBR-OF-STANDARDS          PIC 29 COMP SYNC VALUE 50.

on or about sequence number 00038000,  from 50 to the

new limit of entries.  For example:

77 NBR-OF-STANDARDS          PIC 999 COMP SYNC VALUE 100.

will increase the limit to 100 entries.   The value

should be the same as that specified in the Parameter

Standards Table Maintenance program.


Change the OCCURS clause of the following sentence:

02 STANDARDS-TABLE          OCCURS 50 TIMES.

on or about sequence number 00161200,  from 50 to the

new limit of entries.  For example:

02 STANDARDS-TABLE          OCCURS 100 TIMES.

will Increase the limit to 100 entries.   The value

should be the same as that specified for NBR-OF-STANDARDS.


Statistical List

Change the VALUE clause of the following sentence:

77 NBR-OF-STANDARDS          PIC 99 COMP SYNC VALUE 50.

on or about sequence number 00024600,  from 50 to the

new limit of entries.  For example:
                         163

-------
                                            Appendix:  C
                                            Version:   3.0
                                            Date:      3/1/77
                                            Page:      12
77 NBR-OF-STANDA^DS          PIC 999 COMP SYNC VALUE 100.

will increase the limit to 100 entries.  The value

should be the same as that specified in the Parameter

Standards Table Maintenance program.



Change the OCCURS clause of the following sentence:

02 STANDARDS-TABLE          OCCURS 50 TIMES.

on or about sequence number 00126900, from 50 to the

new limit of entries.  For example:

02 STANDARDS-TABLE          OCCURS 100 TIMES.

will increase the limit to 100 entries.  The value

should be the same as that specified for NBR-OF-STANDARDS.
                         164

-------
THIS PAGE LEFT INTENTIONALLY BLANK
              164-1

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
D
3.0
                  Appendix D - CATALOGUED PROCEDURES


AQSACNVT:   AQDHS File to SAROAD Input  	  166

AQSBCNVT:   Old AQDHS File to New AQDHS Input	171

AQSCNVRT:   Old AQDHS Input to New AQDHS Input   	  176

AQSDANAL:   Data Analysis   	  181

AQSELIST:   Detail List	188

AQSFUPDT:   Transaction Editor and File Maintenance 	  194

AQSHUPD1:   Parameter Code Table Maintenance  	  203

AQSHUPD2:   Site Code Table Maintenance 	  212

AQSHUPD3:   Parameter Standards Table Maintenance   	  219

AQSIAVGS:   Sliding Average 	  226

AQSMSENT:   Answer File Flagging  	  232

AQSNSENT:   Parm-Code-Key File Flagging 	  237

AQSRETVR:   Retrieval Language Processor and Retrieval 	  242

AQSSLIST:   Statistical List   	  251

AQSTEDIT:   Transaction Editor 	  257

AQSMFUPD:   File Maintenance   	  262

AQSMERGE:   File Merging 	  263

AQSPMETH:   Print Parameter Method-Unit-Code-Table  	  263-4

AQSPSITE:   Print Site Code Table    	263-8

AQSPSTDS:   Print Parameter Standards Table   	  263-12
                                  165

-------
                                                            Appendix: D
                                                            Version:  3.0
                                                            Date:     3/1/77
                                                            Page:     2
AQSACNVT'_- AQDHS-H FILE TO SAROAD; INPUT



     AQSACNVT is executed to convert the AQDHS-H master file to SAROAD

input format.  The input to the program consists of AQDHS-II master

file records and is defined by DD name AQSMASTR.  There are four output

files created by the program.  The first, defined by AQSNEWMS, contains

the updated AQDHS-II master file.  The second, defined by AQSDDFL,

contains the add records.  The third, defined, by AQSCHGFL, contains the

change records.  The fourth, defined by AQSPR1NT, contains diagnostic

messages produced during the conversion process.
                                 166

-------
DP NAME                       DESCRIPTION

AQSMASTR       AQDHS master file to be converted
AQSNEWMS       New AQDHS master file
AQSPRINT       Print file for diagnostic messages
AQSADDFL       SAROAD add file deferred to DDNAME ADDFILE
AQSCHGFL       SAROAD change file deferred to DDNAME CHNGEFL
                          AQSACNVT - DONAMES
                                       167

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
AXCONVRT       Program to convert AQDHS file to SAROAD
               input format
OLDMSTR
FTMSTRAA       Lowest level index of AQDHS file to be
               converted
NEWMSTR
FTMSTRAB
Lowest level index of new AQDHS file
UNIT
2314
Unit type upon which the new AQDHS
master file is to reside
SERIAL
009858
Volume serial number of volume upon
which AQDHS master file is to reside
DISP
'NEW, CATLG,   Disposition of new AQDHS master file
DELETE'
SPCUNIT
TRK
Units in which space for the AQDHS
master file is to be allocated
PRIMARY
20
Number of units to be allocated for the
AQDHS master file's primary allocation
SECNDRY
10
Number of units to be allocated for the
AQDHS master file's secondary allocation
OUT
               Sysout class for all print files
                  AQSACNVT - Substitutable Parameters
                                      168

-------
                   Old
                  Master
                    •He  J
                    I
                                                  I
                                               Diagnostic
                                                Messages
AQSACNVT - Hat/) Plow
                169

-------
ooococ  o o  c,
C' C O  C' O C' <_< O  C'
•-i r\j fi  vj  u"\ >c r- <-L  c.''
OC'OOOOOOo
oooooc  c r  o
o c; o  o c> L) c  «~  c.'
o o o  c, o o L' o  c.
OdOOOOOOL-
                                             c  c- c
                                                                    » (Ni
                                                                         OL.  CC-C  G C  L-  CtJCOOOOOOOOOCOC  <-' C
r, LJ O  LJ  L  C  C1 O O
C -1 O LJ  O  L '  C ~> C1 L' O
L.. O O  C'  C  C' O C' C
OOUC'OCJOOC,
  C'  O O C. r-
'  C   C   O C  C
•  o  c  o c, c
'  t J  O O O O
                                                                                   c .  o c> o <
 o  o <-* o
• C'  O O C
'  O  O o O O  O

  L)  O O O O  O  C
>  O  O LJ O O  O  L.
                                                                                                                       'OOOOOOOC  OOC'C'C
                                                                                                                                                      _
                                                                                                                            COOOOOOOOOC.
   O C,'  C  O O C"  C
O O L-  O ^ O C  c
C O O  O L  OOC
   r-
   V.
   O
   -O
   O
_J
>-
Ct
LL
LL
LU
CC
*-
z
C.'
00
o

z
u
-*
CL Ct 1—

U
u;
X
LU


1-
»—i
J
CD
^)
t OO -i
E TC SAROAD INPUT FORMAT
_j
l~'

oo
J.
Cl
o

z
LJ
o

t * <
V \ ^
=£PRPJECT..LCAD,
=(PRIVATF,RETAIN),
<:HR ,PASS)
=SYS1.ANS.COBSUBR,
ShP.PASS )
LU LU «— LU • —
i- a. it i. u
Z —i v z oo
OO Q •— 00 •—
o > c. o c

D 0
0 CJ



CO
•-<
_J
CL
LL
h-
t OO 1
v V \ ^ ^ ^ "•
V ^ ^ "^ ~v ^ •>
OLC ACDHS MASTER FILE

I
,_
LU
00

<1
h-
<
U

h-
^
Q.
2
•-^

t « t
^ V. >
=£PPCJECT..OATA.£OLDKSTR,
=«PRIViTE,RETAIN) ,
LL LU
X- 3.
z 2
oo o
Q >

O
C,


cc
i—
00
x
UNIT,
= (PRIVATE,RETAIN,SER=f:SERI4L) t
erisp),
(f, SPruX'IT.IflP^IMAOY.SSECNCRYJ.PL
=£=RLjECT..CATA.£^i U^STR
W LU -- || Uj
II X. II LI i
~ ij in « 2
Z O — d i^
3 > Q oo CJ

Q
O


00
3L
JC
LU
Z
in
o
^ -^ -v ^ ^ J
LU
_J
LL
O
a
O
LJ
CC
1

LU
00

«£
h-
^t
O

1—

O.

J
a

r « *
LU
U.
II
LU
2.
- to >
(/) I/)
<1
O 1- CJ
O < CJ
Q

h- f~ h-

•— ' Ct •—
Qi 1 — «-£
CL- — ^ ^
-
•^ -V, >^. "^ -^ X. v
^ X, -^ X. ^ X, ^
1 —
_J
o
U3
fl
1 —
,_;
LJ
un
>
i*O

Q
Q




t—
-J
>„.
>y,
>
-^ ->*
v '-V
(-
-^

-------
AQSBCNVT - OLD AQDHS FILE TO NEW AQDHS INPUT

AQSBCNVT is executed to produce AQDHS input transactions from the old
AQDHS master file.  The input to the program consists of old AQDHS master
file records and is defined by DD name AQSAROAD.  There are two output
files created by the program.  The first, defined by AQSTRANS, contains
the AQDHS input transactions.  The second, defined by AQSPRINT, contains
any diagnostic messages generated during the conversion process.
                                       171

-------
DP NAME                       DESCRIPTION

AQSAROAD       Old AQDHS file
AQSTRANS       New AQDHS input transactions
AQSPRINT       Print file for diagnostic messages
                          AQSBCNVT - DDNAMES
                                        172

-------
I'AHAMKTKK
  NAME
JJKFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
BXCONVRT       Program to convert old AQDHS file to new
               AQDHS input transactions
OLDFILE
OLDAQDHS
Lowest level index of old AQDHS file
TEMP
SYSOUT
Unit type for temporary work space
PRIMARY
10
Number of units to be allocated for new
AQDHS input transactions' primary
allocation
SECNDRY
               Number of units to be allocated for new
               AQDHS input transactions' secondary
               allocation
OUT
               Sysout class for all print files
                  AQSBCNVT - Substitutable Parameters
                                      173

-------
                 Old
                AQDHS
                 File
               Program
               BXCONVKT
                          I) iagnosL Lc
                          Messages
AQSBCNVT -  IXita  Flow
                174

-------
o
0
C)
CJ
o
0
-r
•^
CJ
f
-o
CJ
J-
U-
X







LL
a.

>
UJ
•J
Ct
^)
x
















h-
>
O
CD
LO
O













«
*^
>^
o c o o c c c c>
Cj O Cj CJ C CJ CJ CJ
C I O 0 C ' C > CJ CJ C '
C1 C< O t > C1 C' t > CJ
C' 0 0 C . O C) LJ C '
O O O C' C 0 0 C>



























•>
•
LO
o • •
< K LO
• a I
l/l > LJ
X 2 C/
0 CJ - ^r •
- x — ' ^> a o •
II OJ CJ Q (-•-"""
t- II II LO || || II
CJ i LU >(->>-
-J Ot "- II *: «l CJ
CJ o u- o. _j 2. *r
a u c s. cj •- i_-
Q- O — 1 u, 0. ct LL
CL Cj ^"" UO (X 1/1
CJ
0
or
a.

t-
>
z
CJ
ED
to
Q
•tj *-l
V.^V.^-V'^^^
CCCOC'C. CC'OC
C- C ' O CJ O C' O C O O
C' C> CJ O O O C, C C O
cjooc-ocjcjcjoo






LO
z
o
•HI
K
u
<
z
o;
t-

K
^)
a
z
1-4

LO *
I *-
CJ »• ^
O cj •—
«*  >
< • LU CJ •—
a. x —• —i ad.
O O o ~- o- a.
u -c * LL LO —
C£ II —< l| II
•«3 u? LJ II i i. Jt.
II II «- LL CJ <1 _)
1- 2. O i CJ Z -J
IT O LU — 
c,
CJ _J CJ
UJ O CJ
X
UJ t-
oc
h- LU OU
a > —i
LU Z —J
> 00-
Z CJ CU
O 1-
V LJ « < ft- LO
^•V^'N.V.'v^^^^
C' C r_ C CJ O
O «_• CJ O CJ o
c i.' o c- C" o
c c, c^ o o o























» ^
a —
cc ^:
^ •— •
CO <1 LLi
OD 1— _J
O LU ^-
C.' IX U-
• •>
»- LO LL — L"
»/) a: t— LO i
LO -q  - Lt ct CJ
i LO — X _J
fl || II LO C.
u a. *- ii i
a. n -J o.
LO <: ^( LO h-
— LO O — LU
CJ C > O to

a <
Q t-
<
C

H-
O
a
z
b_<

* *
^ \ *** V, ^v ^
o o o c.
4; t~- a O
O O c~ CJ
cj o c i c
c o c. o
















•
LU
_J

LL
CJ
^J
o •

• ^
— -a
<1 K
CJ LU
• a.
• f
H- LU' —
O t- LO
LU «~ ^/l
~7 -> <3
CJ K- a
ac a -
Q. Q. CC
UJ — J.
II II LO
2. 2. ||
•C _) 0-
^ _. LO
LO O •—
CJ > O

D
CJ


O
 0 O
O 0 O
























*•
^»
LU
h-
UJ
-J
UJ
a
»•
tn
t/i
«^,
» a.
LL *•
1. JC
LU LU
t— -C
H H
t- a
*— C//-
*^ «-H
^ Q

O
o


w")
^

oc
<
^
*—.
a:
a
w
*~
•• LO
>~  LO
— II
(t Uj
UJ 3L
{-s <:
I?_J_JZ5-J
•-LJV^tVLJL^LJO

II | II II H U II
J t/J ^? _J _J Ij _J
*~ U »— LJCCJLJLJ
LUUOUJLOUOL/lijOUO
CO>-LO>->-^->->-
t/1 t/> t/1 V > \s~l LO
< ₯.-=>& _: a. i
CL*— CL*— t-L-u ^,
k_ CL i — CL_,_F — .;
13 a :J "- c —
O to C i/J ,/-,-"_ <.
' J X > >• j- >
*-M--ti--fi-^n--^- " j ,--^,
"•^ X^ "*«s. N^ ^ *>^ -^^ ^v,'1«s'V,N^ sv.\-~^v>V"^-^,
>SV^'V-^S>»*'^-^'S*-'^^-"-- ^^^-^\^
175

-------
AQSCNVRT - OLD AQDHS INPUT TO NEW AQDHS INPUT

AQSCNVRT is executed to convert old format AQDHS (SAROAD) input
transactions to new format AQDHS input transactions.  The input
to the conversion program consists of old format AQDHS input
transactions and is defined by DD name AQSAROAD.  There are two
output files created by the program.  The first, defined by
AQSTRANS, contains the new format AQDHS transactions.  The
second, defined by AQSPRINT, contains any diagnostic messages
generated during the conversion process.
                                       176

-------
DP NAME                       DESCRIPTION

AQSAROAD       Old AQDHS (SAROAD) input transactions
AQSTRANS       New AQDHS transactions
AQSPRINT       Print file for diagnostic messages
                          AQSCNVRT - DDNAMES
                                      177

-------
PARAMETER
  NAME
DEFAULT
 VALUE
DESCRIPTION
PROJECT
PROGRAM
'CDHS.AQS1     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)


CXCONVRT       Program to convert old AQDHS input format

               to new AQDHS input format
OUT
               Sysout class for all print files
                  AQSCNVRT - Substitutable Parameters
                                      178

-------
                  Old AQDHS
                   (SAROAD)
                 Transactions
                  Program
                  CXCONVRT
                           H iagnostic
                            Messages
AQSCNVRT -  Data  Flow
                179

-------
   OOOC  OOOOC'C OOOOOCCJOCOOOOOC-OC  C1 O  C> O  O O O O O  O C< O C'
                                                    ''-                                   ••
O CJ C.1 O  O C.J C  O <-> O O C1  C-' C1 O O O  C1 <-* O  f > CJ «-J (_) C~  C.' C.  C-  C  CJ
OOC'OOOCJOOOOOOOO&OC'OOC-C  O O O  C- (_•  c   OC'
OOOCOOOOOOOOOCOOOOOOOOOOO^CC-OO
                                                                                                         OOOOOOO^-OC  OOOO
                                                                                                         t~>  C' C1 O  t_> O  O ^' O  C1 O  C* C1 C'
                                                                                                         OC^OOOOOOOC'OOC  O
                                                                                                         OCiOOOOOOOOOOOC'
    •o
    o
                                     i.
                                     oc
    >
    UJ
    -J
    QC
    '-J
    X
00

                                           o
          QC ~
          CO Z

          oo «*
          CU K
          O UJ
          O Ct
           •   »
          OO UJ ^*
          <; I- oo
•^1 *-> CL

> U. OC

 II  II  00
U- Uj fc*
a. i.  ii
•a u a
2 _j w)
oo LJ —
o > a

o
o
z
D

t-
LJ
•a.
oo
^



cj
                                                                                     O


                                                                                     3
                                                                                                                UJ
                                                                                                                00
                                                                                                                -
                                                                                                                                                  oo
                                         o
                                         o
                                                                                                                   00  *  l/i *
oo
O
                                                                                                     180

-------
AQSDANAL - DATA ANALYSIS

AQSDANAL is executed to perform various statistical analyses on the
AQDHS master file or answer file.  There are two input files used by
this program.  The first, defined by DD name FT08F001, contains the
flagged master file or answer file.  The second, defined by FT09F001,
contains the flagged key portion of the parameter, method, unit codes
table.  There are two output files created by this program.  The first,
defined by FT10F001, contains the statistics file.  The second,
defined by FT06F001, contains any diagnostic messages generated during
the analysis.
                                      181

-------
DP NAME                       DESCRIPTION

FT08F001       AQDHS master file
FT09F001       Key portion of parameter, method, unit table
FT10F001       Statistics output file
FT06F001       Print file for diagnostic messages
                          AQSDANAL - DDNAMES
                                      182

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
DXSTATIS       Program to perform statistical analyses
               of readings in AQDHS master file
MSTRFIL
MTMSTRAA
Lowest level index of AQDHS master file
PARMKFL
NTPRM1AA       Lowest level index of key portion of
               parameter, method, unit table
STATFIL
STMSTRAA       Lowest level index of statistics output
               file
UNIT
2314
Unit type upon which the statistics file
is to reside
SERIAL
009858
Volume serial number of volume upon which
statistics file is to reside
DISP
'NEW.CATLG
DELETE'
Disposition of statistics file
SPCUNIT
TRK
Units in which space for the statistics
file is to be allocated
PRIMARY
10
Number of units to be allocated for the
statistics file's primary allocation
                  AQSDANAL - Substitutable Parameters
                                       183

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
SECNDRY
               Number of units to be allocated for the
               statistics file's secondary allocation
RECFM
FB
Recording format is fixed, blocked,
LRECL
141
Record length for statistics file
BLKSIZE
1692
Block size for statistics file
OUT
               Sysout Class for all print files
                  AQSDANAL - Substitutable Parameters

                              (continued)
                                      184

-------
                           'arm-Code
                           Key File
                Program
                DXSTAT1S
                          1) iagnostic
                           Messages
AQSDANAL -  Data Flow
                185

-------



































































_l

<

c
<->
•*
r-
•^.
o
•"x
•O
o



-T
U.
I









u.
pc

^
UJ
-J
a.
~.
X














<
•^
LJ
I/I
O
 i ' ( o C' c >
C. O O O O O C O O O O O O
OOOOOOC.OOOOOO





























»
•
UJ
• f—
• LL
CO -J
Cl » » •• •• LU
4 IS) « < « LJ
« k-4 <1 
- x t- i- K- •• u- » cc o »
li(j2.Zoo~rojtK.- • u- ••
*- II If 1! II •-< O LU || || II CO
LU-~ 0-_Ja_.£LL
aL(JKOL<*-Lr •— <_'O
Q. Oc. OO «l H- Z UJ •-• Q_ QL LU LL.
Q-2.O-LO.3t/'. C 00 O- o-> CL
u
0
Q-
o.

_J
<
z
<3
o
00
0
* «
XV.Vx^v^'^^^.^.^'v^^.






ooooooooo
O C> C1 C O O C C O
C O O C 0 C C. O O
0 O C' C' c_> C1 0 O 0
C C O 0 C. 0 L. 00
O O O O O C' C-"1 O O


LU
_J
k— 1
U-

or
LU
t-
oo
<
2.

LO
I
cj
a
<

*:
1-4

oo
o
z
(— ,
o
<
LU
ct

u.
u

00
•-<
LO
>
» * _J
O^ <1 ^ 2
••4. Ct O ^* <
r* — . 0 0 O
sj- II L.1 r~ t •• ^J
^H ui a- u ,— i • a
«i UJ
< Q.
z
* — — . <1 >-c
«l < LU t- *l
LJ t-  1— LU -^
O K LO < OHO"
LU *G. LO 1. UJ - a a. o LL o. cc
II II LO <1 II || 00
LU Uj — LU UJ *-
« o u. ' « z> "-
Z _l l^ 1— Z _J LO
l/l O >- LU LO O •—
C > O 00 Q > O

o < o
O 1-0
<3
CJ
P-J
CD t- C
«— .30
— J Q- LL
Q. Z «,
LU ~ O
t— >—
* LO * * * U_ -ti-







o o o o
o o c- c
o o o c
o o *- ' f. ^
0 C C U
O C' C' 0


UJ
_J
CO
<
t-

t—
^H
z
0

»
a
u
X
t-
LU
2.

» *.
CC _J
11 II
K ic
UJ 2-
^ £X
<  a. a.
-^ II II
LL LU
1 A- i-
^— il 	 1
LU OO C
oo O >

v







O' O O C_' C.1 C,1 t-' C'
o c c o c- c co
*-' C • C O C' O ^- C'»
O O C' O t O O C
C 0 0 C, 0 O 0 0
O CJ 0 O C C C' O










•>
•~*
LU
to
_J
QC
» V
«-. «>-.
—1 >
-
(/7 O
w <1
LU z: i.
_J *— *—
•—" — t-.Z3Cl.LJ
l/l LL •-" «J OO •<.
p- oo ^ CJ •- a
C _^ > C o*j

*, * •« LU
"V*^.>V'SV.'*V"X.v-^v"Ns.>X.






LJ
o
r-
s
C3
CJ
c^





















r-
_J
•— t
LL
t—
*^
k-
to
LO
*
<1
>—
<1
C_'
•
*
H-
LJ
D-J
)
o
cc.
Ci.
II
LL-
i
^
oo
CJ












^







o c,
0 C
o c_
O C.'
0 C>
0 C




-*.
LU
fsj
t—
t/1
^x
	 I
CL,
to
II
Ll-i
r-si
»— 1
oo
^;
	 1
CL)
*
_J
LJ
u
a
_J
to
II
-J
LJ
LU
CL
	 1
•.
>_
LL
Lv
LU
o-
It
>_
LL
Uj"
a.
tl
a.
LJ
c?












*
-X. -V.







oc'crc c oooo
OC'C C L-C'OC.'i_
{__, ,_( (\J f* ^- ^f-, ^ f-— ^j
o c o o L. o o c - e
t ^ C O C ~ O O C, (_'O
C- O C1 L. 0 O L- L O
c:> o c- c , o c) o o o


























LO
LU
o ^
<: CJ
(/I •-*
0" h-
LU <1
i. a:
LU
L,J CX
— i CJ
L_
on ie_
O ' LU
^5 t- C-i t- v-
- U -J
*-* U */) LJ LJ
II 1 II 'I
| 1— K- )—
-J L/"; ^p —3
h- LJ ^- LJ LJ
UJ OO LU CT LiO
oo >- to >• >-
uo oo oo
•a  >•
-if -ft- LL •*;- -H- *•• */l -H- 1/1
\\^v.->K X.-x.'-v.-v^
\v^-x.>^X.\X.^.1v,






186

-------
                                                              Appendix:  D

                                                              Version:   3.0

                                                              Date:      3/1/77

                                                              Page:      1
  o
  o
  a-
  IT
  c
  o
  o
  o
C.
Wl
o
                                               187

-------
                                                      Appendix:  D
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      2
AQSELIST - DETAIL LIST

AQSELIST is executed to produce a detailed listing of the contents of
the AQDHS master file.  There are six input files used by the program.
The first, defined by DD name AQSINPUT, contains the control card required
by the program.  The second, defined by AQSMASTR, contain the master or
answer file to be listed.  The third, defined by AQSPARMK, contains the
key portion of the parameter, method, unit codes table.  The fourth,
defined by AQSPARMD, contains the description portion of the parameter,
method, unit codes table.  The fifth, defined by AQSSITES, contains the
valid site codes table.  The sixth, defined by AQSTNDRD, contains the
parameter standards table.  There is one output file created by the
program.  This file, defined by AQSPRINT, contains the detailed report
listing and any diagnostic messages generated during the reporting
process.
Figure 7.1.2-1 describes  the format  of the control card for Sliding Average
reports.  Figure 7.1.2-2  describes  the format of the control cards for a
Standard Answer report.
                                      188

-------
1)1) NAME
DESCRIPTION
AQSINPUT       AQDHS control card
AQSMASTR       AQDHS master file
AQSPARMK       Key portion of parameter, method, unit table
AQSPARMD       Description portion of table
AQSSITES       Valid site codes table
AQSTNDRD       Parameter standards table
AQSPRINT       Print file for report listing
                          AQSELIST - DDNAMES
                                       189

-------
PARAMETER
  NAME
DEFAULT
 VALUE
DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level of data set names (e.g.,
               CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
EXRPTLST       This program lists the contents of the
               AQDHS master file
MSTRFIL
FTMSTRAA       Lowest level index of the AQDHS master
               file
PARMK.FL
HTPRM1AA       Lowest level index of the key portion of
               parameter, method, unit table
PARMDFL
HTPRM2AA       Lowest level index of the description
               portion of the above table
SITEFIL
HTSITEAA       Lowest level index of the valid site
               codes table
STNDFIL
HTSTNDAA       Lowest level index of the parameter
               standards table
OUT
               Sysout class for all print files
                  AQSELIST - Substitutable Parameters
                                      190

-------
                                                Appendix:
                                                Version:
                                                Date:
                                                Page:
                                      D
                                      3.0
                                      3/1/77
                                      3
Control
 Card
Master
 File
Farm-Code
Key File
                      Site
                      Code
                      File
                 Farm
               Standards
                            Program
                            EXRPTLST
                             Detail
                             Report
                      AQSKLJST - Data Flow
                            191

-------
UJ
o
Appendix:
Version:
Date:
Page:
D
3.0
3/1/77
4
                                                             ^pjrnsfin>of^m
       ooooooooooooooooaooooooooooooooooooooooooooooooooooooooo
           z 0.000:0: ^
           I|UJU_XXXX
             ii u it u u; u
       :«-«  UJ-'IJLU. *->i-i
       Of  a a; oo «c '-

-------
 oooaoooooooooooooooo
 oooooooooooooooooooo
 r>~ co & o —i f\j m •&• m -o Is- ao cr- o ^ f\i ro -$• irv o
• m in m %o -o »o «o o o >o o \o >o r- f- h- r»* r- r- r-
 oooooooooooooooooooo
 oooooooooooooooooooo
.oooooooooooooooooooo
 oooooooooooooooooooo
i
















0
z
1-4
H*
«/>
*-*
-« -J
I*"
IcO H
<< QC
JO. O
! - Q-
'o£ UJ
,1 OC
CO
i*1* '
II
 ^. ^^ "^
^^s^s^s







'
i


!

;
1
i
Z
O !
^^
t i
- rj o r>
 o o o
to to to
1 H 1! II
kuM fc-i, ^^
r~* r* r*
CO 3 3 O
»- a o o
UJ tO ,tO CO
l/> ^- >- i-
1** * ^^ ^^ ^^
CO CO tO
^f
K- o Q a
< 0 Q 0
a :
•- •- K
r? z 3
a. »-• »~ O
I- a: Z3 co
a a. a a
o to co to
>•>•>•
* »00*.l/>ttLO#
•^X^>s>>*->>»'>
*^> ^_ ^^ ^fc- "^ "^- *^- ^fc
^^^* ^s ^^^S ^ ^» ^







1
'
t




:
j
;
'
;
-









1- H-
rs o
0 O
tO (O
£ JL
5 5
o a
> >
t^ UO
0 0
0 Q
i
z a
a: z:
ai ^3
i- O
0 3
00 00
>• >
to*to*
,*KX-»»X.
>^ ^. ^fc- N^
» ^ ^ ^ ^

                                            193
                                                                   Appendix:

                                                                   Version:

                                                                   Date:

                                                                   Page:
D

3.0

3/1/77

5

-------
                                                      Appendix:  D
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      5-1
AQSFUPDT - FILE MAINTENANCE WITH TRANSACTION EDITOR

AQSFUPDT is executed to create and maintain the AQDHS-II master file.  The
process occurs in three stages.  First, the input transactions are edited and
converted into an internal format.  Next, these internal transactions are
sorted into file sequence.  Finally, the File Maintenance program reads the
sorted transactions and uses them to create or maintain the master file.

There are four input files used in the editing phase.  The first, defined
by DD name AQSTRANS, contains the transactions to be edited.  The second,
defined by AQSPARAMS, contains the key portion of the parameter, method, and
unit codes table.  The third, defined by AQSSITES, contains the valid
site codes table.  The fourth defined by AQSOPTIN, contains the edit
options control card.  There are three output files created during the
editing phase.  The first, defined by AQSINTRN, contains the edited
internal format transactions.  The second,  defined by AQSPRINT, contains
any diagnostic messages generated during the editing process.   The third,
defined by AQSCONFR, contains the transaction listing.

Figure 2.2-2.1 shows the formats of the file maintenance transactions.

There are three input files vised by the maintenance phase.   The first, defined
by AQSINTRN, contains the sorted internal format transactions.  The second,
defined by AQSOLDMS, contains the old AQDHS-II master file to be updated.  The
third defined by AQSINPUT, contains the file maintenance control card.  There
are five output files created during the maintenance phase.  The first, defined
by AQSNEWMS, contains the new AQDHS-II master file.   The second, defined by
AQSPRINT, contains any diagnostic messages  generated during the maintenance
process.   The third, defined by AQSOLDRC
                                  194

-------
                                                       Appendix:   D
                                                       Version:    2.0
                                                       Date:       9/20/76
                                                       Page:       7
contains a listing of any old master file records which were changed or
deleted.  The fourth, defined by AQSNEWRC, contains a listing of any new
master file records added or changed.  The fifth, defined by AQSCONFR,
contains a listing of the internal transactions generated by the edit
process.
                                  194-1

-------
                                        Appendix:
                                        Version:
                                        Date:
                                        Page:
                           D
                           2.0
                           9/20/76
DD NAME
     DESCRIPTION
AQSTRANS
AQSPARMS

AQSSITES
AQSOPTIN
AQSINTRN
AQSPRINT
AQSCONFR
SORTIN
SORTOUT
AQSINTRN
AQSOLDMS

AQSINPUT
AQSNEWMS
AQSPRINT
AQSOLDRC
AQSNEWRC
AQSCONFR
AQDHS-II input transactions
Key portion of valid parm, method,
unit table
Valid site codes table
Edit option control card
AQDHS-II output internal transactions
Print file for diagnostic messages
Transaction listing
AQDHS-II internal transactions
Sorted AQDHS-II internal transactions
Sorted AQDHS-II internal transactions
Old AQDHS-II master file to be
updated
File maintenance control card
Updated AQDHS-II master file
Print file for diagnostic messages
Old Master listing
New Master listing
Internal transaction listing
                   195

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   9
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'
Highest level index of data set names
(e.g., CDHS.AQS.DATA.FTMSTRAA)
PROG1
TXTREDIT
Program to edit AQDHS-II file maintenance
transactions
PROG2
FXFILMNT
Program to update AQDHS-II master file
OLDMSTR
FTMSTRAA
Lowest level index of AQDHS-II file to

be updated
NEWMSTR
FTMSTRAB
Lowest level index of new AQDHS-II
master file
PARMKFL
HTPRM1AA
Lowest level index of the key portion

of valid parm, method, unit table
SITEFIL
HTSITEAA
Lowest level index of the valid site
codes table
UNIT
3330
Unit type upon which the new AQDHS-II
master file is to reside
SERIAL
CDHSPK
Volumn serial number of volume upon

which AQDHS-II master file is to reside
DISP
'NEW CATLG,
DELETE'
Disposition of new AQDHS-II master file
                    AQSFUPDT - Substitutable Parameters
                                  19 {>

-------
                                                       Appendix:
                                                       Version:-
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   10
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
SPCUNIT
TRK
Units in which space for the AQDHS-II
master file is to be allocated
PRIMARY
20
Number of units to be allocated for the
AQDHS-II master file's primary
allocation
SECNDRY
10
Number of units to be allocated for
the AQDHS-II master file's secondary
allocation
TEMP
SYSOUT
Unit type for temporary work space
WORKSPC
50
Number of units to be allocated for
temporary work space
SORTCTL
TSORTCTL
Sort control card
OUT
                    Sysout class for all print files
                     AQSFUPDT - Substitutable Parameters
                               (continued)

                                  197

-------
                                                           Appendix:
                                                           Version:
                                                           Date:
                                                           Page:
   D
   11
  AQDHS-II
Transactions
Edit
Control
Card
                           Program
                           TXTREDIT
I
Transaction
Listing
\
^— —

L__^~
L. s
(^ ^v^
Internal
Trans-
actions


7
Diagnostic
Messages
L_^^ —
                      AQSFUPDT - DATA FLOW
                             198

-------
                                              Appendix:
                                              Version:
                                              Date :
                                              PaKe:
                              D
                              2.0
                              9/23/76
                              12
Sorted
Trans-
actions
Master
File
Control
Card
               V
           Program
           FXFILMNT
                           Diagnostic
                            Messages
                    Internal
                   Transaction
                    Listing
          AQSFUPDT - DATA FLOW
             (continued)
                 199

-------
                                                            Appendix:
                                                            Version:
                                                            Date:
                                                            Page:
                                                                          D
                                                                          2.0
                                                                          9/20/76
                                                                          13
                 ('HI)Jfc L f - 'CtiA OH
                     = I X I Hi UI T ,
                   i2 = F-XFIl_MNT,
                rtl=HOK,
                      < = h T'^TKAA,
                NE.vMi f H=F- Ti'STHAiJ,
                PAR.-IKFL = HIPKM1AA,
                SI TtKIu=«TiI TtAA,
                UNIT=4340,
                SPCUNIr=TKK,
                stc.
                     TL = rsuwrc rt,
//*
          LxtC
//*
//« tun AQDHS  f- ILH
            UU
            uu
                                 fKANSACTIONS
//STtPLlH
//
                         31 .CDbLIB,
//*                                      •
//* INPUT DATA  SET  -  C UI T  OPTIONS CUNT hiflLC. A«0
//*
//AIJSUPTIN  UU  ljDNAMt = l)PT IONS,
//*
//* INPUT
                                                                           OOOUOiOO
                                                                           0 0 0 0 0 H 0 0
                                                                           01) 000600
                                                                           00000700
                                                                           OuOOOHOO
                                                                           00000900
                                                                           o n o u i o 0 o
                                                                           U 0 0 0 1 1 0 0
                                                                           00001^00
                                                                           0000 1 400
                                                                           o o o o i a o o
                                                                           1)000 1 bOO
                                                                           ') U 0 0 1 6 1) 0
                                                                           00001 700
                                                                           0000 1 HO 0
                                                                           00001400
                                                                           00002000
                                                                           o o n o c1 ! o o
                                                                           u 0 0 0 ? d C 0
                                                                           00002UOO
                                                                           00002hOO
                                                                           0000^/00
                                                                           0 0 0 0 e! H 0 0
                                                                           0000.5000
                                                                           00005100
                                                                           OGOOJ^dO
                                                                           00003300
                StT  -  AuDHS TRANSACTIONS
                                                                           00003SOO
                                                                           OOOOibOO
                                                                           00004/00
                                                                           0 0 0 o 3 H 0 0
                                                                           00003900
                                        200

-------
                                                              Appendix:
                                                              Version:
                                                              Date:
                                                              Page:
                                                                            D
                                                                            2.0
                                                                            9/20/76
                                                                            14
//AUSTKANS   00
//*
//* INPUT UATA  SET  - KEt PORTION  Of"  VALID PARM, MfcTh,  UN I T  TAIJIE
//*
//AfJSPAKMS   OL)  05MAME = J4PtfUJECT . . OA ! A. kPA
//              v()LUMt= (PHI VA TE,Hf. T AIu) ,
//              D!SP=(3Hr<,PASS)
//*
//» INPUT DAU  SET  - VAL10 Sltt CUDE  TAULL
//AlJSSlTtS  00
                                . .DAI A.A51 TtFIL,
                    Mt= (PhlVATt,wtTAlu),
//              OISP=(SHK,PASS)
//*
//« UUIPUT  OATA SET - A.JOHS  I '. riR.J AL  TKANSAL I
//*
//AUSINTKh   00  UNI T=&TtMP,
//
//* UutPUT  UATA  SET - I * ANSAC T I U,J  LI
//*
//AQbCUMf-H   DO  SYSOOT=4UUT
//*
//« OUTPUT  OATA  3tT - DIAGNOSTIC. ^tS
//*
//AiJSPHiNT   no  srsuui=iiuur
//*
//* OUTPUT  UA|A  SEIS - SYSTEM  UPfckATItiN
//«
7/bYSPKInT  ' 00  SYSUUT=*IUUT
//*
//SY30UI     00  SY3uUT=)tUuT
//SYSDbOUT   00
//•
//SYSDTErJM   UD  SY50UT=itUuT
                                                                           T 00 u 'I ''i II ')
                                                                           0 0 u 0 ti 1 0 u
                                                                           u 0 0 0 y d u 0
                                                                           0 0 0 0 '< 5  0 0
                                                                           UOOOfaUOO
                                                                           00006100
                                                                           o u o o 6 i n o
                                                                           1 1 0 0 0 b 'J 0 U
                                                                           OuOObbOO
                                                                           0 0 0 0 b b u 0
                                                                           0 0 0 0 o 7 0 0
                                                                           OOOOhrtOO
                                                                           00006^00
                                                                           0^007000
                                                                           OOOO/IOQ
                                                                           0 0 0 u 7 
-------
                                                              Appendix:
                                                              Version:
                                                              Date:
                                                              Page:
//
//
//*
//* SOWT
             UU  j f'jijljl -y.UU I

           t/tf,  (•','• : 1 F •'!• I, ' i1; (' ,
                 l'I.H".S 'f,'|r't -'O^
                 "tMm, -<<«P=(NE.%,PASS,DELETE),
                   CE=( TRK, (&rt()WKSPC;,K'LSE ) ,
/ / 3 Y S I f J
                      . = liPKl)Jt.CT..SrSINU3uKT(.TL)»
                VULUMt=(PW1vAIE,HEFA IN) ,
                DISP=(SHR,PASS)
//*
//UPDATf   LxEC
                                                                            D
                                                                            2.0
                                                                            9/20/76
                                                                            15
_•   » P
} C 0 . • •i -J 0 0
 u 0
                                                                              uOOu^iOU
                                                                              0 0 0 0 9 U 0 0
                                                                              0 0 0 0 4 5 0 U
                                                                              0 0 0 0 '-> 6 0 0
                                                                              0 0 u 0 V / 0 0
                TIMt=(J,0)
ouoov^oo
<; o o I o o (i 0
00010100
00010200
0 0 U 1 0 i U 0
0 0 0 l'"J 0 0
0 0 0 1 0 S 0 0
000 1 ObOO
uOOl 0/00
000 1 0800
000 1 0900
00011000
0001 1 100
00011POO
0001 1300
0001 1 J 0 0
0001 1 "buu
000 1 1 6DO
000 1 1 /OO
0 0 0 11 fl 0 0
0001 1 
-------
                                                                Appendix:
                                                                Version:
                                                                Date:
                                                                Page:
                                                                              D
                                                                              2.0
                                                                              9/20/76
                                                                              16
AiJOHS
                            FILL
//*
//* NiAIhlA
//*
//MEPLttt    OD
//           00 IJSUAME = SYM .CUDLIB,
//              DISP=(SHK,P«S3)
//*
//» luPUT  DATA SET - FILE.  MA I ^ ft NAfJLE  CUUTKUL IAKO
//*
//AQSINPUT   OD D[riAr't =
//*
                                        T K ANS At T 1
//« IllPUT  OATA isET - SUHTtl)
//*
//AUSIUTHlM  DD DSfjA'-1t=K«,SukTtD,
//              DISP=CULU,OELt. IU
//*
//* INPUT  OATA SET - AfJOnS NLO MASTER  FILt
//*
//Ai.'SOLOMS  uO U3NAME.-S.PRUJECT . .OATA.&OLtiMS TN,
//              VOLUME= tPKIVATE ,WLT A I IM ) ,
//              DI3P=(SHR,PASS)
//*
//* OUTPUT OATA StT -  AOOriS fit*.  -IASTLK  FILk
//*
        wMS  UU U.MM
//*
//* UUTPUT  DATA StT -  IifTLHNAL  T
//*
//AUSCONFK   DO SYSUUT=JvOuT
//*
//« UUTPUT  DATA SET -  DIAGNOSTIC
//*
//AUSPHlNT   DO SYSUI)T=(iUUT
                                         f IC1N
0 0 0 1
•j u 0 1
ObO I
u 0 0 1
0 0 0 1
UOO 1
0 0 0 1
000 I
o o o i
d (1 '•) 0
1 \ n o
t'^Ou
5 5 0 0
i. U I) 0
^OO
?. b 0 0
c1 /OO
d « o o
                                                                             u 0
                                                                                 1 iOOO
                                                                                 1 3 1 0 0
                                                               0001 ii'>0
                                                               o i"i u i 5 y o o
                                                               0 0 0 1 i b 0 0
                                                               0 0 0 1 i (j 0 0
                                                               0001 i / 0 0
                                                               Ud) 1 3MOO
                                                               000 1 i^oO
                                                               i MJ o i y u o u
                                                               0 (i 0 1 i, 1 0 0
                                                                ut)u 1 'i 5uo
                                                                0 u 0 1 'J u U 0
                                                                000 1 ^CJI'0
                                                                DOO 1 «e>00
                                                                i) 0 u ] '' 7 u 0
                                                                jon l '..HUO
                                                                U 0 01 fc q 0 0
                                                                a o u i s u o o
                                                                ooo i M on
                                                                0 0 0 1 ci 
-------
                                                            Appendix:
                                                            Version:
                                                            Date:
                                                            Page:
                                                                         D
                                                                         2.0
                                                                         9/20/76
                                                                         17
//» IJUTPul l)AIA btf - ULO '"ASTLK
//*
            uO 5YS()UT=X.UuT
                                                                          00016100
//* OUTPUT DATA SIT -
//*
                           :-lASTE.H
//*
//« UUlPUf OAIA SLTS - SYSftM
//»
//srsPKiwr  uo svsuuf = s,uur
//*
//SVSUUI    00 SY5UUT=HUUT
//*
//SYSDhUUT  UD SYSOur=itUUT
//*
//bYSDTfcKM  00 GYSUU r = d
//*
//SYSUL/UHP  oo SYSoui
//*
   1 6300
000 loOOU
0 0 0 1 6 V> 0 0
OUU 1 obfit)
J 0 0 1 6 / u U
00016800
0001 e> "i 00
00017000
0 0 0 1 / I ,) 0
0001 / 2 0 0
0 0 G 1 7 i >i 0
OUO 1 7UOO
0001 / S 0 0
J 0 0 1 7600
0001 / 700
0 U 0 1 / H 0 0
0001 7 9 u 0
0 0 0 1 H u 0 0
                                       202-2

-------
THIS PAGE LEFT INTENTIONALLY BLANK
             202-3

-------
AQSHUPD1 - PARAMETER CODE TABLE MAINTENANCE

AQSHUPD1 is executed to create or maintain the parameter, method, unit
codes tables.  The process occurs in two phases.  First, the transactions
are sorted into table sequence and then the actual maintenance takes
place.

There are three input files used in the maintenance phase.  The first,
defined by DD name AQSCARDS, contains the sorted table maintenance trans-
actions.  The second, defined by AQSOLDT1, contains the key portion of the
parameter, method, unit codes table to be updated.  The third, defined
by AQSOLDT2, contains the description portion of the same table.
Three output files are created during this phase.  The first, defined
by AQSNEWT1, contains the key portion of the new parameter, method,
unit codes table.   The second, defined by AQSNEWT2, contains the
description portion of the new table.  The third, defined by AQSPRINT,
contains any diagnostic messages generated during the table maintenance.

Figure 4.1.4 shows the formats of the parameter code table maintenance
transactions.
                                       203

-------
DP NAME                       DESCRIPTION

AQSCARDS       Control card
AQSOLDT1       Old master key portion parameter code table
AQSOLDT2       Old master description portion parameter code table
AQSNEWT1       New master key portion parameter code table
AQSNEWT2       New master description portion parameter code table
AQSPRINT       Print file for diagnostic messages
                          AQSHUPD1 - DDNAMES
                                      204

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS1     Highest level Index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
HXTABLE1
Program to generate parameter code table
OLDMST1
HTPRM1AA       Lowest level index of old key portion
               parameter code table
OLDMST2
HTPRM2AA       Lowest level index of old description
               portion parameter code table
NEWMST1
HTPRM1AB       Lowest level index of new key portion
               parameter code table
NEWMST2
HTPRM2AB       Lowest level index of new description
               portion parameter code table
UNIT1
2314
Unit type upon which the new key portion
parameter code table is to reside
UNIT2
2314
Unit type upon which the new description
is to reside
SERIAL1
009858
Volume serial number of volume upon which
key portion parameter code table is to
reside
SERIAL2
009858
Volume serial number of volume upon which
description portion parameter code table
is to reside
                  AQSHUPD1 - Substitutable Parameters
                                        205

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
DISP1
'NEW.CATLG,
DELETE'
Disposition of new key portion parameter
code table
DISP2
'NEW.CATLG,
DELETE'
Disposition of new description portion
parameter code table
SPUNIT1
TRK
Units in which space for the key portion
parameter code table is to be allocated
SPUNIT2
TRK
Units in which space for the description
portion parameter code table is to be
allocated
PRIMRY1
10
Number of units to be allocated for the
key portion parameter code table's primary
allocation
PRIMRY2
10
Number of units to be allocated for the
description portion parameter code table's
primary allocation
SCNDRY1
               Number of units to be allocated for the
               key portion parameter code table's secondary
               allocation
SCNDRY2
               Number of units to be allocated for the
               description portion parameter code table's
               secondary allocation
                  AQSHUPD1 - Substitutable Parameters
                              (continued)
                                        206

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
TEMP
SYSOUT
Unit type for temporary work space
SORTSPC
10
Number of units to be allocated for the
sort work space
SORTCTL
HSRTCTL1
Sort control card
OUT
               Sysout class for all print files
                  AQSHUPD1 - Substitutable Parameters
                              (continued)
                                       207

-------
                  Table Build
                  Transac t ions
  Now
Farm-Code
 Key File
   AQSHUPD]  -  Data  Flow
                    208

-------


























































*-4
CJ
LL
z>
CO

LL,
_J

^>
X












P-H
O
LL

i
V)
Of
<












*
v.




OOOCJCJUOOOO
oooooooooo
CNJ rn < ir\ o i*- a. c>* o — «
0 O 0 C 0 Ci C C' O C
CJO*JOOCjr-,CJOC?
OOOOOOOOCJO
OOUCOCJCJOOO
























^
•


1.0 a-.1 ^ rsj ^ f\j OL
x GO i a. ». i LT
D < ex at OL oc ui
OH-Q-Q-CLCL •• " LT
• X r- r- t- 1— -JxJ-CJ
II XIII1— «"-LJ
t- II II II II II ni f II
—> OC LO CO CO CO — • (\j - —
QCUCCS3C — ^-o.
O-LX-J-JUJLLZeu.
O.OOZ2Z3JJCO
O
O
SL
a

•-<
o
a
^
I
cO
O
» <
^->vV'VV.^VNXv«>«



CJC'C,OCtCJCJC-C c?
ooo ococjocjoocc-c ococ'C,1
O C' r* O c. O C O C. O O O O C O O O O CJ










LLJ
CJ
-z.
LU
^3
o
LU
LO

» » UJ
• - _J
UJ LU •-
t- t- U-
LU UJ
-1-1 CJ
LU LU h-
0 C Z
CD C -"
* -J -J ~J CO
CO ^- ^- r- iT
co -o-j QCII*^ ^
•Q— 4r\i>— ^_o:ctcrQri|L''LjM

h-
CV
1— O
(X LO
C

X.>vxv^^-^^x' — ^^s^^-x^^^^^^^



OC. CJOOCJOOOC OC-OCJ
c, o o o o o c c o c o o o o
—.rv r^-jLO-ur-a-Lrc'— • <\; m <
c o o o c cj c c1 LJ c o o c ci
o o c c> c cj o o o r c1 cj c1 o
C O C C O O C' C O C' O O 0 O
OCCQOOC'OCOOOOO









-
rvi
o
^
1
f-
o:
_ — CJ ^
O C2 LO 0
>— 1 » t— •» >—.
K ^. i— ^i K-
z -< .? c z
D 0 C »- C
CJ i: LJ * cj
» i •• 1 — *•
» » K— »• QC *
a. cj OL o CJ cj
*-• o. o CL LO a.
«J LO LO LO — • CO
t- t- II 1- II 1-
OL *-. a a a a. Q
a co u LU o LU o
CO C/" LO LO LO LO LO
• 4 UJ » V
>-CX CJ 3L £L LLCL UJJX
|| I/I || »- — 0 — cc _
2-11 3 II U, II LU |l LLJ
• ZCL 2TO- za
CJC LO ^3LO 17)CO OLO

a o o o o
O C-; O Q O


r-l CX, CO
LVI O O O
*— l>- ^ ^ ^
_i .o ^ j -s
)- Or- 1- r-
CL co o- ji at
C > C 0 C
Tt- LO * t,~ •)!• n ^- ^ ^: L^
>Nv\>>,X.^"^X.'Nx ^^»^x^»-^»^
^>xx.'s*^^\^v\\^>^^^^^



CJ O CJ C- O
C C? 0 CJ O
LO >c r^ uj cr
CI O C- C.' C%
U O O CJ O
CJ C- C C.' C.
0 O O O O




£
m
o
2
cc
LO
rC
O
^
_!
r—
ct
u
CO
•>
*^-1
c
^_
i
t—
CL
U
LO
II
a
Cj UJ
»• cc on
i— n »
_J LLI LL
CL r-J i
Z •" LL
II X LJ
Z. OJ II
•a II t-
Z cc —
C cj z
DC 3

O Q
O Q



r—
Z D
— t,
r- 1—
Ol Cu
c c
-tt LO ^r ^O
*^ ^ ^V ^^ \
^ ^ X -- ^



CJ
0
c~>
o
o
C)
o





















•.
^~
LU
r—
LU
_J
CL
"^
LO
LO
^
CL
Z
M
CL
UO
t— i
CJ












^




o
o
-*
o
C.1
u
o


















»
•—
LLJ
VI
-J
CK
•>
LJ
CL
I/"
or
Lv
v
tc
£
—
LU
t^j

C'



























^
LO
£
-
^
^!
^_j
LLJ
—5
CJ
CJL
CL
II
i.
-
4t tT1
•V -N^.
'V -^.



t, c,1 o
C- O 0
M- r-- cu
C' C (_
LJ C1 C
o c o
O LJ C




















M
—
^
—
 — •
J> C.












•^
"**• **»• *V
^ ^ \



209

-------
CJ  O C '  CJ CJ  O O CJ
o  o c  o c  c  o c
CT*  o •—<  c\j ro  ^ ^ >i~
CJ  O
o  c
  C C  CJ CJ O CJ O C.
  c< c  o c, r_  o o c
* ^ r*'>  >j tf"1 4* P^  o  o C'
o  o c-  o c
O  C> o  O C>
o c.' o <_•  <-> c.' o  C." c  c~ c  o o  r  c   o c.'  c  <"  C-- o  o cj
c  o o c  o c- o  c   o  c  c <-• c  c  c   c  c.   o  c  c  o  o o
C. C.. O C'  C O C'  O O  O O O C  O O  CJ O  O O  O O  O O
                         -
o  c  <->  c- o  o o  o o c
o  o  o  o a  o o  o c  c
o  O  O  O O  U O  O 0 O
                                                                                                                                              _
                                                                                                                                             ' '  ' • <-•  <-  r  o c  O c  <-   o c.'  <  ' o o  c. r
                                                                                                                                             <_  c  <_  c c  c  c   c c  o  e o  <  > c  o  o >_
                                                                                                                                             c->  O V  r. ei  o O O C" t~>  C' O  O O O  O c~
ES
AP
                                              in
                                              2
                                              O
                                              CJ
                                              <
                                              z
                                              •d
                                                                                     UJ


                                                                                     CO
                     UJ
                     1/1
                     _l
                     o:
                                CO
                                 <3 0" *3 on
LJ — O- ^ LL
a a * 1/1 ••
O. LL CX >- (X
OJ ~ J_ 00 I
|| l| on l| o-i
LU Oj <— UJ •—
i- A. II 3. II
o -) cx «a ex
2 _J on Z. 1/1
on LJ •— OO i—
c.) > C O C
cj a
LJ CJ
»•
>-
_l
_J
<
Z
o
h-4
l-
IX
O
CJ
*f
 D


ER DESCRIPTION PORTIO
r..PAT4.eOLufST2,
E, RETAIN),
1
*- O *— (/)
t/l 1 1 1 <3 t/1
z u — a.
tX CH *"
LJ LL Q. Ct
^ to — X
O II M uO
LU UJ —
I i- a. n
 O
«a Q
K O
FER KEY PORT ION TA31F
:,PETAINtSEP=&SEPIALl
L,  — * ^ -i
•"-1 •— u. o LJ
3t ^- Ct OO U. ,3C
UJ •— • Q- *taH OO Q_
XL ^. •** CJ U3 1*3
_> || UJ «. ||
| oj u- •— || UJ
n a- n LU i.
(— ^- ZJ CV LJ  ^ a •*- a oo
^3 > O U1 CJ
t- o
 , vsT2
t— *• *— LJ
 r\j ^: —3
*- CL ^> C
LX OO LL Q;
CX •"- t/; Q_
— LJ uT tO
|| CO — ||
LL f I' LjJ
-t- II U- i.
J CL O  C. LT, LJ


                                                                                                                                                                                 Q.
                                                                                                                                                                                 u
                                                            -     >-
                                                                                                                                                                                 U'.     oO


                                                                                                                                                                                 C^     CJ

                                                                                                                                                                                 o     o
    a

    >>
                                                                                            C
                                                                                            00
                                                                                            O
   a
   o
                                                                                                                 2
                                                                                                                 LU
                                                                                                                                  a


                                                                                                                                  D
                                                                                                                                             ex

                                                                                                                                             _>
                                                                                                                                             a
                                                                                                                                 CL
                                                                                                                                 I—
                                                                                                                                 Z)
                                                                                                                                 c
                                                                                                  ^-V.>v»^^v^v^^
a
Z)
J-
                                                                                                          210

-------
AQSHUPD2 - SITE COftE TABLE MAINTENANCE

AQSHUPD2 is executed to create and maintain the valid site codes table.
The process occurs in two stages.   First, the transactions are sorted
into table sequence and then the actual maintenance takes place.

The maintenance phase uses two input files.  The first, defined by DD name
AQSTRANS, contains the sorted transactions.  The second, defined by
AQSOLDMS, contains the old valid site codes table.   There are two
output files created during the maintenance phase.   The first, defined
by AQSNEWMS, contains the new valid site codes table.  The second,
defined by AQSPRINT, contains any diagnostic messages generated during
the maintenance process.

Figure 4.2.4 shows the format of the site code table maintenance transaction.
                                      212

-------
                              DESCRIPTION
AQSTRANS       Site code input transactions
AQSOLDMS       Old valid site codes table
AQSNEWMS       New valid site codes table
AQSPRINT       Print file for diagnostic messages
                          AQSHUPD2 - DDNAMES
                                       213

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
HXTABLE2       Program to generate valid site codes
               table
OLDMSTR
HTSITEAA       Lowest level index of the valid site
               codes table
NEWMSTR
HTSITEAB       Lowest level index of the new valid site
               codes table
UNIT
2314
Unit type upon which the new valid site
codes table is to reside
SERIAL
009858
Volume serial number of volume upon which
valid site codes table is to reside
DISP
 'NEW.CATLG,
 DELETE'
Disposition of new valid site codes table
SPCUNIT
TRK
Units in which space for the valid site
codes table is to be allocated
PRIMARY
10
Number of units to be allocated for the
valid site codes table's primary allocation
SECNDRY
               Number of units  to be allocated for  the
               valid site  codes table's  secondary
               allocation
                  AQSHUPD2 - Substitutable Parameters
                                       214

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
TEMP
SYSOUT
Unit type for temporary work space
SORTSPC
10
Number of units to be allocated for the
sort work space
SORTCTL
HSRTCTL2
Sort control card
OUT
               Sysout class for all print files
                  AQSHUPD2 - Substitutable Parameters
                              (continued)
                                       215

-------
           I Table  Build
            Transactions
AQSHUPD2 - Oata  Flow
               216

-------
CJCCJOOCJCJC-'CJC'C.'OOC'C'OCJC.'C'C'CJOCJOOCJCJOCJC.'
o c o o a o c c o c o c e c o c cr c c c cj c. c< ^ c o o o o c.
O O CJ 0 C.' CJ C' O <-• CJ O C_' C' O 0 < c ' C' v. <• > C> O O O C' CJ (J <-• C 0
C> O O O CJ CJ C C' 0 c.' C' 0 C • CJ CJ C C- <_' c, • I <_' 0 C- C> <_• 0 CJ C C 0
o o tj o o o C' o c- c. o Q o c c ' o C' i-1 o o L' r.< o c" o c- o o c o
•I
r-
>»
o
CJ
u.
1




LU
u. o
Cf ^
UJ
>• ^)
vi. O
_J LU —
ex. oo o
«i c\j < oj » <\j h- *—
• LU < <. CJ —* o-> a — a:
l/) —I 1 1 1 Uj •• i ^ ^ LJ i/i t_i
j_ oj t— K co v~ o •• cj oo oo oo
LJ  o oi L- *: — LJ oo » _j u- :*:
nXix^rc'_t»-'—u«o^'j- ooo «r >-ot: CJ iix
C CJ3L(Xu.ni||^h->">-J^cJ— . a- n .-• ^ n uo u t— ~
a. u~ , ih-»^U-^i_*:Q.t— h-M U"- a- t- -ua. LJ H-C*
fco ccCCj^*— cct^cj^^oi-a-u^K- i-Oi. ^roo vj •— • <1 OL
- C t-
00 _~ 00 ^ v- _
0 C C >
**« *0- {.•«•« LO «• >X1 # V1
•^^.•v^-^-V^^^-^^^^^^^^^ ^ ~ •^>.'1v-v>v>.V.-x>v'v.
(V
t-J
C C O C, C' O C.
c c c. c c o c
c, o c c c 
iT
it
h-
ct
~ CJ ~
o oo c;
•• *— •. •«
— (— — ' h-
— i ^ r 2
C C_ ^l Cj
V CJ j£ C,
JC •• f— *•
t— t- CL -
CC (_' LJ O
u CL 1.0 a
OO OO -^ o"
UK- H f—
O. ci. Q- u.
Uj C- i ' l_j
OO l/~ ty^ o*j
^ Uj •• to
l-l- »• IA. ^
>. ^1 3r ^C
u- a uj a
W) ^- UJ ^,
— IP — u
II LU II LJ
t— (_^ f— ^_
•-. <: "—  C. C 0 0 LJ <_'
c c" c c c O c. r~<



»
ni
jt
a.
C
OO
f*
CJ **•
X Cj
3- OC
H- II
ui U^
CJ I^J
OO t— .
» •• OO
r- t •— i£
C LL -J
it » OO L>-
JZ ^ -1
H- l_- Q O
LX h- •• u-
t-J LL, CJ M
oO — J CX -J
-— U OO (_
|l C-. H- LU
a - L* •• a
C, LLJ OO LJ OO — J
«- a oo o11 oo .7 *
^- M » < t-J <: u.
- LJ LL CX •• 3L II
U_ r^j i. •• ^ f— ,>,
-^ — U-) _c a-- «*^ Lt-
(1 -V to *L — || U.
u-' _j — • _. u LU a
*- a n M LL, JL *-•
*3. II 1— CL LJ <* II
-rr c- *- ^ 
03 •• *.
•— -— «^.
-^ ^ » ^:
^-. _ o *—
on  t- U.J CJ t—
OO LU ..J -J UJ
» (X CC • QC
• *•  P- 
cj >— o. -a- cj C- •— •
a CL *• QCi^""' O QC.QC
U-CLt-t C£)OO CL CL
M n on a. n —( h- n ii
LLJ JJ *w< d. ^ W* *-• LI 1 Qj
•*-i-ii WU>H ^n a_a_
<1_JCX ||K" LLJ O_J
^_JLO 3ICJi- LJ 2T — J
OOC1"" C3LU*-' *-i OOO
a>O Q-at:^ _j c_;>
^
0 CJ > Q
Q LU D
X Z
UJ H-
^
1- CQ

^ t- *- _J
—  a K-
•(too *O *-fr-ttoO
^"^'v^^-x-^'^^^^^v.
^.•^.^^•VV.-v-^^-s,^^-^


217

-------
   ex
   CD
   _>
   co
   CO
   O        co
   o        ^
     •        o
^ CO  —    to.
.  —i a
•  CO  •
.  > ft
.  CO i
I  II  CO
.  UJ ^
  ^ II
.  < a.
i  z co
I  CO to-
!  Q C

  O
  c:
    M
   0.
CO to-


O O
O
Q
                            O
                            O
                            U

                            UJ
                            1-


                            1/1

                            0
          O

          O

           I
                              LU
                              CO
a
I-
1/1
*~
o
_J
O   -
10 —
 • ^
 o

Q
a
                                                UJ
                                                _j
                                                m
                              CU
                              O
                              O
                              O
                                                           ii
                                                           a:
c_i
sr
CJ QC
U) *—
CO VI

 » JC
V LU
a: Z

3:   •

a. t-
Ll. 
•»~
11
U-
uo
t-to 1
o


*o
Li.
CO
LO
«v
II
UJ
—
Z)
i_
Wl
>-
gn
LJ
LJ
                              CO


                              CO
                                                                                                 c
                                                                                                 c
                                     o
                                     D
Q
O
       co


       CO
O
C_
                                                                                                                             II


                                                                                                                            a
a
o
                  1/1
                  2
                 CO
                 Z.
                                                         CO
                                                         2.
                                                                                         3
                                                                                         a
                                                                                                      D
                                                                                                      O
                  -V V.  ^ -^
                                                                                                  218

-------
AQSHUPD3 - PARAMETER STANDARDS TABLE MAINTENANCE

AQSHUPD3 is executed to create and maintain the parameter standards
table.  The process occurs in two phases.  First, the transactions
are sorted into table sequence and then the actual maintenance takes
place.

The maintenance phase uses two input files.  The first, defined by
DD name AQSCARDS, contains the sorted transactions.  The second, de-
fined by AQSOLDTB, contains the old parameter standards table.  There
are two output files created during the maintenance phase.  The first,
defined by AQSSTDTB, contains the new parameter standards table.
The second, defined by AQSPRINT, contains any diagnostic messages
generated during the maintenance process.

Figure 4.3.4 shows the format of the parameter standards table mainte-
nance transaction.
                                      219

-------
DP NAME                       DESCRIPTION

AQSCARDS       Parameter standards input transactions
AQSOLDTB       Old standards table
AQSSTDTB       New standards table
AQSPRINT       Print file for diagnostic messages
                          AQSHUPD3 - DDNAMES
                                      220

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
HXTABLE3
Program to generate standards table
OLDMSTR
HTSTNDAA
Lowest level index of the standards table
UNIT
2314
Unit type upon which the new standards
table is to reside
SERIAL
009858
Volume serial number of volume upon which
standards table is to reside
DISP
'NEW.CATLG,
DELETE'
Disposition of the new standards table
SPCUNIT
TRK
Units in which space for the standards is
to be allocated
PRIMARY
10
Number of units to be allocated for
standards table's primary allocation
SECNDRY
               Number of units to be allocated for
               standards table's secondary allocation
TEMP
SYSOUT
Unit type for temporary work area
SORTSPC
10
Number of units to be allocated for the
sort work space
                  AQSHUPD3 - Substitutable Parameters
                                       221

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
SORTCTL
HSRTCTL3
Sort control card
OUT
               Sysout class for all print files
                  AQSHUPD3 - Substitutable Parameters
                              (continued)
                                       222

-------
               Table Build
               Transactions
AOSHUPin -  l)at;i  Flow
                223

-------
    O O  C  O  CJ CJ Cl
       C_> O  CJ C» O
c  o  o c-  o o o
                                                                    '_J  CJ O O
                                                                                          " CJ C> O O  C1 C'  C' CJ  O
o  o o o

C'OOOOOCJOC  ^ rt —<.-«.-.  -H —i ~
O  O O CJ  CJ O  CJ C1 C)  C) C1 C  C' O  O O CJ
oocjocjocJC  c  0 c. d o C'  c> c1 C'
oooooocJccoococ   occ
                                                                               c  c o  c o  c>
                                                                                                      o  c- c  o
                                                                                                                        c  c o o c  o
                                                                                                                                                C' CJ O  C'
                                                                                                                                                c o c  c>
                                                                                                                                                                 O
                                                                                                                                                                           O  CJ C> C.) O CJ
                                  »-i»-*r\jrvjr\ir«j(\i(Njf\jrvwfN,r\jp,r O  C.  O  O O C  O O  O O f> O C'  I-1 O  O O C  O CJ  Ci O  <-J C  C
                                  f~' C>  O O  f J C  O O O  O O  O CJ O O C'  CJ O  O CJ O < ^ CJ  CJ CJ  CJ C?  C >
                                                                 o o  o o o o c  c o  o o c> o c>  o c  c c  o  o
                                                             c  o o  o o  o o o
                                                                                                                                                                 c  c.  o o  c c  o c   o  c c
                                                                                                                                                                 r^^c;>o^r^rn*jijr.  ^^
                                                                                                                                                                 -3 urv  u* u^i  */•, ux  us  IT u
                                                                                                                                                                 O C'  CJ C  (_' O  C' C.'  O  C C
                                                                                                                                                                 C) O  O O  C ' O  C' C'  O  O t
                                                                                                                                                                 c  o  c c '  c, o  o c   c  c c  c.
    OOOOOOC'CTOOOOOOOOOOOCJOOC'OOOOC  OOOOCC-COOOCIOOC  CJOOOC C-  O CJ  CJ O  O O  O O  O  r
    i—
    X.
    O
    -r
    U-
                                                                                                                                            o
                                                                                                                                            X
                                                                                                                                            3C
                                                                                                                                            o:
                                                                                                                                            LJ
    u.
    oc
                                                O
                                                z
                                                UJ

                                                o
                                                LU
                                                00
                                                                                                                        rvj
                                                                                                                        o
                                                                                                                        ec
                                                                                                                        u —
                                                                                                                  x. a. a:
-) ex o-i on
U CV i 5L
Of LJ O Ji
Q. CX -J LU
0. O Z
CJ
C
a
a

ff i
Cj
a.
_j-
i
u"
O
1
X X, X. X

»
•
uu
t—
LLJ
_J
LU
Q
«
C?
» _J
a, h-
u*  O Li. || II
f. II -^ t— >-
II < II -£ <
H- •— 0. _J JL.
•— a ui o —
*£ LL •— o. a:
IP  >- e. -J cr M — '
Cj: II i/) t^ <1 •— LJ II
^C U- ₯— t— I) II "--^ LU
t- i a oc h- ^evi
LL LL LJ cj z; e; LL —
to h- */> t/i O d-Clt—

tj
LU
X
LL<




t—
CL
O
* t/; *
X.\\'x.>st^-v^x>s.>v
UU
-J
»-*
u_

u
f—
^
*-•

CO
4%.
O
*— «
»~
o


^~
an
o
uo

«• *
X X.





»
OJ
k-4
^J
^~
CL •*•
O 0^
OO OO
• <1
— < CL 1—
on » o
>- a LJ
II 00 ||
a. ii 3
•co, u
21/1 00
00 •"* X
Cl C 00

O Ci
u o



a.
•M ^~
*J ID
»- C
a. oo
0 >
oo * oo <
^ ^ ^ V >














*
CL
3.
f-
II
*—
»x
2
Zj

O
O


*— '
O
^
Jt
K
a.
O
t 00
•« V,
t-
Z
0
o
»
»
o
a
oo
r-
IX
o
00
U)
*
y:
a:
-
UJ
o
-! <• II
< *z cr
a. o cj
on O LJ

o
O




^
^_
t_
GL
C
* 00 t
^ ^ ^ ^ ^
p-<
O
ic.
JE
t—
or
(_•
LO
v
II
a
LL'
OO
»
a.
I
LLJ
CO
(|
1—
•— •
^
~^.

Q
O



I—
^3
CJ
\~
a.
O
h V^
^ ^


»
«-»
LL
1— •
LL
— J
LLp
Q
•>
LO
l/l

LJ
O-
t/1
k-
OL •-
LJ "^1
i/> ^T
u;  
C ,> 0

o
CJ





^
t—
u',
>.
f- un *•
" ^ ^ ^ \


UJ
-j
CL1
<3
t —

t/1
a
a
<:
*• c_,
A. *r.
™
II •— LU UJ
3L o 2- 3"
CJ LL *"•* *ct
o- a. •- ci
<3
^) O-
LU
X ^
UJ fc-4

t— 4
f>
CL
M
2.
_J
	 t
r ,
>













^
OO
CJ
                                                                                                          224

-------
                                                                                Appendix:
                                                                                Version:
                                                                                Date:
                                                                                Page:
                                                                     D
                                                                     3.0
                                                                     3/1/77
                                                                     5-2
   \^j V v-< V-' v_j ^J \_» 1^1 t^i <_f v_
   oococooooco
                                                               OOOOOOLJCOOCJ
occuoooo<-?uo*~'oooooooooooooo o o <_>
ooooooooc oooooooccococ o o c o o o
o ••"• ^vj c*\ •c" in ^ r*~ OL, Q* o •—* r*j ro NT LT\ ^ r*~ CL CT* cj> •—* r u~\ ^* r~
            -
   C. 000000^ -
   ooooooooo
                                              LU
                                              to
                                         <    a
                                         <->    co
                                         a    z
R.PASS)
YSl.ANS.COESUeR,
".PASS)
X V) X
V) II CO
II i- II
a. < a.
to x. vi
*"• tO •— '
c o c

o
o










v» ^ >^
~» ~» >.
AKSACTIQNS
CL
k—
1

K-
LL'
V)

«!
h-
<
O

•—
3
a.
z
t^.

•0 » *
^» *^ \
•». -^ ^«
CTRANS ,
CJ
^
:L
^
^
VI
Q

O
o


\fi
CJ
£X
4
o
VI
u
«
*v
\
C, DELETE)
D STANDARDS TABLE
_i — t
u u
ii l
a.
to K-
w* tu
c to

^
t-
•<
Q

»-
^
a.
z
•_•

•» *
\ ^ ^
^. -«x V
PRCjeCT..DATA.COLD^STR
FR IVATF, RETAIN),
U3 -^>
i "
UJ u-
*ff ^J
Z — J
to C
0 >

a
a


aj
I-
c
_l
o
to
0
* . •v ^
P.PASSI
Fk STANCARCS TABLG
I •£
VI
u
a. >--
to u
•— CO
Q
«
H»
 Q V) 0

Q
0


CC
t—
a
H-
v>
to
o
•a «
\ »^ "^ V. ^* ^
lAGNOSTIC MESSAGES
0

1
>—
UJ
to

<;
h-
—
3
O
u>
II
2
LJ
V)
>•
to

Q
Q


t-
Z
•— «
oc
Q.
Vi
Q
I <;
^ \
SYSTEf OPERATION

l
^n
l—
LU
V)

<1
(-
43
o

*—
3)
o.
K-
3'
o

* « »
-, "^ v.
t-
_)
O
to
II
U
O
V)
>•
to

o
0


(-
z
*— '
a
CL
v>
>
tn o
•^ ^»
»—
J
LJ
to
II
=
LJ
CO
>-
V.

a
0




i —
_j
Q
to
>-
u~. •;
^^ >.
1—
3
CJ
u?
II
^
LJ
V)
>-
to

a
o


H
^
o
Q.
LJ
V)
3-
h ^" *
•, ^ "^
>—
_)
LJ
to
II
_,
O
VI
>-
to

o
o


i
ct
LU
>—
c
VI
>
t" -«
*^ >
t-
u)
II
3
LJ
V)
>-
to

D
0


O.
n
3
C.
_J
VI
>-
t u~l t.
^ •*.•**
CL
3
I
                                                                  225

-------
                                                      Appendix:   D
                                                      Version:    3.0
                                                      Date:       3/1/77
                                                      Page:       6
AQSIAVGS - SLIDING AVERAGE


AQSIAVGS is executed to calculate a sliding average for the readings  in the

records and to produce a file of the sliding averages  to Be listed  by

the detail list report.  There are two input files used by this  program.

The first, defined by AQSINPUT, contains the control card required  by the

program.  The second, defined by AQSMASTR,  contains the sliding  average

answer file to be processed.   There are two output files created by this

program.  The first, defined by AQSVALUE, contains the file of sliding

averages to be listed by the detail list program.   The second, defined by

AQSPRINT, contains any diagnostic messages  generated.

Figure 7.2.2 shows the format of the sliding average control card.
                                   226

-------
                                                      Appendix:  D
                                                      Version:   3.0
                                                      Date:      3/1/77
                                                      Page:      7
DP NAME                               DESCRIPTION


AQSINPUT                           AQDHS  control  card

AQSMASTR                           AQDHS  answer file

AQSPR1NT                           Print  file for diagnostic  listing

AQSVALUE                           Pile containing sliding Average Values
                             AQSIAVGS - DDNAMES
                                  227

-------
                                                      Appendix:
                                                      Version:
                                                      Date:
                                                      Page:
                                               D
                                               3.0
                                               3/1/77
                                               8
PARAMETER
  NAME
PROJECT
PROGRAM
MSTRFIL
ANSWRFL
DEFAULT
 VALUE
IXSLDAVG
RTANSRAA
ITSLDAAA
OUT
            DESCRIPTION


Highest level of data set names (e.g.,

CDHS.AQS.DATA.FTMSTRAA)


This program computes  sliding  averages

 and creates a sliding average values


 file.


Lowest level index of the AQDHS answer

file


Lowest level index of the sliding

average values file


Sysout class for all print files
                      AQSIAVGS - Substitutable Parameters
                                   228

-------
                                         Append i x:
                                         VITH ion :
                                         D.-itc:

   CONTROL
   CARD
       SLIDING
       AVERAGE
       ANSWER
        FILE
                      PROGRAM
                      IXSLDAVG
SLIDING
AVERAGE
 VALUES
  FILE
DIAGONISTIC
MESSAGES
               AQSIAVCS - Data Flow
                        229

-------
UJ
o
Appendix:
Version:
Date:
Page:
D
3.0
3/1/77
10
      oooooooooooooooooooooooooocoooooooooooooooooooooooooooco
1
;
t
'r-
. 1 1 t



r»
>»
In
r-4
]O
1

i
<^
u.

5



fc
UL •
CC CO
; o
>. 
-J *» J O . UJ C3 -»
*-• I »Z > > • Z i"
•uj u. ' o>-* "> i^ *>» ,111
^•C5^^ tO
oo^^^l
0
o^oc
<_i i— LU— .03-^ <;
>•-« OV~COO<^> ' O
Uj UJ^COCJCO O »00
z-iz-j o-< •• i < ' uj ' i -»< •< z «-n


UfXCO COQ.^£ •• •• OC «• OCC O>— (Q,— IQ. •— • Z?UJ
• XH-H- »T* »o!!OO Oi«i'^ ^UJ OCOf »CO •• fS CLisl
) It •— a:»-OQ3:*-fMi-i OOO 013: 0-o.oO-a: •-» Zt—
Z Q UJ UJ
>— « • 'ac >
O •«•«•<
•-« I— —UU
i OCOH" O
to ujco«r z
-so »-.
CO O ;ar cdx«* to
'O OZ-J-J(<>ll:Zt-»' O. II m >Z || II V0|| co CO II X!
'-> CJJ— 'CCQC O2T-— — -^ UJ OO :UJ CO»—iO CO
'^ cus^i^DcoQcocLcoo oCH* OQC o^ooo to oo !co oo^


•







U
a
Qj
a.


•



CO
O
UJ
X
UJ
1

Of i i UJ
I-.UJ
i 1 <
-J> Q O < O < Q H-
co : O CLQ t-*
< -< CO >-4 tO O
: a > \ \- \ a ; or
*•*•< ' *^ < #* # # CO ' #-5}-#'<£#'B--tt'• i
.Z UJ
CO QC< O
•. -• »-.< CO
< ae»— ui
H CL< z:
(II t«3Q
o: •- • o
« » • >-<
UJ >— h- K-
>- *-iO CO
»< ZUJ O
— > :s-> z
Z I
o :
•— i
H* ;
• ;HD 13
>_ia.i~itoa. •-• o co !o o •
D"«ZC3t3 Q U3 (tj ij
CO II 3— (I
II 1 111 II
— UJCd || UJ t V- ' 4— t-
II 21 II UJ 2! ^ CO iID Z)
O.^J~-O1^ l*~ 'O V"" ;CD O
tO_Ji-' CO
— azcLco co >- co j>- >•
COI3COO to k/> co
! < i •<
Q 1- iO *- JQ Q
Q ! < Q < O Q
! Q 0 i
i
i :
UJ »— 1— t- t—
^) ' r> ;z z) z
_i : Q. >-i Q. «-• f—
< ' H- a: H- oc 13
> r> a. 13 a. o
co o ,co o co to
or ; o >- >
< *•»*<•«••«• #OO -ft. CO »

-------
Appendix:  D
Version:   3.0
Date:      3/1/77
Page:      11
oooooo
oooooo ;
oooooo '
oooooo
oooooo
oooooo
I ;

1
1



!

,
1

1
i




1



I
















K— t--
O ^3
.a o
jcd v3
j£ £
0 O
•jtO V)
;^" ^*
'to co
:0 0
Q O

1
i




i
j
j
i '





I


1 I
1 j
i
» 1
j







i

i






t


1
; j
i ; 1










1 \ •, >






>-

o
^•3
II t
0
CO
^"
CO
o
o

t- 3: 0.
'^ G£
5:
o tu :D
CO *- O
t
i



1

f
i
t
f


i
!








j
i
1
j.





























'
i
0 0 0
CO CO 'CO
1/5 •»• CO #'«/>•»•
1
1
^*x^^^^* ' :
| . i
1
1
! co
i 0
>


CO
a



1
t ',

f
1 • '
1 '
i



i





J
1
1

1

1 , f
i
;
1
















' 1



,



1 1
.

i
f






1

,
J '
\
;


1
,
? 1

















1
1
1

1
1
1
j
1
1

i
i
1
1
i
I
1




1
I
i
j i






































1 j
1
1






i


i

231


,




t
1








•


I
;
j
t

:



i
1
1
1 i

!
1

1 !
f





J


1
i
-






















;
j
,

]

1 j
i ;
1



!
1
1


i

1
t



i
i i
1 ' i
: ]

'
i
I
1


t

1
; 1

1
1


' 1

-------
                                                       Appendix:  D
                                                       Version:   3.0
                                                       Date:      3/1/77
                                                       Page:      11-.1
AQSMSENT - ANSWER FILE FLAGGING

AQSMSENT is executed to append an end-of-file sentinel record to the AQDHS
master or answer file before it is input to Data Analysis.  The input to
the program consists of the AQDHS master of answer file and is defined by
DD name AQSMASTR.  There are two output files created by this program.
The first, defined by AQSENTNL, contains the flagged file.  The second,
defined by AQSPRINT, contains any diagnostic messages generated during the
flagging process.
                                      232

-------
DP NAME                       DESCRIPTION

AQSMASTR       AQDHS master file
AQSENTNL       Flagged AQDHS master file
AQSPRINT       Print file for diagnostic messages
                          AQSMSENT - DDNAMES
                                      233

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS1     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
MXSENTNL       Program to copy master file and append
               end-of-file sentinel record
MSTRFIL
FTMSTRAA
Lowest level index of master file
STATFIL
MTMSTRAA
Lowest level index of flagged file
UNIT
2314
Unit type upon which the flagged file
is to reside
SERIAL
009858
Volume serial number of volume upon
which flagged file is to reside
DISP
 'NEW.CATLG,    Disposition of flagged file
 DELETE'
SPCUNIT
TRK
Units in which space for the flagged
file is to be allocated
PRIMARY
 20
Number of units to be allocated for the
flagged file's primary allocation
SECNDRY
 10
Number of units to be allocated for the
flagged file's secondary allocation
OUT
                Sysout  class  for  all print  files
                  AQSMSENT - Substitutable Parameters
                                        234

-------
AQSMSENT - Data Flow
              235

-------
   ooooucJOCC' C  C <-'  c  c  ouoooOc-'Oooooac-ooOxjoc  <-, o o
   OOOCJOOxjOOOOOCOOOOOOOC'OCOCJOtJOOOC OOOOOOOOOC-OOOOOOOOOOC  O O o O


   r-

   o


   •o
   o
LL
UJ
a
X



^_
*z
00
JL
to
or













* *
•s. "V
•v V
»
UJ
» *••
- LU
00 _J
O * » •• UJ
« _J « « O
• i: < < »
oo t- o: a » oo
O uj v) to in -U.I<-CJ3l-rg-.
H- |l II II ~> U UJ II M '1
cja__/_Jrn u <;•->->
••3 tt LL LC 11 ^ II *i < LJ ^
LJ O QL »— f-^-a— SL^ ii
or.u>-<—'a'uOx,j — ^>—
O.Otl/)»— ZUJ*— CLOflLUIJ
o. at oo 23 to o o*. Q. i/-, tJ
o
o
(X
o.

t-
z
UJ
wo
n
oo
CT
< *
-VV.-V>vX.V.-s.N. ~x-X.VV.
2.
cr
O •
tJ X£ ^.
ix o o
a. *c »•
W || «
i. C II
tJ hl« II 1
Q. O I
Uj >-.
CJ Q£ ^~
LL.
X
UJ


_J
UJ
z
»-^
1-
z
UJ
^ ^ I

'END SENTINEL RECCRD
o.

Q
t£.
<
UJ
_J
kH
U.

CL
LU
^*
VI
^
£

>-
a.
o
o

1 r *

;CT..LCAC,
kTE, RETAIN) ,
;st
iNs.cnHsnep ,
;s>
LJ •-• a r-i Q.
Ct £X » OO ••
u- a a >- a:
to — x o-; x
II II 00 || 0-.
*. i n i ii
«. Z> Q- « Q.
id _J U> ^ o1)
oo a *^ oo i— i
0 > C CJ C

O CJ
O 0



CD
»M
«J
a.
u .
K
e oo ^:

LU
—i
LL.
Ct
LU
00
VI
J.
CJ
(J
•a
1

*—
LU
OO

<1
h-
 0

CJ
CJ


a.
*—
00
 Q oo a
^
CJ 1—
0 «
Q

_J I—
Z O
t- CL
^: t—
LL> ^J
00 O
CJ
-
00

CJ
CJ


^_
^
*_*
Q£
CL.
OO
C/
«- -
V/l

I
V)
t—
Uj
LO

^
»—
•^
O

^_
o
Q.
K-
_j
C

L ^ *


1—
^)
LJ
CO
II
^
LJ
00
>_
LO

LJ
C:


H-
*L
•— •
CL.
Q.
(_/j
^.
*• ^ *


h-
	 j
LJ
u3
M
_J
O
LO
>-
on

0
o




K-
_3
C
OO

y Ln *


t—
^
u
to
II
_2
LJ
<-O
^_
OO

o
c


fr—
^
c
o_
fjl
00

U", *•


1-
H3
LJ
w>
II
^J
LJ
ID
^.
OO

CJ
o


2
ct
LU
i —
O
I/)

LA -ii-
•S^ V,


*—
_ J
LJ
u?
M
_^
U
OO
>-
1/1

a
0


a
a:

LJ
_J
t/1
^,
U" -k
•^ ^,
00
f
00
CJ
                                                                                                 236

-------
AQSNSENT - PARM-CODE-KEY FILE FLAGGING

AQSNSENT ±s executed to append an end-of-file sentinel record to the
key portion of the parameter, method, unit codes, minimum detectable
table before it is input to Data Analysis.  The input to the program
consists of the key portion of the table and is defined by DD name AQSPARMK.
There are two output files created by the program.  The first, defined
by AQSPARMF, contains the flagged table.  The second, defined by
AQSPRINT, contains any diagnostic messages generated during the
flagging process.
                                      237

-------
DP NAME                       DESCRIPTION

AQSPARMK       Key portion of parameter, method, unit codes table
AQSPARMF       Flagged key portion
AQSPRINT       Print file for diagnostic messages
                          AQSNSENT - DDNAMES
                                       238

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
NXSENTNL       Program to copy parm-code-key file and
               append end-of-file sentinel record
PARMKFL
HTPRM1AA
Lowest level index of parm-code-key file
PARMFFL
NTPRM1AA
Lowest level index of flagged file
UNIT
2314
Unit type upon which flagged file is to
be allocated
SERIAL
009858
Volume serial number of volume upon which
flagged file is to be allocated
DISP
'NEW.CATLG,
DELETE'
Disposition of flagged file
SPCUNIT
TRK
Units in which space for the flagged file
is to be allocated
PRIMARY
10
Number of units to be allocated to the
flagged file's primary allocation
SECNDRY
               Number of units to be allocated to the
               flagged file's secondary allocation
OUT
               Sysout class of all print files
                  AQSNSENT - Substitutable Parameters
                                       239

-------
               'arm-Code
                Key File
               Program
               NXSENTN1,
   Flagge
   Farm-Code
   Key File
                             1
Diagnostic
 Messages
AQSNSKNT  -  Data  Flow
                 240

-------
                                                                           Appendix:

                                                                           Version:

                                                                           Date:

                                                                           Page:
                                                                                         D
                                                                                         3.0

                                                                                         3/1/77

                                                                                         11-2
                                                                                   ^
 OOOOOOC OOOCOOOCCC OOC'OC OCC OOOOC CToOoOOOOOOOOOoOOoOOOOOcC OC
OOOOOOOOOOCOOOCOOC-'COOOOOCC
OOOOOOOOCT'-'OOOOCl-C'OOCOOOOOC
                                                     OdOOOCCOOOOCOOOOOCOOOOOOOCCCOO
                                                       OOOOOefCJCJOOtJC-'OCOOCOO'-'O OOOOOOC
 OOOOOOOOCOOOOOCOOOOCOOOC C OOOOOwOOOOOC'OOOOOC OOOCOOC l_COC  O C
 OOOOOCOOOOCOCOOC-OOOOOCOCOCOOOOOOCJCOOOOOOOOOCOOOCOOOOOOOO
 O
 fn
 •O
 o
 •T
 U.
HURLEY RF
I/O
o
01
O • • »
• Z « <
00 t- _l f-l
I Z I. Z
O UJ CH OC
LJ OO D- Q,
• X »- t-
V Z 3L Z
»- II II II
o a 	 1 _j
T OC X. LL
O LJ X X
OC Q Ct ct
CL OC *3 T <->
~ CJ
r^ u
u <
K- *—
— Ct
Z LU
3 00




SS, DELETE",
•« •
O. Si
» CC
JC >—
LU II
Z t—
It ^-

00 LJ
•— ' D-
O oO






»
O •
~-* in
II II
>• >•
~
^

a.
LU
h-
LU
X
«x
cc
« ^f
0 —
CJ K
_l LU
• OL
t- LU
o ^-
LU <
-o ^
a •-
oc oc
u. r\
to *^
II II
X i.


U
u

SS) .
ANS.CDBSUBR,
•-
X 00
LO ||
M X
a. 
c o

c
o

l/J
crt
<]
Q.
••
OC
X
(/j
M
O-
l/l
•—
c




PTICN OF PARAKETERf METHOOt
LJ
a.

>_
UJ
^
t

h-
UJ
CO

 <1
O — 0-
o: ot -
Q. CL OC
to — X
II It <"
X X II
*. ^ a.
Z — J *"
oo O >—
CJ > Q

O
O

UJ
_J
U-
LL.
1C
LL
O
o
*a
^j
LJL


H-
UJ
00

<
^~
^
o
ATFfRFTAIN,SER=t;SeRIAL ) ,
V
NIT, { £PPI MARY, CSFCNDRY) ,RtS
ECT..CATA. tPARKFFL
> — .0 ~>
» 1-1 Q. LJ U
t- a i/i a oc
t— 0, — . 00 LJL
^ «— O to to
Z> II to — II
|| X II ULJ X
•- 13 a. u «
*- -J OO < ^
z a -- o. oo
Z) > Q to D

0
u

o
z
t-
LU
o
^
t/1
to
LU
X

t
>—
LU
00

^
1-
<
O


1—
^J
LJ
to
II
J
LJ
00
>-
OO

O
a

EP CPFPATION
t—
00
>-
OO

1
00
1—
UJ
t/)

«£
^_
^
LJ


K-
^J
Cj
to
II
^
u
OO
3^
00

o
c



h-
^3
LJ
to
II
-J
LJ
00
>-
00

Q
Q



t—
o
o
tc
II
-3
LJ
00
>•
00

c:
Cj



H-
^
i_j
to
II
J
o
oO
>-
00

C
O



t—
^
LJ
to
II
^
LJ
OO
>»
OO

c;
D

    00
    z
    00
    o
    •3
                            Z
                            LU
                                    a.
                                    o
                                    LJ
»-   x
z>   ct
Q.   -
                    o,   ^>
OC
a
                                                                                                     o
                                                                                                     CL.
                                                                                                             o.
                                                                                                             i
                                a
                                oO
                                                            241

-------
                                                        Appendix:   D
                                                        Version:    3.0
                                                        Date:       3/1/77
                                                        Page:       12
 AQSRETVR - RETRIEVAL
AQSRETVR is  executed  to generate an AQDHS Retrieval program, compile
and  link-edit  it, and execute it to retrieve an answer file from the
AQDHS master file.

There are  two  input files  to the generation phase of this procedure.
The  first, defined by DD name AQSINPGM, contains the skeleton of the
Retrieval  program.  The second, defined by AQSINPUT, contains the control
cards specifying the  qualification to be performed on the master file.
Two  output files are  created by the generation phase.  The first, defined
by AQSRTRVR, contains the  Retrieval program to be compiled and link-
edited.  The second,  defined by AQSPRINT, contains any diagnostic
messages generated during  the program generation phase.

The  actual retrieval  phase uses one input file.  The file is the AQDHS
master file  and is defined by AQSMASTR.  There are two output files
created in this phase.  The first, defined by AQSANSWR, contains the
records in the master file which mat the qualification criteria.  The
second, defined by AQSPRINT, contains any diagnostic messages generated
during retrieval.

Figure 6.1.1 shows the format of the Retrieval  Control .Card.
                                   242

-------
DP NAME                       DESCRIPTION

AQSINPGM       Retrieval program skeleton
AQSINPUT       Retrieval specifications
AQSRTRVR       Retrieval program
AQSPRINT       Print file for diagnostic messages
AQSMASTR       AQDHS master file
AQSANSWR       AQDHS answer file
AQSPRINT       Print file for diagnostic messages
                          AQSRETVR - DDNAMES
                                       243

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
LXLNGPRC       Program to produce an AQDHS retrieval
               program
TEMP
SYSOUT
Unit type for temporary work space
MSTRFIL
FTMSTRAA
Lowest level index of master file
ANSWRFL
RTANSRAA
Lowest level index of answer file
UNIT
2314
Unit type upon which the answer file is
to reside
SERIAL
009858
Volume serial number of volume upon which
answer file is to reside
DISP
 'NEW.CATLG,
 DELETE'
Disposition of answer file
SPCUNIT
TRK
Units in which space for answer file is
to be allocated
PRIMARY
20
Number of units to be allocated for
answer file's primary allocation
SECNDRY
 10
Number of units to be allocated for
answer file's secondary allocation
                  AQSRETVR - Substitutable Parameters
                                       244

-------
PARAMETER      DEFAULT
  NAME          VALUE                   DESCRIPTION
MEMBER         RTRETRVR       Retrieval program skeleton


OUT            A              Sysout class for all print files
                  AQSRETVR - Substitutable Parameters
                              (continued)

                                      245

-------
       Retrieval
     Specification
         Cards
           letrieval
           Program
           Skeleton
Master
 File
Retrieval
 Program
  Load
 •lodule
    AQSRETVR  -  Data  Flow
                    246

-------
o
o

UJ
o
                                                         Appendix:  D

                                                         Version:    3.0

                                                         Date:       3/1/77

                                                         Page:       13
    Z2=
    o-*;
    » X-(\J-<>-

>  U^^-J-Jf^ll Z>->->- It
                                        ^  OH-OO    LU
                                                   UJ
                                                                              o
                                                                              eo
                                          ».(NJ«J«Ot-
                                          oo -ocrnoo
                                          oomoroo
                                          <—O II 2
                                     ;OOO
iu

lo:
                                                 Q-o-oOa:
                                            n-oJoc  >-  z«-«  uj
                                                 ii ii oo ii oo  an   u II;LO  a:  n •*.
                                                            '    	        in f
    aozzca n  ! it K-UJ
—0:000—us*-  jzos
LUOI>— v3V>Q
I-Z~- II S£
cJ— II UJ_) I
II ii one ca
i-Q.o
             10
                                                                                                  'o
£
00  )-  H-
>•  o  z>
oo  O  O
 I   :II   it
                                                                                                       UJ
                                                                                                          O  O
                                                                                                            oo

-------
o
o
111
                                                                Appendix:
                                                                Version:
                                                                Date:
                                                                Page:
D
3.0
3/1/77
14
      OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO—l»-l-< •

      oooooooooooooooooooooooooooooooooooooooooooooooooooooooo
!



1
i

!
i
:
4
\
j
1
i
j
I
i
1
*
'

i
1

j

i
: i
. i
i i
i i
i " j

1
1
I
|
]
1
- \
3
j
fe 5
- .0 o


i •


i ; ;
! ;
-• i ! i
i i
i
1 :
! i
] ;

* i
i ' !
> |

" - i (

! !
' - i 1
i •
i (
" • !

CO ;
,_ •
-1 i

- £ i

i .1

, "> I >•
-.- » ! Q:
UJ ! <
 -Jujo-« o oe
o tncooo of r>

hi II i II U-Z » - -J
•^ => O MllOII '
;CO CO |CO £OCOS: Uj H-

!co co co O-Q.OCH- oC co
i -Q O !Q O UJ <
Q D Q UJ ! OC h-
', IX! >  CO O —•
•>• >• > O
; J
1 : i

' ! :
i ' '
• - ! i
i i ;
I
i
i
i
1
UJ
o
a
u
i i • •
! ! i


: UJ
, Q
> 1
: I I :
^ '
i •' !
•0 ' ; • i
,0 . , -1 • • :

i ! H-
UJ
a
'=»
a
:co
!
.z

QJ
O
;O
•* •» c£
Uj«* £L
OZ j
OC1™* f*J
Z3
• U
UJ
CO
•^ :
i <*) 1
i N S :
i : Is ! - ";
i ! '• >^ ! ;
0 : ;-» v£


^J
o:
o
co , O
UJ < CtC
O ; O.
CO _»
CO 1 «i
UJ : >
X. \ UJ
COUJ UJ ' »-(
•oe • >-> »~-» o oc
• » a: zuj M t i-
»-uj-« »- -•>;
! CO CO
1 * ! » 4

ID j ! £ r> r> »
CO j —» 3—" C0« C0<^ •':
J -* cO-» >-— . >-» U,
OT i O >-O COO COO UJ »
• O COO — O —O OS—
*,-_ ; ^j II - j 11 ^j II '..J S^ 1
• * ^ , ^^ || •"^ II ^^ 11'^^ ^^«»J
*-*Osia ' •> Qu f» CL » Q^ •» »*O
CJK-fcO UJ G£ll| CO • OC CO *O O UJO UJO LUO h- CO
LU«$CO a£ CD— l o ; icoirtsr ' in cout com «/>tn mo
-»< i OUJ Z t _J '<— ~7 i «J »— •— »~- _IO »

Q.O.C^ CO «JQ •— • O O S!3EQl«J i £a£ UJaC UJDC UJo£ "COJOO
tj«— X O V«3-J O v3 O UJLLJH-tJ ' LUH- H-t— H~H- H-H> — l>— t *••-> *•
« n «^ io n cj, n ; H^Z— n H— ^ w— cj— «-. z-itAii'-i
ujiu— ! ui~J I H- | bd— • n uj co MIII- -~ ii '~.|| •— • it uj- — z—
zac n i | 3C li| ^> iMloiS l- iiuj iiuj iiuj uuj Billion
 'H ZCO UJ co in »-*cO-« ;uj ">»-* co >• co z»-o.co ' zc. zo. zo, zo. o<:ouj'-«
i 1 < i < H. i ; .
O i< Q
0 |t- Q
^
o
i
>-
03 ,Z>
;•- o. z
l-Ot-Q • ; ) UJ
>-• : 1
CSL ^^ OL «2 «J *^ CM cH *^
H- a! H- »— < ^H j— j-, ^ |^
•_i Z'-^o.o.j ^rsozs^o
co *H4 co
'>• .' >*
O Vf O *^ -^5 t/) - i/) i/) v> UJ
>• >- >>•>•>• a^
: co *••» •»»_> *•»•«••»•»••» co •*#* 4 _j «.
• *>x>>»>^^>^>^'>N.Nv"^*^>>>'v*vS'v^'N

1

>
' J—
: uj
OC
: CO
i Of
t
I





i
•
1
J
j
<>s.>kV.>v>s^'W.V.V.>^>^N»xs>»V»W.«s.>svxx<.>>wvt->s.>>>«v-xv.>v>s.«N.'N.^>v-XX.NxV.
. ' 1 ' (





t

1 I
\
• ;
; * i


!
. i
248 : j . !
' i
i . i "

t
!
1 ;
i
!_

-------
o
CM
O
o
LU
O
Appendix:  D
Version:   3.0
Date:      3/ly(77
Page:      15
                                                                  ^pgr^

-------
PJ
o
o

Ol
o
Appendix:   D
Version:    3.0

Date:        3/1/77

Page:        16
        oooooooooooooooooooooooooooooo
        oooooooooooooooooooooooooooooo
        O\ O —* f\l fl >!• IT> <3 r^ CO O O-J fM fO •* in vO f^ CO CT10-H (N rf|-41 IA «O f"-00
        o r-f~ r«-r*-r» r^ r-Is-r-1^ co 03 co co co co co co eo oo 0s CT> o> o* o^ CT^ cr o* o»

        oooooooooooooooooooooooooooooo
        oooooooooooooooooooooooooooooo
        ooooooooooooooooooooooooocoooo
1

;
*'


(

J
'
j
! ~
: UJ
' co
_i
i »

! >

1 i o
1 ' ; z
! ojol
: coo:
cj "5
] *co

i 0£<
• x-^X


od
UJ
Q^
UO
VJ
i "*;












01
*J
t:

z
0

^_
^
a:
•»
"•

a
0

t/»
a
a:
0
0
Ol
of

oc <; .
^ji
a: t-
CO Z>
Z 0

U
i t-

h- 0
Ol CO
CO 3*
CO
^f
H- Q
 >-
a. co
t- z
.O Q.
o *o
or
"W'N.'S








1


! i
, : ;
'



1 i
t

-. i i ;
. J
i
i :
I !
i
i j
!

!
i
j
i !
; \
'
co . .!
Ol 1 t
o :z
< ,O
UO SM 1
CO ,»-
01 <
a: 'PC
Ol
o ;o.
•» 0
f_
CO £ .
0 !oi
Z 'H
O H- ',CO »- H- »-»-»-
^ ZD i>* Z3 ]r3 Z3 !O ZD
« O ico O ,O O ^O O
Q Cd CJ C3 CO C3 Cd
II 1 M ;ll II II II
1 e- ^ !>- t- f- H-
r> co 3 rj 3 o r>
H-o«-aoooo
01 co 01 co jco co ,co co
co > .co >;>•>•>>-
CO | CO CO CO CO CO
< < i
f- o :i- o a o 'a o
<0 z !r> z n o: s:
a.>-iQ.«-i,»-oujr>
J-QCI-oCpoOI-O
D Q. O Q. ^C O O I?
O oo C3 oo -CO CO to cO
or >•'>->•>>•
V. •>.»>. ^^x v»«x >s.>. 'v'N >».'X>s.>H X
>N"X.>s,>^>^>^V>'N.>^>^'V>s'>^'^.>»>1V
1


1
,
1

j
1

































•
o
o
X.
a
•> <
>t a
••4 r.^ ^

CO<^ ^tC
U. II 0 II
OIZ-^OI
— o M s:
II— LU<
zozz
OUJi—'C/
Q.QCH-Q

0 Q
01 O
)^
LU

Q
oi a
H~ S
LU Q
•J ^
LU a
o — .
•x>x>*'>s
^^^Vi



250

















.






.











••^
01
t-
Ol
_J

Q
•».
a
_i
o

II '
a.
t^
1.4
a












>K^.
*N>S


















































































;













































"



































'












"














































*




























~


•
.


"

-







•
































i
1
i
'
i
t

i
.
i
f
;

j

f
!
1
t

i
!

j
f

L
!
i
:
i
i
}
i

f
j
j
i
- i
i
i


i
i
t
:
i














-------
AQSSLIST - STATISTICAL LIST

AQSSLIST is executed to format the statistics file created by Data
Analysis.  There are five input files.  The first, defined by DD name
AQSTATIS, contains the statistics file to be formatted.  The second,
defined by AQSPARMK, contains the key portion of the parameter, method,
unit codes table.  The third, defined by AQSPARMD, contains the descrip-
tion portion of the parameter, method, unit codes table.  The fourth,
defined by AQSSITES, contains the valid site codes table.  The fifth,
defined by AQSTNDRD, contains the parameter standards table.  There is
one output file created by this program.  The file, defined by AQSPRINT,
contains the formatted listing of the statistics file and any diagnostic
messages generated during the formatting process.
                                     251

-------
DP NAME                       DESCRIPTION

AQSTATIS       Defines statistics file to be formatted
AQSPARMK.       Defines key portion of parameter, method, unit, minimum
               detectable table file
AQSPARMD       Defines description portion of above file
AQSSITES       Defines valid site codes table file
AQSTNDRD       Defines parameter standards file
AQSPRINT       Statistical report and diagnostic messages
                          AQSSLIST - DDNAMES
                                       252

-------
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
 'CDHS.AQS'     Highest level index of data set names
               (e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
SXPRINTS       Program to format and print statistical
               report
PARMKFL
HTPRM1AA       Lowest level index of key portion of
               parameter method, unit, minimum detectable
               table file
PARMDFL
HTPRM2AA       Lowest level index of description portion
               of above file
SITEFIL
HTSITEAA       Lowest level index of valid site codes
               table file
STNDFIL
HTSTNDAA       Lowest level index of parameter standards
               table file
STATFIL
STMSTRAA
Lowest level index of statistic file
OUT
               Sysout class of all print files
                  AQSSLIST - Substitutable Parameters
                                      253

-------
                Parm-Codi
                Key File
AQSSL1ST - Data Flow
               254

-------
O  O O  O O  O O C' 0 o O O  O C'  O O-  C. OC'OCOOO  COCO  OOC  COO COOOOOCOCCOOCOCGCOOOOCCC'
OCOCOoCCOoCOOoOOCCCCCC   CCCC-C-C.COCOOOOCOCOOCCCCCCOCCOC'OCCtCCC
«~(\jro*jir.i.r~crcro^rv,r<-l>j-L^'^'^ccG-c~- (xm^r^^p^o-crc   — rsjr^^j-^^f-^o^o  —,rxjr~j-U'x;r*-&-^C'-- r\,  m  vi  u^  .i,  r-  .."c
OOOC  c.1  O o C1 o •-< ^ *-<  •—'•—'•-<—.t—<^^^-j--J'sj-ipirtU">u"Lra"L'~ir\
O  O C-  O r:  c> C  C  O O  O C  C C   CUC  CCCC  O  O C  O C  C  C   OC-C  CCC'CCCOCOCCCOCIOOCCCC-C-C   O  C  C  C.  C
o  o c  o c  o o c  c  o o c  <-• o  c^ c-  o o  c' u  t  c  c~ o  c  o  c  <->  o c~  cr ("-•  c  t-  o  c > c  o  c  o  c  c   o c  o c-  ccoc;oocooococcc  oococcocc.cc  o  o
o
m
-c
o
U.I
-J

<
                                                                                                     o
                                                                                                     a
                                                                                                     x
                                                                                                     K
                                                                                                     ILJ
                                                                                                     s:
STROU





00
_j
00
CO
o













•i.
^
CO

oo ^ f-t CM
O QC a CL
U "- o. a
• x >- K
(1 00 I 1
h~ li i' II

-3 CC :* O
LJ O A- S-
ct LJ or or
a. o. CL
U
a
ct
a

^_
oo
t_
_J
(SI
o".
c?
•* — CM »
H- >- t- < ^ — .
_L X 00 CL. 0 O
II || || (jj ^ »

U- U. LL -
_J
•£*
<


a, <- oo < oo
~3 ^  O-
II II V || i/.
i. .i- II i- H
 c c: o

LJ O
c_: LJ



CL
MH
_J
CL
LL,

U~ *
-x \ ^ ^ \ »
•— LU
LL. H-
U- J— LU
_J <. >
»— H- «C
a. uo . a
OJ — «3
OO • iT CL
U < •-
•— h- 
 |—
on C! > C: W


v\^^^x-^^v\N
.OATA.f.PARNKF
•ETAIN),
• JL
» ».
O t— oo
Lu  Q

O
d


^
3L
cc
<1
CL
l/l
O
t- *- -tt
X ^ x^ ^ v
^ PCRTION CF
LJ
,_
CL
CL
LJ
00
c;
,

t—
00

•CL
h-
<
O

H—
^
CL
^
i^—

- * -a
* ^ ^
,nATA.£PARMCF
?FTAIN)f
- i— -
O h- OO
LLJ ^ O''!
CJ •— CL
cr: a ••
CL CL Ct
li II "-o
i. a. H
<. ^ CL
2 -J Wj
o > c

C_J
CJ


CJ
2.
CL.
*v x
LLJ
	 1
a:

I

H-
CO

^
t—
<
CJ

t—
33
CL
^:
^M

i- •«• *•
s *x ^
LL
LL
00 »
0 LU
I t
LJ >— CO
LL < 00
-5 > • Q

a
c:


00
LU
j—
t-4
u~
LO
O
< -fr
^ 'x ^ -x
CC
v "X
,nATA.£STNDFI
IFT/SIN),
;T ING
. , -
o t— i/>
l^ « en i—
-> > « OL
C "- 0. U
-t tx •• a.
Q. Q. or U-
II II v.
i- i. II
< ^ Q- 1-
2 » I/ Lt-
c > c
^
O H-
G <1
C_v

CJ h-
a. — )
Q a
z f—
^ LJ
OO Cli
O
< * v- -i,
^ ^ \ ^ ^ >




>—
_J
t-
II
^J
c
0"
oo

c:
CJ


h-
-£
*-.
C£
CL
*Si
'_?
I- 
-------
o c> o o
O O O C-
c  <- C' o
O  C' O i_j
                         o o
                         i_ O
O O  O C' C  O O C  C  CO
o o  <-> c  o c c-> c  (i  o o
O O  O O C C (_.<_• O  O C
OOCOC  C'OOOOO
        Q
        c.
             o
             o
        c
        CO
             :r
             LJ
                  1
                  Qc
                                                                              256

-------
                                                       Appendix:   D
                                                       Version:    2.0
                                                       Date:       9/20/76
                                                       Page:       18
AQSTEDIT - TRANSACTION EDITOR
AQSTEDIT is executed to edit AQDHS-II file maintenance transactions.
There are four input files used by this program.  The first, defined by DD
name AQSTRANS, contains the AQDHS-II transactions.  The second, defined by
AQSPARMS, consists of the key portion of the valid parameter, method, unit
code table.  The third, defined by AQSSITES, contains the valid site codes
table.  The fourth, referenced by AQSOPTIN, contains the edit options
control card.  There are three output files created by this program.  The
first, defined by AQSINTRN, consists of the AQDHS-II internal transactions.
The second, defined by AQSPRINT, contains a listing of diagnostic messages.
The third, defined by AQSCONFR, contains the trans-action listing.  Afterwards,
the AQDHS-II internal transactions are sorted into file sequence.

Figure 2.2-2.1 shows the formats of the file maintenance transactions.
                                257

-------
                                        Appendix:
                                        Version:
                                        Date:
                                        Page:
                           D
                           2.0
                           9/20/76
                           19
DP NAME


AQSTRANS




AQSPARMS




AQSSITES


AQSOPTIN


AQSINTRN




AQSPRINT


AQSCONFR
     DESCRIPTION


Defines input data set containing

transactions to be edited


Defines key portion of parameter, method,

unit, minimum detectable table file.


Defines valid site code table file


Defines edit options control card


Defines output data set to contain

edit transactions


Diagnostic messages


Transaction listing
                 258

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page :
                                                   D
                                                   2.0
                                                   9/24/76
                                                   20
PARAMETER
  NAME
DEFAULT
 VALUE
               DESCRIPTION
PROJECT
'CDHS.AQS'
Highest level index of data set names
(e.g., CDHS.AQS.DATA.FTMSTRAA)
PROGRAM
TXTREDIT
Program to edit AQDHS-II file maintenance
transactions
UNIT
3330
Unit type to which edited transactions
are to be written
SERIAL
CDHSPK
Volume id to which edited transactions
are to be written
DISP
'NEW,PASS,
DELETE'
Disposition of edited transactions
SPCUNIT
TRK
Units in which space for the edited
transactions is to be allocated
PRIMARY
10
Primary space allocation
SECNDRY
                    Secondary space allocation
TRANS
TRANS
Lowest level index of data set to
contain edited transactions
PARMKFL
HTPRM1AA
Lowest level index of parameter code
key file
                      AQSTEDIT - Substitutable Parameters
                                259

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   21
PARAMETER
  NAME
DEFAULT
 VALUE
               DESCRIPTION
SITEFIL
HTSITEAA
Lowest level index of valid site
code file
TEMP
SYSOUT
Unit type for temporary allocations
WORKSPC
20
Space allocation, in tracks, for
work space
SORTCTL
TSORTCTL
Member of SYSIN section containing sort

control card
OUT
                    Sysout class for all print files
                       AQSTEDIT - Substitutable Parameters
                                   (continued)
                                   260

-------
                                                         Appendix:
                                                         Version:
                                                         Date:
                                                         Page:
                                             D
                                             2.0
                                             9/23/76
                                             22
  AQDHS-II
Transactions
Farm-Code
  Key
  File
 Site
 Code
 File
Edit
Control
Card
                          V
                       Program
                       TXTREDIT
        V
   Transaction
    Listing
                            V
 Internal
  Trans-
 actions
Diagnostic
 Messages
                                          Sorted
                                          Trans-
                                          actions
                  AQSTEDIT - DATA FLOW
                           261

-------
                                                             Appendix:
                                                             Version:
                                                             Date:
                                                             Page:
                                                                          D
                                                                          2.0
                                                                          9/20/76
                                                                          23
//*
//*
//AUSTE01T PROL
               AUSTtOi T
                                       MCMASThW    LH
               UNI 1 = 3330,
               SPCUN11=TKK
               PWIMAkY=l0,
               PAR 4KFL=H 1
               SITtF- IL = HTSI TEAA,
               bUKTC TL=TSHKTC. TL ,
//tun    txtc
//*
//* toil AUOt'S FILE viAl^TtNftlMtL  fKA>MbftCl
//*
//STtPLlb   00 OSf,AML = S,PKUJtCT . .LOAD,
//             VOLUME=(H«IVA [fc,KETAIN) ,
//             UISP=CSHH,fASS)
//          Ob OS
//*
//* INPUT DATA StT - tOlT UPTIUNS  COuTKOL  CAhO
//*
//AUSUPtlN  00 OOMAMt=UPTIONS,
//             OCB = bLKSUfc=»0
//*
//* INPUT DATA SET - AUOHS  TkAUSACT 1(JKS

//AQSTRANS  00 DONAM£.= ITiPuT ,
//             OCB=BLKSIZt=flO
                                                                         00 000 1 00
                                                                         00000200
                                                                         00000300
                                                                         00000*490
                                                                         00000500
                                                                         OOQOObOO
                                                                         00000700
                                                                         0 0 0 0 1) H 0 0
                                                                         00000400
                                                                         0000100"
                                                                         0 J 0 0 1 1 0 D
                                                                         0000 l^DO
                                                                         00001 UD
                                                                         o 0 o o 1 a 0 o
                                                                         0 0 0 0 1 S 0 0
                                                                         UGOO IbOO
                                                                         00001700
                                                                         0 0 0 0 1 6 0 u
                                                                         0000190'"'
                                                                         OOOOdOoO
                                                                         00002 10 D
                                                                         000
                                                                         OOoOd'uno
                                                                         0000^500
                                                                         0 0 0 0 1 6 0 0
                                                                         o n o o 2 r o u
                                                                         o o o o ? a o o
                                                                         0 0 0 0 d 9 0 0
                                                                         00003000
                                                                         00003100
                                                                         00003500
                                                                         000*3300
                                                                         o 0 o o 3 a o o
                                                                         00003500
                                                                         00003600
                                                                         00003/00
                                                                         0000 3dOO
                                     261-1

-------
                                                              Appendix:
                                                              Version:
                                                              Date:
                                                              Page:
                                                                            D
                                                                            2.0
                                                                            9/20/76
                                                                            24
                                   ' F  v AI 11) t- >. K ' •,  • t I '
                              C I . . JA T It .
                         « I yA ft. , Ht f A Ii\) ,
//*
//* It,Hill [)t. f M  bt T  -
//*
//AIJ'lHAMM.'l   (jd  1.1.',N A ifc
//              i/ill.ljMt

// *
//* INPUT DA[A  SET  - VALID SHE  UJOE
//*
//AuSSITES   DD  LiSHAMEa&PKOJKCT .. JATA.8.3ITEHL/
//              VOLUME=(PWIvATt/hETAlU) ,
//              DISP=(SMH,PASS)

//* auTput  DATA SET - AUDHS  i"»TEn;.iAL THANSACTII
//*
             OU  UNlT=&TtNiP,
                UISP=CNEftfPAbS,DELETE) ,
//*
//* UUIPUF  DATA  Stl  - FHAr.SACTlCJtJ  LISTIivit,
//*
//AUSCUfJFH   00  SY3UUT=8.UUI
//*
//* OUTPUT  DATA  SET  - DIAGNOSTIC
//AUSPK1M   DO  SYSUUl =ltUU I
//*
//* UUfPUt  DATA  Stfb - o^tS
                                UPfcWATlOiM
             DO  svsuur=ii.uuT
//*
//SYSUUT     DU  SYSOU r=iuu r
//*
//SYSDHUUT   DD  3 Y SUU T = *UiJ T
//*
//STSDTtRM   UO  SYSUUT=liUUT
//*
//SYSUDUMP   DD  SYSuuT=4uui
//*
                                                                            u i/ J 0 u u 0 0
                                                                             )000 4500
                                                                            0 o o o a / o o
                                                                            0 OUO'4fcfl(j
                                                                            o ij o o y ^ o '
                                                                            o oo os i 'in
                                                                            OOOOSdOO
                                                                            01)0 OS 300
                                                                            0 0 i) 0 S '4 0 0
                                                                            OOOOSljOO
                                                                            0 0 0 0 S 6 0 0
                                                                            0 (.' T 0 S 7 o 0
                                                                            OUOOSMOO
                                                                            000061 0 0
                                                                            1 0 0 0 h ^ 0 0
                                                                            OOOUhiuO
                                                                            OOU06SOO
                                                                            0 U IH) b 6 u »J
                                                                            OUOOo/0'J
                                                                            OIIOU690 0
                                                                            00007000
                                                                            U0007 1 UO
                                                                                /300
                                                                                / 'J 0 (J
                                                                                7*j 00
                                                                                7 b 0 0
                                                                                7/00
                                                                                7HOO
                                                                                7 
-------
                                                 Appendix:
                                                 Version:
                                                 Date:
                                                 Page:
                                                                            D
                                                                            2.0
                                                                            9/20/76
                                                                            25
          txtl
//*
//* SUN 7 INI
//*
//SUHTL Hi
                   TKftUSAC f lU'tS  I-iTO  ULt Stl
//*
                OISP=(SrtK,PASS)

             DO  SYbUUf = 4UijJ

//SDKfwKO 1   DO  UNI 7 =

//*



//sukfi.Koi   Ou
                                            1 1.
//*
//SUKTIfj     DO  DS.'J
//              UISP=(()LJ,DhLt It)
//*
//SUNTUUI    DO  UNIT=&UNIT,
//              VULUME=(PKIVArfc,KtTrtIu,SLk=SSfcklAL)/
//*
//SYSIN
//*
DO OSNAMfc=iPKUJtCr..SYSIN(itSOUTC.TLJ,
   VOLUME =( Prtl v A Tt,HfcTAIM) ,
   01SP=(SHk,PASS)
                                                               il ')0 OnOu ,)
                                                               xliJOOH 1 ill)
                                                               <) 0 0 u fl d 0 U
                                                               0 U I) 0 8 3 0 0
                                                               0 QOOR4U d
                                                               0 0 0 U 8 'b 0 o
                                                               0 0 0 0 1* 6 0 0
                                                               i; U 0 0 8 7 0 0
                                                               0 0 0 0 8 H U 0
                                                               0000^ Sou
                                                               i) 01)0460 o
                                                               U 0 0 0 "1 ! 0 U
                                                                            OOOQ4QOO
                                                                            0 0 0 1 0 o u 0
                                                                            000 1 o 1 00
                                                                            U<'0 1 l>
-------
                                                        Appendix:    D
                                                        Version:     2.0
                                                        Date:        9/20/76
                                                        Page:        26
AQSMFUPD - FILE MAINTENANCE

AQSMFUPD is executed  to  create  and maintain  the AQDHS-II master  file.   The
process occurs in three  stages.  First,  the  input  transactions are  edited
and converted into an internal  format.   Next,  these  internal  transactions
are sorted into file  sequence.  Finally,  the File  Maintenance program  reads
the sorted transactions  and uses them to create or maintain the  master
file.

This procedure is used in conjunction with AQSTEDIT  to perform the  necessary
file maintenance routine.  The  user can  edit his transactions by using
AQSTEDIT and then at a later date use AQSMFUPD to  apply these trans-
actions to his AQDHS-II master  file.

Figure 2.2-2.1 shows the formats of the  file maintenance transactions.

There are three input files used by the  maintenance phase.  The  first,
defined by AQSINTRN, contains the sorted internal  format transactions.  The
second, defined by AQSOLDMS, contains the old AQDHS-II master file  to  be
updated.  The third defined by AQSINPUT,  contains  the file maintenance
control card.   There are five output files created during
the maintenance phase.  The first, defined by AQSNEWMS, contains the
new AQDHS-II master file.  The second, defined by  AQSPRINT, contains
any diagnostic messages generated during  the maintenance process.   The
third, defined by AQSCONFR contains a listing of any old master  file
records which were changed or deleted.   The fourth, defined by AQSNEWRC,
contains a listing of any new master file records  added or changed.
The fifth,  defined by AQSCONFR, contains a listing of the internal
transactions generated by the edit process.
                                262

-------
                                        Appendix:
                                        Version:
                                        Date:
                                        Page:
                           D
                           2.0
                           9/20/76
                           27
DP NAME
AQSINTRN
AQSOLDMS

AQSINPUT
AQSNEWMS
AQSPRINT
AQSOLDRC
AQSNEWRC
AQSCONFR
     DESCRIPTION
Sorted AQDHS-II internal transactions
Old AQDHS-II master file to be
updated
File maintenance control card
Updated AQDHS-II master file
Print file for diagnostic messages
Old Master listing
New Master listing
Internal transaction listing
                 262-1

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   28
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
PROJECT
'CDHS.AQS'
Highest level index of data set names
(e.g., CDHS.AQS.DATA.FTMSTRAA)
PROG2
FXFILMNT
Program to update AQDHS-II master file
OLDMSTR
FTMSTRAA
Lowest level index of AQDHS-II file to
be updated
NEWMSTR
FTMSTRAB
Lowest level index of new AQDHS-II
master file
UNIT
3330
Unit type upon which the new AQDHS-II
master file is to reside
SERIAL
CDHSPK
Volumn serial number of volume upon
which AQDHS-II master file is to reside
DISP
'NEW,CATLG,
DELETE'
Disposition of new AQDHS-II master file
SPCUNIT
TRK
Units in which space for the AQDHS-II
master file is to be allocated
PRIMARY
20
Number of units to be allocated for
the AQDHS-II master file's primary
allocation
                    AQSMFUPD - Substitutable Parameters
                                262-2

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   29
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
SECNDRY
10
Number of units to be allocated for
the AQDHS-II master file's secondary
allocation
TEMP
SYSOUT
Unit type for temporary work space
WORKSPC
50
Number of units to be allocated for
temporary work space
OUT
                    Sysout class for all print files
                     AQSMFUPD - Substitutable Parameters
                               (continued)
                                262-3

-------
                                        Appendix:
                                        Version:
                                        Date:
                                        Page:
                       D
                       2
                       9/23/76
                       30
Sorted
Trans-
actions
Master
File
  Control
  Card
                V
           Program
           FXFILMNT
                                                   V
New
Master
File
Diagnostic
 Messages
Internal
Transaction
Listing
             AQSMFUPD - DATA FLOW
                  262-4

-------
                                                              Appendix:
                                                              Version:
                                                              Date:
                                                              Page:
                                                            D
                                                            2.0
                                                            9/20/76
                                                            31
     .vF JPU
                K3=90K,
                            TWAA,
SfcKIAL=COHSPK,
OISP='NE*,CATLG, DELETE',
   = &PKCJG2,
   irjN = &Ri,
TIME =(3,0)
//
//              SPCUN1T=T9K,
//              PWIMARY=AT«  SET  - SUKTtiJ  I
//*
//AUSIMKN   UD  DSNAMt = &PkUJt CI . .UATA.i IKAFJS,
//              UISP=tUl.(J,i;tLtTE)
//*
//« luPUT DATA  SET  - ACjJHS OLU  f--A3TE(v f- I L t
//*
//AQSULUMS   DO  DSNAMt=&P^UJECT..OATA.iULDMS TH,
0 0 0 0 0 5 0 U
o o o o n n (i n
DOoooboy
o u o o n 6 0 o
00000 /OU
00000800
OOOOO'^OO
00001000
00001 ing
Oil 00 1 ^00
90001300
0 0 0 0 1 « 0 0
0 U 0 0 1 b 0 0
c o o o i »> o o
oOO(M 700
0000 1800
o o o o i 
-------
                                               Appendix:
                                               Version:
                                               Date:
                                               Page:
                                                                               D
                                                                               2.0
                                                                               9/20/76
                                                                               32
                  V'JL J 'I =
                  Ui 3P=(3
              Tt ,
  //• UUTPUT  DATA  StT - AiJUhS  fvtt.  -'A3TEK ULt
  //*
        '.t.-.'Mi,   DO  u.Mi r = Mjru r,
OI3P= (i,i)I SP) ,
SPACf=(RSPCUNI!,
 SNA.ME =ftf (VIJJLC r . .OA i A. AnL^vsiw

              L  T -V ANSAC T I O'M LISTING
//*
//* OUTPUT UA[A  3E
//*
//AUSCUNKk  DO SYS
  //*  UUTPuT DATA SET  -  UIAb.USUC
  //•
  //AUSPRlNl  DD SYSuUT=K..JUT
  //«
  //*  UUTPUT DATA StI  -  ULU
  //*
  //ADSULDKC  OD SYSUUT = iiUUT
  //*
  //*  OUTPUT OATA StT  -  N£k', .lASTtH LISTING
  //*
  //AUSMi.KC  DD 5Y.SUU1
                  LISIIuG
 //* OUTPUT  DATA SETS - SYSTEM  GPtRATIUM
 //*
' //SYSPkINT   OL)
 //*
 //SYSUUT     DD
 //*
 //SYSDOOUT   DL> SrSOUT=K.UUT
 //*
 //SYSDTLHM   uO
 //*
 //SYSUDUMP   UU SYSOUT=t
 //*
 //*
                                                             n M D u u u 0
                                                             u o o u 1 o o
                                                            o u n o 'M -J o
                                                            ojuuyuuo
                                                            o n o u " 5 0 o
                                                                              0 0 0 0 u / 0 0
                                                                              0 0 o 0 a 8 o u
                                                                              0 0 0 U S 0 0 0
                                                                              U 0 0 0 b 1 0 0
                                                            OOOOSiOO
                                                            0 0 0 0 b 'J 0 0
                                                            o 0 0 u 4 S 0 0
                                                           UOUOS
                                                           0 0 (j I) b V 0 U
                                                           u 00 OoOd'j
                                                           DUO 061 OU
                                                           o o o o tj y o o
                                                           0 0 0 0 h 7 (1 0
                                                           00006HOO
                                                           00006900
                                                           n o o o 7 o o o
                                                           000u71 00
                                                           o o o o / 
-------
                                                       Appendix:   D
                                                       Version:   2 .0
                                                       Date:      9/23/76
                                                       Page:      33
AQSMERGE - FILE MERGE

AQSMERGE is executed to merge two distinct AQDHS-II master files into one
AQDHS-II master file.  These are two input files used by this program.
The first, defined by DD name OLDAQ1, is one of the two master files to be
merged.  The second, defined by DD name OLDAQ2, is also one of the two
master files to be merged.  There are two output files created by this
program.  The first, defined by DD name NEWMSTR, consists of the new
AQDHS-II master file created by the merging of two old AQDHS-II master
files.  The second, defined by DD name AQSPRINT, consists of the diagnostic
messages produced by the program.

               DD NAME                       DESCRIPTION
               AQSPRINT                 Diagnostic Messages
               NEWMSTR                  The Merged AQDHS-II Master File
               OLDAQ1                   Old AQDHS-II Master File
               OLDAQ2                   Old AQDHS-II Master File
                                263

-------
                                                       Appendix:
                                                       Version:
                                                       Date:
                                                       Page:
                                                   D
                                                   2.0
                                                   9/24/76
                                                   34
PARAMETER
  NAME
DEFAULT
 VALUE
          DESCRIPTION
INFILE1
RTANSR07
AQDHS-II input master file
INFILE2
RTANSR08
AQDHS-II input master file
R
8 OK
Region parameter
                1,0'
                    Time parameter
NEWMSTR
NEWMSTR
Output AQDHS-II master file
UNIT
3330
Unit type on which old and new masters

reside
VOL
CDHSPK
Volume of old and new AQDHS-II

masters
ALLOC
TRK,(20,10),
Space allocation for new AQDHS-II

master file
                        AQSMERGE - Substitutable Parameters
                                263-1

-------
                                                 Appendix:
                                                 Version:
                                                 Date:
                                                 Page:
            D
            2.0
            9/23/76
            35
                    Program
                    AXMERGE
Merged
Master
File
                                                     V
Diagnostic
 Messages
               AQSMERGE - DATA FLOW
                      263-2

-------
                                                                    Appendix:
                                                                    Version:
                                                                    Date:
                                                                    Page:
  D
  2. I
  1/27/77
  29
  //AIJSMf.HGh   HHOC   PR(IJf.CT =
                  INF ILt 1-KT Ar,SKU7,
                  UM r = ?330,
                  VOL=CL)HSPK ,
                 , • . .i_ - v cv i J,nr.HUIV = iK
 //SItPLIH DD  USr.niU'RUJtC 1 . .LIIAU, L>ISI'= C>HK
 //              VUUJML =(PWIVAIF,Kt fAIN)
 //           UU  I'S'^SYM .CUHL lti.iJlbP=(bHU,
 //ULUAU1   l)U  i)b MsHPRIIJt C I .  .OAT A. *. IKF Rf 1 ,
 //         013P=(OLD,PASS),
 //         VULUME = (PWIVAIL, in. rA IN)
 //IJLDAiJ<^   UU  L>SN = HP«lJJll T . .DA I fl . nl'»F It.tV,
 //         U15P=(flLO, PASS) ,
 //         VULUHt = (PKlVAIt , KK I AIN)
 //Kti'.MblW  UU PSiM = flP'V(lJf C I . .DAI A . f. JF .V^ 3 I K,
                                  TE
               TrfiuMT ,
             t)i;  SYSUU f-fiUUT
             OU  SYSOUT=HUUr
//SYSOHUUT DU  SYS
//SYSDTERM UD  SYS
//SYSUOUHP DO  S
  0000010(1
  o n o o o bOO
 U 0 0 0 c? 6 0 0
u (M; 0 £> 7 0 0
0 0 0 0 <= H 0 0
0 0 0 0 f 9 u 0
0000 iOOO
0000 il 00
                                                                                  OOOO^iOO
                                       263-3

-------
                                                            Appendix:    D
                                                            Version:     2.1
                                                            Date:        1/27/77
                                                            Page:        30
A^SPMKTH - 1'RINT PARAMETER-METHOD-UNIT-CODE TABLE

     AQSPMETH is the catalogued procedure which invokes the program to
print the parameter-method-unit-code table in a columnized, self-documenting
manner.   There are two input files; one, defined by DD name PRMKEYFL, contains
the table key information, and the other, defined by DD name DESFILE, contains
the corresponding descriptions.  The print file, defined by DD name AQSPRINT,
contains all output, including page headings and footnotes, detail lines, and
the update and ending messages.
                                263-4

-------
                                                            Appendix:
                                                            Version:
                                                            Date:
                                                            Page:
                                                       1)
                                                       2. I
                                                       1/27/77
                                                       31
DD NAME
                  DESCRIPTION
PRMKEYFL
DESFILE
AQSPRINT
        Method-Unit Code Table Key File
        Description File
        Print File (All output)
PARAMETER
  NAME
        DEFAULT
         VALUE
     DESCRIPTION
PROJECT
PROGRAM
KEYFIL
CNA08 7. I Ml.CDHS.HQ. AQS
   PXMETHOD
   HTPRM1AA
DESCFIL
   HTPRM2AA
Highest level index of data
set names
Program to print parameter
method-unit code table
Lowest level index of data set
name for method-unit code
table key file
Lowest level index of data set
name for method-unit code
description file
                                 263-5

-------
                                           Appendix:
                                           Version:
                                           Date :
                                           Page:
                        D
                        2.1
                        1/27/77
                        32
  Farm
Method-
Unit Code
Table Key
  File
  Method-
 Unit Code
 'escriptic
   File
                Program
               PXMETHOD
Update and
Ending
Messages^-
                              L
Method-Unit
Code Table
Report
          PXMETHOD - DATA FLOW
                263-6

-------
                                                                                                    Appendix:  D

                                                                                                    Version:    2.1

                                                                                                    D.ito:         1/27/77

                                                                                                    Page:         .}_}
        oooooooooo oooooooooooooooooo
        OOCOOCOOOOOOOOOOOOOOOOOOOOOO
        —•ru'-ozjj^.or-cticr G-^rxiKi^LO-or—cctT-o — fV'-'i^yL/^sO^-tri
        ooooooooo—c —. —• —. -* —.—•-« — ^rvixrxjrvjnjrvjrunjnj
        OOOOOOOOGOOOOOOCOOCiOOOOOOOOO
        oooooooooooooooooooooooooooo
        oooooooooooooooooooooooooooo
        OOOOOOOOG O O O OOOOOOOOOOOOOOOO
                                     or
                                     Q.
                                     c
                                     o-
                                     a.
          f\J

          O
               CO
               I
               X
               5"
               z o  » -
               <_> O «
               »  x -H
o o u.
o o >-
a: a: uj
CL J> it
                      a:
                      3.
                      u. <
                      u ii
               oc
               LD
a.

ii o

LS ai

  ii
                      a.


                      a:
                      LJ
                      CO
                      111
                      O
                                     O O
                                     X O
                                       CO
                                     O CJ>
                                            o
                                            a:
                                            Q.
CC
X
(O
II
Q.
CO
                                            o
                                            o
                                                 a:
                                                 a.
                                                                
-------
                                                            Appendix:    D
                                                            Version:     2.1
                                                            Date:        1/27/77
                                                            Page:        34
AQSPSITE - PRINT SITE CODE TABLE


     AQSPSITE is the catalogued procedure invoked to execute the program

which prints the site code table in a columnized, self-documenting manner.

The input site code file, defined by DD name SITEFILE,  contains the table
entries.  The only output file is the print file, defined by DD name AQSPRINT,
which contains page headings and footnotes, detail lines, and update and
ending messages.
                                263-8

-------
                                                            Appendix:
                                                            Version:
                                                            Date:
                                                            Page:
                                                       D
                                                       2.1
                                                       1/27/77
                                                       35
DD NAME
                  DESCRIPTION
S1TEF1LE
AQSPRINT
             Site  Code  Table  File
             Printed  Output File
PARAMETER
  NAME
       DEFAULT
        VALUE
     DESCRIPTION
PROJECT
PROGRAM
SITEFIL
CNA087.LMH.CDHS.HQ.AQS
       PXSITE
      HTSITEAA
OUT
Highest level index of data
set names
Program to print site code
table
Lowest level index of data
set name for site code table
file
Sysout class for print file
                                263-9

-------
                                              Appendix:
                                              Version:
                                              Date:
                                              Page:
D
2.1
1/27/77
36
Site  Code
  Table
  File
                 Program
                 PXSITE
\

Update
Ending
Messag
-
/

and

es ^_





/

Site Code-
Table Report
.,- - "'
                  AQSPSITE - DATA FLOW
                    263-10

-------
                                                                                   Appendix:  D
                                                                                   Version:   2.1

                                                                                   Date:        1/27/77

                                                                                   Page:        37
        ooooooooooooooooooooooo
        O C C OOOOOOOOOOOOOOOOOOOO
        —.r\j^qriTi-c*^-cooo — ru»^:3j"v,or~cc;c>o~(\jNn
        ooooooooo—•—«.-•—t—«~*-H—«—«-*r\jr\jrunj
        ooooooooooo oooooooooooo
        ooooooooooooooooooooooo
        o 3000000000000000000000
        ooooooooooooooooooooooo
             o
             I
<
I—«
a:
a.
o
a:
a.
a.
                                 O
                                 <
                                 O
                                 3
                                 3:
                                 a.
                a
                o
LLl
i—
1—4

CO
                                                 <
                                                 o
             ~> Q-
             O II
             ct y
                                     a:
                                     a
            O
            ad
            II
       O t-»
       ~- CO
       r- 0.
             LJ J .
             O O '
             a: a: •
             O. 1 :

             UJ
            CO
            a
            to
            a
      « * * «3
      X V X X -
      V. X V. X •
a-
o.
«5 -N
II O
r «
0 —
D_ ^
II
LJ JJ
jj ?:
X «— 1
LiJ •—


f—
^
»— 1
o:
a. ••
U-

UJ
^>
O
o
1
UJ
1 —
«— t
CO

t—
to
*— t
_J


[ * *
'JL 'JL
T. 3
CO u.
It
a. t—
to ;r
t-t UJ
o i
UJ
o >-
C. 
CO CO
»-«
_1 O
0. £^
UJ
(
•SI « * <
^— 1
^
O t-
LO UJ
>- CO
to
<2
^ >-
O -3
O

v— t—
.- —>

a; ^r
Q. -•
to
C3
t <: « « 4
i.
»9

^
'S>
O
a:
.0 ^
o to
II
a.
uJ to

*— » o
U-
LU
t —
J^^
I CO
    to
    a.
    to
a:
a.
    a:
    UJ
    :r
                                          263-11

-------
                                                             rt.ppeuu_Lx;    LI
                                                             Version:     2.1
                                                             Date:        1/27/77
                                                             Page:        38
AQSPSTDS - PKJNT  PAKAMKTKR  STANDARDS  TABLE

     AO.'H'I'.'I I)!J  i':  IMC  r;i Ui 1 oc.ufd  pror.erlure wh i r:h invokes the program  Lo
print the parameter standards  table in a columnized, self-documenting
manner.  There  is one input  file,  defined by DD name PAKMSTDS, which
contains the parameter  standards  table.   The output all goes on the same
print file, defined by  DD name AQSPRTNT, including page headings and foot-
notes, detail  lines,  and update  and ending messages.
                                  263-12

-------
                                                             Appendix:
                                                             Version:
                                                             Date:
                                                             Page:
                                                      D
                                                      2.1
                                                      1/27/77
                                                      39
III) KAMI'.
            DKSCKIPTJON
I'AKMHTDS

AQSPRINT
  Parameter Standards Table File
  Print File (All Output)
PARAMETER
  NAME
       DEFAULT
        VALUE
     DESCRIPTION
PROJECT
PROGRAM
PRMSTDS
CNA087.LMH.CDHS.HQ.AQS
       PXPRMSTD
       HTSTNDAA
OUT
Highest index level of data
set names

Program to print parameter

standards table

Lowest index level of data

set name for parameter

standards table file

Sysout class for print files
                                 263-13

-------
                                           Appendix:
                                           Version:
                                           Date:
                                           Page:
                            D
                            2.1
                            1/27/77
                            40
  Farm
[standards
  Table
  File
                Program
                PXPRMSTD
      Update and
      Ending
      Messages
.  - A/   .
Standards
Table
Report
               AQSPSTDS - DATA FLOW
                 263-14

-------
                                                                                              Appendix:  D

                                                                                              Version:    2.1

                                                                                              Date:         1/27/77

                                                                                              Page:         -i
       ooooooooooooooooooooooo
       oooooooooooooooooo o o o o o
       -^f\i*^^Jir>-Dr^(t>cy-o — r\j"n=tLO^^^cooc—«ru^
       ooooooooo -* -H —« —t n _* .^ _* —• —i r\j r\i i\j ru
       ooooocooooooooooooooooo
       ooooooooooooooooooooooo
       ooooooooooooooooooooooo
       ooooooooooooocooooooooo
              CO
              cs
              a
              I
              o
              LJ
                            X
                            a.
                            o
                            a:
                            a.
                            a.
                o
                >—
                co
       O >-
       r^ to
              I
              II
              CO
              Q
              >— <
              OOZt—
              to
              O-
              to
              cs
5

a:
                         'J —
                         Q- -^
CO


a:


Q
^

<
H-
;O


Ct
                                a; 1^1
                                «I I—
                                a. o
                                to o
                                *-« 3
                                   u
                                   UJ
                                   -5
                                   3
                                   a:
                                   Q.
                                   oO
                                   II
                                   ?•
                                   CO
                                       tr
                                       I
                                       CO
                                       II
       tn

       _i
       a.
                                                UJ
                                                _J
                                                CO
                                                     ct
                                                     1
                                or
                                T
                                to
                                II
                                O-
                                co
                                to
                                o
                                H-
                                CO
                                s.
                                a:
                                CL
                                a!
                                           a:
                                           a.
                                       or
                                       o
                                       en

                                       O
                         o:
                       * a.
                                            O
                                            »5
                                            II
                CO
                •>-
                to
                                           a;
                                           a.
                                           to
                                                     a

                                                     i
m


s:
UJ
^
                                                  263-15

-------
                                   Appendix:  E
                                   Version:   2.1
                                   Date:      1/27/77
                                   Page:      42
Appendix E - AQDHS-II LOAD SHEETS
              264

-------
AQDHS LOAD SHEETS

The following load sheets are suggested for use with AQDHS.  Data
encoded upon them may be easily keypunched and entered into the system.
A separate load sheet is provided for each different type of transaction
(form #1, form #2, and form //3) as well as for composite data.
                                      265

-------
59

-------
= E  »
2 o  S
    6 a SO
                    267

-------
wo




—i1^;
uo»av
in « IB

I
J

",™^
B
=



t
M
0.


1
K

us*
e
=



£
ft
"-


f
1

UOIUSOrf
5
D



I
IS



I
t

OOIIHOJ
8
3

POWW

•
12


eujii
•iirodiioa
nouns
|0 -oqujplhj
3
1
|

S
0)
s
K
S
S
s
5
H
S
g
S
S
to
1C
£
J
3
3
Z
O
S
s
£
S
S
J
S
S
S
s
5
5
;
s
s
;
;
5
;
s
s
s
£
s
s
*
s
a
s
s
R
s
R
s
s
s
s
s
s
s
s
s
t
2
I


































































U«W
.n,.,s
1

ZoS
1
poufiBW
5 u
Q_
1
;™nS
;
Polling)
||
a!
F
1
o;
SS3
D
(jouia^
P
.-
IZS
1
,»v,*,
s »
13
«S!is
adA±
ailsodtuoo
.-' 	 "~
B
1
S
"
S
K
S
S
J
P
S
^
e
s
s
E

S
S
s
s
z
o
s
s
s
s
s
s
K
s
E
s
;
3
;
s
"
;
7
s
;
o
s
s
s
s
s
s
s
s
s
s
s
s
^
s
s
s
s
s
s
s
s
s
t
s
?


































































                           268

-------












O 0 
-------
                                  TECHNICAL REPORT DATA
                           (I'lcaw read Instructions* on the /nmv hcfmi' i
I  Ml ('< ) H I NO

    EPA - 450/3-74-045-1
.1  I I I I I 
-------
                                                                               8
                                                                               ^  5
                                                                               o  =
                     3J  r
                     2  ?
                     z  •*

                     5  s
                     m  a
?
                             H O O
                             r.« to
                                                                                       - _ - . m
                                                                                      -  SJ 9 O
                                                                                      __ C* 3 _j
                                                                               o

                                                                               m
                                                                               3J
                         r
                         NH
                         n
                         >
                         H
                         I-H
                         o
                        O

                        W
                                                          N O 33
01
  a"
    (B
  0) (t>
  Q. —
  Q. _
    c
  00 u.
  3 °
  2 z
  tt> ,-N
  ^5

  tt.s
    U)
    3-
                                                            D
                                                            Q. (B
                                                            — n
                                                            n CD

                                                            21 <
                                                            0> (D
  - tp
  3 ->
  o^ i'


  ID
  (Q -
                                                                                           z
                                                                                           <
                                                                                           55
                                                                                           2-o
                                                                                           1°
                                                                                           2 i/>

                                                                                     p

                                                                                     8
                                                                                         '  »2
                                                                                         Soo
                                                                                         Ul "* T»
                                                                                           n

-------