United States
           Environmental Protection
           Agency
           Office of Air Quality
           Planning and Standards
           Research Triangle Park NC 27711
EPA-450/4-79-010
May 1979
           Air
c/EPA
Air Quality Data
Handling System
(AQDHS-II)
Test Run Series
Documentation


-------
                                   EPA-450/4-79-010
Air Quality Data Handling  System
                 (AQDHS-II)
 Test Run Series Documentation
                         by

                 Larry R. McMaster, Project Leader

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

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

                        May 1979

-------
This report is issued by the Environmental Protection Agency to report
technical data of interest to a limited number of readers. Copies are
available free of charge to Federal employees,  current contractors and
grantees,  and nonprofit organizations - in limited quantities  from the
Library Services Office (MD-35), U.S. Environmental Protection Agency,
Research Triangle Park, North Carolina 27711; or, for a fee, from the
National Technical Information Service, 5285 Port Royal Road, Springfield,
Virginia 22161.
                  Publication No. EPA-45Q/M-79-010
                                  ii

-------
                             TABLE OF CONTENTS

ACKNOWLEDGEMENT  	      v1

INTRODUCTION 	       1
AQDHS-II TESTS
       1.  Create and  Print the Parameter File 	       2
       2.  Create and  Print the Site File	      13
       3.  Create and  Print the Parameter Standards File	      23
       4.  Convert SAROAD  Transactions to AQDHS-II Transactions.  .      33
       5.  Create the  Initial Master File Using the Converted
           Transactions   	      46
       6.  Produce a Detailed Report of the Master File  .....      63
       7.  Produce a Master File  Summary Report  	      85
       8.  Produce, an  Inventory of the Master File by Pollutant.  .      90
       9.  Produce.an  Inventory of^the Master File by Site ....      96
      10.  Generate a  Statistical Analysis Report from the
           Master File	     101
      11.  Screen the  Master File for Anomalous Data	     110
      12.  Submit Quarterly Report to SAROAD	    120
      13.  Retrieve a  Standard  Answer File from the Master File. .    126
      14.  Update the  Parameter File	    151
      15.  Update the  Site File	    158
      16.  Produce a  Parameter Exception Report  for the  Updated
           Parameter File	     161
      17.  Produce a  Site Exception Report  for the Updated  Site
           File	     165

-------
      18.   Produce a FORTRAN-Compatible Master File and a
           FORTRAN-Compatlble Parameter File 	     169
      19.   Archive Data from the Master File	     174
      20.   Reproduce the Working Master File with Data in
           Standard Units  	     177
      21.   Produce a Sliding Average Report for all Hourly Data
           Retrieved from the Master File in Standard Units  .  .  .     181
      22.   Dump the Contents of the Archived Master File 	     192
      23.   Update the Master File	     196
      24.   Submit Another Quarterly Report to SAROAD	     211
      25.   Screen the Updated Master File for Anomalous Data .  .  .     216
      26.   Archive Data from the Updated Master File and Merge
           this Data with Previously Archived Data	,  .  .     222

AQ0H§»JI AD HOC TI§Ti
       i.   Result ii7t Pata to SARQAD  .,,,,,,,,,,,,     227
       2.   Rescreen all Data from the Master File  ,	     235
       3.   Produce an Inventory by Pollutant Report with Data from
           both the Archived and Active Master Files , 	  .     244
       4.   Produce a Detailed Report in User Units Containing Data
           Retrieved from the Master File  . , .  .  ,	     254
       5.   Produce a Sliding Average Report  • .  »  , .	     261
       6.   Use Batched Retrievals In Generating a Statistical
           Analysis Report Ordered by Parameter  ,.,.,.,..     268
       7.   Retrieve Data and List the Answer File  ..,...,,,    277
       8.   Run a Statistical  Analysis on an Answer File	     283
       9.   Generate all Non-Abortive Error Messages of the Master
           File Maintenance Program	* ....     291
      10.   Exercise the Individual List Options in the Master File
           Maintenance Program 	     304
      11.   Convert SAROAD  Transactions and Update Master File  .  .     315
                                     IV

-------
      12.   Perform a Total-Time-Period Statistical Analysis on a
           Multj-Year File 	    322

      13.   Test the 'STND'  Option  of the Master File Sort Program.    333


APPENDIX A:  Cross-Reference of Tests, Procedures, and Programs.  .    344

-------
                               ACKNOWLEDGEMENT
      This manual was prepared by the Research Triangle Institute,  Research
Triangle Park, North Carolina, for the Environmental  Protection Agency  under
Contract 68-02-3011.
      The development of this manual documenting the AQOHS-II  test  run  series
has been largely a team effort between RTI and Mr.  Lloyd M.  Hedgepeth of
EPA/NADB.
      The work has been conducted under the direction of Mr. Lloyd  M.
Hedgepeth of the National Air Data Branch (NADB), who is the EPA  Project
Officer for the contract.
      RTI staff members principally participating in the development of this
document are:

      R« C* Haws* Laboratory Supervisor
      Li ft« MeMaster, P>djeet Leader
      D. L. Franke, Analyst/Programmer
      D. E. Warren, Analyst/Programmer
      W. M. Bailey Programmer
      F. A. Fanner, Programmer
      K. C. Ng, Progammer
      C. 0. Scheper, Programmer
      A. F. Tall ant, Programmer
      H. B. Ashmore, Technical Writer/Editor
      D. J. Adams,  Secretary
      E. A. Hamilton, Secretary
      N. L. Kuzil,  Secretary
      C. S. Lehco,  Secretary
      0* H. Rachal, Secretary

-------
                                 INTRODUCTION

      The purpose of this manual  is to document  the AQDHS-II  test run  series
released by the Environomental  Protection Agency,  as  part  of  the AQDHS-II
installation package.   This document replaces Air  Pollution Training Institute
Manual 475-, Comprehensive Data Handling System,  Volume  2,  Air Quality  Data
Handling System (AQDHS-II).
      The test run series is divided into two major areas:  basic test runs
and ad hoc test runs.   The basic test runs exercise each program in AQDHS-II
at least once and provide the user with a means  of determining whether or  not
his installation of AQDHS-II has been successful.
      The ad hoc test runs further exercise the  capabilities  of the AQDHS-II
programs.  The ad-hoc test runs also provide the user with examples of how
various combinations of AQDHS-II programs may be used to generate certain
reports or to accomplish special tasks.
      The AQDHS-II User's Guide should be used as  a reference in conjunction
with this manual.  Appendix A of this manual provides a cross-referencfc of
test, procedures, and programs.

-------
 AQDHS-II TEST 1

 Create and Print the Parameter File

      In this test run,  an initial  AQDHS-II  parameter file is created using the
 cataloged procedure AQEMP10 which  executes  ASRPARM  (AQ0150), the parameter
 file transaction sort program;  and AEMPARM  (AQ0070), the parameter file main-
 tenance program.  The cataloged procedure AQRPP10 is then used to produce a
 formatted listing of the parameter file  by  executing ARPPARM (AQ0240), the
 parameter file detailed report program.

      ASRPARM (AQ0150) sorts the parameter file transactions (see Figure AQT1-1
 for the transaction formats)  into  the sequence required by AEMPARM (AQ0070).
 The fields of each transaction are sorted in the following order:
     2-6              Parameter Code              Ascending
     7-8              Method Code                 Ascending
     9-10              Unit Code                   Ascending
         80              Action Code                 Ascending
           1              Card Type                   Ascending

All parameter file transactions must be sorted by ASRPARM (AQ0150) before they
can be used to create the parameter file*

     AEMPARM (AQ0070) creates and maintains a fixed-length, sequential file
containing the valid parameter, method, and unit code combinations and their
descriptions.  The parameter file must contain a record for a parameter,
method, and unit code combination before readings for that combination can be
placed in the AQDHS-II master file.
     The input parameter file transactions can consist of three types:  card
type 1, card type 2, and card type 3.  Refer to Figure AQT1-1 for the
parameter file transaction formats and to Figure AQT1-2 for the parameter file
transaction load sheet.   The creation of a parameter file record requires a

-------
complete set of these three  transaction types all having identical parameter,
method, and unit code combinations, and an action code of 'A1.  Also, every
field in these cards, with the  exception of the two user units fields, must
contain valid, non-blank data.
     The options in this program  are  used to specify whether or not the
warning-level  error messages are  to appear in the diagnostic report and if the
input transaction file, input parameter file, and output parameter file are
to be printed.  In order to  have  the  warning-level messages printed'in the
diagnostic report, the word  FLAGW must begin in column 1 of the option card.
Otherwise, the word NOFLAGW  or  any other value except FLAGW beginning in card
column 1 will  suppress these messages.  If the input and output files are to
be printed, the word LIST must  begin  in column 9 of the option card.  However,
if these files are not to be printed, the word NOLIST or any other word except
LIST should begin in card column  9.   The default values of NOFLAGW ancTNOLIST
will be used to control printing  when an option card is not present  in the run
stream.

     ARPPARM (AQ0240) prints the  parameter file  in a columnized format which
includes headings and a footnote  feature.  The content of each parameter file
record is listed on two print lines.

     The run stream for this test run contains the JCL necessary  for creating
an AQDHS-II parameter file  and  producing a formatted listing  of this file.
This run stream is shown  in  Figure AQT1-3.   It does  not show  all  the input
parameter file transactions  in  the run  stream, but does show  the  necessary
JCL.
     First, the run stream  executes  the cataloged procedure AQEMP10.  Since
this test run creates the initial AQDHS-II  parameter file, there  is obviously
not an input parameter file to be accessed.   This is why  the  old  parameter
file AQSOLDPR must be a  dummy file in the UPDATE step.  Through  the use of a
substitutable parameter,  the new parameter file  is named  AQPARM01.   The user
must supply the DD (data definition) information for the  option card file in
the UPDATE step and for the  input parameter transaction file in the SORT step.
The options specified in the UPDATE  step of this test run are NOFLAGW and

-------
NOLIST.  Refer to Figure AQT1-4 for the sample output  produced by this
procedure.
     Next,  the cataloged procedure AQRPP10 is  executed to  produce a formatted
listing.  A substitutable parameter is used to specify AQPARM01 as the  input
parameter file.   The sample output produced by this  procedure is shown  in
Figure AQTI-5.

-------
Card 1

Columns       Field  Length      Data Type                Description

      1              l         Numeric              Card Type (value is 1)
 2-6              5         Numeric              Parameter Code
 7-8              2         Numeric              Method Code
 9-10              2         Numeric              Units Code
     11              1         Numeric              Minimum Detectable*
                                                   Decimal Code
12-15              4         Numeric              Minimum Detectable
16 - 45             30         Alphanumeric         Parameter Description
46 - 70             25         Alphanumeric         Collection Method
71-79              9                              Unused
     80              1         Alphabetic           Action Code
*If the minimum detectable value is  negative  it must  adhere to the following
 format:  -ddd where d is any digit  0-9.  The minimum detectable value must be
 expressed in the units specified by the  units code in columns nine  and 10.
                                                                (Page 1 of 3)
               Figure AQT1-1.  Parameter File Transaction Formats

-------
Card 2
Columns
 2 -
 7 -
 9 -
11 -
36 -
   1
   6
   8
- 10
- 35
- 65
- 79--
  80
Field Length

      1
      5
      2
      2
     25
     30
 Data Type

Numeric
Numeric
Numeric
Numeric
Alphanumeric
     - v
Alphanumeric

Alphabetic
      Description

Card Type (value is 2)
Parameter Code
Method Code
       /•
Units Code;*
Analysis'MMfiod
Units
Unused*x
Action* Co
-------
Card 3
Columns

      1
 2 -  6
 7 -  8
 9-10
11 - 12
13 - 21

22 - 23
24 - 32

33 - 79
     80
Field Length

     1
     5
     2
     2
     2
     9*

     2
     9*

     47
     1
 Data Type

Numeric
Numeric
Numeric
Numeric
Numeric
Numeric

Numeric
Numeric
Alphabetic
       Description

Card Type (value is 3)
Parameter Code
Method Code
Units Code
Standard Units Code
Standard Units Conversion
Factor
User Units Code**
User Units Conversion
Factor **
Unused
Action Code
 *A five-digit decimal  position is  assumed; e.g., 2.62 would be coded as
  '000^62000'.

**If the user units code and user units  conversion  factor  are blank on an add
  transaction, the user units code  on the added  parameter  file record will be
  the same as the units code in columns  nine  and 10 of the transaction, and
  the user units conversion factor  will  be one.
                                                                 (Page  3 of 3)
          Figure AQT1-1 - continued.   Parameter File  Transaction  Formats
                                        7

-------
00
-IMI-T
A K QUALITY DAT,
!XHANDL NRSURSYRTPM fAnni-IC—in RV
COMPREHENSIVE DATA HANDLING SYSTEM (CDHS) DATE
PARAMETER TRANSACTIONS PAGE
&. UtN
PARM METH UNIT o DETECT. PARAMETER DESCRIPTION COLLECTION METHOD ACTI<


-n
1
i i t i
1
1
III t 1 1 1 1
PARM METH UNIT ANALYSIS DESCRIPTION
2
l.i i i
.1
,1
II 1 1 1 1 1
-^ PARM METH UNIT uc CONVERSION FACTOR
/— i
ffl-2. Parameter File Transaction Load Sheet

3
llli
1
1
II 1 1 1 1 1


1
SEH
UC
1
i i i i i i i i i i

i i i i i i i i i i
lONVCRSION FACTOR
J^l 1 I 1 1 1 II
PAHM METH UNIT o DETECT PARAMETER DESCRIPTION

1

i i i i

1

,

ill 1 1 1 1 L
PARM METH UNIT ANALYSIS DESCRIPTION
2
.1111
JL
J
1 II 1 1 1 1 1
PARM METHUMlT UC CONVERSION FACTOR
3
1 t 1 1
\
I
1 1 1 1 1 1 1 1 1

L_l_

1
ICC


1 1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1
USER UNITS
ONVERSION FACTOR
1 1 1 1 1 1 1 1
ft. MIN
PARM METH UNIT o DETECT PARAMETER DESCRIPTION
i
1
2
1 1 i 1
7
1
9
L
11 12 16
III 1 1 1 1 1
PARV METH UNJT ANALYSIS DESCRIPTION
i
2
J
1 1 1 1
7

9
.



1 1 1 1 1 1 1 1 1 1

—OF 	
I i i t i I i I i i i i i i i i I t I I I I i i i i i i i i i i i i i i i i
UNITS OESCWPTtON ACTION
J l I i i i i i i i i i i ij f i i i L | | 1 1 1 1 I 1 1 1 1 I i I I i I i i i i i i

I l | i i i t i i i i i i l i i i i i i i i i i i i i i i i i i i i i i i t i i i i

COLLECTION METHOD ACTION
. 45 IB. 	 'f\ 7J
1 1 1 1 1 1 1 1 1 1 1 1.. 1 1 1 1 1 1 1 1 1 1 | I | | | | | | | I .1 t | 1 1 1 1 1 1 1 1


UNITS DESCRIPTION . ACTION
II 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 ! 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 l 1 1 1 l


1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

COLLECTION METHOD , ACTION
45 4B 70
1 . 1 1 1 J 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1
M


UNITS DESCRIPTION . ACTION
11
1 1 1 1 1 1 1 1 1 1
I 1
1 1 1 1 1 1 1 1 1 1
STO STANDARD UNITS USER USER UNITS
PARM METH uMrr uc CONVERSION FACTOR uc CONVERSION FACTOR .
\
3
j
1 1 1 1
7

9

1113 ' 21
1 1 1 1 1 1 1 1 1
n
i
24 )?
1 1 1 1 1 1 1 1

1



" f

,

7

It



1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1


3



1 1 1 1 1 1 1 1 1 1

i. i i i I I i 1 i i
. J5 36 . 6S . .
I.I 1 .1 1 1 1 1 1 1 1 1 1 1 .1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
jl

ACTION

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | 1 | I |
J'J


COLLECTION METHOD ACTION
1 1 1 1 1 1 1 1 1 .1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 J..l_l_l III. 1 1 1 1 1 1 1 1
UNITS DfSCniPTKIN *CT_K
| 1 1 1 1 1 1 1 1 1 1 1 III 1 I.LLI 1 1 t 1 1 1 1 1 t 1 1 1 t 1 t 1 t 1 1 t 1 1 1 1
ACTI^
1 1 t 1 1 t 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 » 1 I I i I t 1 1 t 1 1 t 1 t 1 I 1 1 1 1



JN



-------
//AOSTSTOl  JOB  RTI.C44.P02443fMCMASTER»Te2,P=150,FORMSeFFWHITE,PRTY»l
//*PRUCLIB=RTI.C44.PU2069.MCMASTER,DPR.JCL
//KILL EXEC PGM=IEFBR14
//DD1 DD DSNsRTI.C44.P02069.MCMASTtR.DPR.DATA.AOPARM01,
// DISPs(OLD,DELETE)
//*
//* CREATE THE INITIAL PARAMETER FILE
//*
//TEST1A  EXEC AQEMPJO,
//             PRIMARYsl.
//             SCNDARY-1,
//             OUT=A,
//             NEWPARMsAQPARMOl
//*
//* SORT AND EDIT THE PARAMETER  TRANSACTIONS;
//* THEN USE THEM TO  BUILD THE PARAMETER FILE
//*
//SORT.INPUT DD *
111101910100001TOTAL  SUSPENDED PARTICULATE   HI-VOL
2111019101GRAVIMETRIC              U-GM3/M3 (2SDEG C.1013 M-BARS)
311101910101000100000
111101920210011TOTAL  SUSPENDED PARTICULATE
2111019202GRAVIMETRIC
311101920201000091600
111201810920001SUILING INDEX
2112018109THAUSMITTANCE
31-1201810901000100000
121101519020143TOTAL  SETTLED PARTICULATE
2211015190GRAVIMETRIC
321101519093000035030
121101519120005TOTAL  SETTLED PARTICULATE
221101S191GRAVIMETRIC
321101519193001000000
121101719020143TOTAL  SETTLED PARTICULATE      BUCKET;  JAR
2211017190GRAVIMETRIC (APCA)       TONS/SQUARE MILE-MONTH
321101719093000035030
12U01719120005TOTAL  SETTLED PARTICULATE      BUCKET;  JAR
22U017191GRAVIMETRIC (APCA)       M-GMS/SOUARE CENTIMETER-MONTH
321101719193001000000
121101819020143TOTAL  SETTLED PARTICULATE      BUCKET;  JAR
2211018190GRAVIMETRIC (ASTM)       TUNS/SQUARE MILE-MONTH
321101819093000035030
                                             MEMBRANE SAMPLE
                                   U-GMS/M3 (OUEG C, 1013 M-BARS)
                             (COH/1000LF)    TAPE SAMPLER
                                   COHS/1000 LINEAR FEET
                                             BUCKET; JAR
                                   TONS/SQUARE MILE-MONTH

                                             BUCKET; JAR
                                   M-GMS/SQUARE CENTIMETER-MONTH
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                                                                               A
                  (Remainder  of transactions  omitted)
//UPDATE.AOSOLDPR DD DUMMY
//UPDATE.OPTINS DD *
NQFLAGN MULIST
/*
//TEST1B EXEC AQRPP10,
"             PARMFIL*AQPARM01i
"             OUTaA
//*
//* PRINT THE PARAMETER FILE
                        Figure AQT1-3.   Run  Stream

                                      9

-------
                                    AUDH8-II PARAMETER FILE TRANSACTION  SURT  PROGRAM   -   DIAGNOSTIC  RtPORT                         PACE   t
     PROGRAM NAME:  ASRI'AMM (ftQOlSO)
     REVISION LEVtL!  1-flO
3|   I-AST  UCOAIt »J a«
to   DATE  INCORPORATED: OCTOBER 3i, we


n>

2a   NUMBER Of INPUT  TRANSACTIONS:
•O   NUHHER UF OUTPUT TRANSACTIONSj
 -a

 3
 O
 n>
 a.
 n>
 •a
 »-*
 o

  i
  i

 T3

 O
 U3
 -S
 3                              AODHS-I1  PAHAMETtR  FILE  EDIT  AND MAINTLNANCL PROGRAM DIAC.IJUSTIC MESSAGES            PAGE
 (/)
      PRUGRAM NAME! AtMPAH.-)  (AQ0070)
 r£   REVISION LEVEL: 1-00
 JO   INCORPORATED: OCTOBER  31,  1976
 ^   LAST UPDATE »! 21
 5   OPTIONS IN EFFECT: tJOFLAGW DOLIST
 Si   NUMHCR OF INPUT PARAHtTER FILE RECORDS:        0
 3   NUMHER OF OUTPUT PARAMETER  FILE RECORDS:      89
      NUMULR UF INPUT TRANSACTION CARDS:           Z67
 3>   NUMHtR OF VALID TRANSACTION CARDS!           267
 !Z2   NUMHCR OF REJECTED  TRANSACTION CARDS;          0
 ^   NUMHER OF DISASTER  MESSAGES!                   0
 >   NUMBER OF ABORT MESSAGES:                      0
 §   NUMBER UF ERROR MESSAGES:       "            0
 -^   NUHrifcR UF CONDITIONAL  MESSAGES!                0
      NUMBER OF HARNING MESSAGES                   174

-------
                                                      AQDHS-II PARAMETER FILE LISTING
                                                                                                                             PAGt    1
PROGRAM-NAME! ARPPARM (A00240)
REVISION LEVEL!  1-00
LAST UPDATE ffl  24
DATE INCORPORATEOI  OCTOBER 31,
                                     1978
III
t£J
C
JD

JO
^
tn

-v
o
o

a.
n>

JO
•yo
-o
g

1
T3
-s
o
-s
O>
3
3>
-a
^
3 "-p
n»
CO
n>
i—1
o
-h
PARAMETER
CUQE

11101

11101

11201

21101


21101

21101

21101

21101

21101


42101


42101

42101

42101

42101

42102
METHOD
COPE

91

92

81

51


51

71

71

81

81


11


11

11

21

21

11
UNITS
pnpF

01

OS

09

90


91

90

91

90

91


05


06

07

05

07

07
MIN
BE.L

0001

0011

0001

0143


0005

0143

0005

0143

0005


0575


0628

0004

0063

0004

0001
DEC
IflD

0

1

2

2


2

2

2

2

2


3


3

1

2

1

0
STANDARD UNJT3
CODE

01

01

01

93


93

93

93

93

93


05


05

05

05

05

05
C"Htf FftCTPB

1.00000

.91600

1.00000

.35030


10.00000

.35030

10.00000

.35030

10.00000


1.00000


.91600

1.15000

1.00000

1.15000

1.80000
USER.
pppE cm

01

02

09

90


91

90

91

90

91


05


06

07

05

07

07
.UNITS
NV FAQTPR.

1.00000

1.00000

1.00000

1.00000


1.00000

1.00000

1.00000

1.00000

1.00000


1.00000


1.00000

1.00000

1.00000

1.00000

1.00000
PARAMETER QE.SC.RIPIIolli
UNITS DESCRIPTION

TOTAL SUSPENDED PARTICULATE
U-GMS/M3 (25DEG C.1013 M-BARS)
TOTAL SUSPENDED PARTICULATE
U-GMS/M3 (OPEC C, 1013 M-BARS)
SOILING INDEX (COH/1000LF)
COHS/1000 LINEAR FEET
TOTAL SETTLED PARTICULATE
TONS/SQUARE MILE-MONTH

TOTAL SETTLED PARTICULATE
M-GMS/SOUARE CENTIMETER-MONTH
TOTAL SETTLED PARTICULATE
TONS/SQUARE MILE-MONTH
TOTAL SETTLED PARTICULATE
M-GMS/SOUARE CENTIMETER-MONTH
TOTAL SETTLED PARTICULATE
TONS/SQUARE MILE-MONTH
TOTAL SETTLED PARTICULATE
M-GMS/SQUARE CENTIMETER-MONTH

CARBON MONOXIDE
M-GMS/M3 (25DEG C»10IJ M-BARS)

CARBON MONOXIDE
M-GMS/M3 (ODEG C, 1013 M-BARS)
CARBON MONOXIDE
PARTS PER MILLION (VOL/VOL)
CARBON MONOXIDE
M-GMS/M3 (25DEG C,1013 M-BARS)
CARBON MONOXIPE
PARTS PER MILLION (VOL/VOL)
CARBON DIOXIDE
ANALYSIS ME.tHpa
COLLECTION METHOD

GRAVIMETRIC
HI -VOL
GRAVIMETRIC
MEMBRANE SAMPLE
TRANSMITTANCE
TAPE SAMPLER
GRAVIMETRIC
BUCKET 1 JAR

GRAVIMETRIC
BUCKET I JAR
GRAVIMETRIC (APGA)
BUCKETI JAR
GRAVIMETRIC (APCA)
BUCKETI JAR
GRAVIMETRIC (ASTM)
BUCKETI JAR
GRAVIMETRIC (ASTM)
BUCKETI JAR

NONDISPERSIVE INFRA-RED
INSTRUMENTAL

NONDISPERSIVE INFRA-RED
INSTRUMENTAL
NONDISPERSIVE INFRA-RED
INSTRUMENTAL
GAS CHROMATOGRAPHIC
INSTRUMENTAL
GAS CHROMATOGRAPHIC
INSTRUMENTAL
INFARARED ABSORPTION
ro
                                                                           PARM CODE I 42102* METHODl  11* UNITS CODEl  07**    PAGE 0001

-------
                                                         ARPPARM  (A00240) SUMMARY MESSAGES
         NUMBER  OF  PARAMETER FILE RECORDS REAOj         89
31       NUMBER  OF  PARAMETER FILE RECORDS LISTEOl       69
to
C       PROGRAM-NAME|  ARPPARM (AQQ240)
2       REVISION LEVEL!  1-00
 9       LAST UPDATE *»  2*
3>       DATE INCORPORATED:  OCTOBER M. 1978
 O
 O
 3
 rt-
 ^»
 3
 C.
 ro
 ex
 O
 o
 n>
 o.
 JO
  •yo
  -o
  o
  to

  i
  -o  «Q
  "O  (D

  33  ro

-------
AQDHS-II TEST 2

Create and Print  the  Site  File

     In this test run,  an  initial AQDHS-II site file is created using the
cataloged procedure AQEMS10  which executes ASRSITE  (AQ0160), the site file
transaction sort  program,  and AEMSITE  (AQ0080), the site file maintenance
program.  The cataloged procedure AQRPS10 is then used to produce a formatted
listing of the site file by  executing  ARPSITE  (AQ0260), the site file detailed
report program.

      ASRSITE (AQ0160)  sorts the site  file transactions  (see Figure AQT2-1 for
the transaction format) into the sequence required  by AEMSITE  (AQ0080).  The
fields of each transaction are  sorted  in the following order:

     Columns                   Description                   Sort Order

     1-2                    State Code                    Ascending
     3-6                    Area Code                     Ascending
     7-9                    Site Code                     Ascending
         10                    Agency  Code                   Ascending
    11 - 12                    Project Code                  Ascending
    13 - 15                    AQCR Code                     Ascending
    16 - 19                    County  Code                   Ascending

All site file transactions must be  sorted by ASRSITE  (AQ0160)  before they
can be used to create the  site file.

     AEMSITE (AQ0080) creates  and maintains  a  fixed-length,  sequential  file
containing site information for each monitoring site.   The site file must
contain a record  for a site before  readings  for that  site can  be placed on
the AQDHS-II master file.
     The creation and maintenance of this  site file depends on creating,
changing, and deleting site file records.   The creation (or addition) of a

                                       13

-------
 site  file  record occurs when the key portion of a transaction (see Figure
 AQT2-1)  is not  found  in the present site file and the remaining fields of the
 transaction are not blank.  Changes to a site file record will occur when the
 key of  a transaction  matches a key in the existing site file and the
 transaction fields AQCR Code and County Code are numeric.  If these conditions
 are met, the AQCR Code, the County Code, and the remaining fields of the
 transaction will  replace the corresponding fields of the site file record.
 The deletion of a site file record takes place when the key of a transaction
 matches  a  key in the  site file and the remaining fields of the transaction are
 blank.   The site file transaction load sheet is shown in Figure AQT2-2.

      ARPSITE (AQ0260) prints the site file in a columnized format which
 includes headings and a footnote feature.

      The run stream for this test run contains the JCL necessary for creating
 an AQDHS-II  site file and producing a formatted listing of this file.   This
 run stream  is shown in Figure AQT2-3.
      First,  the run stream executes the cataloged procedure AQEMS10.  Since
 this  test  run creates the initial AQDHS-II site file, there is obviously not
 an input site file to be accessed.   This is why the old site file AQSOLDMS
 must  be a  dummy file  in the UPDATE step.  Through the use of a substitutable
 parameter,  the  new site file is named AQSITE01.   The user must supply the DD
 (data definition) information for the input site transaction file in the SORT
 step.   Refer to Figure AQT2-4 for the sample output produced by this
 procedure.
      Next,  the  cataloged procedure AQRPS10 is executed.   A substitutable
parameter  is used to specify AQSITE01 as the input site file.   Figure AQT2-5
shows  the sample  output produced by this procedure.
                                       14

-------
Column #
          Field Length
                 Data  Type
                    Description
 1 -
 3 -
 7 -

11 -
13 -
16 -

21 -
 2
 6
 9
10
12
15
19
20
80
 2
 4
 3
 1
 2
 3
 4
 1
60
Numeri c
Numeric
Numeri c
Alphabetic
Numeric
Numeri c
Numeric
Alphanumeric
Alphanumeric
State Code
Area Code
Site Code
Agency Code
Project Code
>  Key
AQCR Code
County Code
SLAMS/NAMS ID
Site Description
                  Figure AQT2-1.  Site File Transaction Format
                                      15

-------
to
 c
 ro
 oo

 sr
 fD
 O>
 Q>
 O
 O
 01
 O.

 to
 ZT
 n>
 n>
AGEN
STATE

J
..!
1
,
,
]
i
,
1
,
1
1


i
i


i



i
I


r.v

AREA
CODE

I i |
l i i
1 1 1
1 i l
t i i
i i i
1 1 1
1 1 1
l i i
i i i
1 1 1
l i l
1 l i

1 1 l
l l t
1 l l
l i l
l i i
ill
1 l 1
, • r
1 1 1
III

. ' ' i

SITE
CODE

I 1
| |
1 i
\ L
] l
| j
1 L
| L
^ 1

| 1
] 1
J 1
| 1
| 1
l |
i |
i i
1 I
1 |
1 |
1 |
1 |
1 |

-U-L.

PROJECT

1 i
,
,
(


,

l_

,
j_
1
1
i
i


j
1




i
__L

OCR
ODE

i i
1 l
l i
, ,
i i
i i
, ,
l |
i i
l i
, ,
1 l
1 i
i i
1 i
l i

l t
1 |

I I
1 |
1 i
.
l |
J_i-

OUNTV
CODE

i n |
1 1 1
1 1 1
1 1 1
i 1 1
1 1 1
1 I 1
1 1 1
t 1 1
1 I 1
1 1 1
1 1 1
1 1 1

1 1 1
1 1 1
1 1 1

1 1 1
t 1 1
1 t 1

1 1 1
1 t 1
1)1
1 \ 1
AIR QgAMTV PATA HANOUNG WBSYSTEM (AQDHS-H) av _
COMPREHENSIVE DATA HANDLING SYSTEM (CDHS) OATF.. 	 	 	 ., ._ 	 ._
SITE TRANSACTIONS PAGE 	 OF 	
SITE.OESSRIPTION


i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i

i i t i i i i i i l i l i i i t l i l l i i i i l l i l i l i i i t i l i i r i i i i i i i i i i i i i i i i i i l 1


1 | 1 1 l 1 l t l l 1 l 1 l l i 1 i l i i i l l l l l 1 i l l l t i l l i l l t 1 1 1 l 1 1 1 1 1 l l 1 1 1 1 1 1 1 1


i i i i i i i i l i t ( l l i l 1 l i l i i i 1 1 l l t i l 1 l t 1 l l i l l l l l i 1 1 1 1 1 1 l l 1 l 1 1 1 l l l
i I i l i l i i l I i l i i i i i i l i i i i i i i i i i i i l i i i i i l 1 1 l l l i l 1 1 l l i i 1 1 1 1 1 1 1 1
| 1 | l i l i i 1 l i l i i l 1 l i l l i i i i i i i i i i l i l i i i i i i i t l i i i l i l i i i i i i i i t i i
l 1 l l l l i l l l 1 l l 1 l l l i l l l i i i l i i i i i i i l i l l i i i i l l i i l l l i i i i i i i i i l l I
1 1 1 1 1 1 1 1 1 ! 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I
1 1 1 ! 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 I
i l i i i i i i l l l l l 1 i l i i l l i i i l l i i 1 i i i i i i i i i i i i i i i i i i i i i i i l i i l i i i i
i l l l i f l i 1 l l i t t 1 l l i 1 i i i i l l l 1 l i i i i i i i i t l 1 I i i i l i i t i i i i 1 1 1 i i l t I
i l l l l l -1 1 1 1 1 1 l 1 1 1 1 1 1 1 1 i l i 1 i i i i l i l i t i l i i l l i i i i i l l i i i i i i i i 1 l 1 1
l t l 1 l 1 l i 1 l 1 1 i l l l l i i l l l 1 i 1 i l l i i 1 l l i i l i l l 1 1 l l l 1 1 l i l l i 1 1 1 1 1 1 1 1
l t t t i i i i l i i l i t l i l l i i i i 1 t l l i i 1 l i i l l t l l l t i 1 1 1 1 l t 1 l 1 l 1 1 t 1 I 1 1 I 1
1 1 l 1 1 1 I 1 1 1 1 1 1 1 1 1 1 l l 1 1 t 1 1 1 1 1 1 t 1 t 1 t t t 1 f 1 1 1 1 1 1 1 1 1 1 l * f f I I l l l 1 I 1
l 1 1 1 t 1 i i 1 l 1 1 1 1 l 1 1 1 I 1 1 1 l l 1 l 1 l i t 1 l 1 l 1 1 1 1 t I 1 1 1 1 1 1 1 -1 1 1 1 1 1 1 1 1 1 I 1
1 1 1 1 1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 ! 1 1 1 ! 1 1 1 1 1 1 I ! 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1 1 1 1 i i i I I I 1 i i l l l l l l l l 1 1 l 1 l 1 1 l 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 II 1 1 1-

-------
//AOSTST02  JOB  RTI.C44.P02443,MCMASTER,T=2,P=150,FORMSsFFWHITE
//*PROCLIB=Rri.C44.P02069.MCMASTER.DPR.JCL
//KILL EXEC PGM=IEFB«14
//DD1 DD DSN=RTI.C44.P02069.MCMASTER.DPR.DATA.AOSITE01,
// DISP=(OLD,DELETE)
//*
//* CREATE THE INITIAL SITE FILE
//*
//TEST2A  EXEC AQEMS10,
//             PRIMARY=1,
//             SECNDRY*!,
//             OUT=A,
//             NtWSITE=AOSITE01
//* SORT AND EDIT THE SITE TRANSACTIONS;
//* USE THEM TO BUILD THE SITE FILE
//*
//SORT.INPUT DO *
100001001E020491080 N.10TH. AVE., JACKSONVILLE, DUVAL CO.
i20ooiooicoio60ooeo MOUNTAIN ROAD, HILO, HAWAII co.
120001002C010600140 PEARL HARBOR, HONOLULU, HONOLULU CO.
120001003C010600J40 WAIKIKI, HONOLULU, HONOLULU CO.
120001004C010600140 SCHOFIELD BARRACKS, HONOLULU CO.
1300010050010600140 PEARL CITY, HONOLULU CO.
120001006C010600140 WAHIAWA, HONOLULU CU.
120001007C010b00140 KANEOHE, HONOLULU CO.
120001008C010600140 KAILUA, HONOLULU CO.
200001004B031080045 GLACIER DR., CARIBOU, AROOSTOOK CO.
340001001A061690960 YADKIN RD., FAYETTEVILLE, CUMBERLAND CO.
340001002A061602120 HWY. 301 BUS., SMITHFIELU, JOHNSTON CO.
340001003A061710480 BILTMORE ESTATES, ASHEVILLE, BUNCOMBE CO.
340001004A061702980 GUM  BRANCH RD., JACKSONVILLE,  ONSLOW CO.
340002001D0517028eo WR1GHTSVILLE BEACH, NEW HANOVER CO.
340002003D051681020 ROANOKE ISLAND, MANTEO, DARE CO.
340002005D051672560 TRYON RD., CHARLOTTE, MECKLENBURG CO.
340002007D05I361480 CHERRY ST.,  HlNSTON-SALEM, FORSYTH CU.
340003002G041361780 REIDSVILLE HWY.,  GREENSBORO, GUILFORD CO.
340003004G041664160 DOWNTOWN BLVD., RALEIGH,  WAKE  CO,
340003006G041701140 COURTHOUSE,  KENANSVILLE,  DUPLIN COUNTY
340003008G041672360 HWY. 321 N., LINCOLNTON,  LINCOLN CO.
340003010G0416S3500 CHIMNEY ROCK,  LAKE  LURE,  RUTHERFORD  CO.
370001234F051840600 MCALISTER RD.,  NORMAN,  CLEVELAND CO.
372240999A051B63020 LIBERTY MOUNDS, TULSA,  TULSA CO.
372260993A051863020 WYNONA, TULSA,  TULSA  CO.
372260995A051863020 SKIATOOK LAKE,  TULSA,  TULSA CO.
373000001A051B63020  TULSA  INTERNATIONAL AIRPORT,  TULSA,  TULSA CO,
373000110G011863020  TULSA  PUBLIC HEALTH,  TULSA,  TULSA  CO.
373000127F021863020 MOHAWK BLVD,  TULSA,  TULSA CO,
373000132F021863020  APACHE ST.,  TULSA,  TULSA  CO.
373000997AOS1863020  TULSA  PUBLIC HEALTH,  TULSA,  TULSA  CO.
373000998A051863020  TULSA  POST OFFICE,  TUL-SA, TULSA  CO.
373020996A051863020  SPERRY,  TULSA,  TULSA CO.
373140992AOS1863020  OCHELATA,  TULSA,  TULSA  CO.
373140994A051863020  VERA POST  OFUCE,  TULSA,  TULSA CO.
//UPDATE.AQSOLDMS DD DUMMY
//TEST2B  EXEC  AURPS10,
//             SITEFIL=AQSITE01
//*
//*  PRINT  THE  SITE FILE
//*
                      Figure  AQT2-3.   Run Stream
                                    17

-------
                                              AUOHS-Il  SITE FILfc  TRANSACTION SOHt PROGRAM   -  DIAGNOSTIC REPORT
           imu,l'A'< i.fHEl ASKSITl  (AllOlbO)

           '•fVlSIO'i LEVtU  J-00

           IA-..T  UCbATf «! Za

           HftTL  I'llimPHKATtUl  UCUIUtP 31,  1978
                   HI  TRANSACTIONS HEAD:            -J6
                   UF  IRAHSACTIHNS
    ro


    I
    INS
    r>
    a>
    o.

s  5
    s
     i
     i

    •o

    o
    IQ
     CO
     73
           TJ
           01
          (O
           re
           o
           -h
           OJ

-------
                                           AdDHS-Il SITE f-ILK MAINTENANCE PHUGRAM  -  DIAGNOSTIC REPORT                    PAGE
            PRHURA-. f.A-lL:  AIMSITL  (AQQ080)
            l>[ VlSlim LEVLLI  1-00
            LAST UPDATE »: ?a
            DAff IhCUNPURATEDl OCT'IUER  31,  1978
                                                     ACTION

                                M.10TH. AVE.,  JACKSONVILLE,  DUVAL CO.
  j                                                   •**  ADDED

  rv>        i2ooninnicoioboooBo MOUNTAIN ROAD,  Him,  HAWAII  CD,
  Js,                                                 »**  ADDED

  i         i?i>noino2ioioboniuo PLARL HARBOR,  HONOLULU,  HONOLULU co.
  0                                                  ***  ADDED

  3         taOOOlOOjCOlObOOltlO HAIKIKI, HONOLULU,  HONOLULU  CO.
  rt                                                  «**  ADDED

  §         i^ooninnncniobootuo SCHOFICLO BANKACKS, HONOLULU co.
  (0                                                  •**  ADDED
  Q.
                                PEARL CITY, HONOLULU  CO.
                                                    ***  ADDED

                                /IAHIAHA, HONOLULU CO.
 n                                                 •**  ADDED
 tt>
 9-         I?00010U7C010b001UO KAMtOHE, HONOLULU CD.
 1^                                                  ***  ADDED

 ^_         IZnOOinOOCOlObOOiau KAILUA, HONOLULU CO.
 jg                                                 ***  ADOEU

 ^         moooioo                                              *** ADDED

^  ^      VinOn,>nulD0517il£8eO WPIGHTSVILLE HEACH,  NEK IIAIIMVER  CO.
—I  ro                                              *** ADDED
m  o
    -*      3uono?ou3iior>ioHio20 unAwriKf.  ISLANU, MANTEO, DAKE co.
                                                    *** ADDED
    CJ
      '      3«000?OOb[>PSIb/i?bflO ?RYOM  HD.,  CHAKLOITL,  MLCKLtNPORt CO.
                                                    *•« ADDED

-------
                                     AQDHS-1I  SHE FJU  MAINTENANCE PROGRAM   -   DIAGNOSTIC REPORT                    PA6f
 -r,    UHlil/lMKHHS                             AC t IUII

Rlli;iUM HAMts AE»S|Tt  CAQ0080)
 C     PtVISlOM LLVtLj  l-QO
 CO     LAST UPDAIt Hi  £H
 P-    DATl IMCUHPORATfcD!  OCTOBER 31.
 O
 5

 I
 a>
 JO
 m
 •o
  3
 (£1
     Dl
  IS> »Q
  1—1 n>
     o
     -b
     CO

-------
                                                                        AQDM3-II SITE FILE LISTING
                                                                                                                                                PAGE
                I'Piir.KAM  NAMt:  AMI-SITE. (AQ0260)

                REVISION IEVELJ 1-00

                LAiil UPDATE  »: 2'l

                ('All INlURPIIRAtEP:  DC TUBER  31.  1978
ro
      IQ
       c
       (D


      -§
       ro
       en
      -o

      o
      o
      n>
      Q.
      -o
      C/l
       I
       I

      •a

      o
      id
      oo  gi
      HH  Id
      m
* ft
;;iArr
10
12
12
12
12
12
12
12
12
<>n
34
34
3'l
3-4
34
34
31
S'l
3"
A 4
3'l
3>i
3'l
i/
37
37
3/
37
37
37
37
37
37
3/
37
W
APIA
0001
0001
0001
0001
0001
0001
0001
0001
0001
0001
0002
0003
0003
0001
01)03
0003
0002
0002
0001
0003
0002
0001
000 i
0001
22«0
22bO
2260
3000
3000
3000
3000
3000
3000
3020
3140
31'IO
H E
SITE
001
001
002
003
004
005
006
007
008
00«
007
002
010
002
004
008
OOb
003
001
U.P6
001
on 
-------
                                                                 ARPSITE  (AQ0260) SUMMMf* MESSAGES
      fNJ
      O
      O
      3


      §
      Q.
ro
ro
T3

3
n
o>
0.
             Slit
                   r 1LI  1(1 UiHOS M Af>

                   f ILL  KlCllRUS
                                        36

                                        3b
                   AM NftML: AHPSIT&  (400260)

             I'tVlOION LtVLLl 1-00

             LAST  UPDATE. «: 2V

             DAIt  JJICORPOKAHOl  OCTOBER Jl,  J<»78
      to
      I—»
      o

       I
       I

      •a

      ^^   T3
      to   a»
      -S  «Q
      ffl   (D

           ro

      JQ   ^5
           rv>

-------
AQDHS-II TEST 3

Create and Print the Parameter Standards File

     In this test run,  an initial  AQDHS-II  parameter standards file is created
using the cataloged procedure AQEMD10 which executes ASRSTND  (AQ0170), the
parameter standards file transaction  sort program;  and AEMSTND (AQ0090), the
parameter standards file maintenance  program.  The  cataloged  procedure AQRPD10
is then used to produce a formatted listing of the  parameter  standards file by
executing ARPSTND (AQ0250), the parameter standards file  detailed  report
program.

     ASRSTND (AQ0170) sorts the parameter standards file  transactions  (see
Figure AQT3-1 for the transaction format) into the  sequence required  by
AEMSTND (AQ0090).  The fields of each transaction are  sorted in  the following
order:

     Coliimns                   Description                    Sort  Order

      1-5                    Parameter Code                Ascending
          6                    Standard Type                  Ascending
      7-8                    Standard Number               Ascending
          9                    Standard Flag                  Ascending

All parameter standards file transactions  must be  sorted by ASRSTND (AQ0170)
before  they can  be  used to create the parameter standards file.

     AEMSTND  (AQ0090) creates  and maintains a fixed-length,  sequential file
containing the  state and federal  standards for parameters.   Each  record on
this file contains  a primary  standard and/or a secondary standard.
     The  creation  and maintenance of this  parameter standards file depends on
creating, changing, and deleting  parameter standards records.   The creation
(or addition) of a parameter standards file record occurs  when  the key portion
of a transaction (see Figure AQT3-1) is not found  in the present  parameter
standards file  and the  remaining  fields of the transaction are  not blank.
                                        23

-------
 Changes  to a parameter standards  file  record may occur when the key of a
 transaction matches  a  key  in  the  existing  parameter standards file and the
 standard description field is non-blank.   If these conditions are met, the
 standard description field will replace the corresponding field on the
 parameter standards  file record.  The  deletion  of a parameter standards file
 record takes place when the key of  a transaction matches a key in the
 parameter standards  file and  the  standard  description field is blank.  Under
 these conditions, if the value of the  standard  flag is T, the entire
 parameter standards  record will be  deleted.  However, if the value of the
 standard flag  is  '2',  only the secondary standard will be deleted.  Refer to
 Figure AQT3-2  for the  parameter standards  file  transaction load sheet.

      ARPSTND (AQ0250)  prints  the  parameter standards file in a columnized
 format which includes  headings and  a footnote feature.  The content of each
 parameter standards  file record ts  listed  on two print lines:   the first line
 lists the primary standard, and the second line lists the secondary standard.

      The run stream  for this  test run  contains  the JCL necessary for creating
 an AQDHS-II  parameter  standards file and producing a formatted listing of this
 file.  This  run stream  is  shown in  Figure  AQT3-3.  It does not show all the
 input  parameter standards  transactions in  the run stream, but does Show the
 necessary JCL.
      First,  the run  stream  executes the cataloged procedure AQEND10.   Since
 this  test run creates the  initial  AQDHS-II parameter standards file,  there is
 obviously not an input  parameter  standards file to be accessed.   This is why
 the old parameter standards file AQSOLDFL must  be a dummy file in the UPDATE
 step.  Through the use  of  a substitutable  parameter,  the new parameter
 standards file is named AQSTND01.   The user must supply the DD (data
 definition)  information for the input  parameter standards transaction file in
the SORT step.  Refer to Figure AQT3-4 for the sample output produced by this
procedure.
     Next, the cataloged procedure AQRPD10 is executed.   A substitutable
parameter is used to specify AQSTND01  as the input parameter standards file.
Figure AQT3-5 shows  the sample output  produced by this procedure.
                                       24

-------
Card Column
1

7

10
12
62
- 5
6
- 8
9
- 11
- 61
- 60
5
1
2
1
2
50
19
Field Length
Data Type

Numeric
Alphabetic
Numeric
Numeric
Numeric
Alphanumeric
Description
                                                 Parameter code
                                                 Standard type (F or S)l
                                                             ~  V    «  J>Transaction
                                                 Standard number       j     Key
                                                 Standard flag (1 or 2)[
                                                 Units code
                                                 Standard description
                                                 Not  used
             Figure AQT3-1.   Parameter Standards  File Transaction  Format
                                        25

-------
AGENCY.
AIR QUALITY DATA HANDLING SUBSYSTEM (AQDHS-H)
  COMPREHENSIVE DATA HANDLING SYSTEM (CDHS)
     PARAMETER STANDARDS TRANSACTIONS
BY	
DATE.
PAG£_
PARAMETER
COO£
1
1 I I
1 1 1 1
fill

1 1 1 1
| 1 1 1
| 1 1 1
| 1 1 1
1 1 1 1
| 1 1 1
lilt
II!1
fill
1 I I -1
1 t i 1
i t i i
iiii
I i i i
iiii
III1
Ml1
iiii
till
iiii
i i 1 i
iiii
till
i t i i
i 1 i i
till
' f 1 '
iiii
iiii
iiii
SID
NRR
1
.,'.

|
|

|
1

|
1
J_

1
1
|
1
,
1
1
|
|
1
<

f
1

1

)


,

US
CO
10
1

1

1
1

,
1
1
1
1
1
1
,
\
I
1
f
(
,
t
1
1
1
1
1

1
1

1

1
STANDARD DESCRIPTION
« «i
1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 _!_!.. L.J_1_J «_•_ • .= 11 ^.4. . . J_
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 II 1 1 1 1 1 1 1 1 1 1 1
1 1 f 1 1 1 1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I.I 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t
\

| 1 1 1 1 I 1 1 1 1 I 1 1 1 1 1 L 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I | I | f i
1 1 1 1 1 1 1 1 1 1 J 1 1 LI 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I I I | I i
1 1 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 I 1 I 1 1 1 1 1 1 I 1 1 1 I \ t 1 1 1 I 1 1 1 I 1 1 1 I 1 1 1

1 1 1 | 1 1 (r -| 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 l" 1 1 1 1 t f 1 1








1 1 t 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 I 1 1 1 1 1 J 1 1 1
1 t I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 p 1 1 1 | 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 1 t 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1
t 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 1 1 t 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
i \ i i | i I i i i i i ( i i i I i 'i i i i I i i i I i i I i i i i I I i i I i i i I i i i i i 1
iiiiiiiiiiiiiliiiiiiiiiiiiiiiliiiiiiiiililllliiii
I i i i i i i i i i t i i i i i i i i I i i i i i i I I i i i i I I I I I I I I I I 1 I I I I I i
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t 1 1 1 L 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 i
i i t i i i i i i i i i i i i i i i i i i i i i i i i i i i t i I I I I I i i i i I I I I I I i I

 EPA IDURI 430

         Figure AQT3-2.   Parameter Standards File Transaction

                                      26
                                        Load Sheet

-------
//AUSTST03  JOB  RTI.CU4.PQ2443.MCMASTER,T=2,P=l«>0,FORMS=FFrtHlTE
//*('ROCLIB=RTI.C44.P02069,MCMASTER.DPR.JCL
//*
//* CREATE THE INITIAL PARAMETER  STANDARDS  FILE
//*
//TCST3A  EXEC AUEMD10,
//             PRIMARYal,
//             SECNDRY*!,
//             OUT«A,
//             NEWSTANsAQSTNDOl
//*
//* SORT AND EDIT THE  PARAMETER STANDARDS TRANSACTIONS?
//* THEN USE THEM TO  BUILD THE PARAMETER  STANDARDS  FILE
//*
//SORT.INPUT DD *
11101F01101    75 UG/M3 (25 C) ANNUAL  GEOMETRIC  MEAN
11101F01201    60 UG/M3 (25 C) ANNUAL  GEOMETRIC  MEAN
11101F02102    75 UG/M3 (0 C)  ANNUAL GEOMETRIC MEAN
11101F02202    60 UG/M3 (0 C)  ANNUAL GEOMETRIC MEAN
11101S01102    60 UG/M3 (0 C)  ANNUAL GEOMETRIC MEAN
11101S01202    60 UG/M3 (0 C)  ANNUAL GEOMETRIC MEAN
11101F03101   260 UG/M3 (25 C) 21 HOUR MAXIMUM,  1 PER YEAR.
11101F03201   150 UG/M3 (25 C) 24 HOUR MAXIMUM,  1 PER YEAR.
11101302101   250 UG/M3 (25 C) 21 HOUR MAXIMUM,  1 PER YEAR
11101S02201   120 UG/M3 (25 C) 24 HOUR MAXIMUM,1 PER YEAR
42a01F0110l   365 UG/M3 (25 C)   24 HOUR MAXIMUM, 1 PER YEAR
42401F02107   0.14 -PARTS PER MILLION  24 HOUR MAX, 1 HER YEAR
42401F03101    80 UG/M3 (25 C),  ANNUAL ARITHMETIC MEAN
42401F04107   0.03 PARTS/MILLION, ANNUAL ARITHMETIC MEAN
«£'»01F01202   1300 UG/M3 (0 C),  3 HR. MAX.,1 PER YR
42401F02207   0.5 PARTS/MILLION,  3 HR MAX,  1 PER YEAR
42401S01101    60 UG/M3 (25 C)   ANNUAL ARITHMETIC MEAN
42401S02101   360 UG/M3 (25 C)  .  24 HR. MAX., 1 PER YtAR
42401S03107   0.03 PARTS/MILLION, ANNUAL ARITHMETIC MEAN
42401S04107   0.09 PARTS/MILLION, 24 HR. MAX.,  1 PER YEAR
424oisoi207   0.4 PARTS/MILLION,   J HR.MAX, i PER YEAH
42602F01101   100 UG/M3 (25 C),  ANNUAL ARITHMETIC MEAN
42«>02F01201   100 UG/M3 (25 C),  ANNUAL ARITHMETIC MEAN
42602F02107   0.05 PARTS/MILLION, ANNUAL ARITHMETIC MEAN
42602F02207   0.05 PARTS/MILLION, ANNUAL ARITHMETIC MEAN
42602S01102    VO UG/M3 (0 C)  ANNUAL ARITHMETIC MEAN
42602S01202    90 UG/M3 (0 C)  ANNUAL ARITHMETIC MEAN
00000100
00000200
00000300
00000400
00000500
00000600
         (Remainder  of transactions  omitted)
//UPDATE.AQSOLDFL  DD DUMMY
//TEST3B EXEC AURPD10,
//             STANFIL=AQSTNDOl
//*
//* PRINT THE PARAMETER STANDARDS FILE
//*
                       Figure  AQT3-3.   Run  Stream
                                    27

-------
                             AODHS-II  PARAMETER STANDARDS FILE TRANSACTION SQWP BWniRAH  -  DIAGNOSTIC REPORT          PAGE
         PROGRAM NAME I ASRSTND  (AOOI70)

-n       REVISION LEVELI  1-00

-•.       LAST UPDATE  *! 21

10       DATE INCORPORATED!  OCTOBER 31•  1978
3?       NUMBER OF TRANSACTIONS READt            85

TH       NUMBER OF TRANSACTIONS WRITTENl        85

CA)
 £
 (X
 I
 I

•o

 3
(O
 -J
 3>  to
 co  ua
 73  ro
 to
     o
     -h

     to

-------
 ~n
tO
                                 AQDHS-II PARAMETER  STANDARDS  FILt  MAINTENANCE  PROGRAM   •  DIAGNOSTIC REPORT
                                                                                                                        PAGE
           PROGRAM NAMEI  AEMSTND  (A00090)
           REVISION LEVEL I 1-00
           LAST UPDATE *l 28
           DATE INCORPORATEDI OCTOBER 31 > 1978
          INPUT/ERRORS
                                                  ACTION
 CO
 o
 o
 3
 el-
 s'
 0>
 a.
o
a>
a.
I
m
 o
 I
 I
•a
 o
(O

 i
 3=»
 §

 S
 O
           11101F01101     75 UG/MJ (25 C) ANNUAL GEOMETRIC MEAN
                                                   *** ADDED

           1110IF01201     60 UG/M3 (25 C) ANNUAL GEOMETRIC MEAN
                                                   **« ADDED
          II101F02102
                          75 UG/M3 (0 C)  ANNUAL GEOMETRIC MEAN
                                                   **« ADDED
     D>
     IQ
     (D

     ro
     O
     -h
 11101F02202    60 UG/Mi (0 C) ANNUAL GEOMETRIC MEAN
                                         *** ADDED

 11101F0310!   260 UG/M3 (25 C} 24 HOUR MAXIMUM, 1 PER YEAR,
                                         *** ADDED

 11I01F0320I   ISO UG/M3 (25 C) 24 HOUR MAXIMUM, i PER YEAR.
                                         *** ADDED

 11101S01I02    60 UG/M3 (0 C) ANNUAL GEOMETRIC MEAN
                                         *** ADDED

 1H01S01202    60 UG/M3 (0 C) ANNUAL GEOMETRIC MEAN
                                         «*• ADDED

 1110IS02101   250 UG/M3 (25 C) 24 HOUR MAXIMUM, I PER YEAR
                                         «*• ADDED

 I1IOIS0220I   120 UG/M3 (25 C) 24 HOUR MAXIMUM,1  PER YEAR
                                         •»* ADDED

 42101F01I02IO,000 UG/M3 (0 C)    0 HR.  MAX,  1  PER  YR.
                                         «** ADDED

 4210IFOI20210,000 UG/M3 (0 C)   8  HR. MAX,  i  PER YR.
                                         •**  ADDED

 a2101F0210l40,000  UG/M3 (25 C)   i  HH.  MAX,  i  PER  YR.
                                         ***  ADDED

42101F0220140,000  UG/H3  (25 C)  1 HR. MAX, 1 PER YR.
                                         *»* ADDED

4210|F03107    9  PARTS/MILLION  , 8 HR  MAX,  I  PER  YEAR
00000100


00000200


00000300


00000400


00000500


00000600

-------
                        AQDHS-II PARAMETER STANDARDS FILE MAINTENANCE  PROGRAM   »   DIAGNOSTIC REPORT             PAGE
US
C
3
INPUT /ERRORS


ACTION

••* ADDED



> 44201F02107 0.08 PARTS/MILLION, 1 HR. MAX, 1 PER VR
•Q
00
4&
1
0
0
3
ct
— l>
3
fD
Q.
•

-o
3
£
ex
C
s

rn
i
H-»
o

1
1
3
ua
-t
D>
3

Ja
m
?
~1
o

•*• ADDED

44201F02207 0.08 PARTS/MILLION, 1 HR MAX, 1 PER HR.

44201301101 155 UG/M3 (25 C) ,1 HR


4420IS01201 1SS UG/MJ (25 C) ,1 HR

44201S02I07 0.06 PARTS/ MILLION, 1


44201S02207 O.Ob PARTS/ MILLION, 1


NUMBER OF STANDARDS ADDEDl
NUMBER OF STANDARDS DELETED!
NUMBER OF STANDARDS REPLACED!
NUMBER OF INPUT PARAMETER STANDARDS
«*• ADDED
. MAX, 1 PER VR.
•«• ADDED

. MAX, 1 PER YR.
*** ADDED
HR. MAX, 1 PER YR.
*** ADDED

HR. MAX. t PER VR.
*** ADDED




FILE RECORDS!
NUMBER OF OUTPUT PARAMETER STANDARDS FILE RECORDS!
NUMBER OF ERRORS DETECTED!
PR06RAM NAMEt AEH5TND CA80MO)
REVISION LEVELI 1-00
LAST UPDATE *I 24
DATE INCORPORATED! OCTOBER Sl» 1978




^•^
-a
n>
«
00
o
-h




























85
0
0
0
45
0















CO

-------
                                             AODHS-II PARAMETER STANDARDS FILE LISTING
                                                                                                                           PAGE
PROGRAM-MAKE! ARPSTNP (A002SO)
REVISION LEVEL! 1-00
LAST UPDATE Hi 20
DATE INCORPUHATEDl OCTOBER 31. 1978
•* KEY
P ARM-CODE F/S
•a.
ua
•-s
tl>
^
JO
— 1
- CO
" 1
en


-£j
-j
o
o
(D
CX

m
IB
5=
.O
^
O
»-*
O
1
1

"O

•-Q
O)
J
-o
CO .-.
z "°
O <£J

•— •
O
-h

<^i



11101

11101

11101

11101

11101

42101

42101

42101

42101

42101

42101

02101

42101

42001

02001

02001
02401
42401

42401

02001
42401

42602

42602

42602

F

F

r

S

S

t

f

F

F

S

S

S

S

. F

F

F
F
S

S

s
s

F

F

S

**
STD-NBR
01

02

03

01

02

01

02

03

04

01

02

03

04

01

02

03
04
01

02

03
04

01

02

01

**UNIT
01
01
02
02
01
01
02
02
01
01
02
02
01
01
07
07
07
07
Ot
01
01
01
07
07
07
07
01
02
07
07
01
07
01
07
01

07
07

01
01
07
07
02
02
DESCRIPTION •*
75 UG/M3 (25 C) ANNUAL GEOMETRIC MEAN
60 UG/M3 (25 C) ANNUAL GEOMETRIC MEAN
75 UG/M3 (0 C) ANNUAL GEOMETRIC MEAN
60 UG/M3 (0 C) ANNUAL GEOMETRIC MEAN
260 UG/M3 (25 C) 20 HOUR MAXIMUM, 1 PER YEAR.
150 UG/M3 (25 C) 24 HOUR MAXIMUM, 1 PER YEAR.
60 UG/M3 (0 C) ANNUAL GEOMETRIC MEAN
60 UG/MJ (0 C) ANNUAL GEOMETRIC MEAN
250 UG/M3 (25 C) 20 HOUR MAXIMUM, 1 PER YEAR
120 UG/M3 (25 C) 20 HOUR MAXIMUM,! PER YEAR
10,000 U6/M3 (0 C) 6 HR. MAX, 1 PER YR.
10,000 UG/MJ (0 C) 8 HR. MAX, 1 PER YR.
00,000 UG/M3 (25 C) 1 HR. MAX, 1 PER VR.
00,000 UG/MJ (25 C) 1 HR. MAX, 1 PER YR.
9 PARTS/MILLION , e HR MAX, i PER YEAR
9 PARTS/MILLION , e HR MAX, i PER YEAR
35 PARTS/MILLION, i HR. MAX, i PER YR
35 PARTS/MILLION, 1 HR. MAX, 1 PER YR
10,000 UG/M3 (25 C), 8 HR. MAX, 1 PER YR.
10,000 UG/M3 (25 C) 8 HR. MAX, 1 PER YR.
35,000 UG/MJ (25 C) 1 HR. MAX, 1 PER YR.
35,000 UG/MJ (25 C) 1 HR. MAX, 1 PER YR.
9 PARTS/MILLION < Q HR MAX, 1 PER YEAR
9 PARTS/MILLION , 8 HR MAX, 1 PER YEAR
30 PARTS/MILLION, 1 HR. MAX, 1 PER VR
30 PARTS/MILLION, 1 HR. MAX, 1 PER YR
365 UG/M3 (25 C) 20 HOUR MAXIMUM, 1 PER YEAR
1300 UG/M3 (0 C), 3 HR. MAX.,! PER YR
0.10 PARTS PER MILLION 20 HOUR MAX, 1 PER YEAR
0.5 PARTS/MILLION, 3 HR MAX, 1 PER YEAR
80 UG/M3 (25 C), ANNUAL ARITHMETIC MEAN
0.03 PARTS/MILLION, ANNUAL ARITHMETIC MEAN
60 UG/M3 (25 C) ANNUAL ARITHMETIC MEAN
o.o PARTS/MILLION, 3 HR.MAX, i PER YEAR
360 UG/MJ (25 C) , 24 HR. MAX., 1 PER YEAR

O.OJ PARTS/MILLION, ANNUAL ARITHMETIC MEAN
0,09 PARTS/MILLION, 24 HR. MAX.. 1 PER YEAR

100 UG/M3 (25 C), ANNUAL ARITHMETIC MEAN
100 UG/M3 (25 CJ, ANNUAL ARITHMETIC MEAN
0.05 PARTS/MILLION, ANNUAL AR] HMETIC MEAN
0.05 PARTS/MILLION, ANNUAL ARI, HMETIC MEAN
90 UG/M3 (0 C) ANNUAL ARITHMETIC MEAN
90 UG/M3 (0 C) ANNUAL ARITHMETIC MEAN
                                                                                PARM-CODEI 11101* F/SI F* STD-NBR!  01**    PAGE

-------
                                                             ARP3TND (A00250) SUHMMIY MESSAGES
    jr     PARAMETER STANDARDS RECORDS READ!        OS
    B     PARAMETER STANDARDS RECORDS LISTED!      qS
    39     PROGRAM-NAME I AHP3TND  (AQ0250)
    O     REVISION LEVEL! 1-00
    71     LAST UPDATE »l 24
     I      DATE INCORPORATED! OCTOBER  31.  197B
    tn
    8
    to
    OL
    -a
<*>  3
~  8
    a.
     -a
     o
    o
    -s  -o
    Qi  01
    •yo  ro
    •D
    co  o
    £  •*
    o  ro

-------
AQDHS-II TEST 4

Convert SAROAD Transactions to AQDHS-II  Transactions

     In this test run,  SAROAD transactions  are  converted to AQDHS-II master
file transactions using the cataloged procedure AQCVT10 which  executes ACVSARD
(AQ0010), the SAROAD to AQDHS-II  conversion program.

     ACVSARD (AQ0010) accepts SAROAD transactions  and action cards  and outputs
AQDHS-II master file transactions.   These transactions may then be  used  to
create or update the AQDHS-II master file.
     There are three formats for the SAROAD transactions:  Form 1,  Form  2, and
Form 3.  These forms are designed to accomodate different  types of  data.  Form
1 transactions are used to enter readings taken at less than daily  intervals.
Form 2 and Form 3 transactions are used for readings  taken at  daily or greater
than daily intervals.  Form 2 transactions  allow readings  for  multiple
parameters at a given site.  Whereas, Form  3 transactions  allow readings at
multiple sites for a given parameter.  Also, Form 2 transactions are used to
enter composite data.  Refer to Figure AQT4-1 for samples  of  the SAROAD  load
sheets and to Figure AQT4-2 for the SAROAD  transaction formats.  The SAROAD
Form 1, Form 2, and Farm 3 transactions correspond to the AQDHS-II  Form  1,
Form 2, and Form 3 transactions, respectively.
     The SAROAD transactions, unlike the AQDHS-II transactions, do not have
individual action codes.  An action card indicates the action to be performed
by all SAROAD transactions 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'.   A
T means delete, a  '2' means add, and a '3' means change.  A  '$4'  card  is a
status flag card and indicates that all SAROAD transactions following it have
been sent to SAROAD.  ACVSARD  (AQ0010) generates AQDHS-II transactions with a
transaction status flag of  'S' for all the  input SAROAD Transactions which
follow a  '$4' card.  The  '$4' card does  not  override  the  action  code currently
in effect (1, 2, or 3).  The  '$4' status flag  card can not be  used  alonei it
must follow a  '$2' card.
                                       33

-------
      The options  in this  program are used to specify whether the input SAROAD
 transaction  file  and the  output AQDHS-II transaction file are to be printed.
 In  order to  have  the input and output files printed, the word LIST must begin
 in  column  1  of  the option card.  However, if these files are not to be
 printed, the word NOLIST  should begin in card column 1.  The default value of
 NOLIST will  be  used to control printing when the option specified is invalid
 or  an option card is not  present in the run stream.
      It  is very likely that the number of output AQDHS-II master file
 transactions will be greater than the number of input SAROAD transactions.
 This  is  a  result  of the SAROAD transaction's capability to hold more data than
 the AQDHS-II transaction.  For example, a SAROAD transaction can contain up to
 12  hours of  hourly data,  whereas, an AQDHS-II transaction can contain only 8.
 So  in this case,  it takes two AQDHS-II transactions to hold the data contained
 in  one SAROAD transaction.

      The run stream for this test run contains the JCL necessary for
 converting SAROAD transactions Into AQDHS-II master file transactions.   This
 run stream is shown in Figure AQT4-3.   It does not show all  the input SAROAD
 transactions in the run stream, but does show the necessary JCL.
     The cataloged procedure executed by this run stream is AQCVT10.  The user
 must  supply the DO (data definition) information for the option card file, the
 input SAROAD transaction file, and the output AQDHS-II transaction file in the
 CONVERT step.  In this  run stream,  the output AQDHS-II transaction file will
 be named AQTRANS and stored on disk.  The option specified in this test run is
NOLIST.   Refer to Figure AQT4-4 for the sample output produced by this
 procedure.
                                      34

-------
      THE REPORT IS REQUIRED BY LAW
      42 USC 1857; 40 CFR 51
     Less than 24-hour sampling interval
     GO	
                      Agency
                     City Name
         ENVIRONMENTAL PROTECTION AGENCY
            National Aerometric Data Bwik
          Research Triangle Park. N. C.  27711

             SAROAD Hourly Data Form
                        State      Area        Site
                       I  I  II  M  MT1
                      Aency     Protect   Time
                                                                                                                                                         tear
                   Site Address
                                                                                                                                                                  mqnu.
Parameter observed
  Method
(O
                      Project
Time interval of obs.
Units of obs.
  Parameter code     Method    Units     DP
111111  m  m   n
 13  14  IS  » JT    II  It     30  31     33
 
n>

(/>
C
1






























>ay
1
1
|




























SI
it































Hr
D


|




























13













1 	 1

	 1















Rc
M


|











_..
1 	















KM
n































M


|











	
















}.






























— r
Rd
m
1

|









.
-

















92































40




|


























„






























1
Rc
4)































93
41






























1
44






























i
41






























i
Rd
41































g4
47






























1
41
1












1
















1
•9






























1
Rc
V
1-
T-


| .









|
|














I
IgS
1
....



t. .






















f

1
„




1
























i
1
sj



















1
|






i
1

I
Rd
S4




I










1











	 I
1


96






























1
1.
1...
1

1
I

1
I





'
















1
it































Rd
M
1
-

1
1








1















~t

9'
VI




|


























6O






























1
61































Rd
6;




1
1
1
1









	









|



98




1
1











....
1


1

	 J


1




04




























4

i
61






























	 i
Rd
6S




I
1
























T
99












.

















T
61































«











I
...

















1
Rdi
•0












	















,


310





























1
.,,1
•t































'3































Rd





























1

an
•s































•fl































II































Rd5































'!?































BO































  Q>
 ua'
  n>
  o

  01-
                                                                                                                                                       Ol>W No. 158-R0012
                                                                                                                                                     Approval expires

-------
I AGENCY
 CITYNANE
 SITE ADDRESS
 PROJECT
            ENVIRONMENTAL PROTECTION AGENCY
                  NATIONAL AEROMETRIC DATA BANK
               RESEARCH TRIANGLE PARK, N.C.  27711
              SAROAD MULTIPLE-PARAMETER DATA FORM
                   ITHE REPORT is REQUIRED BY LAW
                   (42 USC 1857; 40 CFR 51
                                              OMB No. 158 R0012
                                            Approval expires 2/77.
                                STATE   AREA     SITE
                                M   i»  n  i   m
                                 23456789 10
AGENCYPROJECTTIME  YEAR   MONTH
                      m
                      IS  16    17 18
                               JCIMV-T i-rtyjc.u i i IMC.  T C.MH   MUN tn
                                D   m  n   m  cn
                              THE INTERVAL
                                 11    12- 13    14

                                 DAY      ST  HR
                                CD     CD
                                 19 20       21  22
FILTER NUNBER AMVOLUK PARTKULATE
PARAKTER KIGNT
MK KTHOD UNITS PARAKTER CODE KTHOD UNITS DP VALUE














ji7 -jfit
(Si*fl
(ISI4I








































(33 3*1
(47 M)
Kl-MI
(71-711
















         PAtlKTER
KTHOD men      PARAKTER CODE   KTHOD UNITS  OP
            m»
                            KVM)
                                                                     VALUE
                                                              HIM)
                                                              flMfc
       PARAKTER












m BI
07411
(5I«I
(IS-741








































(331(1
(47)1)
(tl*4t
(7S7II
















       PARAKTER
                 KTHOD UMTS       PARAKTER CODE   KTHOD UNITS  DP
                                                                     VALUE












(23 3J)
(37-4*1
(51-St)
(tS-741








!































(3J-K)
147-SI)
(tl*4)
(7571)
















       PARAKTER
                KTHOD  UNITS       PARAKTER CODE   KTHOD UNITS OP

                            mui
                            (17-41)
                            (51-B)
                                                                     VALUE
                            («74)
                                             (33-314
                                             (47 •»
       P*"£*TER   -ETHOO  UN1TJ       PARAKTER CODE    KTHOO UMTS   DP          VALUE












m-32)
(37-4S,
(51 401
1(5-74)








































(33-3B
147-HI
(7S7I)
















  Figure AQT4-1 -  continued.   SAROAD Load Sheets
                                  36
                                                             (Page  2 of

-------
                              ENVIRONMENTAL PROTECTION AGENCY
                                 Notional Aerometric Data Bank
                               Research Triangle Park. N. C.  27711

                                  SAROAD Daily Data Form
24-hour or greater sampling interval
                              THE REPORT IS REQUIRED BY LAW
                              42 USC 1857; 40 CFR 51 	_,
                             OMB No. 158-R0012
                             Approval expires 2/77.
                      Agency
                                                      State
            Area
                                   Site
                     City Name
                                                     I   I   II   I   III   I   I
                                                      2  3  «  «  67
                    Site Address
                      Project
Time Interval
Agency  Project   Time    Year
 n  m  n
                                                      "
                                                                           IS  16
                                            Month

                                           CD
                                            17 18
D
19
0
0
0
0
0
0
0
0
0










2
2
2
2
2
2
2
2
2
2
3
3
ay
20
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
St
21































Hr
22































     OF-.

Name
PARAMETER
Code






11 24 25 26 27
Method Units DP
mmn
28 20 31- 31 32:
33 34 35 38






































1





























































































Name
PARAMETER
Code
_j 	
37
Met
Q




38 3» 40 41
tod Units DP
nnno
«3 « 45 "40
47 48 49 50


































































































































Name
PARAMETER
Code





%
51 5? S3 54 55
Method Units DP
mmn
56 */ 58 59 60
61 63 63 64







































































































































Name
PARAMETER
Code


••



85 66 67 88 60
Method Units DP
71 71 72 73 ~7O
75 76 77 76








































































































































         Figure AQT4-1 -  continued.   SAROAD Load  Sheets
                                                                      (Page  3 of 5)
                                          37

-------
CO
00
        
         a.
         I
         a
         o
         Dl
         ex

         to

         n>
         n>
         C+
           rt>
           ui
                  ra.
                  CITV HAME
                  SITE AODRESS
                                      TIME IHTEHVAL
                STATE  AREA
                              SITE
nil j ,i INI     D  CD
 2J*3S-7B9tO       11   12 13
               •NUMBER OP COMP SAMPI
YEAR  PERIOD     SAMPLES  TYPE TIME

DD CD     OD      CD
                                                        TIME





                                                         14
                15 16  17  18
                                19 20
                                           II 22
riLTCH
HUUIER
















SAMPLE
DATE
















TOTAL
X »ILTCR
EOUM/ALENT
»IR VOLUHE
H>
TOTAL
AIM VOLUME
Ml



















•MUT.CuLA'E
COHC
*tm*




















ENVIRONMENTAL. PROTECTION AGENCY

   -««m»»AL AtHOM[THIC DATA BANK

  msMH*wnnANGLE PARK. N.r. 77711


  'SA'ROlUXCtlMPOSITE DATA POBM.

         r B-HEQUIREO BV LAW I
         7;40CFR61
                                                                                                  OM N. .« *MU
                                                                                               Appronl oplm 2/77.
I1J • 1*1
'«7 • SOI
1*1 •*«!
as - m
















111- 1*1
<*T - 101
1*1 •««!
171 - 7EI
















                                                   PARAMETER

                                                    •NAME
                                                                         PARAMETER CODE HCTHOOUHITS OP
111 - 1*1
147 -501
ITS -7*1






•<









                                                   "*",£«" «**».*„»*




!;
i
":
•. 1
                                                                         PARAMETER COOC METHOD UNITE OP
• ii • !>'
•17 -All
•91 -IO1
i«« • 7
-------
          ENVIRONMENTAL PROTECTION AGENCY
               NATIONAL AEROMETRIC DATA BANK
             RESEARCH TRIANGLE PARK, N.C . 2771 t
             SAROAD MULTIPLE-STATION DATA FORM.
 OMB No 158 ROOI2
Approval expires 2/77.
                THE REPORT IS REQUIRED BY LAW
                42 USC 1857; 40 CFR 51
3
1

AGENCY
PARAMETER OBSERVED TIME INTERVAL
METHOD UNITS PROJECT
STATE AGENCY PROJECT TIME
CD D CD D
23 4 56 7
PARAMETER METHOD



Mill !
8 9 10 11 12 13 14
YEAR MONTH
m en
18 19 20 21
UNITS DP
in n
15 16 17
SITE ADDRESS A SITE ADDRESS B
SITE X
DAY
W (24-25)
(37-38,
(50-51)
(63-64)
SITE
SITE
DAY
| | | (24-25)
22 23 137-38)
(50-51)
(63-64)
SITE
SITE
PAY
1 1 1 (24-25)
22 M (37-38)
(50-51)
(*3-64)
"DDRESS C SITE ADDRESS D
START
HOUR AREA SITE VALUE




(26-32)
(39-45)
(52-58)
(65-71).












A (33-36)
B (46-49)
c (59-62)
0 (72-75,

ADDRESS E SITE ADDRESS F






ADDRESS C SITE ADDRESS H
START
HOUR AREA SITE VALUE




[ (26-32)
(39-45)
(52-58)
i65-7l)j




, !







E (33-361
F (46-49)
0 (59-62!
H :72-7S»

ADDRESS 1 SITE ADDRESS J






ADDRESS K SITE ADDRESS L
START
HOUR AREA SITE VALUE




(26-32,
(39-45)
(52-58,
(65-71,












1 (33-36,
/ (46-49)
K (59-62)
L (72-75)




                                                     (Page  5  of 5)
Figure AQT4-1  -  continued.   SAROAD  Load Sheets
                            39

-------
                  SAROAD  Transaction - Form 1 (Hourly Data)
Column #
Field Length
Data Type

2 -
4 -
8 -

12 -

15 -
17 -
19 -
21 -
23 -
28 -
30 -

33 -
37 -
41 -
45 -
49 -
53 -
57 -
61 -
65 -
69 -
73 -
77 -
1
3
7
10
11
13
14
16
18
20
22
27
29
31
32
36
40
44
48
52
56
60
64
68
72
76
80
1
2
4
3
1
2
1
2
2
2
2
5
2
2
1
4
4
4
4
4
4
4
4
4
4
4
4
Numeric
Alphanumeric
Numeri c
Numeri c
Alphabetic
Numeric
Numeri c
Numeri c
Numeri c
Numeri c
Numeric
Numeri c
Numeri c
Numeri c
Numeric
Numeric
Numeri c
Numeric
Numeric
Numeric
Numeric
Numeri c
Numeric
Numeric
Numeric
Numeric
Numeri c
                 Figure AQT4-2.  SAROAD Transaction
    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 Code
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
    Reading
(Page 1 of 4)
Formats
                                     40

-------
       SAROAD  Transaction - Form 2'(Daily or Multiple-Parameter Data)
Column #
Field Length
Data Type

2 -
4 -
8 -

12 -

15 -
17 -
19 -
21 -
23 -
28 -
30 -

33 -
37 -
51 -
65 -
79 -
1
3
7
10
11
13
14
16
18
20
22
27
29
31
32
36
50
64
78
80
1
2
4
3
1
2
1
2
2
2
2
5
2
2
1
4
14
14
14
2
Numeric
Alphanumeric
Numeric
Numeri c
Alphabetic
Numeric
Alphanumeric
Numeri c
Numeri c
Numeri c
Numeric
Numeric
Numeri c
Numeric
Numeri c
Numeri c




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 Code
Reading
Repeat Columns 23-36
Repeat Columns 23-36
Repeat Columns 23-36
Unused
                                                  (Page 2 of 4)
            Figure AQT4-2 -  continued.   SAROAD  Transaction Formats
                                      41

-------
                 SAROAD Transaction - Form 2 Composite Data
Column

 1 - 16

17 - 18
19 - 20

     21
     22
23 - 80
Field Length

     16

      2
      2

      1
      1
     58
Data Type
Numeri c
Numeri c

Numeric
Alphanumeric
Description

Same as Form 2
(non-composite)
Composite Period
Composite "Number of
Samples
Composite Type
Composite Time Code
Same as Form 2
(non-composite)
                                                     (Page 3  of 4)
             Figure AQT4-2 - continued.  SAROAD Transaction formats
                                      42

-------
                        SAROAD Transaction - Form 3
                           (Multiple-Station Data)
Column #
Field Length

2 -

5 -

8 -
13 -
15 -

18 -
20 -
22 -
24 -
26 -
30--
33 -
37 -
50 -
63 -
76 -
1
3
4
6
7
12
14
16
17
19
21
23
25
29
32
36
49
62
75
80
1
2
1
2
1
5
2
2
1
2
2
2
2
4
3
4
13
13
13
5
Data Type

Numeric
Alphanumeric
Alphabetic
Numeri c
Alphanumeric
Numeric
Numeric
Numeric
Numeri c
Numeri c
Numeric
Numeric
Numeric
Numeric
Numeri c
Numeric
Description

Form Code
State Code
Agency Code
Project Code
Time Code
Parameter Code
Method Code
Units Code
Decimal Code
Year
Month
Day
Start Hour
Area Code
Site Code
Reading
Repeat Columns  24-36
Repeat Columns  24-36
Repeat Columns  24-36
Unused
                                                         (Page 4 of 4)
            Figure AQT4-2 - continued.  SAROAD Transaction Formats
                                      43

-------
//AUSTST01  JOB  RTI.C11.P02113,MCMASTER,T=2,P=150,FURMS=FFWHIT£
//•PHUCLlUsRII.C11.PU2069.MCMASTtR.DPR.JCL
//KILL EXEC PGM=ILFBR11
//DD1 Ol> DSIJ=RT1.C«1.P02069.MCMASTER.DPR.DATA.AUTRANS,01 SP=(OLO,DELETE)
//«
//• CUNVtRT SAROAO TRANSACTIONS TU AQOHS-II TRANSACTIONS
//*
//TLST1A tXEC  AUCVflO
//*
//* CONVERT TRANSACTIONS
//*
//CUUVhRT.OPT IONS DO *
NULIST
/»
//CONVERT.INPUT DO *
12
1373000997A052770802001310211072    0098
2373000997A05C7512783813102110730010
7373000997A0527707010013101110720001
 373000997A05c>7 707010013101110720001
1373000997A05D7707010013101110720001
1373000997AOS2770701 013101110720001
lt00001001E02171060100121011I072 001 001 001 001 002 002 001 002 003 003 003 003
1IP000100IE02171060112121011107B 001 006 002 001 001 000 000 000 000 000 000 000
iig0001001E0217106026bl2l01li072 002 003 006 007 010 Oil 012 013 012 Oil 009 008
l|OOOgio6lE0217i060212124biii072 006 006 006 006 006 003 001 004 606 DOB 007 007
1100001001E021710603001210111072 007 002 001 001 001 001 001 001 003 003 006 003
1100001001C021710b03l212
-------
                                       SAHtlAU TU ADOHS-ll CONVERSION PBOGRAM  -  DIAGNOSTIC  RtPOHT                      PAUl
 O

 »-»
 o
 I
(O
i
I
        PHHGHAM UAM(: ACVSARD  (AQOOIOJ
        KLVI<lN LtVEL:  1-00
        tAST UPDATE  «l 2«
        DA IF INCORPORATED: OCTOBER  31,  1976
        HIM inn IN fcFFECT: NULIST

 ~H     7 WiOOO
 JO     I S7iOOUt"'7AObD7707U1001JlOI 110720001
 ^     ••• ACVSARO 007 E.RHOR - INVALID TIME  CODE,  CARD REJECTED

 -£t     137J000997AOS2770701 043101110720001
        *** ACVSARU OOb iHRrm - HflN-NUMERIC START HOUR,  CARD REJECTED

 -o
 -5     flliMhlf OF INPUT SAKOAD TRANSACTIONS!            6b7
 2     NUMBER (IF $ ACT I ON CAROSl                          1
 (0     NUMIIER OF AUOIIS-II TRANSACTIONS HRIT1EN1        970
 O.     NUMBER UF DIAGNOSTIC MESSAGES:                    a

-------
 AQDHS-II  TEST  5

 Create  the  Initial  Master File  Using the Converted Transactions
      In  this  test run,  an initial AQDHS-II master file is created using the
 cataloged  procedure AQEMM10  which executes AEDMSTR  (AQ0060), the master file
 transaction edit  program;  ASRINTR (AQ0130), the master file internal
 transaction sort  program;  and AFMMSTR  (AQ0100), the master file maintenance
 program.

      AEDMSTR  (AQ0060) edits  the  input AQDHS-II master file transactions and
 converts those  that pass  the edit criteria into internal transactions which
 can  be input  to AFMMSTR  (AQ0100) after being sorted by ASRINTR (AQ0130).
      There are  three formats for the AQDHS-II master file transactions:  Form
 1, Form 2, and  Form 3.  The  Form 1 transactions are used to enter multiple
 readings taken  at less than  daily intervals.   Form 2 and Form 3 transactions
 are  used fdr  readings taken  at daily or greater than dally intervals.  Form 2
 transactions  allow  readings  for  multiple parameters at a given site.  Whereas,
 Form  3 transactions allow  readings at multiple sites for a given parameter.
 Also, Form 2  transactions  are used to enter composite data.  Refer to Figure
 AQT5-1 for the master file transaction formats and to Figure AQtT-2 for the
 master file transaction load sheets. These transactions can be entered in any
 order as the  editing of a  transaction is done independently of the other
 transactions.
      In the edit  process, the function of each transaction is determined
 (i.e., to add, change, or  delete information in the master file) and then the
transaction is checked for the required information which corresponds to that
function.  In this  test run, the function of the transactions is to create (or
add)  records  in the AQDHS-II master file.   The creation of a master file
 record requires at  least one transaction with an action code of '2', the
appropriate key information, and one or more readings.   In some cases,
multiple  add transactions create one master file record;  for example, up to
eight hourly readings may be entered per transaction whereas a master file
record may contain up to 24 readings.
                                      46

-------
     The parameter and site files are also used as input to AEDMSTR (AQ0060)
to check the master file  transactions for valid parameter, method, and unit
code combinations and valid site information.
     The options in this  program are used to specify if the warning-level
error messages are to appear in the diagnostic report and if the input
transactions which passed the edit are to be printed.  In order to have the
warning-level messages printed in the diagnostic report, the word FLAGW must
appear between card columns 1 and 72 of the option card.  Otherwise, the word
NOFLAGW on the option card will suppress these messages.  If the valid input
transactions are to be printed, the word LIST must appear between card columns
1 and 72 of the option card.  However, if this file  is not to be printed, the
word NOLIST should be on  the card.  The options can  appear in any order  as
long as there is at least one space between  options.  The default values of
NOFLAGW and NOLIST will be used to  control printing  when  the options  specified
are invalid or an option  card is  not  present  in the  run stream.

    ASRINTR (AQ0130) sorts the master file internal  transactions  into the
sequence required by AFMMSTR (AQ0100).  All  the master file  internal
transactions must be sorted by ASRINTR (AQ0130) before they  can be used  to
create the master file.

    AFMMSTR (AQ0100) creates and  maintains the master file,  which is  a.
variable-length, sequential file.   Each  of the records in this  file is
designed to contain data for a particular parameter collected  at a specific
site.  For a given site and parameter,  a  master file record could contain a
day of less than daily data, a week of weekly data,  a month of daily  data, a
year of monthly or quarterly data,  or a composite reading.
     The options in AFMMSTR  (AQ0100)  are used to determine if the
warning-level error messages are to be present in the diagnostic report and if
listings of the valid  internal transactions  and the records affected by
AFMMSTR (AQ0100) on the old  and new master files, are to be printed.
     The option word FLAGW must be specified within columns 1 through 72 of
the option card  in order to  have the warning-level messages printed  in  the
                                       47

-------
 diagnostic report.   When the FLAGW option  is  not  specified, its default,
 NOFLAGW, is in effect and no warning-level  messages will be listed.  This same
 result occurs when the word NOFLAGW is  specified  on the option card.
___ ..-  If the option word LIST appears within columns 1 through 72 of the option
 card, three listings will be produced:  (1)  a  listing of the valid  internal
 transactions, (2) a listing of the records  on the old master file which were
 affected by AFMMSTR (AQ0100),  and  (3) a  listing of the records on the new
 master file which were affected by AFMMSTR  (AQ0100).  Individual listings may
 be specified by the LISTTRAN,  LISTOLD, and  LISTNEW options.  The LISTTRAN
 option will produce listing (1), the LISTOLD  option will generate listing (2),
 and the LISTNEW option will  produce listing (3).   These three options can be
 specified in any combination and only the corresponding lists will be
 produced.  If neither LISTTRAN, LISTOLD, LISTNEW,  nor LIST is specified within
 columns 1 through 72 of the option card, the  default option NOLIST will be in
 effect.
      All  of the options mentipned  above, including FLAGW and NOFLAGW, can
 appear in any order and in  any position within the first 72 columns of the
 option card provided there  is  at least one  space  between the options
 specified.   The default values  of  NOFLAGW and NOLIST will be used to control
 printing  when an option card is not  present in the run stream.

      The  run stream for this test  run contains the JCL necessary for creating
.an AQDHS-II  master  file.  This  run stream is  shown in Figure AQT5-3.
      The  cataloged  procedure executed by this run  stream is AQEMM10.  For the
EDIT  step, the  user must supply the  DD (data  definition) information for the;
option  card  file  and the input AQDHS-II master file transaction file.  In this
test  run, the name  of the input AQDHS-II transaction file is AQTRANS (which
was created  and stored  on disk  in Test 4).  The options specified in the EDIT
step  are  NOLIST and  NOFLAGW.  Since  this test run  creates the first AQDHS-II
master  file, there  is  obviously not  an input  master file to be accessed.  This
is why the old master  file,  AQSOLDMS, must  be a dummy file in the UPDATE step.
Also, the options specified  in the UPDATE step of this test run are NOLIST and
NOFLAGW.  Through the use of substitutable parameters, the input parameter
file  is specified as AQPARM01 (created and stored on a disk in Test 1), the
                                      48

-------
input site file is is specified  as AQSITE01  (created  and  stored  on  disk  in
Test 2), and the new master file is  named AQMST01N.   Refer  to Figure AQT5-4
for the sample output produced by this  procedure.
                                         49

-------
            AQDHS-II  Transaction  -  Form 1  (Less-than-Daily Data)
Column #
Field Length
Data Type

2 -
4 -
8 -

12 -

15 -
17 -
19 -
21 -
23 -
28 -
30 -

33 -
37 -
41 -
45 -
49 -
53 -
57 -
61 -
65 -

1
3
7
10
11
13
14
16
18
20
22
27
29
31
32
36
40
44
48
52
56
60
64
78
79
1
2
4
3
1
2
1
2
2
2
2
5
2
2
1
4
4
4
4
4
4
4
4
14
1
Numeric
Numeric
Numeric
Numeri c
Alphabetic
Numeri c
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeric
Numeri c
Numeri c
Numeri c
Numeric
Numeric
Numeri c
Numeri c
Numeric
Numeri c
Numeric
Numeric
Alphabetic
    80
                    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 Code
Reading
Reading
Reading
Reading
Reading
Reading
Reading
Reading
Unused
Transaction Status
Flag
Action Code
                                                          (Page 1 of 4}
                Figure AQT5-1.  Master File Transaction Formats
                                     50

-------
      AQDHS-II Transaction - Form 2 (Daily or Greater-than-Daily Data)
Column  #
Field Length
Data Type

2 -
4 -
8 -

12 -

15 -
17 -
19 -
21 -
23 -
28 -
30 -

33 -
37 -
51 -
65 -

1
3
7
10
11
13
14
16
18
20
22
27
29
31
32
36
50
64
78
79
1
2
4
3
1
2
1
2
2
2
2
5
2
2
1
4
14
14
14
1
Numeric
Numeri c
Numeri c
Numeri c
Alphabetic
Numeric
Alphanumeric
Numeri c
Numeri c
Numeric
Numeri c
Numeri c
Numeri c
Numeri c
Numeric
Numeri c



Alphabetic
     80
                    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  Code
Reading
Repeat £o]umns  23-36
Repeat Columns  23-36
Repeat Columns  23-36
Transaction Status
Flag
Action Code
                                                            (Page 2  of 4)
            Figure AQT5-1 - continued.  Master File Transaction Formats
                                       51

-------
                 AQDHS-II Transaction - Form 2 Composite Data

 Column #       Field Length       Data Type              Description

  1-16             16                                   Same  as Form 2
 17-18              2            Numeric                Composite Period
 19-20              2            Numeric                Composite Number of
                                                          Samples
      21              1            Numeric                Composite Type
      22              1            Alphanumeric           Composite Time Code*
 23 - 80             58                                   Same  as Form 2
*Use SAROAD time code (Appendix A, Table 3, AQPHS-II User's Guide) instead of
 AQDHS-II time code.
                                                              (Page 3 of 4)
            Figure AQT5-1 - continued.  Master File Transaction Formats
                                         52

-------
                       AQDHS-II Transaction -  Form  3
            (Multiple Site for Daily or Greater-than-Daily Data)
Column #
Field Length
Data Type

2 -

5 -

8 -
13 -
15 -

18 -
20 -
22 -
24 -
26 -
30 -
33 -
37 -
50 -
63 -
76 -

1
3
4
6
7
12
14
16
17
19
21
23
25
29
32
36
49
62
75
78
79
1
2
1
2-
1
5
2
2
1
2
2
2
2
4
3
4
13
13
13
3
1
Numeric
Numeri c
Alphabetic
Numeric
Alphanumeric
Numeric
Numeri c
Numeric
Numeric
Numeric
Numeri c
Numeric
Numeri c
Numeric
Numeri c
Numeric




Alphabetic
    80
                    Numeric
Description

Form Code
State Code
Agency Code
Project Code
Time Code
Parameter Code
Method Code
Units Code
Decimal Code
Year
Month
Day
Start Hour
Area Code
Site Code
Reading
Repeat Columns  24-36
Repeat Columns  24-36
Repeat Columns  24-36
Unused
Transaction Status
Flag
Action Code
                                                               (Page 4 of 4)
            Figure  AQT5-1  -  continued.  Master File Transaction Formats
                                       53

-------
AGENCY
SITF NAMF
PARAMETE
STATE
1 2
1

MO
17
1
,
I
,
,
1
1
,
,

1
,
,
,
L


,
,
,
,
,
,
1
1
,

,
,

I
,
,
,
1

f
,
,
i

,

,
,
,
I
1
DAY
19
,
,
,
1
,
,
B
,
,
,
,
l
,
,
,
1
,
*:„

,
,
i
i
,
i
,
,
,
,
,
i
,
t
,
,
,
,
,
i
i

i
,
,
i
,
,
,
R

AREA

l i i

START
HOUR
21 22
,


l
1
,
B
,
l

1
,
1
1
,
r: J
f
1
f
,
1
1
,
,
,
1

,
,

1
,
,
,
,
1
,
1
1
,
,
,
1
,
,
1
,
,


                     AIR QUALITY DATA HANDLING SUBSYSTEM (AQDHS-II)
                       COMPREHENSIVE DATA HANDLING SYSTEM (CDHS)
                      FORMAT 1 - LESS THAN DAILY SAMPLING INTERVAL
     BY	
     DATE.
     PAGE.
                                                                                  -OF_
PARAMETER
23
1 1 1 1
METH
28
1
UNITS
30
,
DP
32

EPA (OUR) 427
READING 1
33


ill
i
ill
ill
lit
lit

lit

.

iti
It!
| I fl

Iff
III


• •l
1 1
I I |
1 1
III

III


III
I 1 1
' «
• 1 1

1 I 1
r ' •
• it
i i i
it.
i l i
__i — i 	 1

• i •
i i i
i i i
i i •
i • •
i i i
READING 2
37
III
.11
ill
lit
l . •
ill
i . 1
lit

i 1 •
III
i 1 1
l f i
III
• • •
• • •

i*l
f • l
ill

III
i 1 l
• • 1
ill
I l
III
ill
,

iii
• •I
i i i

. i i
i i i
i i i
i i i
iii
• •I
i i i
i i i
• i i
• i i
• it
i i.i
• . i
i i i
READINGS
41
1
.If
III
• 1 1
1 1
III
• • 1
III
t I •
1 1 1
• 1 1
I . •
• It
I • I
If'
til
j_ • -I
• 1 ft
t . •

.11
iii
I
1
. I •
1 • •
• I i
• • I
t * •
• • •
III
• • •
»
1 . I
Iii
i . .
. • .
i i i
• . •
I 1 i
• • I
i • 1
1 i •
1 i 1
f * *
1 i •
III
III
READING 4
45
1 1 1
III
1 1 1
1 1 1
1 1 1
1 1 1
III
,
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
1 1 1
III
1 1 1
III
• , ,
III
, ,
1 1 1
III
1 1 1
III
1 1 1
1 1 1

I 1 1
1 1 1
III
1 1 1
1 1 1
1 1 I
1 1 1
. , ,
J J 1
III
II.
- 1 f I
III
1 1 1
1 1 1
III
III
III
1 1 1
1 1
III
READINGS
49
III

III
1 1
III
1 1 1
III

1
III
1 1 1

II I
III

1 1 t
I • 1

III

1 1 1
III
1 1
1
III


1 1 1

I 1 1
III
f 1 1
1 . 1
III
III
1 1 1
III
1 1 1
III
k I 1
1 I


II.
1 1 1
1 1 I
1 1 1
1 1 1
READING 6
S3
• i i

i i i
i i i
• i i
• ii
iii
i i i

iii



.1 ii

• i l
i i i
• i i
i . i
i i
iii
i i i
i • i
iii
i i i
i . i
i.i
, ,

i
'

i i •
i i i
i i i
i i i
iii
iii
i
i i i


• •I
t i

. i i
• i i
i i i
READING 7
57
i •






• ii













It.

• • • i


1 f '






1 i i
ill
l i i
li i





i 1 i




iii
READING 8
61 64
-ii






1 • t









, „



i •











• •I
i
i •











. , i
(Page 1  of 4)
            Figure  AQT5-2.  Master  File Transaction Load Sheets

                                        54

-------
URGENCY 	
SITE


2

STATE
« *

DAY
18 20
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
1,0
1,1
1,2
1,3
M
1t5
1,6
V
1,8
1 ,9
2,0
2,1
2,2
2,3
2,4
2,5
2,6
2,7
2,8
2,9
3,0
3,1
START
HOUR
21 22






1
1
1
1
I
f
,
,
,
1
1
1
1
1
1
',
1
I
1
,
1
1
1
,
1

AREA

AIRQU
COM!


,
1
ALITY DA'
'REHENSn
FORMAT
3AILY OR
SITE
	 1 	 1 	 ,
PARAMETER CODE
23
METHOD
,




























i
UNITS



DP

FAN
/ED
GRE
ADEN

ANDLING SUBSYSTEM (A
ATA HANDLING SYSTEM
MULTIPLE PARAMETERS
ATER SAMPLING INTERS
PROJECT TIME
1 	 1 	
YEAR
1. 	
QDHS-II)
(CDHS)
M.

MONTH
	 j7 	 i5~

	
PARAMETER CODE PARAMETER CODE
,37
iii i i i i
METHOD UNITS DP METHOD



READING
33


i

1
36

1 1 1
I 1 1
1 1 1
1
i
i

1 1 1
f
1
t
i
1
I


1 1 1.
It 1
1
i
,

1 t 1
III
II 1
1
i
i

III
«
1
,
i

1 1 1
1 1 1
III
III
1
1
1
\
i
t
i
1
,
1



1 1 1
1 1 |
I 1
1 1 |
1 1 I
1
i
,

f I '


















READING
V
i
50
1 1
t i i
iii
i
1 I
iii
iii
i
1 l
, i ,

iii'
iii
i i i
i i i
iii
, , ,
i,.
i i i
iii
i , i
i i ,
i 1*1
i , ,
i , i
, , i
i i i
i i ,
i i i
1 I !
1 1 i
1 1 ,
1 1 I

































UNITS DP


RY

PAGE 	 OF 	
i I

PARAMETER CODE

METHOD UNITS J)P


READING
»

84
1 1
i , l
i
i
1 1
1 1
1.1 i
iii
i
,
1 1
1 1
i • t
i ii
i
1 1
• • l
1 * T
III
Iii
I , I
•MH^lw i I
1
I
1
1.
1
1 1
II
1 1
J
1 1
1 1
1 1 1
1
1 1
III
1
1
1 1
1 1
111
1
1
1 1
1 1
1 , .























READING
75 n
1 ' 1
i i f
iii
i i i
i i i
i i • \
iii
i
i i i.
t ..t |
1 * l
i i i
i i |

i i i
i i i
, i i
iii
i i i
i i i
i i i
iii
iii







i i ,
Figure AQT5-2 - continued.
Master File Transaction Load Sheets
        55
                                                                  (Page 2 of 4)

-------
,ITE_




'2

STATE
2
j



COMPREHENSIVE DATA HANDLING SYSTEM (CDHS)
FORMAT 2 - COMPOSITE DATA
AREA
4
i

PARAMETER CODE
23


METHOD
28

1


UNITS
X

27

DP
32

READING
33
1
i

3
1 1 1
• •



1
,
1
i
i
. i
1
I
1



1 — J-. 1 -

1 -
~J
.

i i- • i


1
1
,
,
|
t


1 1 1
t 1 1
• t ' *
1 1 1

1
1
.

| 1 l
i i i
1 1 1
| 1 1
1 1 1
1 II

1
,
i

1 1 1
I 1 I
1 1 1
1 ' '
''I
1 ' '
1 1 1












8

SITE
, ,

\GEIV
11

PROJECT TIME
12 14
i C
YEAR
s
i


PARAMETER CODE
3

l\
4
-



7
1

/IETHOD
2




UNITS
44
1

41 5

DP M
46 H
PERIOD ,
17 18 U
1
SAMPLES
21
1
BY
HATF
PAGE 	 OF. 	
w
SAM t
PLE £
TIME M
3
i
12 if tO

PARAMETER CODE PARAMETER CODE


ETHOD
i

READING
47
,
,
,
1
1
i
i
i
Ml


1 1 1
III
1 1 1
1
1
i.

41 1 1
I.I
1
t
,
1
i
t


1 1 1
1
,
i

1 1 1
1 1 1
1
1
.

1 1 f

\
1
i

1 1 1
1
1
i

1 1 1
f 1 1
1
1
1
.
i
i


1 1 1
f
1
i

ii I ;
I
t
1
.
i
i














1 	
1

UNITS
SB

S3 65 69
till

DP METHOD UNITS DP
BO* 76 72 U
i . . r .

READING
61
. 1 .

1 1
64
Ill
i ii
f 1 l
1 -
1
1
1




I... 1
1 1
1 1
1 1




i i 1
II 1
1 1 1
It 1
1 ..J 1
1 1 1
1 1 1
1 1 1
1

1 1

iii
1 1 1
1
1


1 1
1 1


1 1 1
1 1 l
1 l i
1 1 1
1 1 1
1 1 1
1 1 1
1

1 1

1 1 1
EPA (OUR) 424






r
























READING
n 78
i i i
i.i i

ii i .

ii i
ii i
, .1.1 I'
| i - r
i i r
1 II
i i i :
1 1 1
1 1 1
1 1 1
II 1
1 1 1


1 1 1
1 1 1
1 1 1
III

1 1 1
1 1 1
1 1 1
III
1 1 1
III
(Page 3 of 4)








Figure AQT5-2 - continued.  Master File Transaction Load Sheets
                                   56

-------
A.GEN

3

rv

STATE
i 	

DAY
22
0
0
0
23
1
2
, 3
0,4
0
0
0
0
0
1
1
1
1
,5
,6
,7
,8
,9
,o
,1
,2
,3
1 I4
1
1
1
1
1
,5
,6
,7
,8
,9
2 ,0
2
2
2
2
2
2
2
2
2
,1
,2
,3
,4
,5
i6
,7
,8
,9
3 ,0
3
,1












AQEN

AIR QUALITY DATA HANDLING SUBSYSTEM (AQ
COMPREHENSIVE DATA HANDLING SYSTEM (C
FORMAT 3 - MULTIPLE SITE (STATION)
DAILY OR GREATER SAMPLING INTERVA
PROJECT TIME PARAMETER CODE
. 8 i a \L
	 1 	 1 	 1 	 1 	 1 	 1 	 1 	
START ADCA c*ll-r STAR
.HOUR AREA SITE HOU
2« 26 29 30 32 37
1 III It 1
R AREA
39














READING
33 : • :.-> 38
i i i
i i i
i i i
i i i
"i i i
i i i
i i i
i i i
i i i
i i i
i i i
i i i
i i i
i i i
iii
• i i
i i i
i i i
i i i
i i i
iii
i i i
i i i
i i i
i i i
l 1 l
i i l
i i l
i l i
i i i
t t i































METHOC
, *



SITE
i i
) UNITS DP
.. , 1 	 1 	
STAR
HOU

DHS II)
:DHS)
L
YEAR l\
i

/IONTH
ai

BY
pATP _
PAGE 	 OF —
1 I
J9. Tkj


J AREA SITE HOUR AREA SITE
i i
i ii i iii ft

READING
46

49
1 1 1
III
1 1 1
I.I 1
1 1 1
1 1 1
1 |

1
1 1 1
1 1 1
f 1

1
1 1 1
1 1 1
1 f

1
1 1 1
1 1 i
III
1 1 1
' 1 1

1
1 1
1 L

1
1 ' 1 i
.1 1 1
l i

l
i 1 1
1 1 i
1 1 1
1 1

1
i l " i
1 1 1
1 1
t 1


1
1






















READING
.59
62
1 1 1
f i • •
1 1 1
1
1 1
1 1 1
1
1
1
1 i
1 1
1 1
l 1 1
1
1
1 1
1 1
1 1 1
1
1 1 .
1 II.
1
1
1 l
1 1
III
1
1
1
1
1 1
1 1
1 l
L 1
| I 1
1
i •
• 1 1
| i 1
l 1 1
1 ' 1
MB^— I J__ ' *
1
1 i
1 ' '
1
1 i

































READING
72 75
1 1. ' 1
1 l 1
III
1 i 1
1 1 1
1 1 1
1 1 1
III
1 1 1
1 1 1
1 1 l
III
1 1 1
1 1 1
III
1 p •

1 1 1
1 1 1
1 l 1
1 1 1
I







• ' • 1
| | 1
1 1 1
1 1 1

1 1 1
|||




"






EPA (OUR) 425
                                                                      •i'
Figure AQT5-2 - continued.   Master File Transactipn Load Sheets
                               57
                                                                Page  4  of 4)

-------
//AQSTST05  JOB  RTI.C44.PQ2443,MCMASTER,Ts2,P=150,FURMS=FFHHITE
//*PROCL1B=RTI.C44.P02069.MCMASTER.DPR.JCL
//KILL EXEC PGM=1EFBK14
//DD1 DD DSN=RTI.C44.P0206«».MCMASTtR.DPR.DATA.AOMST01N,
// DISP=(OLD,DELETE)
//*
//* CREATE THE INITIAL MASTER FILE USING THE CONVERTED
//« TRANSACTIONS FRO" TEST 0
//*
//TESTSA EXEC AQEMM10,
//             NEWMSTRsAQMSTOlN,
//             PARMFlLsAOPARMOl,
//             SITEFIL=AQSITE01,
//             PRIMARY*!,
//             SECNDRYsl
//*
    IPJT THE AQDHS^II TRANSACTIONS,
//# SORT THE iNtER'NH TRANSACTIONS,
//* AND CREATE THE NEt* MASTER FILE FROM THEM
//*
//EDIT.OPTIONS DO «
NOLIST NOFLA6M

//EDIT.INPUT DD DISP=OLD,DSN«RTI.C44.P02069.MCMASTER.DPR.DATA.AQTRANS
//UPDATE.AQSOLDMS DD DUMMY
//UPDATE.OPTIONS DD *
NULIST NOFLAGrt
                Figure  AQT5-3.   Run  Stream
                              58

-------
                                       AODMS-1I  MASTER FILE TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC REPORT                PAGE


                 M NAMLl ALDHSTK  CA00060)
                 tlfi U VtLt 1-00
           LAS' UPDATE »: ^u
           DAH INCIIPPOKATED: oc TUBER  si,  1978
 •^t
 j!        niMiMMS IN EFFECT: NOLIST NOFLAGW
        llU(lOOinoit0217!0<>05I64240m072 003  006  018  020  031 044, 051 JbW               2
•O                  •*• ALDMSTR 027 ERROR - COLUMN  61 - NON-NUMERIC REDOING - CARD REJECTED
 tn                      .                                              ••';•!
 I         nPno01001E02l7106070042101I1072 218  200  201  1B1  176 154 121 100               2
 -P*                  *** AiDMSTR 042 CONDITIONAL - COLUMN 33 - READING EXCEEDS MAXIMUM PERMITTED - CARD ACCEPTED
                     «»« AC.UMSTH 042 CONDITIONAL • COLUMN 41  - READING EXCEEDS MAXIMUM PERMITTED - CARD ACCEPTED

 7        I10P001001E0117106220B4240IU072                  218 200 201 161               2
 3                   «•• AEVMSTR 042 CONDITIONAL - COLUMN 49 - READING EXCEEDS MAXIMUM PERMITTED • CARD ACCEPTED
 O                   *•• ALDHSTH 042 CONDITIONAL - COLUMN 57 - READING EXCEEDS MAXIMUM PERMITTED - CARD ACCEPTED
 fl>
 2-        2janflQ1003A06B7703260042401<'!Ot09450                                            Z
 =j                   *** AEDMSTR 043 CONDITIONAL - COLUMN 33 - READING EXCEEDS MAX PERMITTED - CRUUP-01 ACCEPTED

 _         13/lono200100S17b0303004240114070b840                                            2
^g                  *•• AEDMSTR 042 CONDITIUNAL - COLUMN 33  - READING EXCEEDS MAXIMUM PERMITTED - CARD ACCEPTED
m

S        NllMtf.R  HF-  TRANSACTIONS READl                         970
 O        NII'-I'IR  (If  TRANSACTIONS PASSING EDIT CRITERIA:        969
           HU'U,[U  UF  INTERNAL TRANSACTIONS CREATEDI           Ii053
 !         NtX'lUW  (}F  MARNIflG  MESSAGES:                             0
           NIH'I'LR  HP  CUNDITIOMAL MESSAGES:                        6
•O         lililin[.P  (IF  ERRUK  MESSAGES!                              1
 2         NUMhLP  lit  AHOftT  MESSAGES:                              0
(O

i
      Q>
     CQ
     O
     -h

-------
                                     AQDHS-II MASTER F1U  INTERNAL TRANSACTION SOTT PROBNAM  -  DIAGNOSTIC  REPORT                          HAGt  1
on
O
            n'lii.i AM  tiAMf :  A:,HJNIR (Aooiio)

    _      M visni'i Ltvit:  I-OO

    _j.      LAS'  IH'HATL «: l«

    (O      OAIt  INCOHPUHATtn: OCTOBER 31, 1976
     >      NUi'-UW  UF  INPUI JNTfcHNAL TRANSACTIUNSl

    •^      mumrK  of  OUTPUT INTERNAL TRANSACTIONS:       1,053

     en
     o
     o
     n>
     o.
T3


O
n
n>
O.

C


ro
      o
      (O


      i  _

      ja -O
      CO Oi
      •yo 
       70  o

-------
                                        AQDHS-I1 MASTER  FILE MAINTENANCE PROGRAM   •   DIAGNOSTIC REPORT
                                                                                                                          PACE
CO

3

I
CJ1
-pa
 I
n
o
rt
n>
o.
o
(0
O.
                  MAMfc:  AFMMSTR (AOOJOO)
         KLVISIOII LLVCL:  i-oo
         I ASI ui'i'Ait  «:  ?a
         UATl IfiCUCf(jRATEl):  OtTHBEP 3!»  19/B
                              TABLE *  I
SIGNED
MIMBtH
•9
-8
-7
-6
-5
-fl
-3
-2
-1
-0
+0
*1
»2
+3
«
   03
    ft)

    (A)

    O

-------
                                         AQDHS-il MASTER fU-E MAINTENANCE PR06RAM -  DIAGNOSTIC REPORT                  PAGE
          TKAMSACriUN                      LNKOKS/ACTION
tO        c>|      3nflbJ020300099?A'05ITtX$SOHG HEADING - DATA REJECTED

 I        21      37|063020i000997A05I7«0310i;il07080800           30S                 4WS
 -P>                «**  AFMMSTR  001  ERROR - HEADING OS - ATTEMPT  TO ADD  DATA TO EXjaTO'NG HEADING - DATA REJECTED

 '        21      371Bb30;>Oi000997A0517a4S102U07080608           3042080208Xk2flBX>t04«
 O                 ...  AFMMSTfi  001  EPROR » RtAblNC 11 - ATTEMPT  TO ADD  DATA TOfBWtSTONG READING - DATA REJECTED
 3
 C*
 -"•       i.UHHtH  OF  IHPUT  INTERNAL  TRANSACTIONS!                   1.053
 2        NMMRIR  OF  INPUT  MASTER FILE RECORDS!                         0
 n>       NUMUtf  UF  MASthf fU.E RECORDS FLAUCtD FUR DELETIDNl          0
 Q.       N'ui'liCk  OF  HASTEN FILE "RECORDS AOOfDl                       331
          MUMHEH  UF  OUTPUT MASltR FILE RECORDS!                      331
          NUMHER  OF  HARN1HG MESSAGE'S!                                  0
 -a       NU.'IBtC  OF  CONDITIONAL MESSAGES!                              0
                  UF -fcRRiJR  MESSAGES!                                    5
                  UF  AQUFrt  MESSAGES!                                    0
 h>       Nn"nn;  UF  DISASTER MESSAGES!                                 o
 a.
 •c
 JJ       HH(ir,KAM I4AMR: AFMMSTR (AQQ100)
          "EVISIUti LEVEL!  1-00
 ^       LAST  UI'OATt *: 21
 7^       DAH  IfJC'ihPimATED:  UCTUBER 31,  1976
  I
  I
 -D
  s
 ID
  -J
       "O
       Dl
       (Q
       TO
       O
       -«i

       *.

-------
ApDHS-II  TEST 6

Produce a Detailed Report of the Master File
                                              ,\
     In this test  run,  a detailed report of the AQDHS-II master file is
generated using  the  cataloged  procedure AQRPM20 which executes ARPMSTR
(AQ0230), the master file detailed  report program.

     ARPMSTR (AQ0230) formats  and displays the  data from the master file.
Information for  the  page headings is  obtained from 1;he parameter, site, and
parameter standards  files which  are input to the  program.
     There are several  output  formats used depending upon the type of data (as
specified by the time-code  in  the master file record) to be displayed.  Less
than daily data  are  displayed  on a  site basis in  a table (maximum of two  pages
for each month of data) with the hours of the day as column headings and  the
days of the month as row headings.   Each year of  daily data is  reported in a
               j
one-page table with  months  as  column headings  and the days of the months  as
row headings. Each  year of weekly  data  is  also described  in  a  one-page table
with months as column headings and  weeks  of the month as  row  headings.
Monthly and quarterly data  are displayed with  a year of data  per page on a
site basis (each site is on a  separate page) under  column  headings  of month
and quarter, respectively.  Also,  one year of data  is  shown  per page for each
type of composite data.
     The option card may contain statements for either  a display option or a
summary option.   These statements may appear on the option card in any order,
but must be preceded or followed by at least one blank.   (Note that a keyword
which starts in card column 1  is considered to be preceded by a blank.)  The
statements may appear anywhere on the card except in columns 73 through 80.
       The summary option  allows the user to specify the method for
summarizing the readings within each table.  The keywords for the summary
option statement are MEAN  and SUM with the following meanings:
          MEAN:   Print the number of readings, the maximum reading
                 and the mean for each column and row.
                                       63

-------
            SUM:   Print  the number  of  readings and the sum of the
                  readings  for  each row.   (Column totals are not
                  printed with  this option.)
 If neither of these options appear on the option card, or if an option card is
 not present in the run  stream, the program will assume the MEAN option.
      The display  option allows the user to specify whether all readings should
 be printed or only those meeting the  display criteria specified.  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).
            Threshold Value:  A number in the range '999 to 9997.  (Leading
                              zeros in front of the decimal are not required.
                           •  If the threshold value contains no decimal
                              point, a decimal point will be assumed to be
                              right justified in the field.)
     The default  value  for  the display option is DISPLAY N > 9997 and will be
 used when the  display option is invalid or an option card is not present in
 the  run stream.

     The run stream for this test  run contains the JCL necessary for producing
 a detailed  report  of the AQDHS-II master  file.  This run stream is shown in
 Figure AQT6-1.
     The cataloged procedure executed by this run stream is AQRPM20.   Through
 the use of  substitutable parameters, the  input master file is specified as
AQMST01N (created and stored on Disk in Test 5), the input parameter file is
 specified as AQPARM01 (created and stored on disk in Test 1), the input site
 file is specified as AQSITE01 (created and stored on disk in Test 2), and the
 input parameter standards  file  is specified as AQSTND01 (created and stored on
disk in Test 3).  The user must supply the DD (data definition) information
                                      64

-------
for the option card file.  The  options specified  in the REPORT step of this
test run are MEAN and DISPLAY N >  9997.  Refer to Figure AQT6-2 for the sample
output produced by this  procedure.
                                       65

-------
//AJSTST06  JOB  RTI.C4«.P02«43.MCMASTER»T=2,Psl50,FURMSsFFWHITE,Msl
//*PROCLlB=RTI.C4U.PU2069iMCMASTER.OPR.JCL
//*
//* PRODUCE A DETAILED LISTING OF AQMST01N,
//* THE MASTER HLE CREATED IN TtST 5
//*
//TEST6A EXEC AORPM20,
//             MSTRFIL=AQMST01N,
f/             PARMFRaAOPARMOl*
f/             SttEFIL^AtlSITEOi,
//* PRODUCE THE REPORT t)F AOMSTOiN
//*
//REPORT. OPTIONS DO *
MEAN DISPLAY N > 9997
             Figure AQT6-1.  Run  Stream
                            66

-------
                                        AQDHS-I1 MASTER FILE DETAILED REPORT PRD6RAH  •  DIAGNOSTIC REPORT                            PAGE
            PROGRAM NAMtt ARPMSTR (A00230)
            REVISION LEVEL! 1-00
  "ft         LAST UPDATE Hi Zfl
 £         DATE INCORPORATED! OCTOBER 31. 1978

  T         USER-SPECIFItD OPTION! MEAN DISPLAT N > 9997
  (D

 ,0         NUMBER OF OPTION STATEMENTS READ!                           2
  —I         NUMBER OF MASTER FILE RECORDS READ!                       .331
  ?>         NUMBER OF REPORT PAGES WRITTEN!                            71
  IV)         NUMBER OF ERRORS DETECTED!                                  0
 O
 n>
 Q.

 I
 o
  I

 •a
 3
 ia

-I
 in    >~:
 —I    TJ
 ^    £
       (D
       CO

-------
to

I

I
o>
INJ
 I
o
o
 n>
 a.
 •o

 3
 o
 a>
 a.
 TO
,-o

 ro
 o
 •a

 3
 (O
 •so
 -o

 CO

 •30
          STATE!  OKLAHOMA  (37)
                                               AQDHS-II AIR QUALITY .DATA -REPORT
                                                           DISPLAY
                                                                                                                                     PAGE
AQCRI   166      AGENCYl    EPA -  ATMOSPHERIC  SURVEILLANCE
COUNTYi 3020     PRUJECTl   SPECIAL  STUDIES
AREA:   2260     PARAHETERI SOLAR  RADIATION
SITCl   995      UNITS!     LANGLEVS
SK1-ATOOK LAKE, TUL3A, TULSA CO.
COLLECTION -NETHI   INSTRUMENTAL                 YEARJ   1977
ANALYSIS >MOTHODl   PYRANOMETER                  MONTH!   AUGUST
SAMPLING 3M&AVALI 01 HOURS                     MIN  DETl       1
8AROAD KEY!        S72260995A0518               UNITS CODE!  16
KEY-ll 3718630202260995A05177 KEY-21  633011116  KEY-3!  060400
































5
to
o>
TO
0
-h

DAY
01
03
04
OS
06
07
08
09
10
11
12
13
14
IS
16
17
16
19
20
21
22
23
24
25
26
27
26
29
30
31
NO

MEAN
MAX



00


0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0,00
0.00
0.00
0.00
0.00
0.00
0.00
28

.0
0.00



01


0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
28

.0
0.00



02


0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
.«* 28
•' * '
.0
0.00



03


0.00
0.00
0,00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0*00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
28

.0
O.DO



04


0.00
0.00
0.00
-0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0,00
0.00
0.00
0.00
0,00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
28

.0
0.00


HOUR
05


0.00
0.01
0.01
0.02
0.02
0.02
0.01
0.02
0.00
0.00
0.01
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
28

.0042
0.02



06


0.00
0.12
0.10
0.15
0.14
0.15
0.16
0.03
0.04
0.04
0.08
0.11
0,08
0.01
0.12
0.03
0.03
0.05
0.1*
0.03
0.06
0.10
0.10
0.11
0.02
0.02
0.10
0.12
28

.0785
0.16



07

1
0.02
Ov42
oao
o.w
0.30
0.48
0.46
0.25
0,20

0.18
0,38
0.27
0.06
JO. 40
0.05
0,1»
0.20 ,
0,40
0.32

0.24
0.36
0.32
0.10
9.07
0.20
0,24
26

*263
0.48



08


0,03
0.50
0,36
a. 72
0.68
OL68
•0:70
o;52
0131
0.42
0.40
0.66
0.40
O.I*
0.70
0,10
0.32
0.42
0..67
0.45
0,48
0,43
0.68
0.74
0.04
0.24
0.51
0,65
28

.4703
0.74



09


0.36
0.93
0.38
0.96
0.98
0.96
0.80
0.32
0.51
0.14
0.89
0.94
0.59
0.16
0.97
0.16
0,54
0.24
0.86
0.84
0.70
0.86
0.96
1.00
0.05
0.32
0.83
0.72
28

.6432
1.00



10


0.72
0.62
0.68
1.21
1.21
1.16
1.09
0.48
0.73
0.03
1.16

1.06
0.21
1.12
0.20
1.06
0.51
0.84
0.63
0.84
1.10
1.14
1.22
0.08
0.42
1.06
1.16
27

.8133
1.22



11


0.91
.14
.38
' .34
.37
.26
.23
0.91
0.85
0.14
1.31

1.27
0.17
1.16
0.16

0.76
.02
.21
.10
.16
.26
.38
.09
.40
.30
.08
26

.9761
1.36


       00

-------
     STATE:   OKLAHOMA  (37)
AODHS-II AIR QUALITY DATA REPORT
            DISPLAY N>9997
                                                                                                                                PAGE
(0
§
i
en
i
ro
i
n
o

_j.
3
C
fO
o.


_


o
to
a.
c
-*

>
jO
s*jj
3j
ro
O
i
i
i-


«o
oi
i

5?
1 2?
30 n>
CO
0
-h
AOCRl 186 AGENCY! EPA - ATMOSPHERIC SURVEILLANCE COLLECTION METHi INSTRUMENTAL
COUNTY! 3020 PROJECT! SPECIAL STUDIES ANALYSIS METHOD! PYRANOMETER
AREA; 2260 PARAMETER! SOLAR RADIATION SAMPLING INTERVAL! 01 HOURS
SITE) 995 UNITS! LANGLEYS 3AROAD KEY! 372260995A051B
SKI A TOOK LAKE. TUL3A, TUL3A CO. KEY-ll 371B630202260995AOS177 KEY

DAY

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

NO
MEAN
MAX



12




0.78
.02
.30
.43
.44
.31
.19
0.63
0.54
0.05
1.30
1.33
1.23
0.22
1.16
0.40
1.38
0.76
0.98
1.33
1.03
0.98
1.24
1.41
0.18
0.60
1.24
1.22

28
.9957
1.44



13




0.86
0.66
0.96
1.36
1.42
1.33
1.41
0.52
0.44
0.18
0.64
1.30
1.08
0.35
0.52
0.40
1.16
1.16
1.08
1.24
0.92
1.00
1.12
1.30
0.16
0.64
1.18
1.12

28
.9189
1.42



14




1.08
0.74
0.48
1.16
1.22
1.08
1.23
0.59
0.35
0.42
1.11
1.15
0.89
0.52
0.26

0.90
.10
.08
.12
.64
.02
.08
1.14
0.30
0.62
1.04
1.02

27
.8725
1.23



IS




0.72
0.44
0.52
0.97
0.92
0.93
0.73
0.32
0.40
0.54
0.53
0.93
0.74
0.40
0.31
0.20
0.84
0.93
0.90
0.76
0.70
0.88
0.64
0.90
0.14
0.76
0.64
0.62

26
.676
0.97



16





0.46
0.70
0.66
0.70
0.72
0.21
0.23
0.29
0.42
0.02
0.64
0.62
0.20
0.19
0.10
0.56
0.59
0.52
0.56
0.56
0.61
0.61
0.66
0.12
0.56
O.S2
0.56

27
.4692
0.72


HOUR
17




0.36
0.21
0.38
0.36
0.39
0.39
0.28
0.13
0.16
0.33
0.00
0.35
0.10
0.30
0.12
0.03
0.30
0.33
0.31
0.38
0.38
0.30
0.24
0.28
0.06
0.20
0.26
0.28

26
.2569
0.39



16




0.10
0.06
0.12
0.10
0.11
O.lt
0.07
0.03
0.05
0.08
0.02
0.06
0.03
0.12
0.03
0.00
0.06
0.06
0.13
0.12
0.06
0.07
o.or
0.06
0.02
0.06
0.0?
0.05

28
.0721
0.13



19




0.01
0.04
0.01
0.02
0.01
0.00
0.01
0.01
0.00
0.02
0.00
0.01
0.00
0.01
0.01
0.00
0.01
0.01
0.02
0.02
0.00
0.02
0.00
< 0.00
0.00
0.00
0.00
0.00

28
.0065
0.04



20




0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00

28
.0
0.00



21




0.00
0.00
0,00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
'0,00
0,00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0,00
0.00
0.00
0,00
0.00

26
.0
0.00


YEAR! 1977
MONTH! AUGUST
MIN DETI 1
UNITS CODE! 18
•2! 633011118 KEY-3! 060400

22




0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0,00

26
.0
0.00



23




0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0,00
0.00
0.00
0.00

26
.0
0.00



NO.

0
0
0
23
24
24
24
24
24
24
24
24
23
24
22
24
24
24
23
23
24
24
24
23
24
24
24
24
24
24
24

665





MEAN MAX




.2566 .08
.3079 .14
.3283 .38
.4558 .43
.4545 .44
.4408 .33
.3991 .41
.2079 0.91
.2029 O.BS
.1221 0.54
.3187
.3581
.3483
.1204
.2954
.0804
.3217
.2975
.372
.3762
.343
.3654
.4041
.4383
.0575
.2229
,382
.3775
.31
.33
.27
.52
.16
.40
.16
.16
.08
.11
.10
.16
.26
.41
.30
.84
.30
.22


.3097
1.44


CO

-------
tO
c
<8
1
\f\
i
ro
i
o
o
_ i.
3
A
O.


-o
3
o
2.
c
fD
j,
JO
i
ro
o
i
i
•o
3
IQ
~S
Ql
3
73
-O *~*
3 -0
to o>
_| 9997
AQCR:
CUUNIY:
AREA:
Silk:
169
0960
0001
001
YAOKIN HD.>



DAY
01
02
03
04
OS
06
01
06
09
10
11
12
13
14

16
17
IB
19
20
21
22
23
24
25
26
27
28
NO

MEAN 1

MAX



01
0.1

0.2


0.5


O.B



2.1







3.7
6

.233

3.7
AGENCY:
EPA - ATMOSPHERIC SURVEILLANCE
PROJECT: EPISODE MONITORING
PARAMETER: SOILING INDEX (COH/IOOOLFJ
UNITS: COHS/IOOO LINEAR FEET
FAYETTEVILLE,



03
0.1

0.2


0.5


O.B



2.1







3.7
6

1.233

3.7
CUMBERLAND CO.



05 07 09
0.2 0.3 0.5

0.4 0.6 1.0


1.0 1.5 2.5


1.6 2.4 4.0



4.2 1.3 0,5







2.8 1.7 4.5
666

1.7 1.3 2.167

4.2 2.4 4.5
COLLECTION SETHI TAPE SAMPLER
ANALYSIS METHOD! TRANSMITTANCE
SAMPLING INTERVAL! 02 HOURS
SAROAD KEY I 34000I001A0616
KEY-l: 3416909600001001A06274 KEY-2:

HOUR

11
O.B

1.6


4.0


1.4



l.B







1.2
b

1.8

4.0



13
0.3

2.6


1.5


0.4



2.3







0.7
6

1.3

2.6



15 17 19
2.1

4»2


0.5


1.8



4.1







1.9
600

2.433

4.2
YEAR: 1974
MONTH: FEBRUARY
MIN OETl .01
UNITS CODE: 09
112018109 KEY-3! 020101



21 23 NO. MEAN
8 .55
0
0
8 1.35
0
0
0
8 1.5
0
0
0
8 1.65
0
0
0
0
0
B 2.3
0
0
0
0
0
0
0
0
0
8 2.525
0 0 48

1.646








MAX
2.1

4.2


4.0


4.0



4.2







4.5




4.5
CD

-------
        STATE.:   NORTH CAROLINA (34)
AQOHS-1I AIR QUALITY DATA REPORT
            DISPLAY N>9997
                                                                                                                                  PAGE
        AUCR:    169      AGENCY:    EPA - ATMOSPHERIC SURVEILLANCE
        COUNT V:  0960     PROJECT:    EPISODE HUNITORIHG
               COLLECTION METHI   BUCKET! JAR                 YEAR:  1974
               ANALYSIS METHOD!   GRAVIMETRIC (APCA)          MONTH:  MARCH
                                                              MIN DET:   1.43
                                                              UNITS CODES 90
-a_j
e
3
8
H
ro
'
o
0
t*
3'
c
fl>
o.


•o

n
a.
c.
i
(a
•^
JO
tJ
JNJ
O
1
1
•o
3
5
3

>
73
-o

AREA: oooi PARAMETER: TOTAL SETTLED P ARTICULATE
SITE: 001 UNITSt TONS/SUUARE MILE-MONTH
YADKIN RD., FAYETTEVILLE, CUMBERLAND CO.

DAY
01
02
03
04
OS
06
07
08
09
10
11
12

10
15
16
17
IB
19
20
21
22
23
24
25
26

NU
MEAN

O "A*
^J
QJ


02
0.01

0.01

0.02



0.03
0.05
0.06
0.13
0.21


0.33


0.04
0.37


0.41

12
.1408

0.41





OS
O.Oi

0.01

0.02



0,03
0.05
0.08
0.13
0.21


0.33


0.04
0.37


0.41

12
.1408

0.41





08
0.02

0.02

0.04



0.06
0.10
0.16
0.26
0.42


0.18


0.10
0.28


0.38

12
.1683

0.42




HOUR
11
0.03

0.03

0.06



0.09
0.15
0.24
0.39
0.13


0.02


0.15
0.17


0.32

12
.1483

0.39





14
0.05

0.05

0.10



0.15
0.25
0.40
0.15
0.05


0.20


0.25
0.45
*•

0.20

12
.1916

0.45





17
0.08

0.08

0.16



0.24
0.40
0.14
0.04
0.18


0.22


0.40
0.12


0.02

12
.1733

0.40




SAMPLING INTERVAL: 03 HOURS
SAROAD KEY! 34000I001A0616
KEY-l: 3416909600001001A06374 KEY-2

fp
0.03

0.03

0.26



0.39
0.15
0.04
0.19
0.23


0.42


0.15
0.07


0.22

12
.1816

0.42





23
0.21

0.21

0.42



0.13
0.05
0.18
0.23
0,41


0.14


0.05
0.19


0.24

12
.205

0.42





NO,
8
0
8
0
0
8
0
0
0
8
0
8
8
B
8
0
0
8
0
0
0
8
8
0
0
8

96








MEAN
.055

.055

.135



.14
.15
.165
.19
.23


.23


..1475
.2525


.275


.1687







MAX
0.21

0.21

0.42



0.39
0,40
0.40
0.39
0.42


0.42


0.40
0.45


0.41




0.45




?0
    en
    00

-------
              STATE:  NORTH CAROLINA (34)
ro
                                                            AQDHS-II AIR QUALITY DATA REPORT
                                                                        DISPLAY N»>W*7
PAGt
        23
-n
— i.
«Q
IS
3
;t»
JO
ro
i

n
o
r+
— '•
^
a>
CL
*

TJ
o
o
n>
Q.
c
-s
m

JO
50

ro
o

i
I
-o
2
w
to
-s
0)
3
^^
JO
-o
2
AQCR: 169 AGENCYI EPA - ATMOSPHERIC SURVEILLANCE CC
COUNTY: 0960 PROJECT! EPISODE MONITORING At
AREA: oooi PARAMETER: CARBON MONOXIDE s/
SITL: 001 UNITS: M-GMS/m (25DEG C,1013 M-BARS) 5J
YADKIN RO., FAYETTEVILLE, CUMBERLAND CO. KE
PRIMARY
FEDERAL STANDARD 10,000
STATE


DAY

01
02
03
04
05
06
07
OB
09
10
11
12

11
15
Ifa
17
IB
19
20
cl
22
23
24
25
26
£1


»-^NlJ
-a
n> MEAN
to
m MAX
STANDARD


03

0.001
0.001
0.002
0.003



0.005

0.008






0.013
0.021
0.033


0.004


0.037
0.041


12

.014

0.041
10,000


07

0.001
0.001
0.002
0.003



0.005

0.008






0.013
0.021
0.033


0.004


0.037
0.041


12

.014

0.041
UG/M3
UG/M3
HOUR

11

0.002
0.002
0.004
0.006



0.010

0.016






0.026
0.042
0.018


0.010


0.028
0.038


12

.0168

0.042
(0 C) 8
(25 C), B


IS

0.003
0.003
0.006
0.009



0.015

0.024






0.039
0.013
0.002


0.015


0.017
0.032


12

.0148

0.039
HR. MAX,
HR. MAX,


19

0.005
0.005
0.010
0.015



0.025

0.040






0.015
0.005
0.020


0.025


0.04S
0.020


12

.0191

0.045
1 PER YR
1 PER YR


23

0.008
0.008
0.016
0.024



0.040

0.014






0.004
0.016
0.022


0.040


0.012
0.002


12

.0173

0.040
•
t


NO.

6
6
6
6
0
0
0
6
0
6
0
0
0
0
0
0
0
6
6
6
0
0
6
0
0
6
6


72




                                                                           COLLECTION HETHi    INSTRUMENTAL                 YEAR:   1971
                                                                           ANALYSIS-«E*MOOt    NON018PEHS1VE  INFRA-RED      MONTH:  APRIL
                                                                           SAMPL1MG IWfEBVALl  04  HOURS                     MtN  OtTl    .575
                                                                           SAROtO «BK|         34000I001A0616              UNITS CODE: 05
                                                                           KEY-l: 3WfBO9600001001A0647a  KEY-2t  421011105  KEY-3:  040103
                                                                                                        SECONDARY
                                                                                     4««000  UG/M3 (0  C)   8 HR. MAX,  1  PER  YR.
                                                                                     UtOOO  UG/M3 (25 C)  8 HK. MAX,  1  PER  Yfl.
                                                                                 MEAN
                                                                                .0160
                                                                                          MAX
                                                                                .0033   0.008
                                                                                .0933   0.008
                                                                                .006.6   0.016
                                                                                  .01   0.024
                                                                                .01*6   0.040

                                                                                .0163   0.040
                                                                                ..0193   0.039
                                                                                  .02   0.042
                                                                                .0213   4.033
                                                                                .0163   0.040
                                                                                .0293   0.045
                                                                                 .029   O.D41
                                                                                        0.045
        73
            CO

-------
             STATE:  NOHTH CAROLINA (34)
     AQDH3-II AIR QUALITY DATA REPORT
                 DISPLAY N>9997
                                                                                                                                       PAGE
-J
CO
             AUCR:   169      AGENCY:    EPA - ATMOSPHERIC SURVEILLANCE
             COUNTY: 0960     PROJECT:   EPISODE MONITORING
ua
AREA: 0001 PARAMETER; CARBON DIG
SITE: 001 UNITS: H-GM3/Mi (
YADKIN HO., FAYETTEV1LLE, CUMBERLAND C
?>
•^ HOUR
at
r\>
i

o
o
£3
r+
_j»
3
CZ
a>
a.
•

-o
3
o
n>
a.
c
a>

>
ju
po
-o
3
o
1
'
TJ

CO
-s

3
>
ya
-o
Lfl
DAY

01
02
03
04
05
Ob
07
08
09
10
11
12
13
14
15
16
17
ie
19
20
21
22
23
in
25
26
27
28
29
30

^^
3? m
CO
(t MEAN

^ MAX
04

.0001








.0001
.0002
.0003
.0005



.0008
.0013
.0021
.0033
.0004


.0037



.0041


12
.0014

.0041
10

.0001








.0001
.0002
.0003
.0005



.0008
.0013
.0021
.0033
.0004


.0037



.0041


12
.0014

.0041
16

.0002








.0002
.0004
.0006
.0010



.0016
.0026
.0042
.0018
.0010


.0028



.0038


12
.0016

.0042
22

.0003








.0003
.0006
.0009
.0015



.0024
.0039
.0013
.0002
.0015


.0017



.0032


12
.0014

.0039
                    COLLECTION METH:   GAS BUBBLER                 YEAR:  1974
                    ANALYSIS METHOD:   PHENOLPHTHALEIN             MONTH:  MAY
                    SAMPLING INTERVAL: 06 HOURS                    HIN DET:    I.B
                    SAROAD KEY:        340001001A0616              UNITS CODE: 05
                    KEY-ll 3416909600001001A06S74 KEY-21 421029105 KEY-Sj 050104
NO.

  4
  0
  0
  0
  0
  0
  0
  0
  0
  4
  4
  4
  4
  0
  0
  0
  0
  4
  4
  4
  4
  4
  0
  0
  0
  4
  0
  0
  0
  4
                                                       48
                                                             MEAN     MAX

                                                            .0001   .0003
                                                            .0001
                                                            .0003
                                                            .0005
                                                            .0008
                                                            .0014
                                                            .0022
                                                            .0024
                                                            .0021
                                                            .0008
                                                            .0029
                                                            .0038
                                                            .0014
.0003
.0006
.0009
.0015
.0024
.0039
.0042
.003)
.0015
.0037



.0041






.0042
         00

-------
STATE:  NORTH CAROLINA (34)
                                              AQOH3-II AIR QUALITY DATA REPORT
                                                          DISPLAY
                                                                                                                          PAGE
AUCPt   169      AGENCY:    EPA - ATMOSPHERIC SURVEILLANCE
COUNTY I 096ff     PROJECT!   EPISODE MONITORING
AREA:   oooi     PARAMETER: SULFUR DIOXIDE
SITE:   001      UNITSl     U-CMS/M3 (ODEG C, 1013 M-BARS)
YADKIN RU., FAYETTEVILLE, CUMBERLAND CO.
                                       PRIMARY
FEDERAL STANDARD     365 UG/M3 (25 C)  24 HOUR MAXIMUM, 1 PER YEAR
CTl
ro
i
0
o


—It
3
tt>
Q.
•

-o
-s
O
ro
o.
c
(D

3>
73
•^
ro
o
i
i
•a
3
(O
PI
3
^
73
•a

— \


SI Alt

DAY


01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
|9
20
21
22
23
24
25
26
27
— 28
"O 29

-------
        STATE:   NURTH CAROLINA (34)                    AODHS-II  AIR QUALITY DATA REPORT                                            PAGE     26
                                                                  DISPUAY N^*I997

        AOCR:    169      AGENCY:     EPA - ATMOSPHERIC  SUR.VEILLANCE   COLLECTION METH:    GAS BUBBLER                 YEAR:   1974
        COUNTY:  0960      PROJECT:    EPISODE MONITORING               ANALYSIS METHOD:    SALTZMANCIOOML TU+ORIFIO    MONTH:   JULY
        AREA:    0001      PARAMETER:  NITROGEN DIOXIDE                 SAMPLING INTERVAH  12 HOURS                    MIN OET:  .0027
        SITE    001      UNITS:      PARTS PER MILLION  (VOL/VOL)       SAHOAD KEY:        34000*0«A0616              UNITS  CODE:  07
        YADK1N RD., FAYETTEVILLE,  CUMBERLAND CU.                      KEY-ll 341690960000100IA06774 KEY-2:  426028207 KEY-3:  070106
                                               PRIMARY                                            SECONDARY
        FEDERAL  STANDARD      0.05  PARTS/MILLION,  ANNUAL  ARITHMETIC MEAN           0.05 PARTS/MILLION,  ANNUAL  ARITHMETIC MEAN
,g      STATE STANDARD       SloS  PARTS/MILLION^  ANNUAL  ARITHMETIC MEAN           0.03 PARTS/MILLION,  ANNUAL  ARITHMETIC MEAN
o>
c\>
1
o
3
rt
_i.
'3
c
CD
O.
•

-o
^ 0
W 0
CD
O.
c
CD

j§
l*liml*
•ya
TJ
IVl
rN*
o

i

T3

J
-$
i
Jy
7?
i
%
•yg

HOUR

DAY
Oi
02
03
04
05
06
07
08
09
10
11
12
1 j
14
15
16
17
IB
19
20
21
22
23
24
25
26
27
28
29
^ 3?
PI 31

U3 N0
O MtAN
1 f)
._. MAX

06
0.01

0.01

0.02

0.03






0.05





0.06

0.13

0.21

0.33

0.04

0.37
0.41


12
.1408
0.01

18
0.01

0.01

0.02

0.03






0.05





0.08

0.13

0.21

0.33

0.04

0.37
0.41


12
.1408
0.41

NO.
2
0
2
0
2
0
2
0
0
0
0
0
0
2
0
0
0
0
0
2
0
2
0
2
0
2
0
2
0
2
2


24



MEAN
.01

.01

.02

.03






.05





.08

.13

.21

.33

.04

.37
.01



.1408


MAX
0.01

0.01

0.02,

0.03






0.05





0.08

0.13

0.21

0.33

0.04

0.37
0.01




0.41
    CO

-------
S1AIL:  OKLAHUMA (37)
                                              AODHS-1I AIR QUALITY DATA REPORT'
                                                          DISPLAY N>9997
                                                                                                                          PAGE
                                                                                                                                  39
AUCR:   184      AGENCY!    STATE
COUNTY! 0600     PROJECT!   SPECIAL STUDIES
AREA!   0001     PARAMETER! TOTAL SUSPENDED PARTICULATE
MrlM-mi 2r,   M,oUI?St     U-GMS/M3  (25DEG C,1013 M-BAR3)
MCALISTtR RD.,, NORMAN, CLEVELAND CO.
                                       PRIMARY
                      75 UG/M3  (25 C) ANNUAL GEOMETRIC MEAN
FEDERAL STANDARD
STATE STANDARD
                     250 UG/M3  (25 C) 24 HOUR MAXIMUM,  1 PER  YEAR
COLLECTION METHI&  Ht-VOL                      YEAR!  1971
ANALYSIS H&THOD!   GRAVIMETRIC
SAMPLING lNTERVALt_-D*ILY                       MIN DETl      I
SAROAD KEY!        37000*234F05ie              UNITS CODE I  01
KEY-ll 371B»060ttOaOt214F05871 KEY-21 111019101 KEY-31 010100
                             SECONDARY
              60 UG*MS (25 C) ANNUAL GEOMETRIC MEAN
                                                                           120 UGAM3  (25 C) 24 HOUR MAXIMUM,! PER YEAR
1
ro
i
0
o
21
<•*•
_j.
3
(D
Q.
•

-o

f*
-J (D
c* S.
C
n>
IW
t>
JO
<^*
^O
-Q



i
i
-a


(Q
^~
DJ
3
3»
73
*^
\J
3
•ya










MONTH
DAY JAN FEB MAR APR MAY

01 101 60
02
03 . 60
04 166
05 70
06 177
07
08 38 38
09 51
10
11 40 76
12
13
14 66 42
15 99
16 80 83
17 62 77
16 67 51
19
20
21 40 qe
22

-------
   STATES  OKLAHOMA (57)
   AQDHS-II AIR QUALITY DATA REPORT
               DISPLAY NX9997
                                                                                                                             PAGE
TT
— i.
B
3
>
rv>
i
o
0
3
3
(D
Q_

-o
a
o
CD
CL
3
0
•yo
-o
o
i
T3
3
(Q
3

^^
77
AQCR: 186
COUNTY: 3020
AREA: 3020
SITE: 996
SPEHRY, TULSA,
MEEK JAN
01
02
03
04
Ob
NU 0
MEAN
MAX












-a
(U
(O
(0
AGEI
PRO
PAR
UNI
TULSA
FEB
.0500
500
50.0
0.500
.0500
5
110.1
500
















                               EPA - ATMOSPHERIC SURVEILLANCE
                           l   SPECIAL STUDIES
                    PARAMETERI LAPSE RATE
                               DEC. CENTIGRADE/100 H
                  COLLECTION HETHl   INSTRUMENTAL                YEAR!  1965
                  ANALYSIS METHODS   ELEC. / MACH. AV6. L2-L1
                  SAMPLING INTERVAL! WEEKLY                      MIN DETt  -99.0
                  SAROAD KEYI        373020996AOS18              UNITS CODE I 28
                  KEY-tl 3718630203020996A05965 KEY-21 612022128 KEY-Jj 020200
                            MAR
                                     APR
MAY
MONTH

   JUN
JUL
                                                                         AUG
SEP
OCT
                                                                                                    NOV
                                                                                                             DEC
NO.
MEAN

 .05
500.
 50.
  .5
 .05
                                                                                                                          110.1
  MAX

.0500
  500
 50.0
0.500
.0500
                                                                                                                                    500
00

-------
MONTH
APR
0023
MAY
.0022
JON
.0021
JUL
.OW
AUG
.0025
SEP
.002*
OCT
.0025
NOV
.0026
DEC
.002S
NO.
12
MEAN
.0186
MAX
.0999
      STATE I  NORTH CAROLINA  (34)                    AQDHS-I1 AIR QUALITY DATA REPORT                                            PACK
                                                                 DISPLAY n»w«7


3!    AflCRl   170       AGENCY!     EPA  - ATMOSPHERIC SURVEILLANCE   COLLECTION .
3

ID
ex
*




3
o
n>
ex


i

 3>
JO
JO



 O

  I
  I

•o

 3


 o>   *-~
 3   Jt>

 3>  tQ
 73   
-------
       STAU:  NORTH CAROLINA (34)                   AQDHS-II  AIR QUALITY DATA REPORT                                            PAGE    19
                                                                 DISPLAY N>9997

 _    AQCRI   Ibb      AGENCY!    EPA - ATMOSPHERIC SURVEILLANCE   COLLECTION NtTHl   GAS BUBBLER                 YEAR!  1972
 3!    CUUNTVt 2120     PROJECT!   EPISODE MONITORING               ANALYSIS METHOD!   PARAROSANIUNE
 to     AREA!   0001     PARAMETER! ALDEHYDE                         SAMPLING INTERVALS QUARTERLY                   NIN OETl    5.5
 £     SITE!   002      UNITS!     U-GMS/M3  (ODEG C, 1013 M-BAR3)   SAROAD KEY!    •    3«Q»«1002AOblb              UNITS CODE! 02
 %     HNY, 301 BUS., SHITHFIELO. JOHNSTON CO.                      KEY-ll 3«lb621200001002AVbBT2 KEY-21 43SQI9202 KEV-31 010100


 53                    QUARTER

 ?*    SITE   1ST      2ND      3RD      «TH    NO.    MEAN     MAX
 ro
 ,     002    11.9     12.8     13.2     10,1     «     12.     13.2

 O
 O

 C*
 o
 I
 I
TO
3
to
-J
3  ~o
    Ot
73  n>


3  o

-------
       STATL:  NORTH CAROLINA  (39997

       AOCR:   136      AGENCY!     COUNTY                            COLLECTION METHt   GAS BUBBLER                 YEARi   I960
 ~H     COUNTYt 1780     PKOJECTi    COMPLAINT  INVESTIGATION          ANALYSIS METHOOl   CHROMA TROPIC ACID
£     ARtAt   0003     PARAMETER:  FORMALDEHYDE                     SAMPLING 1KTOWH.J COMPOSITE                   MINDETl      .5
 B     SITE.:   002      UNI IS:      U-GMS/M3 (25DE6 C,1013 H-BARS)   SAROAD KEY!        S40003002G04I3              UNITS CODE: 01
 -»     KLIOSVILLE Hwr., GREENSBQROi  GUILFORD  CO.                     KEY-ll 341MJ?fl%D
 o.
 T3
 o
 o
JO
 •ya
 -a
 INJ
 o

-------
       STATE:  NURTH CAROLINA  (34)                    AQDHS-II  AIR QUALITY DATA REPORT                                            PACE
                                                                  DISPLAY N>9997

 -n    AocRt   i3b       AGENCY:     COUNTY                            COLLECTION HETH:   GAS BUBBLER                 YEARI  1972
 -;•    COUNTY: irao      PROJECTS    COMPLAINT  INVESTIGATION          ANALYSIS METHOD t   CHROMATROPIC ACID
 •2     AREA:   0003      PARAMETER:  FORMALDEHYDE                      SAMPLING INTERVAL: COMPOSITE                   MIN DET:     .s
 3     SITE:   002       UNITS:      U-GMS/MJ XZSDEG c,ioi3 M-BARS)   SAROAD KEY:        34000300260413              UNITS CODE: 01
 rf»     REIDSVILLE HHY.r  GREENSBORO,  GUILFORD  CO.                     KEY-ll 3413617B00003002G04C72 KEY-2: 435029101 KEY-3: IB0191

 £
 —I    COMPOSITE TYPE:   QUARTERLY
 O>
 ^j    PD   RDING    SAMPLES   TIME-CODE

 1     01      3.4    91        B
o
o
3
rt-
3'
c
a>
o.
•
•i-i
0<-
03
04

NO

MLAN
MAX

3.9 91
4.1 91

3

3.9
4.4

B.
B





 n>
 o.
 c
 n>
 70
 TJ
TJ
3
(O
o» *~*

>
-------
            STATE!   NORTH  CARULINA  (31)
                                              AQOHS-U AIR QUALITY DAT* REPORT
                                                          DISPLAY N>99«
PAGE
AUCRj   13*      AGENCYI    COUNTY .;;
CIIUUTYt 1780     PROJECTj   COMPLAINT INVESTIGATION
AHEAt   0003     PARAMETER! FORMALDEHYDE
SITE:   002      UNITSr     U-GHS/M3 (25DEG C.10I3 M-BAR3)
NEIDSVILLE HrtY., GREENSBORO, GUILFORO CO.
                                                                         COLLECTION METH*   GAS BUBBLER                 YEARt   1973
                                                                         ANALYSIS METHOD*   CHROMATROPIC ACID
                                                                         SAMPLING INTERVAL* COMPOSITE                   MIN DETt      .5
                                                                         SAROAD HETT        340003002G0413              UNITS  CODE I  01
                                                                         KEY-ll 3*136t7*Btt003002604C73 KEY-21 435029101  KEY-31 380122
            COMPOSITE  TYPt:   MONTHLY
8
1
ro

'
o
o
3
.^k
rr
_i.
3
n>
Q.
•

-o
n
(0
o.
c
m
g
*f%
*j
•a
ro
o
i
i
•a
3
i^^
tu
Ol
i

>
50,
tJ
1
— t
30
ru- i

01
02
03
04
OS
Ob
07
08
09
10
11
12
NO

MEAN
MAX









-o
a»

i-»
ai
o
KVinu

2.9
4.0
1.9
0.9
2. a
3.7
l.S
0.2
1.7
1.9
3.6
0.5
12

2.133
4.0















anm

22
42
30
30
30
30
50
30
30
30
22
42



















                          SAMPLES  TIME-CODE
         00

-------
   STATE!  NORTH CAROLINA  (34)
AQDHS-II AIR QUALITY DATA REPORT
            DISPLAY N>9997
  PACE
AQCR)   136      AGENCY!    COUNTY
COUNTY! 1780     PROJECT:   COMPLAINT INVESTIGATION
AREA!   0003     PARAMETER! FORMALDEHYDE
SITE!   002      UNITS!     U-GMS/M3 (25DEG C.1013 M-BARS)
REIDSVILLE HNY., GREENSBORO, GUILFORD CO.
                                                                COLLECTION  METHI   GAS BUBBLER
                                                                ANALYSIS METHOD!   CHROHATROPIC ACID
                                                                SAMPLING INTERVAL! COMPOSITE
                                                                SAROAD KEY!        340003002G0413
                                                              YEAR!  1973

                                                              M1N DETI
                                                              UNITS CODEl
                                                                KEY-l!  3413617B00003002G04C73 KEY-2I 435029101 KEY-31 4B0107
 .5
01
   COMPOSITE TYPE!  HEEKLY

   PD   RDING    SAMPLES  TIME-CODE
0
o
3
c+
•j*
c
m
a.
*

-o
<» 3
w 0
CD
a.
c
-*
a>
~»i
g
73
5
*5
O

I

TJ
3

7?
I
(/)
—1
50
01
02
03
04
05
06
07
08
09
10
1 ]
12
13
14
Ib
16
17
IB
19
20
21
22
23
24
2'j
26
27
2B
29
30
*~* 31
2? 32
(£3 33
fD 34
_,35
^J 36
_ 37
5,"
4.1
4.6
3.7
3.3
2.0
0.3
2.3
2.6
4.9
2.5







4.9















a. 9


7
7
7
7
7
7
7
7
7
7







9















6


CO

-------
        STATE!  NORTH CAHOL1NA  (34)                    AQDH8-II  AIR  QUALITY  DAfA. REPORT                                            PAGt    16
                                                                 DISPLAY N>9      COMPOSITE TYPEI   WEEKLY

5|      PD   RDING    SAMPLES   TIME-CODE

tN»      39

o
o
It
3
Q
n>
o.
•

"D
3
o
n>
o.
£j
n>

41
42
43
45
46
47
48
49
SO
51

NO

MEAN

MAX









4.9

13

3.462

4.9
 73

 i
 o
(Q
 2  ~
 3   5"
 > to
 ^  (D
 CO  00

 73  O


     l-«
     CO
                       II

-------
AQDHS-II TEST 7

produce a Master File Summary Report

     In this test run, a summary report of the AQDHS-II  master file is
generated using the cataloged procedure AQRPM30 which  executes ARPMSBR
(AQ0300), the master file summary report program.

     ARPMSBR (AQ0300) compacts the data from an input  AQDHS-II master file
into a report consisting of one line of information for  all  the records in
each site-parameter combination for one year.   Each line in  the listing
describes the particular data group in terms of the number,  the range,  and the
average values of its readings.

     The run stream for this test run contains the JCL necessary for
producing the master file summary report.  This run stream is shown in  Figure
AQT7-1.
     The cataloged procedure executed by this run stream is  AQRPM30. A
substitutable parameter is used to specify AQMST01N as the input AQDHS-II
master file.  Refer to Figure AQT7-2 for the sample output produced by  this
procedure.
                                       85

-------
//AQSTST07  JOB  RTI.C40.POZfl43,MCMA3TER,T=a,Psl50,FORMSxFFWHm
//*PROCLIB=RT1.C4«.P02069.MCMASTER.DPR.JCL
//*
//* GENERATE A SUMMARY REPORT FOR  AQM3T01N
//*
//TEST7A EXEC AQRPM30,
//             MSTRFIL=AQMST01N
//• BRIEFI-Y LJ5T THE CONTENTS OF  AQM3T01N
             Figure AQT7-1.   Run Stream
                          86

-------
                                        AQUH3-II MASTER FILE SUMMARY  REPOHI PROGRAM  -  01AGNOSTIC  REPORT                            PAGt
«a
|
-j
ro
 -a
 3
 n
 a.
 -•t
50
i
00
o
 I
(Q
i
30
-a
          I'kllGPA" I/AML: ARPMSBR  (A00300)
          REVISION LEVEL: 1-00
          LAST  UPDATE «:  in
          DA It  INLOKPOKATtD: OCTOBER  31,  1978
CD
    -a
    Ql
    (£3
    n>
    o
    -h
    (A)

-------
AIR QUALITY DAI A KEPOKT



T1
>«>
US
c
3
>
"3
— H
-J

ro
1
o
o
3
rf
3
C
n>
o.

00 ~Q
00 o
o
m
Q.

i
3>
.O
^n
**i*
"O
CO
O
1
XT
3
t£J
-s
"^
^> 0>
30 *Q
-o n>
to ro
CE7
5° S.
SITI -ki.r

l«04910R0000100IEl>21
l20b001400001003C011

?uinRoo"5oooioo4K038
mi t*» i Tnnnnn inAPPfmr
jM 1 jQ I fr'UUUU3vvCuv*fl*



34|6b2U00001002AUbA
3-1 Ifct2l 20000 1002A060

3ll69n'»bOUOOlOOlA062
34 1 6901(.uOOO 1 00 1 K 063
341 6909600001 00 1A064
341 6909b00001 00 !AOb5

31 169(10600001 00 1A066
3ftBuaoo2ooioo5i
39H000010t)4A06A

3'n7u2'^O^u30noi97AO'i2


YCAH

71
73

70
60
72
73
73

73
72
72
74
74
74
74

74
74

76
73

76
76
77
76
77
71
77
75
74
77

63


PARM-KtY

424011107
611025014

621012215
jivcnjol fit
43506? 101
435029101
435029101
612025128

426039907
435019202
621032217
112018109
21101719Q
421011105
421029105

424013302
426028207

424011107
426039907

111019101
424019101
111019101
424019L01
424049101
111019101
633011118
431021107
431021107
612022128

621012015


NUH OF
RDGS
712
24

37
1
7
29
1

10
4
2
48
96
72
48

36
24

168
12

79
29
44
112
81
32b
1392
1
168
12

00


HBH OF
NON-NULL HOGS
712
24

3
1
7
e?
i

i
4
1
48
9fr
72
48

36
24

155
12

14
5
28
19
16
93
1379
1
168
12

60


- TttTALS B* YEAR FOR EACH S1TE-PARAME1EH
M-tN

0.0000
2.0000

-1.2000.
2mn/i
. AUDV-
0.7000
0.200:0
-1.1000

0.0094
10.1000
-1.0000'
0.1 1000.
0.0100
0.0010s
o.aooi

0.1 00 Of
0»0100

0.0000
0.0021

6.0000
o.ooo.o-
0.0000
Qr^OOOO
0.000.0
7^ftoa»
0.0000
o.atoo
0.0000
-U0100

0.9000


MAX

2.4800
6.0000

-0.5000
2 in A A
. JQUO
4.6000
4.9000
-1.3000

0.0094
13.2000
-1.0000
4.5000
0.4500
0.0450
0.0042

i 4.21)00
0.4100

5840.0000
0.0999

124.0000
28.0000
96ft. 0000
1500.0000
9450.0000
177.0000
1.4400
0.0400
6.0000
1.1700

9902.0000


2ND
MAX
2.4800
5.0000

-1.1000
4.4000
4.9000
**********

**********
12.8000
**********
4.2000
0.4200
0.0420
0.0041

4,1000
0.4100

1.2000
0.0999

81.0000
0.0000
455.0000
21.6000
1500.0000
168.0000
1.4300
*.**.*******
5.0000
0.9000

9901.0000


GROUP
3RD
MAX
2.0100
5.0000

-1.2000
3.9000
4.9000
*****•*•**


11.9000
**********
4.2000
0.420.0
0.0410
0.0041

4.1000
0.3700

0.8550
0.0026

71.0000
0.0000
455.0000
3.8000
361.3000
113.0000
1.4200

**********
5.0000
0.7900

9900.0000


PAGf 1
MIAN

O.lbUHJ
3.331S*

-0.9JJS3
j in nn A
c * jUUUU
2.B42B6
3. 02«1
-------
  (Q
  e
  {2                                                    AKPMSRR (AQOSOO) SUMMARY  MESSAGES                                              PAGi

  I
  ro
  ,       INPUT  KICUHD cuuf.T                         331
         (lUfPHf LIHt lOUIIT*                          8fl
  O      IliIAL  NUHHER OF READINGS:                5,017
  3      1U1AL  liUMUtR OF HDN-HULL PtADINGSl
  c-t-      NIMi-«tULL RIAUINGS PERCENTAGE t
  »!•
  3

  n>
  a.
 -O     PhUCPAM l(AMt! ARPMSBH  (A00300)
 -I     PfcVISJOf. LEVtLs J-00
 2     LAST  uPOAft *i  a
-------
 AQDHS-II  TEST  8

 Produce an  Inventory of the Master File by Pollutant

      In this test  run, an  inventory by pollutant report is generated for an
 AQDHS-II  master file using the cataloged procedure AQRPM40.  This procedure
 executes  ASRMSTR (AQ0140), the master file sort program; and ARPINVP (AQ0290),
 the  inventory  by pollutant report program.

      ASRMSTR (AQ0140) can  sort an AQDHS-II master file into the various
 sequences required by the AQDHS-II report programs.
      These  sorting sequences are determined by the options specified on the
 option card.   The BATCH option is used when sorting batched retrieval answer
 files.  The PARM option sorts the master file by the parameter code, whereas,
 the SITE  and STAT options  sort the master file by the site code.  And, the
 STND  option sorts the file into the standard master file sequence.
      Beginning in card column 1, the word BATCH can be entered which would
 sort  a file created by the retrieval package using the BATCH option.  To
 specify either the PARM, SITE, STAT or STND option, the option word desired
 must  begin  in  card column 7 of the option card.  The remaining card columns
 must  contain blanks.  The  PARM, SITE, STAT or STND option can be used in
 conjunction with the BATCH option or without it.  The default value of STND
 will  be used to control the sorting sequence when an option card 1s not
 present in  the run stream.

     ARPINVP (AQ0290) is a report program designed to describe the contents of
 an AQDHS-II master file primarily by pollutant-related fields and secondarily '
 by site-related fields.  The input master file must be sorted by ASRMSTR
 (AQ0140)  using the PARM option.  The parameter and site files are used to
 supply the  parameter and the site descriptions for the report.  The report
 generated by this program produces a one-line summary for each group of
 records which have the same pollutant-related fields, site-related fields,
year, and time code.
                                      90

-------
     The run stream for this  test run  contains  the  JCL  necessary  for producing
an inventory of the master file by pollutant.   This run stream  is shown  in
Figure AQT8-1.
     The cataloged procedure  executed  by  this  run stream is AQRPM40.   Through
the use of substitutable parameters, the  input  master file is specified  as
AQMST01N (created and stored  on disk  in Test 5), the input parameter file is
specified as AQPARM01, (created and stored on  disk  in Test 1),  and the input
site file is specified as AQSITE01, (created and stored on disk in Test  2).
The user must supply the DD (data definition)  information for the option card
file.  Also, the option specified in the  SORT  step  must be FARM.   Refer  to
Figure AQT8-2 for the sample  output produced by this procedure.
                                        91

-------
//AQSTSTOB  JUB  RTI.CU«.P03«»a3,MCMA3TER»TBZ,P=150,FORMSsFFWHlTE
//*PROCLI6=RTI.C41.P02069.MCMASTEH.DPR.JCL
//*
//• PRODUCE AN INVENTORY BY POLLUTANT OF  AUMST01N
//*
//TEST8A EXEC AQRPMQO,
//             M5TRFIL«AQMSTOIM»
//             PARMFIL«AOPARH01»
//             SITEFIL»AQSITE01
//* RESORT THE MASTER FILE AND
//* GENERATE THE POLLUTANT INVENTORY
//*
//SORT. OPTION 00 *
      PARM
/*
              Figure AQT8-1.   Run Stream
                           92

-------
                                       AODHS-II MASTER flit  SORT PR06RAK  -  01A6NOSTIC REPORT                          PAGE
     ro
    -o

    3
    o
    (D
    Q.


    I
              PHPl.KAM liAMLl ASRMSTH  (AQ0140)

              HEVIMON UVLLS 1-00

              LAST  UPDATE *t 20

              DA1I  IMCUHPbKATlb: tirrdUER  Jl, 1978
     -a       SIlKT  tH'UOH SPECiriEOS        PARH

     Tl
     •J*


    (Q

     C


     2        NlIHDEI> OF  INPUT RECORDS READj           S3J

     m        UIHMCK Of  MASTER RtCUHDS MR 111 EN J       13J


     Ja       rillMKEH (If  UIAGNHST1C HtSSAGESt             0
t£*  «*T



    -o




    o
    •a

    3
    «a
    CO
    71


    CO
         -a
         01
         in
         a>
         o
         -b

         oo

-------
PMlll.UA'l  iiAItt :  ARPINVP  (AQ0290)
KEVISlllH  LLVCL: 1-00
LAS1 UPDATE  »:  24
l>A1t INUllRrOKATEOj OCTOBER 31, 1970
                                           A1P (1UAL11Y  I'ATA REPORT  -   INVENTORY UY  POLLUTANT
                                                                                                                                  PAC.l
e pui -MTU
2 CHOI
JO 1110191
CO

ro
, H?0|H|
0 2110171
O
;+ '1210111
13 <4j» | Uc*91
C
fl>
Q. '1210111
4240114
^ ~S 12"013S
f^
Q.
C
3

-0 U2&03-J9
^
•£> 0310211
^mj
1
1
-a 0(50142
-s
0 4350291
(Q
D»
j., n? 6110250
3D *&
TJ <* 61«>n?£|
Z N>
^Z
^ °
-h
OJ
*~*
POLLUTANT
NAME
1IITAL SUSPENDED PARTICIILATE



SOILING 1NOFX (COH/1000LF)
TOTAL SETTLED PARTICIPATE

CARBON MONOXIDE
CARBON DIOXIDE

SULFUR DIOX1DL
SULFUR DIOXIDE
SULFUR PIOXIDE
SULFUR DIOXIDE



NITROGEN UIOXIDE
OXIDES OF NITROGEN

MUNMl THANE HYDROCARBONS



ALDEHYDE

FURMALDFHYDE


HIND DIRECTION

LAPSfc HATE






5TATE-AQCR-CNTY-
AHEA-SITE CODES
3417029800001004

3718406000001234

3416909600001001
3416909600001001

3416909600001001
3416909600001001

1004910800001001
3417028800002001
3416909600001001
3417029800001004
3417104800001003


3416909600001001
3416621200001002
3417029800001004
3718630203000997



3416621200001002

34-13617800003002


1206001400001003

3718630203000997

3718630203000998


37 1 81.30203020996

AG-
PHJ
A06

F05

A06
A06

A06
A06

E02
DOS
A06
A06
A06


A06
A06
A06
AOS



A06

G04


cot

AOS

AOS


AOS

UJEfcnUN
NAME-
GUM BRANCH RO.,, JACKSONVILLE

MCALISTEH RD,., NORMAN, CLEVt

YADKIN RD,, FAYEfTEVILLE, CU
YADKIN RD., FAYETTEVILLE, CU

YADKIN RO., FAYETTEVILLE, CU
YADKIN RD., FAYETTEVILLE, CU

N.IOTH. *vfc., JACKSONVILLE:,
MRIGHTSV1LLE BEACH, NEW HAND
YADKIN RD.., FAYETTEVILLE, CU
GUM UKANCH RD,, JACKSONVILLE
BILTHORE ESTATES, ASHEVILLE,


YADKIN RD., FAYfcTTEVlLLE, CU
HhY. 301 BUS., SMITHFIELD, J
GUM' BRANCH RO.r JACKSONVILLE
TULSA PUBLIC HEALTH, TULSA,



HMY. 301 BUS,, SMITHFIELD, J

REIU8VILLE HHV., GREENSBORO,


HAIKIKI, HONOLULU, HONOLULU

TULS.A PUBLIC HEALTH, TULSA,

TULSA POST OFFICE, TULSA, III

I
SPEHRV* TULSA, TULSA co.

YFAR

1976
1977
1971

1974
1974

1974
1970

1971
1976
1974
1976
1976
1977

1974
1971
1973
1975
1974
1977

1972

I960
1972
197S
1973

1977
1963
1963
1965

1963
1965
TIME
CODE
a
B
8

2
3

4
5

1
1
6
B
8
8

7
A
A
C
1
2

B

C
C
C
1

1
8
B
8
9
B
B
UNIT
CODE
01
01
01

09
90

OS
OS

07
07
02
01
01
01

07
07
07
07
07
07

02

01
01
01
14

28
28
28
28
28
28
28
NUM
(IBS
14
28
93

48
96

72
48

712
155
36
5
19
16

24
1
12
1
16B
1

4

1
7
29
24

12
2
4
18
5
4
18
MIN
OBS
6.000
.1)000
7.000

.1000
.0100

.0010
.0001

.0000
.0000
.1000
.0000
.0000
.0000

.0100
.0094
.0021
.0400
.0000
.9800

10.10

2.300
.7000
.2000
2.000

-1.010
.9555
lll.l
.0020
.0023
51.00
.0027
MAX
OBS
124.0
964.0
177.0

4.500
.4500

.0450
.0042

2.480
5840.
4.200
2H.OO
1500.
9450.

.4100
.0094
.0999
.0400
6.000
.9800

13.20

2.300
4.600
4.900
6.000

1.170
922<2
112.4
57.00
23.00
51.10
500.0
ARITH
MEAN
53.H2
400.64
51./9S

1.645H
.16875

,01605
.00149

.15087
37.736
1.5000
5.6000
80.731
711.01

.14083
,00940
.01865
.04000
1.6682
.98000

12.000

2.3000
2.B42H
3.0241
J.iiii

.25416
461.57
112.02
6.1731
5.0655
51.025
41,798

-------
                                                                  ARPINVP U00290) SUMMARY MESSAGES
                                                                                                                                              PAGE
                INI'Uf KLCURD COUNT:
                tlUlP'JT LINE COUNT:
                                    331
                                     06
                PKOr.KAM KAMI.:  ARPINVP (AH0290)
                HEVJSIUN LEVtL!  1-00
                LAST UPDATE *: 2V
                DATE INCORPORATED!  OCTOBER 31, l"»Te
      00
      ro
      O
      O
VO
01
O
O
re
Q.
      .pt
      o
      T3
      3
      (O
      3
      3   T7
      t»  »
      |  *
      S  w
      S  o
          OJ

-------
 AQDHS-II  TEST  9

 Produce an  Inventory of the Master File by Site

      In this test  run, an  inventory by site report is generated for an
 AQDHS-II  master  file using the cataloged procedure AQRPM35.  This procedure
 executes  ASRMSTR (AQ0140), the master file sort program; and ARPINVS (AQ0280),
 the  inventory  by site report program.

     ASRMSTR (AQ00140) was used in Test 8 to sort the master file using the
 FARM option.   In this test run, however, the SITE option must be used to sort
 the master  file.  Refer to Test 8 for a description of ASRMSTR (AQ0140).

     ARPINVS (AQ0280) is a report program designed to describe the contents of
 an AQDHS-II master file primarily by site-related fields and secondarily by
 pollutant-related fields.  The jnput master file must be sorted by ASRMSTR
 (AQ0140)  using the SITE option.  The parameter and site files are used to
 supply the  parameter and site descriptions for the report.  The report
 generated by this program produces a one-line summary for each group of
 records which  have the same site-related fields, pollutant-related fields,
year, and time code.

     The  run stream for this test run contains the JCL necessary for producing
an inventory of  the master file by site.  This run stream is shown in Figure
AQT9-1.
     The cataloged procedure executed by the run stream is AQRPM35.   Through
the use of substitutable parameters, the input master file is specified as
AQMST01N  (created and stored on disk in Test 5), the input parameter file 1s
specifed as AQPARM01 (created and stored on disk in Test 1), and the input
site file  is specified as AQSITE01 (created and stored on disk in Test 2).
The user must supply the DD (data definition) information for the option card
file.   Also, the option specified in the SORT step must be SITE.   Refer to
Figure AQT9-2 for the sample output produced by this procedure.
                                      96

-------
//AQSTST09  JOB  f»TI,C
-------
                                        -n  MASTER FILE SU»T PROGRAM  -  DIAGNOSTIC UDPOHT                         i-Acr
          PHOGPAM NAME) ASRMSTR  (AQ0140)
    -_     REVISION LEVEL! 1-00
    _i!     LAST UPDATE #1 24
   U3     DATE INCORPORATEDI OCTOBER  31,  1"78
          SORT OPTION SPECIFIED:        SlTt
          NtlMUER OF INPUT RECORDS READ]            331
          NUMBER OF MASTER RECORDS WRITTEN:        33J
          NUMUER OF DIAGNOSTIC MESSAGES!             0
    O
    n>
    Q.
    c
    CD
    73
    -a
vo  co
oo  in
    i
    i
    •a
    Ol
    CD  Q>
    3  ^O

    °~ m
    70
    M 5»  PKOGRAM NAME] ARP1NVS
    Z     REVISION LEVEL!  1-00
    5; £,  LAST UPDATE' »I 20
           DATE IMCtlRPORATCDt OCTOBER 31,
                                              AODHS-II  INvrNTORV HV SITE RtPORT (P«1CT*M  -  DIAGNOSTIC RLPORf              I'AGE

-------
vo
              STATE:
37
AOCRl   186
                                                     AIR QUALITY DATA REPORT   -   INVENTORY  BY  SITE
                                               CUUNTY:   3020
                                                                                                     PAGE.
                                                                                                             II
AREA AGENCY LOCATION
-r, SITE PROJ NAME
%
S 2260995 AOS SKIATOOK LAKE, TULSA, TULSA CO
> 3000997 AOS SKIATOOK LAKE* TULSA, TULSA CO
•£3
IO

ro
i

o
o
rt- 300099R AOS SMATOOK LAKE, TULSA, TULSA CO
— i.
Z3
n>
Q- 3020996 AOS SKIATOOK LAKE, TULSA, TULSA CO
.

~a
2 S1Q0992 AOS SKIATOOK LAKE, TULSA, 1ULSA CO
O
(D
Q.
^ 3140994 AOS SKIATOOK LAKE, TULSA, TULSA CO
CD

3>
XD
70
CO
cn
i
i
•a
3
to
-t
01

"-a
3» O)
;o 
z ro
CO O
POLLUTANT
NAMfc
SOLAR RADIATION
NUNMETHANE HYDROCARBONS


LAPSE RATE

TEMPERATURE

DEM POINT
LAPSE RATE



LAPSE RATE


LAPSE RATE


LAPSE RATE

SOLAR RADIATION

















PUL-MTH
CODE
6330111
1310211


6120221

6210120

6210320
6120221



6120221


6120221


6120221

6330111

















UN
CD
16
07


2R

IS

IS
2R



28


28


28

18

















TM
cn
i
c
i
2
1
R
2
A
R
D
R
9

B
R
9
H
H
9

B
8
9
1

















YtAH
1977
197S
1971
1977
1977
1963
1963
1963
19b3
1963
1^65
1965

1963
1965
1965
1963
1965
1965

1963
1965
1965
1977

















NUM
DBS
1379
1
168
1
12
2
60
2
2
a
18
5

4
1R
5
q
IP
5

a
IB
5
12'IO

















Ml
OH
0.
0.
0.
0.
-1.
0.
0.
93.
9.
111.
0.
0.

SI.
0.
0.
-2.
-56.
-56.

-1.
-SO.
-9.
0.

















N
IS
0000
otoo
0000
9800
0100
955S
9000
3300
uuqn
1000
0020
0023

0000
0027
0500
0000
0000
0000

8000
0000
0000
0000

















MAX
UBS
I.O'IOO
o.oaiiQ
(..0000
0.9HOO
1.1700
922.2000
9902.0000
9666.0000
9111.0000
112.4000
57.0000
21.0000

51.1000
soo.oooo
500.0000
0.0000
-0.0008
-0.0056

-1.7000
-0.0009
-0.0009
1.3300

















AH
M
0
0
1
0
0
161
2)16
4«79
Q560
112
6
5

51
«1
110
-1
-«
-12

-1
-6
-1
0

















IIII
f AN
.^R23
.nnoo
.6687
.9800
.2501
.5777
.7010
.6650
.2220
.0250
.1731
.0655

.0250
.7980
.1200
.0000
.6922
.33)4

. 7750
.4R15
.9821
.2762


















-------
                                                    AHC1UV3  (A0fl?90)  SUMMARY MK83*OtS                                       I'M.I
            Nunnr.R OF INPUT  RtcoHDsi         331
            NUMIIER OF ABORT  MESSAGES|          0
     -*•     PROGRAM NAME I  ARPINVS
     "9     REVISION LEVEL I   1-00
     5     LAST UPDATE  *> aq
     TO     PATt INCORPORATED!  OCTOBER 31, 1978


     I
     to

     no
     O
     O
     (0
     Q.
     •o

§   9
     n>
     o.
     c
     3

     JO


     CO
     (Q

     Ol


     f,   Q,
     73   IQ
     -O   (D
     i—i
     Z   CO

     CO   O
          -h

          CO

-------
AQDHS-II TEST 10

Generate a Statistical  Analysis  Report  from the Master File

     In this test run,  the AQDHS-II  master file is  sorted  using the  cataloged
procedure AQSRM10 which executes ASRMSTR  (AQ0140),  the master  file sort
program.  The cataloged procedure AQRPM10 is  then used to  perform a
statistical analysis of the master  file by executing ASTPRLM (AQ0190), the
preliminary statistics  program;  ASTMSST (AQ0200), the statistical analysis
program; and ARPMSST (AQ0270), the  statistical report program.

     Before a statistical analysis  report can be  produced, the input master
file must be sorted by  ASRMSTR  (AQ0140) using the STAT option  if the file
contains data from more than one calendar year.  Otherwise, the master file
does not require sorting.  ASRMSTR  (AQ0140) was used  in  Test 8 to sort the
master file using the PARM option.   In  this test  run, however,  the STAT option
must be used to sort the master file.   Refer  to Test 8 for a description of
ASRMSTR (AQ0140).

     ASTPRLM (AQ0190) performs  several  statistical  computations using the
sorted master file and the parameter file as  input.  The results  of these
computations are passed to ASTMSST (AQ0200)  via  the preliminary statistics
file.  The readings from the input master file are passed to ASTMSST (AQ0200)
via the raw data file.   Both of these files  are  FORTRAN-compatible files.
     The options in ASTPRLM (AQ0190) are used to specify whether the
statistical analysis is done by month,  quarter,  year or for the total time
period.  When the TOTAL option  is specified on the option card, the data are
grouped by site key and parameter key.   The statistical analysis is perfomed
based on all the readings reported for each site and parameter key
combination.  If the MONTH, QUARTER, or YEAR option is specified, the data are
further grouped by month, quarter, or year, respectively.  Also,  the
statistical analysis is  performed based on all the readings reported for a
site and parameter key combination during each month, quarter, or year.
                                     101

-------
       The  option  specified must begin in card column 1 of the option card.
 This  option  affects  not only ASTPRLM (AQ0190), but also ASTMSST (AQ0200) and
 ARPMSST  (AQ0270).  The TOTAL option is the default value when the option card
 is  blank or  when  there is no option card in the run stream.  If an invalid
 option is  used, the  execution of ASTPRLM (AQ0190) will be aborted.

      ASTMSST (AQ0200) performs a statistical analysis using the two files
 created  by ASTPRLM (AQ0190), the preliminary statistics file and the raw data
 file.  The statistics computed by ASTPRLM (AQ0190) and ASTMSST (AQ0200) are
 passed to ARPMSST (AQ0270) in a temporary file refered to as the statistics
 file.  ASTMSST  (AQ0200) is coded in ANS FORTRAN.  Notice that the option
 specified  for ASTPRLM (AQ0190) is also in effect for this program.

      ARPMSST (AQ0270) prints the statistical analysis report which contains
 the results  of  the statistical analysis performed by ASTPRLM (AQ0190) and
 ASTMSST  (AQOEDD).
      The primary  input file to ARPMSST (AQ0270) is the temporary statistics
 file.  The site and  parameter files are also required as input since prose
 descriptions of the  sites and parameters are included in the output report.
      The option specified for ASTPRLM (AQ0190) is also in effect in this
 program, however, additional options are used to specify the maximum number of
 lines  to be  printed  per report page and whether or not a full page break will
 occur  between one site and the next in the report.  In order to have a full
 page  break, the word FULL must begin in card column 1 of the option card.  If
 the word BRIEF begins in card column 1, only a brief break between sites will
 occur.  The maximum  number of lines to be printed per report page can be
 specified by entering a two-digit numeric value beginning in card column 7.
 The default values of FULL and 64 will be used to control printing when the
 options specified are invalid or when an option card is not present in the run
 stream.
     The statistical  analysis report contains the statistics for each time
period (either month, quarter, year, or total time period, depending on the
 option specified  in ASTPRLM (AQ0190)) within a given site and parameter key
combination on one line.   The statistics listed for each group of data are
provided below:
                                    102

-------
          Percent of possible observations  (readings) recorded for the time
            period;
          Number of observations;
          10th,  30th, 50th,  70th,  90th,  95th, and  99th  percentiles;
          Arithmetic mean;
          Arithmetic standard deviation;
          Geometric mean;
          Geometric standard deviation;
          Maximum reading;
          Second maximum reading,
          Third maximum reading;
          Minimum reading;  and
          Minimum detectable value.
     The format of the statistical  analysis report depends  on whether the
MONTH, QUARTER,  YEAR, or TOTAL option  is specified for  ASTPRLM (AQ0190).  The
output from this test run shows the report  when the MONTH option  is  in effect.
The reports resulting from the QUARTER,  YEAR, or TOTAL  option are shown  in Ad
Hoc Tests 6, 8,  and 12, respectively.

     The run stream for this test run  contains  the JCL  necessary  for obtaining
a statistical analysis of the master file.   This run stream is  shown in  Figure
AQT10-1.
     First, the run stream executes the cataloged  procedure AQSRM10.
Substitutable parameters are used to specify AQMST01N as the input master file
(created and stored in Test 5) and AQMST01S as  the sorted master file.   The
user must supply the DD (data definition) information for the option card
file.  The option specified in the SORT step of this test run is the STAT
option.  Refer to Figure AQT10-2 for the sample output produced by this
procedure.
     Next, the run  stream executes the cataloged procedure AQRPM10.  Through
the use of substitutable parameters, the input master file is specified as
AQMST01S (sorted in the first  procedure of this run stream), the input
parameter file is specified as AQPARM01  (created and stored on disk in Test
1), and the  input site file  is specified as AQSITE01 (created and stored on
disk in Test 2).  The  user must supply the DD  information for the option card
file in both the PRELIM and the PRINTS steps.  The  statistical analysis option
                                     103

-------
specified in the PRELIM step of this test run  is  MONTH  and  the  report  options
specified in the PRINTS step are FULL and 55.   Figure AQT10-3 shows  the  sample
output produced by this procedure.
     It should be noted that the cataloged procedure AQSRM10 will create the
sorted master file with a disposition of 'NEW,PASS1, causing this file to  be
passed to the subsequent job steps  but also causing the sorted  master  file to
be deleted at the conclusion of the job.
                                    104

-------
//AQSTST10  JIIH  RTI.CQ
-------
                                    AODH3-U  MASTER FILL sum PROGRAM  -   DIAGNOSTIC REPORT                          PAGE
o
en
            F'KtlGHAM IIAMt: ASKHSTK  (AQ0140)

            KtvlSIO'l LEVEL:  1-00
            LAST UPDATE *: f.n

            DATL HC.UPPURATED: UCIODER  31.  1978
       31   Sinn uprun spcciuro:        STAT
      ua
            fli.iMMEH nf INPUT HECURDS  READj            351
       3>   NiinntR 01- MASTER RtCrjIIOS rtRITTEN:       331
      ^   MJMIIf.l! UF lilAGHUSTIC  MESSAGES!             0

       >-»
       O

       ro
       o
       (D
       O.
      £
      CO
      3
      
-------
                                  AQDHS-II PRELIMINARY STATISTICS PROGRAM  •  OIA6NOSTIC REPORT                         PAGE.
 3>      »'Hin;p.AM HAME:  ASTPKLM (Auoi9o>
 o'      "I.VISIHH LEVEL:  i-oo
 C      I AST UPDATE  »:  ?      nijimtM OF  MASTEK FILE RECORDS  READ:                          33$
         f|HMPE> OF  MASTER FILE RECORDS  HI1H COMPOSITE DATA:           39
         NUI'HKU I'f  STATISTICS RAVI DATA  FILE RECORDS WRITTEN:         627
 P      MH1HEK OF  PPfcLIHINARY STATISTICS  FILE RECORDS WRITTEN:       7fl
 3      NUMIifK UF  DIAGNOSTIC MESSAGES:                                 1
 O
 n>
 o.
 c

 0>
 o

 I
 I



1
(O

 01



 CO
 :ij                                    AOOMS-II STATISTICAL ANALYSIS PROGRAM  -  DIAGNOSTIC REPORT                                PAGE 1

 r~  -*»  CKUGRAM NAME: ASTMSST (A00200)
    "2   PIVlSKlN LEVEL: I-OO
 Ol   (S   LAST  UH'*TE *: iU
 3   fl>   OAT I.  1NLUKPUKATLO: OCTOBER 31« |97B
 Q.


CO  O
H  -h
^  .j   Nlllt|«(K  Of  STATISTICS RArl DATA FILE RECORDS  HEAD:         627
J/j  ^   miMHfK  m  rRELlMINAHY STATISTICS FILE RECORDS  READ:       10
—I       NU'HiEP  UF  STATISTICS FILE RECORDS HHITTtN:               216

-------
I'Kilbl'AM-dAME: AkT'lDoI
I'Lvision LtvtL:  i-oo
   AUDMS-I1 STATISTICAL  ANALYSIS REPORT PROGHAM


(AU0270)
                                                                         -  01AGNOSHC  RLPUR1
                                                                                                                         PAU
in
c
3
3
0
•3 - continued. P
3
o 2
§ 2.
c
k n «J 1 I.'II"«II. f" i c •*
l>ATl. INCumiHAIED: UCTUUFK 31, 1978
PRINT i:,l. HIM IONS CMUKlfi ARl FULL SITE BREAK AMD 55 LINES PER I'AGL
SITt U'dE: 3'1-OP01-00'»-A-06
At.E'ltY/PROJLCri A06
PliLL'ITAllT NA»:t

Pt!LLUTA!ll-rlCIMQD-IIHERVAL-UNITS
PCT NOR
YR/-UIII i)HS OliS
Hn MIN
DETEC DBS
» 1UTAL SUSPENDED PAHTICULATE
^
_Q
73
-o
H- «
O
1
I

•O
3
-s
0>
>
5? 'S*
*^C Q)
CO IQ
CO fD
ro

0
""*>
CO
***•

1U01-91-R-OI
/ti/IO 16.1 . 5
71./11 13..3 4
Jb/\S 16.1 'j
7/VOI 12.9 4
77/02 85.1 ^U


SULFUR I'llMlI'L
4c'«OI-«M-H-Ol
70/07 16.1 ':

uxii'tr. MF 'iiiRnr.t.ri
7V01 100.0 .
73/02 100.0
73/03 100.0
73/04 ll>0. 0
73/05 100.0
fi/06 1UO.O
73/07 100.0
73/08 100.0
73/09 lf-0.0
73/10 100.0
73/11 100.0
73/12 100.0

.000 31.00
.000 6.000
.000 30.00
.000 0.0
.000 65.00


AQDHS-II STATISTICAL ANALYSIS REPORT I'AGE
ANALYSIS BY MONTH
STATE (34): NORTH CAROLINA
AULNCY TYPE: EPA - ATMOSPHERIC SURVEILLANCE cauNiY(29Bo>
SITt ADDRr GUW BRANCH RO., JACKSONVILLE, ONSLOM CO.
METHOD Of COLLECTION AND ANALYSIS
CODE
PERCENT ILES
10 30 50 70 90 95 99
Hl-VOL - GRAVIMETRIC

31. 43. 4br 62. 63. 63. 63.
6. 39. 39. 62. 124. 124. 124.
30. 34. 53. 71. 81. 81. 81.
0. 25. 25. 35. 964. 964. 96«.
455. 455. 455. 455. 455. 455. 455.


INTERVAL UNITS

MAX
DBS

i
63.00
124.0
81.00
964.. 0
455.0



2ND
MAX


62.00
62.00
71.00
35.00
455.0


bAS BUBBLER - PARAROSANILINE-SULFAM1C

5.000 0.0


0. 0. 0. 0. 28. 28. 28.


28.00


0.0

GAS HUUHLER - SALTZMAN METHOD
U.,002 0.002
0.002 0.002
0.002 0.099
0.002 0.002
0.002 0.002
0.002 0.002
0.002 0.099
0.002 0.002
0.002 0.002
0.002 0.002
0.002 O.OQ2
O.C02 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0,002
0.099 0.099 0.099 0.099 0.099 0.099 0.4*9
0.002 0.002 0,002 0.002 0.002 0.002 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
0.099 0.0.99 0.099 0.099 0.099 0.099 0.099
0.002 0.002 0.002 0.002 0.002 0.002 0,002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
b.002 0.002 0.002 0.002 0.002 0.002 0.002
0.002 0.002 0.002 0.002 0.002 0.002 0.002
0.002
0.002
0.099
0.002
0.002
0.002
0.099
0.002
0.002
0.002
0.002
0.002
N/A
N/A
H/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
H/A
N/A

3RD
MAX
DAILY

45.00
39.00
53.00
25.00
455.0


DAILY

0.0

MONTHLY
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A

ARIT
MtAN

ARIT
ST DtV
U-GM3/M3

48. 80
57.75
53.80
256.0
424.7



13.60
49.78
22.33
472.2
10^.7


U-GM3/M3

5.600


12.52

PARTS PER
0.002
0.002
0.099
0.002
0.002
0.002
0.099
0.002
0.002
0.002
0.002
0.002
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0

GtOM
MtAN
(25DEG C

47.i'0
36.62
49.94
?S.'IH
yn-.i


(25 Dlf,

U.053

MILLION
0.001
0.001
0.099
0.001
0.001
0.001
0.099
0.001
0.001
0.001
0.001
0.001

GtUM
ST DFV
7
TP'ES
HALF
f OtT
SDH
,1013 M-ntHS)

1.341
3.b55
l.SSU
<*?. 1 II
1 .i.'l'l


C,I01J

2.94b


0
1)
0
1
II


M-BAHS

4

(VOL /VOL)
.000
.000
.000
.000
.000
.000
.000
.000
.000
.000.
.000
.000













-------
                                                           AKPMSST (AU0200)  SUMMARY MESSAGES                                               PAGE
      _              Of JfirUT  KtCOHOSi                 216

     
     o.
     •a
o   o
10   n>
     CL
     c

     n>
     •a

     3
     U3

     3  5*
     3  *
         U3
     3>  «>

-------
 AQDHS-II  TEST  11

 Screen  the Master File for Anomalous Data

      In this test run, the AQDHS-II master file is screened for anomalous data
 using the cataloged procedure AQRPM45.  This procedure executes ACVANOM
 (AQ0040), the  anomaly screening master file conversion program; and ARPANOM
 (AQ0320), the  anomaly screening report program.

     ACVANOM (AQ0040) is the first of two programs used to screen the AQDHS-II
 master  file for readings that are anomalous and, therefore, potentially in
 error.  This screening of the master file is accomplished by subjecting the
 readings  in the file to various anomaly screening tests.  Presently, only
 non-null  readings which fall into one of the categories listed in Figure
 AQT11-1 are screened for anomalous data.  The non-null hourly readings Which
 conform to one of the categories described above are subjected to the gap test
 by ACVANOM (AQ0040).  All other anomaly screening tests are performed by
 ARPANOM (AQ0320).
     The AQDHS-II parameter file is used by ACVANOM (AQ0040) to supply the
 standard  units for the parameters to be screened.  It is essential that the
 input parameter file contain the correct standard units for each parameter or
 the results of the anomaly screening tests will be invalid*
     The  options in this program are used to specify the kinds of daily data
 to be included in the temporary file passed on to ARPANOM (AQ0320).  This
 option  also affects the Shewhart test which is performed by ARPANOM (AQ0320).
 When the NO FLAG LOW option is specified on the option card, the Shewhart test
 can only identify unusually high daily data.  Whereas, unusually high or low
 daily data can be identified when the FLAG LOW option appears.on the option
card.   Use of the FLAG LOW option is not recom-mended for general purposes.
The option specified must begin in card column 1 of the option card.  The NO
FLAG LOW option is the default value when the option card is blank or when an
option card is not present in the run stream.
                                    110

-------
     The output master file differs  from the  input master file  only  in  the
values of the status flags for the records  and  individual  readings.  The
status flags enable the anomaly screening programs to  perform the  anomaly
screening tests only on data that has  not been  previously  screened.  It is
important to note that the actual readings  in the master file remain
unchanged. The user must decide whether the readings in  the anomaly  screening
report should be changed in the master file.
     A temporary file is produced by ACVANOM  (AQ0040)  containing readings from
the master file which fulfill certain  requirements for data that is  to  be
screened.  This file is FORTRAN-compatible.

     ARPANOM (AQ0320) is the second program used to  screen theAQDHS-II master
file for readings that are anomalous.   This program  subjects all the data  in
the temporary file passed from ACVANOM (AQ0040) to the appropriate anomaly
screening tests.  Hourly readings are  subjected to the pattern  tests (maximum
value test, adjacent hourly difference test,  spike test, and modified  Dixon
ratio test) and daily readings are subjected  to the  Shewhart test.
     The anomaly screening report for  hourly  readings  identifies  hourly
readings that fail one or more anomaly screening test  and are thereby  judged
anomalous.  The report also includes the key  information required  for columns
1 through 32 of the AQDHS-II master file transactions  necessary to change the
readings identified as anomalous.  And, for all but  gap  test failures, the
report includes the readings (in their original format)  from each master file
record containing anomalous data.  Beneath  each reading judged anomalous by
either the maximum value test, the adjacent hourly  difference test,  or the
spike test, letters are printed representing the particular tests which
failed.  An 'M' is printed for a maximum value test failure, an 'A1  is  printed
for an adjacent hourly difference test failure, and an  'S' is printed  for a
spike test failure.  Dixon ratio test failures are indicated to the right of
the day  in which the anomalous readings were found and  the gap test failures
are indicated to the right of the month in which the anomalous readings were
found.
                                    Ill

-------
      The anomaly  screening report for daily readings identifies the daily
 readings that  fail  the Shewhart test and are thereby judged anomalous.  This
 report  also  includes the key information required for columns 1 through 32 of
 the AQDHS-II master file transactions necessary to change the readings
 identified as  anomalous, as well as the readings (in their original format)
 from  each master mfile record containing anomalous data.
      The skeleton transactions produced by ARPANOM (AQ0320) may be used in
 creating AQDHS-II master file transactions to change any erroneous readings 1n
 the master file.  One skeleton transaction will be included for each master
 file  record determined to contain one or more anomalous readings.  Only
 columns  1 through 32 and column 80 of the skeleton transaction are filled in.
 Entries  which  cannot be determined by ARPANOM (AQ0320) are represented by
 question marks.
      Data that fails any of the anomaly screening tests should be verified.
 Readings found to be in error should be corrected using the skeleton
 transactions to Update the master4 file.   Any question marks on the skeleton
 transactions must be replaced by the appropriate information for that field
 (e.g., day, start hour, and/or decimal code),  the correct reading should be
 entered  in the appropriate position within columns 33 through 36 for daily
 readings (Form-2 transactions) or within columns 33 through 64 for hourly
 readings (Form-1 transactions).  See Figure AQT5-1 for the master file
 transaction formats.  It is recommended that when the user sends the SAROAD
 tape to  the Regional Office,  an indication be made of the readings which have
 been flagged as anomalous and then found to be correct.

     The run stream for this test run contains the JCL necessary for screening
the master file for anomalous data.   This run stream is shown in Figure
AQT11-2.
     The cataloged procedure executed by this run stream is AQRPM45.  Through
 the use  of substitutable parameters, the input master file is specified as
AQMST01N (created and stored on disk in Test 5), the input parameter file is
specified as AQPARM01 (created and stored on disk in Test 1), and the output
master file is named AQMST01V.  The user must supply the DD (data definition)
 information for the option card file.  The option specified in the CONVERT
 step of this test run is NO FLAG LOW.  In this test run, the skeleton
                                    112

-------
transaction file is printed for verification  purposes.  However, the user will
typically write this file to cards  or  disk  in order to more easily add
information to the transactions.  The  cataloged procedure AQRPM45 is designed
to write the file to disk, so in order to write the file to cards, the user
must supply the appropriate DD information  for the skeleton transaction file.
Refer to Figure AQT11-3 for the sample output produced by this procedure.
                                     113

-------
Pollutant
Sampling   Parameter     AQDHS-II
Interval     Code        Time Code
Total Suspended Particulate   Daily
Carbon Monoxide
Sulfur Dioxide
Sulfur Dioxide
Nitrogen Dioxide
Nitrogen Dioxide
Total Oxidants
Ozone
 Hourly
 Hourly
 Daily
 Hourly
 Daily
 Hourly
 Hourly
11101
42101
42401
42401
42602
42602
44101
44201
8
1
1
8
1
8
1
1
Figure AQT11-1.  Categories of Data Subjected to Anomaly Screening Tests
                                 114

-------
//AQSTSTll  JOB  RTI.C««.P02443»MCMASTER»T»2,Psl50,FORMS»FFWHITE
//«PROCLlB=RTI.C40.P02069.MCM»STtR.DPR.JCL
//KILL EXEC PGMsIEFBRlfl
//DD1 DD DSNsRTI.Ca4.P020b9.MCMA3TER.DPH.DATA.AQMSTOIV*
// DISPB(OLD,DELETE)
//*
//« SCREEN THE MASTER FILE*  AQMST01N, FOR ANOMALOUS DATA
//*
//TEST 11A EXEC AQRPM05,
//             OLDMSTR=AQH3TOIN,
//             PARMFIL»AQPARM01r
//             NEHMSTRsAQMSTOlV.
//             UNITU3330,
//             UNIT2»JJ30,
//             PRll«t,
//             SEC1*1,
//             PRI2«1,
//             SEC2»1,
//             PRI3«1,
//             SEC3«1
//*
//* PRODUCE FORTRAN-COMPATIBLE FILE,
//* PRODUCE ANOMALY SCREENING REPORT
//*
//CONVERT.OPTIONS DD *
NO FLAG LON
/*
//REPORT.FT10F001 DD SY30UT»A
                  Figure AQT11-2.   Run Stream

                                115

-------
                            AUDHS-I1  ANOMALY SCREENING  MASTER  FILE  CUNVtRSIUN  PROGRAM   .   DIAGNOSTIC  REPORT                      PAGE


TI
Jf('     PROGRAM NAME: ACVANUH  (AQ0040)
C     REVISION LEVEL:  1-00
3     LAST UPDATE «: 24
™     DATE INCORPORATED: OCTOBER 31,  1978

O     OPTION IN EFFECT: NU LOW 3HEWHART  TEST
I—»

r
CO     «•« ACVANOM 007  CONDITIONAL -  READING(S)  >   9999.9999 IN  STD UNITS,  SCREENING NOT  PERFORMED C34000200100Sl-7b0303-42«Oil407)
•

-O     NUMBER OF MASTER FILt  RECORDS  READ]                                     331
2     NUMUEH OF MASTER FILE  RECORDS  WRITTEN:                                  331
9     NUMBER OF MASTER FILE  RECORDS  CONTAINING  DATA  TO BE  SCREENED:           52
(0     NUMBER OF RECORDS PASSED TO PROGRAM  AHPANOMl                            83
QL     NUMBER OF ABORT  MESSAGES:                                                 0
£     NUMBER OF CONDITIONAL  MESSAGES:                                           1
                                            AUDHS-11 ANOMALY SCKEENING REPORT PHUGRAH  *  DIAGNOSTIC REPORT                  HAGE 1



         PKOGKAH NAME; ARPANOM (AQ0320)
         REVISION LtVEL:  1-00
         LAST  UPDATE «: 24
         INCORPORATED! OCTOBER 31,  1978

         OPTION IN EFFECT: Nil LOW SHCHHART TEST
 Dl
 3  •—
 °-  i?  NUMBER OF INPUT RECORDS:                                       83
 -c, 3i   NUMBER UF INPUT RECORDS CONTAINING HOURLY DATA;                51
 po  (D   NUMBER OF INPUT RECORDS CONTAINING DAILY DATA;                 29
 3JJ      NUMBER OF INPUT HEADER RECORDS:                                 2
 ^  '-'  NUMBER OF INPUT TRAILER RECORDS!                                1
 O  O   NUMBER OF TIMES MAXIMUM VALUE TEST FAILED:                     BO
 2  -h  NUMBER OF TIMES ADJACENT HOURLY DIFFERENCE TEST FAILED]        31
     ,.   NUMHEH OF TIMES SPIKE TEST FAILED!                              9
    ^  NUMBER OF TIMES DIXON RATIO TEST FAlLLDt                        3
         NUMBER OF TIMES GAP TEST FAILED!                                3
         NUMBER OF TIMES SHEHHART TEST FAILtDj                           5
         NUMBER OF OUTPUT SKELETON TRANSACTIONS!                        19

-------
                                                   AUDHS-II ANOMALY SCREENING KEPOHT  F'JH DAILY KLAOIMGS
                                                                                                                                           PAGt
     10

     i
     o
     o
      3

      fl>
      a.
      -a
i-1    -$
I-1    O
•-J    o
      (D
      a.
0 00 0000 001 1 11 1 11 11 12 22 22222 22 33 3
1 23 4567 B90 1 23 4 56 76 90 12 34567 89 01 2
2-34-0001-004-A-06-B-77-01-**-00-l 110 1-91 -01-«
2-3
      i  rv>
      i  P

-------
                                                 AUUMS-II ANOMALY SCREENING RtPOKT FOR ttQUALY  HEADINGS
                                                                                                                                        PAGE
00
~n
to'


^«
*3
*-•
I
to
1

o
o
f+
-J*
c
(D
CL
*
-D
O
fl>
CL
c
(D
3»
;O
73
2
171
1
'

S
(Q
eu

-j.,
73
•o
0 00 0000 001 I 11 1 11 11 12 22 22222 22 33 3
1 23 4567 890 I 23 0 56 76 90 12 34567 89 01 2

l-34-000
-------
       1100001001E02l710(>Ob7?4240lll07?                                               3
       II00001001E02171060677424011107?                                               3
       1100001 OOU021710607774240111077                                               3
       1I00001001E02171062177424011107?                                               3
       1100001001E02171062277424011107?                                               3
       110000100lt0217106????4240111077                                               3
       1340002001D05176010S77424011407?                                               3
       1340002001005176010677424011407?                                               3
       1340002001005176017777424011407?                                               3
       1J40002001D05176022377M24011407?                                               3
       1340002001005176022477424011407?                                               3
       1340002001005176030177424011407?                                               3
       134000200100S176030277424011407?                                               3
       1340002001D05176037777424011407?                                               3
       2340001004AOb87701??00111019101?                                               3
       2340001004A06B77027700111019IOI?                                               3
       2340001003AOb87bl2??00424019101?                                               3
       2340001003A06677017700424019101?                                               3
       2340001003A06877037700424019I01?                                               3
10
o
O
(D
Q.

n>
70
-a
 I
 I
•a
3
UD
fa
xD  (O
-o  n>
§  o

-------
 AQDHS-II TEST 12

 Submit Quarterly Report to SAROAD

      In this test run, data from the AQDHS-II master file are converted to
 SAROAD transactions using the cataloged procedure AQRPM05.  This procedure
 executes ARPSARD (AQ0220), the AQDHS-II to SAROAD conversion program.

     ARPSARD (AQ0220) provides the user with the capability of extracting data
 from the AQDHS-II master file for inclusion in the SAROAD data base.   Only
 data that have not been previously submitted to SAROAD will be extracted.
     The option in this program is used to specify the date to be used in
 selecting records from the master file.  All records dated on or before the
 option date will be selected for processing.  For example, a record dated
 February 1979 (7902) would be selected for processing 1f the option date were
 March 1979 (7903).   A record dated after the option date will not be selected
 for SAROAD processing.  The date on the option card is coded in card columns 1
 through 4.  The first two columns specify the year and the second two specify
 the month.  If no option card is submitted, or if the option date is invalid,
 all records will be processed by this program.
     The output AQDHS-II master file differs from the input master file in
 that the status flags have been changed as necessary.  The output master file
 might contain fewer records than the input master file since some records may
 have been deleted.
     The output SAROAD files contain SAROAD format transactions.  Only data
 which have not previously been sent to SAROAD are contained in these files.
 The SAROAD add file begins with a '$2'  action card followed by all add
 transactions, if any; and the SAROAD change file begins with a  '$3' action
 card followed by all change transactions, if any.  For data to be deleted from
 the SAROAD data base, transactions are included in the SAROAD change file to
 change the data to 9999.  When these files are processed at the regional
 office, the SAROAD  editor (NA027) must be executed using the DELETES option
 since the SAROAD change file may contain transactions to delete data from the
SAROAD data base.
                                    120

-------
     The run stream for this test run  contains  the JCL  necessary  for
converting data from the AQDHS-II master file into SAROAD  transactions.   This
run stream is shown in Figure AQT12-1.
     The cataloged procedure executed  by this run  stream is AQRPM05.   Through
the use of substitutable parameters, the input  master file is  specified  as
AQMST01V (created in and stored on disk  in Test 11),  and the output master
file is named AQMST01T.  In this test  run, the  SAROAD add  file and the SAROAD
change file are printed for verification purposes.  However, the  user will
typically use the cataloged procedure  as designed  to  write these  files to tape
in order to submit them to SAROAD.   No option card is provided in this run
stream causinguthe default option to be  in effect.  Thus,  all  data not
previously submited to SAROAD will  be  submitted by this run.   If  the  user does
provide an option card in the run stream, the DD (data  definition) information
for the option-card file in the SUBMIT step is  also needed.  Refer to Figure
AQT12-2 for the sample output produced by this  procedure.
                                     121

-------
//AOSTST12  JOB  HTI.CflO,P02flflJ,HCHASTER,T»a»P«l50,FORM3"FFWHlTE
//*PROCL10=RTI.C4q.PU2069.MCMASTEK.DPR.JCL
//KILL EXEC PGMaltFBRll
//DD1 00 D3NeRTI.Cai.P02069.MCHASTER.OPR.DATA.AQM3T01T,
// DISP«(OLD,DELETE)
//*
//* SUBMIT QUARTERLY  REPORT TO SAROAO  FROM  AOM8T01V,
//* THE VERIFIED FILE IN TEST  II
//* ALL RECORDS ARE SENT, NO THRESHOLD MONTH (NO OPTION CARD)
//*
//TEST12A EXEC AQRPM05,
//             ULOMSTRaAQMSTOlV,
//             NtHMSTRaAQHSTOlT/
//             PRIMARY»l,
//             3ECNDRY«1
//*
//* GENERATE NtH AQOHS-II FILE HlTH ALL RECORDS FLAGGED SENT/
//. SAROAD ADO FJtl (PRINTED),
//* AND.SAROAD CHAK6E FILE (PRINTED)
//»
//SUBMIT,8TEPLJB DO DJ»Ps(SHR,PA38>f
// VpLB(PHIVATE/RiTAIN)fDSN»CN.EPALMH.A087.A03,LOAD.TEST
//SUBMIT.AnSAODFj. 00  SYSOUT^A
//SUBMIT.AOSCHGFL DO  SYSOUTaA
            Figure AQT12-1.   Run  Stream


                            122

-------
                                             AOUH5-1I TO SAROAD CONVERSION  PROGRAM  -  DIAGNOSTIC REPORT                      PAGE
             nil M.I'AM  MAW :  ABPSARb (AQ0220)
             t'tVlolUN LtVLL: 1-00
      _     LAST UPDATE «: iJ'l
      3J     PAU IuClWUK»l£f>! OCTOBER 31,  IV7B
      
      -O     »l;imiH OF  FlLi HI CURDS R£ADf                                            331
      ~2     Nll^UiH UF  MASliK FILE. RECORDS DELtTEO USING THE CMANDfc OP1IONI           0
      ro     iiui'tiiR w  flit KLCURDS WRITTEN:                                         331
       I      UliMliLk UF  AUO  IKAI4SALTIUNS SUBMITTED TO SAROAOt                        735
      f^     nuri'ft.- (If  CilAftGL TKAUSACTIUNS SUBMITItD TO SAROADJ                       0
             MO'!£" iif  ADD  HEADINGS SUBMITTED  TO  SAROAOt                          «»«2fl
             1/liMH.x' nF  CHAN&L HEADINGS SUBMITTED  TO SAROAD:                           0
      •o

      O
      O
      ID
      O.

      n>
ro    >
OJ    jO
      73
      -o
      •o
      3
      to
          -o
          o>
          to
          0>
           o
           -h
           CO

-------
       \Z    All*  IKAUliM I lims U'lAltD HY AUUH3
       IK'OOOIOUll 0217IU6U1004240U 1072 OUI 001 001 001 002  002  001  002 003 003 003 003
       I I0000100110«M 7|ni,oil,?l,>4i>lll072 001 U06 002 001 001  000  000  000 000 000 000 000
       I lOPOOIOOII iVl / luMir'uOlf 1011107/ «0i OOi 006 007 010  CM  012  013 012 Oil 009 00(1
       l It'MiioltHMLlVI /|i)i>Or1lc.'n^'J0412«240111072 001 001 001 001 001  001  001  001 001 001 002 002
       noeon|OCll('tM710«,OSOa4240U1072 003 004 004 004 004  DOS  006  006 006 006 004 004
       I10000IOOU021/1060S124240111072 003 003 003 003
       IIOP001P01t021710606004240111072 080 100 101 102 102  110  113  110 110 121 110 100
       I10i>00llil>lt02m0b06124240lll072 000 080 090 090 099  099  099  100 100 100 121 122
       110r>0010PlE-02in0607004240lll072 24o 200 201 181 176  IbO  121  100 090 060 070 060
       UPPP010P|tO  001 001 001 001 001
                     710bOR124240lll072 001 001 001 001 001  001  001  001 001 001 001 001
O     IIOOnPlO'OlLOi!! 71060900424011107? 001 OOJ OOI 001 001  001  001  001 001 001 001 001
2     llOOOQ100U0217IOb09|<>4240ill072 001 001 001 001 001  001  001  001 00| 001 001 001
r+     110UOU1001l02l7IOhl000424011l072 001 001 001 001 001  001  001  001 001 001 001 001
-••     linonoinoit 021710610124240111072 002 002 002 002 002  002  002  002 002 002 002 002
•5     UOOOOIC01lO<>1710bll004i401ll072 002 002 002 002 002  002  002  002 002 002 002 002
(g     110'MH'IOOIt02|710hlll242401ll072 002 002 002 002 002  002  002  002 002 002 002 002
CL     Iinc0u1001l0(>17l0t>12004240111072 OOd 002 002 002 002  002  002  002 002 002 002 002
       1lOPPOlOOltOai7106I212424QI11072 002 002 002 002 002  002  002  002 002 002 002 002
       I100001t>01l0ai710bl3004240111072 002 002 002 002 002  002  002  002 002 002 002 002
T3     UOOOOlOOlf Q<>1 710*131242401 It 072 OU2 002 002 002 002  002  002  002 002 002 002 002
-S     llpooo|u('Un^i71U6l<*004240111072 003 003 003 003 003  002  002  002 002 002 002 002
9     ltOnoOlP01CO<>1710bl4124240111072 003 003 003 003 003  002  002  002 002 002 002 002
(D     I10W001QQ1E.02171061S044240111072 "03 003 003 003 002  002  002  002 002 002 002 002
0.     IIOOnD|OPUOP171061S12424011t072 003 003 003 003 003  002  002  002 002 002 002 002
=     11000U|uulLOc'171061t21710bl712424Q|||072 OV2 003 006 007 010  Oil  012  013 012 Oil 009 006
•2     llOOOl>lflOltv>217106lH004240tll072 006 006 OOb 006 006  003  001  004 OOb 006 007 007
TJ     11COOOI001tU2l7106lfll£424011|072 007 002 001 OOI 001  001  001  001 003 003 006 003
2     11P00010UU02I7IU61900424011I072 002 003 003 006 0|0  Oil  Oil  012 <*13 016 016 016
S     1100001ii01(02l710blO|24240lll072 0|B 020 022 022 022  024  018  018 010 002 OOI 001
       lli>l'l'K'llu^l710i?OuO17IOf>£P12UO,M710b21004240lll072 003 003 003 003 003  006  018  020 034 044 05O 060
-a     llti<-ueinult0217!Ub2U21240|11072 080 100 101 102 102  110  113  110 110 121 110 109
       SHOPOO|('(iU02l7106220d4<»401I|072 080 OBO 090 090 099  099  099  100 100 100 121 122
....     110«00100H0217I06221242q01ll072 246 200 201 161 176  1S4  121  100 090 060 070 060
=5     1I000010P1C021710623004240I11072 040 030 020 010 009  006  007  OOb 006 006 006 006
O>     llPOnOIOOtt02l/10623l242401ll072 005 OOb 004 003 002  OOI  001  001 001 001 001 001
3     HObdCICOiL021710624004240111072 001 OOI OOI 001 001  OOI  001  OOI 001 001 001 001
•£,     11Pflo0100U021710b24ir4240|l|072 °0' 00| 001 001 001  001  001  001 P0| 001 001 001
ya     11PPPOIOOU 0217!062:>004<>40111072 001 001 001 001 001  001  OOI  001 001 001 OOI OOI
~U     IIPPOOIOOUOil710b2S12«240l11072 001 001 001 001 001  001  001  001 001 OOI 001 OOI
i£     11U(>nO|nuiL02l71062i60042«l>II|072 002 002 002 002 002  002  Ov2  002 002 002 002 002
•JQ     110(iPF100IL021710(>2bl2<>240lll072 002 002 002 002 002  002  002  002 002 002 002 002
O "^ 1 lOPOOIOOUOc'l 7IOh27PO«240111072 002 002 002 002 002  002  002  002 002 002 002 002
   O>  I1000010PILU2171062712424011I072 U02 002 002 002 002  002  002  002 002 002 002 002
   <£  Ili'i,>ao| 1107? OOi.' 002 OP2 0Uu'6I|P2S0140 003 UOi OU3 00<- 003  002  004  003 003 002 004 003
       <.'2P<
-------
             S3    CHANGE  THANSACTIDNS CREATED BY  AUOHS.  RUN SAROAO EDITOR HITH OELfcTtS  OPTION
01
      (O

      C
       ro
       i
       no
      o
      o
       n>
       -o

       o
       o
       n>
       o.
      JO
       50


       O
       tn

       I
       I

      •o

       3
      to

       Ol  •—^
       3   -o
           Ol

       TO  ID

       to  to

       50  o
       O  -»i

           to

-------
 AQDHS-II TEST  13

 Retrieve a Standard Answer File From the Master File

      In this test run, a standard answer file is retrieved from the AQDHS-II
 master file using the cataloged procedure AQRTM10.  This procedure executes
 ARTLNGP (AQ0110), the retrieval language processor program; the COBOL
 compiler; the  linkage editor; and the generated retrieval program, ART6ENR
 (AQ0120).

      ARTLNGP (AQ0110) is the first of two AQDHS-II programs used to retrieve
 data  from the AQDHS-II master file.  The second program is ARTGENR (AQ0120),
 the program generated by ARTLNGP (AQ0110).
      ARTLNGP (AQ0110) uses the retrieval skeleton program ARTSKEL, which is
 stored in a cataloged source library, and the user-sijppl led retrieval
 spec}fiction cards tp bnilrt ATONR ($)pl?P). *#Pch 1s rsferre.fi jp as th,s
 generated retrieval prqgram.
      The retrieval specification cards consist of retrieval control cards and.
 retrieval  request cards.   The control cards indicate the beginning and end of
 the retrieval  specifications:  a $$SELECT card indicates the beginning of the
 retrieval  specifications and a $$END card indicates the end of the retrieval
 specifications.  Retrieval  request cards follow the $$SELECT card and can be
written in either the AQDHS-II retrieval language or in COBOL.  These car$5
precisely identify the data to be retrieved from the master file.  When the
AQDHS-II  retrieval language is used, up to 20 retrievals can be batched in one
run, by proceeding each retrieval  by a $$SELECT card and entering a $$ENQ card
after the last retrieval.
     The  options allowed  for ARTLNGP (AQ0110) are entered on the first
$$SELECT  retrieval cpntrol  card.   The options specify whether the requests are
written in  the AQDHS-II  retrieval  language or in COBOL, the retrieval mode
(STANDARD  or SLIDING),  and  whether or not the LIST option is to be in effect.
                                     126

-------
The $$SELECT card also contains the copy  member  names  required  for  certain
COBOL retrievals and the name to be assigned to  the generated retrieval  load
module should the user want to save it.
     The format of the retrieval control  cards  is  illustrated in  Figure
AQT13-1 and the definitions of the AQDHS-II  retrieval  control card  fields are
provided in Figure AQT13-2.  Figure AQT13-3  lists  possible  combinations  of  the
options for different types of retrievals.
     When the AQDHS-II retrieval language is used,  the user is  allowed to
select records from the AQDHS-II master file based upon the value of specific
fields in the master file records.  The data names which can be used for these
AQDHS-II retrieval language requests are  listed  in Figure AQT13-4 and each  of
these data names is defined in Figure AQT13-5.   The AQDHS-II retrieval
language specifications are written in the format  described in  Figure AQT13-6
and Figure AQT13-7 provides definitions of the AQDHS-II retrieval language
specification fields.  The AQDHS-II retrieval specifications load sheet  is
provided in Figure AQT13-8.
     If the COBOL language is used, the retrieval  request cards are prepared
according to COBOL rules for syntax and punctuation.  Any retrieval that can
be run using the AQDHS-II retrieval language can also be run by specifying
USER as the language keyword (see Figure  AQT13-1)  and using the COBOL
language, but nothing is gained in these  retrievals by using COBOL when the
AQDHS-II retrieval language can be used.   There are some retrievals which
cannot be accomplished using the AQDHS-II retrieval language.   This is when
COBOL retrievals become very beneficial.   Ad Hoc Tests 1, 2, and 7 demonstrate
the use of COBOL retrievals.

     ARTGENR (AQ0120) is produced based on the retrieval specifications
entered into ARTLNGP  (AQ0110).  This generated retrieval program must be
compiled and link edited before it is executed.  When  it is executed, it reads
the AQDHS-II master file and selects those records which satisfy the retrieval
specifications that were entered  into ARTLNGP (AQ0110).  The selected records
are written to an output file which  is referred to  as  an AQDHS-II  answer file.
                                     127

-------
This file is only a subset of the master file; any changes made to the answer
file during the retrieval process are not reflected in the master file.   The
answer file has the same format as the AQDHS-II master file and may be used as
input to any AQDHS-II program which uses the master file as input.

     The run stream for this test run contains the JCL necessary for
retrieving a standard answer file from an AQDHS-II master file.  This run
stream is shown in Figure AQT13-9.
     The cataloged precedure executed by this run stream is AQRTM10.  Through
the use of substitutable parameters, the input master file is specified as
AQMST01T (created and stored on disk in Test 12) and the output answer file is
named AQRETR01.  The user must supply the appropriate DO (data definition)
information for the input retrieval  specification cards in the COMPILE step.
In this test run, the input retrieval specification cards are used to produce
a standard answer file containing all 1977 data in the master file*  Refer to
Figure AQT13-10 for the sample output produced by this procedure*
                                     128

-------
Record Position       Field Length                   Description

    1-8                 8           Card  type
         9                 1           Unused
   10-13                 4           Language keyword
   14-15                 2           Unused
   16-23                 8           COBOL member name
        24                 1           Unused
   25-32                 8           Mode  keyword
        33                 1           Unused
   34 - 39                 6           List  option
   40-42                 3           Unused
   43-50                 8           User-defined data member name
        51                 1           Unused
   52-59                 8           User-defined subroutine member name
        60                 1           Unused
   61-67                 7           Generated  load  module  name
   68-72                 5           Unused
   73-80                 8           Sequence number
                Figure AQT13-1.  AQDHS-II Retrieval Control Card
                                       129

-------
Card Type;  Identifies the type of control  card.
     Valid Codes:  $$SELECT - Specifies the beginning of a retrieval  request.
                   $$END - Specifies the end of a retrieval  request and must
                           appear alone on  the card.
     Field Length:   8 characters.

Language Keyword:  Identifies the type of retrieval  language to be used.
     Valid Code:  USER - Retrieval  specifications will  be COBOL language
                         statements.
                  blank - Indicates that AQDHS-II retrieval  language
                          specifications will  be  used.
     Field Length:   4 characters.

COBOL Member Name:   Indicates the name of a COBOL copy member residing in a
          partitioned data set and  containing  COBOL  language statements.   A
          copy member can be used for USER  retrievals or 1n conjunction with  a
          user-defined data member  and user-defined  subroutine member.
     Valid Code:  blank - Specifies that the COBOL retrieval  statements will
                          be placed after the  $$SELECT card,
                  member name - Specifies the  name of the member of an
                                external  source library where the COBOL
                                retrieval statements  reside.   These COBOL
                                statements  must have  been stored in the
                                external  source library under this member name
                                prior to the execution of the retrieval.
     Field Length:   8 characters.
                                                           (Page 1 of 4)
       Figure AQT13-2.  Definition of AQDHS-II Retrieval Control Card Fields
                                        130

-------
Mode Keyword:   Identifies  the retrieval  mode.
     Valid Codes:   blank  - Standard answer file  is to  be  created.
                   SLIDING -  Sliding average  answer  file  is to  be  created.
                             The sliding average answer file contains
                             additional  records  to those  meeting the retrieval
                             specifications.   These  records provide the
                             wraparound  capability required by  the sliding
                             average program, ASTSLAV  (AQ0180), in calculating
                             sliding averages.
     Field Length:   8 characters.

List Option:   Identifies  whether or not  the retrieved  records are  to be
          printed.
     Valid Codes:   LIST -  print all retrieved records.
                   NOLIST - Print no records.
                   blank  - Print no records.
     Field Length:   6 characters.

User-Defined Data Member  Name:  Identifies the name  of a  member in an  external
                                                --\
          source library  containing a COBOL 01-level data structure.   This
          data member is  used to define  variables for  user-defined sub-
          routines, and it must be used  in conjunction with  a COBOL  member,
          user-defined subroutines, and  AQDHS-II retrieval language  specifica-
          tions.
     Valid Codes:   blank  - No user-defined data will be used.
                   member name - The member of an external source library
                                 which is to be copied into the working-
                                 storage section and assigned the label, 01
                                                               (Page  2  of  4)
                Figure  AQT13-2 -  continued.   Definition of  AQDHS-II
                           Retrieval  Control  Card  Fields
                                       131

-------
                                 USER-DATA-STRUCTURE,  when  the  retrieval
                                 program is generated.
     Field Length:  8 characters.

User-Defined Subroutine Member Name:   Identifies the name of a  member in  an
          external source library containing a user-defined subroutine.   The
          user-defined subroutine can be invoked only  by the user-written
          COBOL statements defined in the COBOL member (columns 16-23).   The
          user-defined subroutine must be a closed subroutine;  i.e.,  it cannot
          call any other subroutines.   This option must be  used in  conjunction
          with a user-defined data member name, a COBOL member  name and
          AQDHS-II retrieval language specifications.
     Valid Codes:   blank - No user-defined subroutine  will  be used.
                   member name - The  name of the member of  an external source
                                 library which contains the subroutine to be
                                 copied.
     Field Length:  8 characters.

Generated Load Module Name:   Specifies the user-defined load module name  when
          the procedure AQRTM20 is used to create and  store the load  module of
          a generated retrieval program.  When this field is used,  the name
          specified must also be used for the substitutable parameter,
          PGMSAVE, in the job stream  for procedure AQRTM20.
     Valid Code:   blank - The name ARTGENR will be used for the generated load
                          modul e.
                  load module name -  Must be seven characters or less
                                     consisting of the letters  A-Z  and the
                                     digits 0-9 and beginning with  a  letter.
                                                             (Page  3 of 4)
               Figure AQT13-2 -  continued.   Definition of AQDHS-II
                          Retrieval  Control  Card Fields
                                       132

-------
     Field Length:   7 characters.

Sequence Number:  An optional  entry to allow the retrieval  specification cards
          to be numbered sequentially.  No sequence checking is performed by
          ARTLNGP (AQ0110).
     Field Length:   8 characters.
                                                           (Page 4 of  4)
              Figure AQT13-2 - continued.  Definition of AQOHS-II
                         Retrieval Control Card  Fields
                                       133

-------















Type of Retrieval
AQOHS-I1 Retrieval Language
COBOL retrieval with COBOL statements
1n retrieval specification card file
COBOL retrieval with COBOL statements
1n COBOL copy member
COBOL retrieval with COBOL statements
in COBOL copy member which uses user-
defined data definitions and t>t
user-defined subroutine
Option Fields on $$SELECT Card











r-

•2
3
R

R

R


!:•&•*•"
R






•p
£.

>»
22
0)
o>
fO
3

J
N

R

R



N






1
fO
z
J.
0)
J5
1
^J
g
8
N

N

R



R









•g



•S
£
0

0

0



0









e
o
•p*

•M
'Z
Q

0

0



0
1
J-




•2
rg
c5
"S
e
•r-


1
N

N

N



R
z
!
.jE
i^
3
0
1
' 3

"8
1 ^C
'C
-S
1
k.
1
N

N

N



R

1
41

3
•o
£

•o
3

2
t
s
i
0

0

0



0

•o
!l
£
«o

0)
'C
•*•>

Jf
o
S1
•1-
J=
3

*

N

N



N
N
0
R
*
Not allowed
Option
Required
If the mode keyword 1s blank (standard retrieval), batching of retrievals
allowed.  If the mode keyword 1s SLIDING (sliding average retrieval),
batching of retrievals 1s not allowed.

                 Figure AQT13-3.  Retrieval Options
                                                                               1s
                                      134

-------
            Data Names for AQDHS-II and COBOL  Language Retrievals
Data Name

ACTION-CODE
AGENCY
AQCR
AREA-CODE
COMPOSITE-KEY-3
COMPOSITE-PERIOD
COMPOSITE-SAMPLES
COMPOSITE-TIME-CODE
COMPOSITE-TYPE
COUNTY-CODE
DATA-FIELD*
DAY-CODE
FORM-CODE
IDENT-KEY
KEY-1
KEY-2
   Field Length

        1
        1
        3
        4
        6
        2
        2
        1
        1
        4
See Figure AQT13-5
        2
        1
        37
        22
        9
Data Name

KEY-3
METHOD-CODE
MONTH
NBR-OF-READ INGS
PARAMETER-CODE
PROJECT
RECORD-STATUS-FLAG
SITE
SLAMS-ID
START-HOUR
STATE
STATUS-FLAG*
TIME-CODE
UNIT-CODE
YEAR
Field Length

     6
     2
     2
     2
     5
     2
     1
     3
     1
     2
     2
     1
     1
     2
     2
Data Name
                Data Names for COBOL Language Retrievals Only
    Field Length
DECIMAL-CODE*                1
KEY-l-A                     20
RPTING-SECTION*              6
^Repeating data names.
           Figure AQT13-4.   Valid Retrieval  Data Names
                               135

-------
ACTION-CODE:  Indicates the last action performed on the master file record.
     Valid Codes:  2 - Add
                   3 - Change
    Field Length:  1 character.

AGENCY:  Identifies the agency responsible for the sampling site.
     Valid Codes:  See Table A-l, AQDHS-II User's Guide.
    Field Length:  1 character.

AQCR:  Identifies the AQCR (Air Quality Control Region) in which the sampling
          site is located.
     Valid Codes:  001-247
    Field Length:  3 characters.

AREA-CODE:  Identifies the geographical area in which the sampling site 1s
          located.
     Valid Codes:  Cpntact tfoe Efty Regjpnsl Qfflpe for the yali4 codes.
    Field Length:  4 characters.

COMPOSITE-KEY-3:  Identifies, as a group the following fields:
          COMPOSITE-PERIOD
          COMPOSITE-SAMPLES
          COMPOSITE-TYPE
          COMPOSITE-TIME-CODE
    Field Length:  6 characters.

COMPOSITE-PERIOD:  Identifies the period during which the composite sample was
          taken.
                                                         (Page  1  of 8)
       Figure  AQT13-5.   Definition of  Retrieval  Data  Names
                                136

-------
     Valid Codes:   01 -  04  Quarterly  and Seasonal  Composite
                   01 -  12  Monthly Composite
                   01 -  52  Weekly Composite
                   00       Annual Composite
    Field Length:   2 characters.

COMPOSITE-SAMPLES:   Indicates the number of individual  samples that were
          composited.
    Field Length:   2 characters.

COMPOSITE-TIME-CODE:  Indicates the interval at which the individual
          composited samples were taken.
     Valid Codes:   SAROAD time codes are used;  see Table A-3, AQDHS-II
                   User's Guide.
    Field Length*:   1 character.

COMPOSITE-TYPE:   Indicates the interval  for which the samples were composited.
     Valid Codes:   1 - Quarterly Composite
                   2 - Seasonal Composite
                   3 - Monthly Composite
                   4 - Weekly Composite
                   5 - Annual Composite
    Field Length:   1 character.

COUNTY-CODE:  Identifies the county in which the sampling site is located.
    Field Length:   4 characters.
                                                        (Page 2 of 8)
Figure AQT13-5 - continued.  Definition of Retrieval Data Names
                               137

-------
 *DATA-FIELD:  The value of the sample taken.
     Valid Codes:  When DATA-FIELD is used in COBOL retrievals, it only refers
                   to the four-digit reading and does not incorporate the
                   decimal code; however, when DATA-FIELD is used in AQDHS-II
                   Retrieval Language, it refers to the value of the sample,
                   taking into account the decimal code.  When DATA-FIELD is
                   used as the subject name in an AQDHS-II language retrieval,
                   the object name may be DATA-FIELD or any numeric literal
                   within apostrophes, positive or negative, with or without a
                   decimal point.

 DAY-CODE:  The day of the month on which the sample was taken.
    Field Length:  2 characters.

 "DECIMAL-CODE (COBOL Language Only):   Indicates the position of an assumed
          decimal within the fogr-character reading In the master file reeord.
     Valid Codes:  Q, I, ?, 3, 4
    Field Length:  1 character.

 FORM-CODE:  Indicates which transaction format was used to create the master
          file record.
     Valid Codes:  1 - Form 1
                   2 - Form 2
                   3 - Form 3
    Field Length:  1 character.
*A repeating field.
                                                         (Page 3 of 8)
Figure AQT13-5 - continued.  Definition of Retrieval Data Names
                               138

-------
IDENT-KEY:  Identifies,  as a group,  the following fields:
          KEY-1
          KEY-2
          KEY-3
    Field Length:  37 characters.

KEY-1:  Identifies, as a group, the following fields:
          STATE
          AQCR
          COUNTY-CODE
          AREA-CODE
          SITE
          AGENCY
          PROJECT-CODE
          TIME-CODE
          YEAR
    Field Length:  22 characters.

KEY-l-A (COBOL Language Only):  Identifies, as a group, the following fields:
          STATE
          AQCR
          COUNTY-CODE
          AREA-CODE
          SITE
          AGENCY
          PROJECT
          TIME-CODE
    Field Length:  20 characters.
                                                                 (Page 4  of 8)
  Figure AQT13-5 - continued.   Definition of Retrieval  Data Names
                                139

-------
KEY-2:  Identifies, as a group, the following fields:
          PARAMETER-CODE
          METHOD-CODE
          UNIT-CODE
    Field Length:  9 characters.

KEY-3:  Identifies, as a group, the following fields:
          MONTH
          DAY-CODE
          START-HOUR
    Field Length:  6 characters.

METHOD-CODE:  Identifies both the collection method and the analysis method
          for the parameter being measured.
    Field Length:  2 characters.

MONTH:  The month of the year during which the sample was taken.
    Field Length:  2 characters.

NBR-OF-READINGS:  Indicates the number of readings or samples contained 1n the
          master file record.
    Field Length:  2 characters.

PARAMETER-CODE:   Identifies the parameter being measured.
     Valid Codes:  Refer to the AEROS Manual Series, Volume V:  AEROS Manual
                   of Codes for a full list of currently accepted parameter
                   codes.
    Field Length:  5 characters.
                                                          (Page  5  of  8)
 Figure AQT13-5  -  continued.   Definition  of Retrieval  Data Names
                               140

-------
PROJECT:  Identifies the project in association with which the sample was
          taken.
     Valid Codes:   See Table A.-2,  AQDHS-U  User's  Guide.
    Field Length:   2 characters.

RECORD-STATUS-FLAG:   Indicates the SAROAD submission status and anomaly
                     screening status of the record.
     Valid Codes:   S  All readings in the record have been submitted to
                      SAROAD, but one or more non-null readings have not
                      undergone anomaly screening.
                   T  All readings in the record have been submitted to
                      SAROAD and all non-null readings have undergone anomaly
                      screening.
                   N  One or more readings in the record have not been
                      submitted to SAROAD, and one or more non-null readings
                      have not undergone anomaly screening.
                   V  One or more readings in the record have not been
                      submitted to SAROAD, but all non-null readings have
                      undergone anomaly screening.
                   X  Record has been flagged for deletion, all readings are
                      null.
    Field Length:   1 character.
*RPTING-SECTION (COBOL Language Only):
          fields:
          STATUS-FLAG
          DECIMAL-CODE
          DATA-FIELD
    Field Length:   6 characters.
                                        Identifies, as a group, the following
*A repeating field.

                                                            (Page 6 of 8)
 Figure AQT13-5 - continued.  Definition of Retrieval Data  Names
                                141

-------
SITE:  Identifies the site at which the sample was taken.
    Field Length:  3 characters.

SLAMS-ID:  Indicates whether the sampling site is a State and Local  Air
          Monitoring Station (SLAMS) or a National Air Monitoring Station
          (NAMS) associated with the site.
    Field Length:  1 character.

START-HOUR:  The hour at which the first sample was taken.
     Valid Codes:  See Table A-3, AQDHS-II User's Guide.
     Field Length:  2 characters.

STATE:  Indicates the state (or other geographic division) in which the
          sampling site is located.
     Field Length:  2 characters.

*STATUS-FLAG:  Indicates the status of the reading,
     Valid Codes:  A  Reading has been added since submission to SAROAD and
                      has not undergone anomaly screening.
                   C  Reading has been changed since submission to SAROAD and
                      has not undergone anomaly screening.
                   S  Reading has been submitted to SAROAD but has not
                      undergone anomaly screening.
                   B  Reading has been added since submission to SAROAD and
                      has undergone anomaly screening.
                   D  Reading has been changed since submission to SAROAD and
                      has undergone anomaly screening.
A  repeating field.

                                                            (Page  7 of 8)
    Figure AQT13-5 -  continued.  Definition of  Retrieval Data Names
                                142

-------
                   T  Reading has  been  submitted  to  SAROAD  and  has  undergone
                      anomaly screening.
     Field Length:   1 character.

TIME-CODE:  Indicates the interval  at which the samples  were taken.
     Valid Codes:  See Table A-3,  AQDHS-II User's Guide.
    Field Length:  1 character.

UNIT-CODE:  Indicates the units  in which  the parameter was  measured.
               Valid Codes:  See Table  A-4, AQDHS-II User's Guide for a partial
                     list and the AEROS MANUAL SERIES, Volume V:  AEROS Manual of
                     Codes for a complete list of currently accepted units codes.
    Field Length:  2 characters.

YEAR:  The year in which the sample was taken.
    Field Length:  2 characters.
                                                            (Page  8  of 8)
    Figure AQT13-5  -  continued.   Definition of  Retrieval  Data  Names
                                 143

-------
Record Position      Field Length                 Description

    1-22              22                 Subject name
         23               1                 Unused
         24               1                 Negation flag
         25               1                 Unused
         26               1                 Relational operator
         27               1                 Unused
    28 - 67              40                 Object name
         68               1                 Unused
    69-71               3                 Boolean operator
    72-80               9                 Unused
   Figure AQT13-6.   AQDHS-II Retrieval  Language Specifications
                               144

-------
       Subject Name:  Specifies the name of the field in the AQDHS-II master file
                 record to be compared with the literal  or the master file field
                 specified by the object name.
            Valid Codes:  Only those fields listed in Figure AQT13-4 san be used.
                          The spelling, including hyphen, must match exactly.
           Field Length:  22 characters.

       Negation Flag:  Indicates whether the Boolean NOT condition is in effect.
            Valid Codes:  N - Boolean NOT is in effect.
                          space - Boolean NOT is not in effect.
           Field Length:  1 character.

       Relational Operator:  Indicates the relationship to be tested between the
                 subject name and the object name.
            Valid Codes:  =    equal
                          <    less than
                          >    greater than
           Field Length:  1 character.

       Object Name:  A  literal to be compared against the master file field  specified
                 by  the subject name, or the name of a master  file field to  be
                 compared against the master file field  specified by the subject
                 name  (i.e., object name=subject  name).
            Valid Codes:  If a literal  is used, it must  be enclosed  in  apostrophes.
                          The length of the literal must be  exactly  the same as the
                          field length  of the data name  being  compared  (see  Figure
                          AQT13-5).   If the name  of a field  from  the master  file is
                          used, it must match exactly one of the  names  listed in
                                                                  (Page 1 of 2)
Figure AQT13-7.  Definition of AQDHS-II Retrieval  Language Specification Fields
                                      145

-------
                       Figure AQT13-4.   However,  it must not  be
                       enclosed in apostrophes.
        Field Length:   40 characters.

    Boolean Operator:   Identifies the type of connector used  between the relation-
              ship specified on this control  card and that specified on the next
              card.
         Valid Codes:   AND - Indicates that both  relationships must be true in
                             order for the entire relationship to be true.
                       OR - Indicates that if either relationship is true,  the
                            entire relationship  is true.
                       blank - Indicates that there is no connector, and there-
                               fore, that there  is no further specification.
        Field Length:   3 characters.
                                                              (Page 2 of 2)
Figure AQT13-7 - continued.   Definition of AQDHS-II Retrieval  Language
                         Specification Fields
                                   146

-------
     AGENCY.
     PURPOSE.
AIR QUALITY DATA HANDLING SUBSYSTEM (AQDHS-Il)
  COMPREHENSIVE DATA HANDLING SYSTEM (CDHS)
            RETRIEVAL SPECIFICATIONS
               BY	

               DATE..
                                                                                                                      PAGE—OF_
2
(Q
C
n>
CA>

OQ
IS
rt-
-J
_j«
tt>

OJ
o
0>
rt-

o'

I/I
O
Ol
o.
n>
n>


I.S.S.E.L.E.C.T



KEVWO
10 13
III



COBOL MEMBER
NAME
16 23

                                                 MODE KEYWORD
                                                             32
                                              USER-DEFINED
                                              DATA MEMBER
                                                 NAME
                                                                                   43
                                                                                                50
USER-DEFINED
'SUBROUTINE
MEMBER NAME
                                                                                                     52
GENERATED
LOAD
MODULE NAME
61
i i
a,
> t i
VALID DATA NAMES
NAME
ACTION-CODE
AGENCY
AQCR
AREA-CODE
COMPOSITE-KEY-3
COMPOSITE-PERIOD
COMPOSITE-SAMPLES
COMPOSIT E-TIM E-CODE
COMPOSITE-TYPE
COUNTY-CODE
DATA-FIELD'
DAY-CODE
LENGTH
1
1
3
4
6
2
2
1
1
4

2
TYPE
N
A
N
N
N
N
N
A
N
N
N
N












NAME
FORM-CODE
IDENT-KEY
KEY-1
KEY-2
KEY-3
METHOD-CODE
MONTH
NBR-OF-READINQS
PARAMETER-CODE



LENGTH
1
37
22
9
6
2
2
2
5



TYPE
N
A
A
N
N
N
N
N
N















NAME
PROJECT
RECORD-STATUS-FLAG
SITE
SLAMS-ID
START-HOUR
STATE
STATUS-FLAG*
TIME-CODE
UNIT-CODE
YEAR
• REPEATING DATA NAME

LENGTH
2
•1
3-
1
2
2
1
1
2
2


fYPE
N
A
N •
A
N
A
A
A
N
N


                                                              VALID VALUES FOR
                                                              NEGATION FLAG (NFk BLANK, N
                                                              RELATIONAL OPERATOR (RO):
                                                                    =EQUAL
                                                                    > GREATER THAN
                                                                    < LESS THAN
                                                              BOOLEAN OPERATORS (BO):
                                                                    AND. OR. BLANK
                                                              TYPE: N-NUMERIC
                                                                  ALPHANUMERIC
SUBJECT NAME
i zi
i i i i i i i i i i i i i i i i i i i i i
iiiiiii iiiiiiiiiii it i





l i i i i i i i i i i i i i i i i i i i i


i i i i i i i i i i i i i i i i i i i i i



l i i i i i i i i i i i i i i i i i i i •
u.
Z
24
*














O
oc
26















OBJECT NAME (LITERALS MUST BE ENCLOSED IN SINGLE QUOTES)
28 ^ . 67


l^ll 11(^11 till l^ll II Illl llflll III! Illll




Illlllllltll-lllllllllllllllllliilllllll
%






BO



• l
. i






i i




    EPA (OUR) 428
              NOTE). PARENTHESES MUST BE BALANCED

-------
//AQSTST13  JOB  RTI.C
-------
                                   AOOHS-II  Hf.JHlf.VH  LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC HEPfll'T                 PAGE
        PROGRAM NAME: ARTLNGP (AQ0110)
__      REVISION LEVEL: 1-00
_,!      LAST UPDATE «! 2fl
U3      DATE INCORPORATED: OCTOBER 31,  1978
-i

*      INPUT (CONTROL CARDS):

•5      SSStLECT                         LIST
J.-4      YEAR                     = '77'
CO      SftffD
 I

O
        NUMBER  OF  CONTROL CARDS READ:                      3
        NUMBER  UF  RETRIEVAL SKELETON RECORDS READt     1,138
-p      NUMOER  OF  RETRIEVAL SOURCE RECORDS WRITTEN:    1,174
3        NUMBER  UF  CONDITIONAL MESSAGES*                    0
_      NUMBER  OF  ERROR MESSAGES:                          0
fl,      NUMBER  OF  ABORT MESSAGES:                          0
O.
c

(D




I—»
O



T3
3
IQ

I


^                                      AOUHS-H  GENLKATEO RC.TRUVAL PRUGKAM  •  DIAGNOSTIC  KEPIWI                      PAKF.
r~
•Z.  •*- PROGRAM NAME: ARTGENR (AQ01ZO)
$i   e,  REVISION LEVEL: 1-00
    03  LAST UPDATE »: 2«                  ;
0)   (P  DATE INCORPORATED: OCTOBER 31,  1<'78

O.   l-»
>   O  NUMBER  OF  MASTER FILE RECORDS READ:                 331
5   -*>  NUMBER  OF  ANSWER FILE RECORDS WRITTEN:              118
=3   -,.  NUMBER  UF  CONDITIONAL MESSAGES:                       0
rV|  —s NUMBER  OF  AHORT MESSAGES:                             0

-------
                                                         AOOIIS-II  MAStKR Flit DUMP                                      PAGE


T|      FIXtD StUMENT       REPEATING DATA                                                        ACTIUU

<£>'
^      221    341702<>B00001004AOCiB7nilOI9
n>                          101010100            20T00035S09'»9IS0999lS099<»ISO<»99IS<)999IT009b430999IS09l»9I3099
j.,                          >MS0999IS0999IT00025S0999IS0999IS0999I30999IS0991>|S09991TOOOOO
jO
—I      22 T    3417029800fl01004AOb677111019
J-1.                          loioaoioo            2iToo320000S20QnOS20002S>>00033200
 o                          36S20072320091S2007BS200B6S2niORS20072S099OIOS?0001S20000r>20000S
 »
 0.      213    371Rfa3020226099SAOS177633011
 ^                          118080500            24S20flOOS20000Si>OOOOS20000S?OOOOS2000IS?0012S20042S200bOS200
 (0                          9^3200623201143^0102SPOOM»S20074S20044S      213    371Bb302022b099SAOS177633011
 ;„                          llBOBObtK)            a03200onS20000S2nOOOS20000520000S20001S20010S200JOS2003bS200
 —|                          3BS200BBS2015aseoi30S20«9bS2004BS200b2S20070S20n3'BSe0012S24)OOIS20000S200QOS
 3
 ^      213    371Bb302022bfl99VAOSI77b33011
                            M8080700            24S20000S20000S20000S2fl<)OOS20001)S?0002S2001SS20046S20«j«S20010S20t>0?S2000QS?OOOOS

 -O      2IS    371Bb302022b0995AOS177633011
                            31180B0800            24S20000S20000320000S20000S2000DS20002S200l4.S20030S200bHS200
 (Q                          9BS20121S20137S201i)4S20l42S20122S20092S20n70Se0039S2UOI IS2000IS20000S?noOOS

 2      2IS    371Rb302022b099SAOS177b3.'(Oll
 3                          I1BOP0900            a(|S2000nS20000SPOOOOS?UOOOS20000S20002S2001bS20018S200bflS200
 ja                         9h32011(iS2012bS201A1320133S>>OIORS20093520n72S2<0039520011S2000nS200nOS^OOOOS
 73
 -J     213    3MBb302022b099'jAOS177(.3JUl|
 £• *^                     IIBORIOOO            24S200nOS20000Si>OOOOS2000nS?Ot)OnS20001S200tbS2004bS20n7nS200
 Z  Ol                      BOS20109S20l23S20ll9S201«llS20123S20073S^002IS2nni>nS20t)07S20n01.S20000S2nOPOS
 73 tQ
     

AOSt 7763301 I rO 118081100 24S20000S20000S20000S200QOS20t>nnS20002S2000.iS200?SS2005«>S;?00 32S2004«S20091Si!OOb3S203S?OT)13S2nouiS?00018200003200003 O "** 215 371Bb302022b099SA05177b33011 fO 118081200 24820000S20000S20000S2000TiS«>OOOOS2t)OOOS20l)04S2flO?OS200.tlS200


-------
AQDHS-II TEST 14

Update the Parameter File

     In this test run, the AQDHS-II parameter file is updated using the
cataloged procedure AQEMP10 which executes ASRPARM (AQ0150),  the parameter
file transaction sort program, and AEMPARM (AQ0070),  the parameter file
maintenance program.

     The same programs were used in Test 1 to create the initial parameter
file.  Each of the input parameter file transactions had an action code of 'A1
which signifies that the data on these transactions were to be added to the
parameter file.  However, in this test run, not only can information be added
to the file (i.e., records created), but existing parameter file records can
be changed or deleted.
     Changing a record requires a transaction with the same parameter,  method,
and unit code combination as the record to be changed.  Also, this transaction
must have an action code of 'C' and an appropriate card type.  If these
requirements are met, the non-blank fields of the transaction will replace the
corresponding fields of data in the parameter file record.
     Similarly, the deletion of a parameter file record requires a transaction
with the same parameter, method, and unit code combination  as the record to be
deleted.  However, the transaction must be a card type 1 transaction,
have an action code of 'D1, and contain blanks in the remaining transaction
fields.

     The run stream for this test run contains the JCL necessary for updating
an AQDHS-II parameter file.  This run stream is shown in Figure AQTi4-l.
     The cataloged procedure executed by this run stream is AQEMP10. Through*
the use of substitutable parameters, the input parameter file is specified as
AQPARM01 (created and stored on disk in Test 1), and the new  parameter  file is
named AQPARM02.  The user must supply the DD (data definition) information for
the input AQDHS-II parameter transactions file in the SORT  step and the option
card file in the UPDATE step.   The options specified in the UPDATE step of
                                     151

-------
//A1STSTIU  JUU  HlI.CaU,P02a.MCMASTER.DPR.JCL
//KILL EXEC PGM=IEFBR1«
//tiDl 01) OSN=RTI.Cla.PUa069.HCMASTtH.DPR.DATA.AQPARH02r
// D13Ps(ULD,DELETE)
//*
//* UPDATE THE PARAMETER FILEr  AUPAKH01
//*
//TLST11A EXEC AOEMP10,
//             OLDPARMsAQPARHOl,
//             NE'1PARH=AQPARMQ2r
//             PRIMARY=1,
//             SCNDARVsl
//«
//• PRESORT THE PARAMETER TRANSACTIONS,
//* THEU UPOATt THE FILE WITH THEM
//«
//SORT.INPUT oo *
16ia022Ufl                                                                     D
202101201S                     DEGREES FAHRENHEIT                              C
im039lOUOO10101000tOOOOO                                                          A
/•
//UPDATE.OPTIUS DO *
FLAGS   LIST
                 Figure  AQT14-1.    Run  Stream

                                  153

-------
                                            AQDHS-II PARAMETER FILE TRANSACTION  SORT  PROGRAM  -  DIAGNOSTIC REPORT
   -»•        PROGRAM NAME I ASRPARH CA00150)
   <£         RtVISION LEVELS 1-00
   ^         LAST UPDATE «t i*
   fl>         DATE INCORPOKATEOl OCTOBER 31, W8
   »-*        NUMIIER OF INPUT TRANSACTIONSl            5
   f"        NUMBER UF OUTPUT TRANSACTIONS!           5
   INS
    O
    (D
    Q.
    §
    T3

SS
*»   I
     I
    T3
    -I
                                        AQDHS-II PARAMETER FILE EDIT AND MAINTENANCE PROGRAM DIAGNOSTIC  MESSAGES            PAGE
    g        PROGRAM NAME: AEMPARM (AQ0070)
    ^        KEVISION LEVEL: i-oo
              INCORPORAttOt OCTOBER 31. 19T8
    3>        LAST UPDATE «I Z4
    Sg        OPTIONS IN EFFECT: FLAGH   LIST
    -O
    X>        311 lOSIiOIOIOOOIOOOOO                                                          A
    &                  **• AEMPARM 016 HARMING - ADO TRANSACTION DOES NOT SPECIFY USER UNITS CODE,  ASSUMING  UNITS  CODE  IN KEY
    -*                  *»* AtMPARM 016 HARMING - ADD TRANSACTION DOES NUT SPECIFY USER UNITS CONV FAC,  ASSUMING UNITY
    Qi
    3
    °-   ^.  NUMBER OF INPUT PARAMETER FILE RECORDS!      89
    >    -O  NUMBER UF OUTPUT PARAMETER FILE RECORDS I     89
    L5   ,{J|   MUHOER OF IMPUT TRANSACTION CARDS!            5
    ^    p5   NUMHCR OF VALID TRANSACTION CARDS!            S
    >        NUMBER OF REJECTED TRANSACTION CARDS!         0
    •^O    *-•  NUMBER UF DISASTER MESSAGES!                  0
    3    0   NUMBER OF ABORT MESSAGES!                     0
          ^  NUMBER UF ERRUR MESSAGES!                     0
          _  NUMBER OF CONDITIONAL MESSAGES!               »
          •^  NUHHtR Ot DARNING MESSAGES  •                 2

-------
                                                        AODHS-1I  PARAMETER FILE TRANSACT!IONS                              PAGE
            1111039101I0001HENZENE  SO ORGANICS           HI-VOL                            A
            2111039101BENZENE  EXTRACT-SOXHLET   UUMS/H3  (25 DEC C,  1013 M-BAR3)              A
            311103910101000100000                                                           A
            lbl<»022128                                                                      0
            2621012015                      DEGREES  FAHRENHEIT                               C
   2
    ro
    o
    o
    3

    ft)
    O.
    •o
    3
s-
    n>
    -o
    I—»
    o
    I
   •o
    o
   
    3>   -a
    m   o»
         o
         -h
         4i

-------
                                                          INPUT AUDH3-1I PARAMETER FILE
                                                                                                                        PAGE
                                                                                                                                  I
lO
C
n>

I
ro
o
o
3
 3

 (D
 Q.
 -a
 3
 (D
 -o
 I—«
 O
 I
 I
 •a
:o
 to

 i
 2   ^
      -a
      Ql
      ua
      (D
      CO
      o
      -h
111019101OOOAOO100010000001000IOOOOOTU!At SUSPENDED ('ARTICULATE
IH01920200iA101000091b0002000IOOOOOTlJTAL SUSPENDED PAHT1CULATE
II201B109000A20100010000009000100000SOILING INDEX (COH/IOOOU)
2I101SI900I4C29300003S03090000IOOOOOTUTAL SETTLED PARTICULATE
2nOl5|91000E*930010000009|000100000TUTAL SETTLED PARTICULATE
211017I90014C29300005503090000100000TOTAL SETTLED PARTICULATE
21I017191000L29300100000091000100000TOTAL SETTLED PARTICULATE
2I10I8I90014CZ9300003S03090000100000TUTAL SETTLED PARTICULATE
2110IB191000E2930010000009I000100000TOTAL SETTLED PARTICULATE
121011IOS057E30500010000005000100000CARUON MONOXIDE
42401 UObOb2H30S000091b0006000100000CAHHON MONOXIDE
421011107000DtOS00011b00007000100000CAHHON MONOXIDE
4^1012105006C205000100000050001OOOOOCARBON MONOXIDE
421012107000D10500011500V07000100000CARBON MONOXIDE
42102M07000AOOS0001B000007000100000CARDON DIOXIDE
421029105001H10S00010000005000100000CAHBUN DIOXIDE
421029107000AOObOOOIB000007000100000CAKBON DIOXIDE
4240H102028F101000091600020001000003ULFUR DIOXIDE
424011107000A2012fc200000007000IOOOOOSULFUR DIOXIDE
42'l01||08001\0010«02b200008000100000SULFUR DIOXIDE
42401I301026B1010001000000I0001000008ULFUR DIOXIDE
424011302028F10l000091t>0002000100000SULFUR DIOXIDE
424011307000A20126200000007000100000SULFUR DIOXIDE
424011308001\00|000262000080001000003ULFUR DIOXIDE
424011401026B101000100000010001OOOOOSULFUR DIOXIDE
4240114Q20ZBF10100009162002000100000SULFUR DIOXIDE
424011407000A2012b200000007000100000SULFUR DIOXIDE
424011408001\OOI0002620000B000100000SULFUR DIOXIDE
42401tfa0102bB10l00010000001000IOOOOOSULFUR DIOXIDE
424011707000D20126200000007000100000SULFUR DIOXIDE
42401Jl01026B1010001000000100010000030LFUR DIOXIDE
424013302028F10100009160002000100000SULFUR DIOXIDE
424019101000E001000100000010001000003ULFUR DIOXIDE
4240191070011401262000000070001000003ULFUR DIOXIDE
424019001000EOO100010000001000100000SULFUR DIOXIDE
4260U407000A20U2300000007000100000NUR1C OXIDE
426021101018M10100010000001000100000NITROCEN DIUXIDb
426021J02020E101000091b0002000100000NITHOGEN DIOXIDE
42b02il07000A<>OU8800000007000100000NITRUGEN DIOXIDE
42b021108001\0010001BB00008000100000NITHOGEN DIOXIDE
426021201018H10100010000001OOOIOOOOONITROGEN DIOXIDE
42b021207000A20MB800Q00007000IOOOOONITROGEN DIOXIDE
426021302020t10100009160002000100000HITHUGEN DIOXIDE
426021407000A20I18800000007000100000NITROGEN DIOXIDE
426021408001\0010001B800006000100000NITHOGEN DIOXIDE
426021b01075B10l000100000010p0100000NlTHOGEN DIOXIDE  •
426028207002G40H8e00000008100000000NirRUGEN DIOXIDE
426028401OOOE001000I0000001000100000NITROGEN DIOXIDE
426028402005t101000091600020001OOOOONITROGEN DIOXIDE
426029402005t10100009160002000IOOOOONITHUGEN DIOXIDE
426029501000EOO100010000001000100000NITHOGEM DIOXIDE
4a602960200btl0100009160002000100000NITROGEN DIOXIDE
426031107000A20I188000000070001000000XIDE3 01- NITROGEN
426031108001\0010001880000B0001000000XIOE3 OF NITROGEN
426031S07000A20118800000007000IOOOOOQXIUES UF NITROGEN
42bOM407000A20I18800000008iOOOOOOOUOXIDES UF NITROGLN
426039901000E001000100000010001000000XIOES OF NITROGEN
426U39907002G401I8800000007000IOOOOOOXIDLS UF NITROGEN
431011101013C0010001000000I000100000TOTAL HYDROCARBONS
431 Oil102013C00100009I60002000100000TUTAL HYDROCARBONS
MCMBMANt SAMPLE
TAPt SAMPLER
BUCKtTl JAR
BUCKET? JAR
BUCKlfl JAR
BUCKET f JAR
BUCKET! JAR
BOOKETI JAR
INSTRUMENTAL
1N3TRBMEWAL
INSTRUMENTAL
{WStRUMEWTAL
INSTRUMENTAL
INSTROMEMTAL
G*8 BWBBtER
GAS BWVBLER
INSTRUMENTAL
IN8TWOHWTAL
                                                                             INSTW/WNTAL
                                                                             JN8THUMENTAL
INSVMIffiNTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INaTRUMENTAL
INStRUNENTAL
DAVIS INSTRUMENT
DAVta INSTRUMENT
GA« BOBAL.ER
GAS BUBflLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
GAS BUBBLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
GRAVIMETRIC
GRAVIMETRIC
TRANSMITTANCE
GRAVIMETRIC
GRAVIMETRIC
GRAVIMETRIC (APCA)
GRAVIMETRIC (APCA)
GRAVIMETRIC (A3TH)
GRAVIMETRIC (ASTM)
NONDISPEHS1VE INFRA-flED
NONDISPERSIVE INFRA-RED
NONDISPERSIVt INFRA-RED
GAS CHROMATOGRAPHIC
GAS CHHOMATOGRAPHIC
INFARARED ABSORPTION
PHENOLPHTHALEIN
PHENOLPHTHALEIN
WEST-GAEKE CULORIHETRIC
HE3T-GAEKE COLORIMETRIC
HEST-GAEKE COLORIMETRIC
CONDUCTOMETRIC
CONDUCTOMETRIC
CONDUCTOMETRIC
CONDUCTOMETRIC
COULOMETRIC
CUULOMETRIC
COULOMETRIC
COULOMETRIC
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
CDHS/1000 LINEAR
TQNS/SUUARt MILE
M-GM3/SQUAR( CtN
TONS/SUUARL MILE
M-GMS/SOUARE CEN
TONS/SQUARE MILE
M-GM3/SQUARE CEN
M-GMS/M3 (250EG
M-GMS/M3 (ODEG C
PARTS PER MU.LIO
M-GMS/M3 (25DEG
PARTS PER MILLIO
PARTS PER MILLIO
M-GMS/M3 (2SDEG
PARTS PER MILLIO
U-GMS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
U-GMS/M3 (2SDEG
U-GMS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
U-GM3/M3 (250EG
U-GHS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
U-GMS/M3 (25DEG
FLAME PHOTOMETRIC
POLAROGRAPHIC DYNA 3CIENCPARTS PER MILLIO
HYDROGEN PEROXIDE        U-GMS/M3 (25DEG
SEOUENTIAL-CONDUCTOMETRICU-GMS/M3 (ODEG C
PARAROSANILINE-SULFAMIC  U-GM3/M3 (25 DEG
PARAROSANILINE-SULFAMIC
HYDROGEN PEROXIDE
CHEIMLUMINESCENCE
COLORIMETR1C-LYSHKOH
CULORIMETRIC-LYSHKOH
COLOHIMETRIC-GREIS3*SALTZPART3 PER MILLIO
COLORIMETHIC-GRE1SS-SALTZPARTS PER BILLIO
COLORIMETRIC-GREISS-SALTZU-GMS/M3 (25DEG
COLORIMETRIC-GREISS-3ALTZPAHTS PER MILLIO
CUULOMETRIC -GREISS-SALTZU-GM3/M3 (ODEG C
CHEMILUMINESCENCE        PARTS PER MILLIO
CHEW1LUHINE3CENCE        PARTS PER BILLIO
POLAROGRAPHIC DYNA SCIENCU-GMS/M3 (2bDEG
3ALTZMAN(100ML TU»ORIFIC)PART3 PER MILLIO
PARTS PER MILLIO
U-GMS/M3 (250EC
PARTS PER MILLIO
U-GMS/M3 (2bUEG
U-GMS/M3 (ODEG C
NASN SODIUM ARSENITE
NASN SODIUM ARSENITE
NASN SODIUM ARSENITE
1EA METHOD
TGS METHOD
COLORIMETRIC
COLORIMETRIC
COLORIHEIRIC
CHEMILUMINESCENCE
SALTZMAN METHOD
SALTZMAN METHOD
FLAME IONIZATIUN
FLAME lUNlZATION
U-GMS/M3 (25DEG
U-GMS/M3 (2SDEG
U-GHS/HJ (ODEG C
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
PARTS PER MILLIO
PARTS PER MILLIO
U-GMS/M3 (2SDEG
PARTS PER MILLIO
U-GMS/M3 (2SDEG
U-GMS/M3 (ODEG C

-------
                                                            OUTPUT  AOOHS-I1 PARAMETER  FILE
                                                                                                               PACE
                                                                                                                                     1
   (O
    ro
    o
    3

    (D
    O.
    -a
    o
^  O
Ul  
   s
    1
    I
    I
   •a
    3
   CO

    1
         -o
         cu
        ta
         a>
         o
         -b
 IllomoiOOOAOOlOOOlOOOOOOlOOOiOOOOOruTAL SUSPENDED PARTICULATE
 lll019202001A10100009|bOo02000|OOOOOTUTAL SUSPENDED PARTICIPATE
 H10191D1000A10100010000D01000100000BENZENC 30 UKCAN1CS
 H2018I09000A20100010000009000100000SUILIHG INDEX  (COH/lOODtF)
 2llO»S1900I4C2930000350i0900Q0100000TOTAL SETTLED  PARTICULATE
 2U015I9IOOOE29300100000091000100000TUTAL SCTTLEO  PART ICUL ATE
 211017190014C29300003503090000100000TOTAL SETTLED  PART ICUL ATE
 21I017191000E29300100000091000100000TOTAL SETTLED  PARTICULATE
 211018190014C29300003S03090000100000TOTAL SETTLED  PARTICULATE
 2110iai91000E29300l00000091000iOOOOOTOTAL SETTLED  PARTICULATE
 481011105057E305000I0000005000100000CARBON MONOXIDE
 421011106062H30500009160006000100000CARBUN MONOXIDE
 42101I107000D10500011500007000100000CAKBON MONOXIDE
 421012105006C20500010000005000100000CARBON MONOXIDE
 421012107000010500011500007000JOOOOOCAHBON MONOXIDE
 121021107000AOOS00016000007000IOOOOOCAHBON DIOXIDE
 421029105001H10500010000005000lOOOOOCARHUM DIOXIDE
 421029107000A0050001B000007000100000CARHON DIOXIDE
 42401110202BF10100009160002000IOOOOOSULFOR DIOXIDE
 424011107000A201262000000070001000003ULFUR DIOXIDE
 420011108001\001000262000060001000003ULFUR DIOXIDE
 oaao113010268101000100000010001000003ULFUR DIOXIDE
 424011302028F101000091600D2000I000005ULFUR DIOXIDE
 424011307000A20126200000007000100000SULFUR DIOXIDE
 424011308001\00100026200008000100000SOLFUR DIOXIDE
 42401!40102bB10l00010000Q01000100000SULFUR DIOXIDE
 42401l402028F10l000091b20020001000003ULFUR DIOXIDE
 024011407000A20126200000007000100000SULFUR DIOXIDE
 42401140BOOt\OOI0002620000e000100000SULFUR DIOXIDE
 4240116010260101000100000010001000003ULFUR DIOXIDE
 424011707000D20126200000007000I000003ULFUR DIOXIDE
 424013101026010100010000001000100000SOLFUH DIOXIDE
 424013302028F101000091600020001000003UUFOR DIOXIDE
 424019101000E001000100000010001000003ULFUR DIOXIDE
 4240191070011401262000000070001000003ULFUR DIOXIDE
 42Q019401000E00100010000001000100000SULFUR DIOXIDE
 426011407000AiJ01l2300000007000100000NlTRIC OXIDE
 426021101018H10100010000001000100000N1TROGEN DIOXIDE
 426021102020E10100009160002000100000N1TROGEN DIOXIDE
 426021I07000A20118B00000007000100000NITROGEN DIOXIDE
 42602110B001\00100018800008000IOOOOONITROGEN DIOXIDE
 42o02I201018Hl0100010000001000100000NITHOGEN DIOXIDE
 426021207000A20I18B00000007000IOOOOONITROGEN DIOXIDE
 426021S02020ei0100009160o02000100000NITROGEN DIOXIDE
 426021407000A20118800000007000100000N]IMOGEN DIOXIDE
 42b02ia08001\001000l8800008000tOOOO»NITHDGtN DIOXIDE
 426021501Q7SB10100010000001000100000NITROGEN DIOXIDE
 026028207002G401189000000081OOOOOOOONIfROGEN DIOXIDE
 12602640lOOOtOO 10001000000100010UOOONUHOGEN DIOXIDE
 OOONirttOGEN DIOXIDE
426031107000A20118BOOOOOQ070001000000XIDES  OF NITROGEN
426031108001\00100018800008000100000UXIOE3  OF NITROGEN
42603U07000A20I1B8000000070001000000XIDE3  OF NITROGEN
426031407000A20118800000QOB100000000UXIDES  UF NITROGEN
426039901000E001000t000000100010»OOOOXlDtS  OF NITROGEN
42faOy?907002GDOUBQ000000070001000000XIDES  0V I4ITRUGEN
 H31011101013COO100010000001000100000T07AL  HYDROCARBONS
Hl-VOL
MEMBRANE SAMPLE
HI-VOL
TAPE SAMPLER
BUCKET I JAR
BUCKET) JAR
BUCKET; JAR
BUCKET) JAR
BUCKET; JAR
BUCKETI JAR
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
GA3 BUBBLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
DAVIS INSTRUMENT
DAVIS INSTRUMENT
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
GAS BUBBLER
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
INSTRUMENTAL
GAS BUBBLER
GAS BUBBLER
INSTRUMENTAL
GRAVIMETRIC
GRAVIMETRIC
BENZENE CXTRACT-SOXHLET
TRANSHITTANCE
GRAVIMETRIC
GRAVIMETRIC
GRAVIMETRIC (APCA)
GRAVIMETRIC (APCA)
GRAVIMETRIC (ASTM)
GRAVIMETRIC (ASTM)
NONDI3PERSIVE INFRA-RED
NONDI3PERSIVE INFRA-RED
NONDISPERSIVE INFRA-RED
GAS CHRQHATOGRAPHIC
GAS CHROMATOGRAPHIC
INFARAKED ABSORPTION
PHENOLPHTHALEIN
PHENOLPHTHALEIN
HEST-GAEKE COUOR1METR1C
HEST-GAEKE COLORIMETRIC
HEST-GAEKE COLURIMETRIC
CONOUCTOMETRIC
CONDUCTOMETR1C
CONDUCTOMETRIC
CONDUCTOMETRK
COULOMETRIC
COULUMETRIC
COULOMETRIC
COULOMETRIC
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
UGMS/M3 (25 DEti
COHS/1000 LINEAR
TONS/SQUARE MILE
M-GMS/SQUARE CEN
TONS/SQUARE MILE
M-GMSXSOUARE CtN
TONS/SOUARE MILE
M-GMS/SOUAHt CEN
H-GMS/M3 (25DEG
M-GMS/M3 (ODEG C
PARTS PER M1LLIO
M-GMS/M3 (25DEG
PARTS PER MILL10
PARTS PER M1LLIQ
M-GMS/M3 (25DEG
PARTS PER MILL 10
U-GMS/M3 (OOtG C
PARTS PER MILLIO
PARTS PER BILLIO
U-GMS/M3 (25DEG
U-GMS/HJ (ODEG C
PARTS PER MILLIO
PARTS PER B1LLIU
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
U-GMS/H3 (25DEG
FLAME PHOTOMETRIC
POLAHOGRAPHIC DYNA SCIENCPARTS PEK MILLIO
HYDROGEN PEROXIDE        U-GMS/MS (25DEG
SEQUENTIAL-CUNDUCTOMETR1CU-GMS/M3 (ODEG C
PARAROSANILINE-SULFAMIC  U-GMS/M3 (25 DEC
PARAROSANILINE-SULFAMIC
HYDROGEN PEROXIDE
CHEIMLUMINESCENCE
COLORIMETRIC-LYSHKOM
COLORIMETRIC-LYSHKUN
COLORIHETRIC»GREISS-SALTZPARTS PER MILLIO
COLORIMETRIC-GREISS-SALTZPARTS PER BILLIO
CULORIMETRIC-GREISS-SALTZU-GMS/M3 (25DEG
COLOR1METRIC-GREISS-SALTZPAHTS PER MILLIO
COULOMETRIC -GREIS3-3ALTZU-GM3/MJ (ODEG C
CHEMILUMINESCENCE        PARTS PER MILLIO
CHEMILUMINESCENCE        PARTS PER BILLIO
POLAROGRAPHIC DYNA SCIENCU-GMS/M3 (25DEG
SALTZMANUOOML TUtORlFIOPARTS PER MILLIO
PARTS PER MILLIO
U-GMS/M3 (250EG
PARTS PLR MILLIO
U-GMS/M3 (25DtG
U-GMS/M3 (ODEG C
NASN SODIUM ARSENITE
NASN SODIUM ARSENITE
NASN SODIUM AKSENITE
TEA METHOD
TGS METHOD
COLORIMETRIC
COLORIMETRIC
COLORIMETRIC
CHEMILUMINESCENCE
SALTZMAN METHOD
SALTZMAN METHOD
FLAME IONIZATION
U-GM3/M3 (25DEG
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
U-GMS/M3 (25DEG
U-GMS/M3 (ODEG C
PARTS PER MILLIO
PARTS PER BILLIO
PARTS PER MILLIO
PARTS PER MILLIO
U-GMS/M3 (25DEG
PARTS PER MILLIO
U-GM3/M3 (25DEG

-------
AQDHS-II TEST 15

Update the Site File

     In this test run, the AQDHS-II site file is updated using the cataloged
procedure AQEMS10 which executes ASRSITE (AQ0160), the site file transaction
sort program, and AEMSITE (AQ0080), the site file maintenance program.

     The programs used in this test run were used in Test 2 to create the
initial site file.  For a description of ASRSITE (AQ0160) and AEMSITE (AQ0080)
refer to Test 2.

     The run stream for this test run contains the JCL necessary for updating
an AQDHS-II site file.  This run stream is shown in Figure AQT15-1.
     The cataloged procedure executed by this run stream is AQEMS10.   For the
SORT step, the user must supply the DO (data definition) information for the
input AQDHS-II site transaction file.  Substitutable parameters are used to
specify AQSITE01 (created and stored on disk 1n Test 2) as the Input site file
and AQSITE02 as the new (or updated) site file.  Refer to Figure AQT15-2 for
the sample output produced by this procedure.
                                     158

-------
//AIJ5TST15  JOB  RTI.Ca«.P02«<)3,MCMASTEH,T=2,P=150,FURMS=FFHHITt
//*PROCL1B=RTI.C<|JI.P02069.MCMASTER.OPR.JCL
//KILL EXEC HGM=IEFBRIQ
//Dill l)t> USN=RTI.C<(a.P0206<».MCMASTEK.DPR.DATA.AUSITE02,
// DISP=(ULU,DELETE)
//*
//* UPDATE THE SITE FILE,  AQSITEOl
//*
//TESM5A EXEC AQEISlOf
//             ULOSITE=AOSITE01,
//             UErtSITE=AQSITE02,
//             PRIHARY=1,
//             StCNDRY=l
//*
//* PRESORT THE SITE TRANSACTIONS,  THEN UPDATE  THE FILt  WITH THEM
//*
//SUHT.INPUT DD •
1U0001001E02
42000b003AOb2041340 OCEAN BLVD &  1ST AVE.r  MYRTLE BEACH, HORRY CO.
373000110G011663020 COUNTY PUBLIC HEALTH,  TULSA,  TUtSA CO.
/*
              Figure  AQT15-1.   Run  Stream

                             159

-------
                                            AUUHS-U  SHE MLE TRANSACTION SORT PHOCIWMv -  DIAGNOSTIC REPORT
                                                                                                                                            PAGE  I
CT>
O
CO
          IMftilil'AM  HAUL!  ASR31TE (AUOI60)
    -n    HI vir-iti'i uvti »  t-«o
    -*•    lAliT  (HM)AIE  »l  «!<(
    C    DATL  ttJCOkl'UKAlLOj OCTUOBH 31,  |978
                  nr THAIISACTIOItS READt
                  (If THANSACTI04S HRITTENt
    t—*
    U1

    ro
    -o
    3
    S
    Q.
    i
    s
     •

                                            AfiUHS-Il  SITE FILE MAINTENANCE  PROGRAH-  -  DIAGNOSTIC  REPORT                    PAGE
    "O
    O       PRUGPA-  U.VML:  ALMSITt (AQ0090)
    (O       Rf.VISHKi LtVELt  1-00
    2       LAST UPUATL  »:  24
    a       DATE luCUHPURMLOt OCTOBER 31,  1*"0


    ^       IWUT/LHHUkS                             ACTION.
    PO
    to       ionoojooit.02
    ±J                                                 •*• DELETED
    rri
                                  COUNTY PUBLIC  HEALTH, TULSA, TULSA CD.
                                                       ••* REPLACED
             <^OOU<>OQ5AO^i>0
-------
AQDHS-II TEST 16

Produce a Parameter Exception Report  for the Updated Parameter File

     In this test run, a parameter exception report is  generated for the
updated parameter file using the cataloged  procedure AQRPP20.  This procedure
executes ARPPMEX (AQ0330),  the parameter exception report  program.

     ARPPMEX (AQ0330) is designed to  give an exception  report of the para-
meter, method, and unit code combinations which  are found  in the AQDHS-II
master file but not in the parameter  file.
     For each combination not found in the  parameter file,  ARPPMEX  (AQ0330)
creates a set of three skeleton parameter file transactions which may  be  used
in adding these exceptions to the parameter file.  Note that before these
transactions can be used to update the parameter file the  appropriate
information must be added to the following  fields:   (1) the minimum
detectable, (2) the minimum detectable decimal code,  (3) the parameter
description, (4) the collection method, (5) the  analysis method,  (6) the units
description, (7) the standard units code, and  (8)  the  standard  units
conversion factor.  It may also be desirable  to  add  (9) the user units code
and (10) the user units conversion factor.  See  Figure AQT1-1  for the
parameter file transaction formats.
     The parameter exception report lists the parameter, method,  and unit code
combinations which were missing from the parameter file or simply indicates
that none were missing.

     The run stream for this test run contains the JCL necessary for
producing a parameter exceptions report for the updated parameter file.  This
run stream is shown  in Figure AQT16-1.
     The cataloged procedure executed by this run stream is AQRPP20.  Through
the use of substitutable parameters, the input master file  is specified as
AQMST01T (created and stored on disk in Test  12), and the  input parameter file
is specified as AQPARM02 (created and stored  on disk in Test 14).  In this
test run, the skeleton transaction file is printed for  verification purposes.
                                     161

-------
However, the user will typically write this file to cards  or disk  in  order to
more easily add information to the transactions.   The cataloged  procedure
AQRPP20 is designed to write the file to disk,  so in order to write the  file
to cards the user must supply the appropriate DD (data definition)  information
for the skeleton transaction file in the COMPARE step.   Refer to Figure
AQT16-2 for the sample output-produced by this procedure.
                                     162

-------
//AQSTST16  Jim   RU.Cua.PU2««3,MCMA3TER»TsZ,P=150,FORHS=FFWHITE
//*PROCLlB=RTI.CH
-------
                                         AQDH3-II  PARAMETER-tXCEPT11202               21              28

 I
 I
•O
3

-------
AQDHS-II TEST 17

Produce a Site Exception Report  for the Updated Site File

     In this test run, a site exception report  is generated for the updated
site file using the cataloged procedure AQRPS20.  This procedure executes
ARPSMEX (AQ0340), the site exception  report  program.

     ARPSMEX (AQ0340) is designed  to  give  an exception report of the  sites
(i.e., state, area, site, agency,  and project codes) which are found  in the
AQDHS-II master file but not in  the AQDHS-II site file.
     The option in this program  is used to specify  the maximum number of lines
per printed page.  The number of lines must  be  coded in  card columns  1 and 2
of the option card.  If no option  card is  entered,  or an invalid line count  is
specified, a default of 62 lines per  page  is assumed.
     The site exception report lists  the sites  which were missing  from the
site file or simply indicates that none were missing.
     For those sites not found in the site file, ARPSMEX (AQ0340)  creates
skeleton site file transactions  which may  be used  in adding these  exceptions
to the site file.  Note that before  these  transactions  can  be  used to update
the site file the appropriate information  must  be  added to  the following
fields:  (1) the AQCR code, (2)  the county code,  (3) the SLAMS-ID, and (4)  the
site description.  See Figure AQT2-1  for the site  file  transaction format.

     The run stream for this test run contains  the JCL  necessary for producing
a site exceptions report for the updated  site file. This run  stream is shown
in Figure AQT17-1.
     The cataloged procedure executed by  this run stream is AQRPS20.  Through
the use of substitutable parameters,  the input master file is  specified as
AQMST01T (created and stored on disk  in Test 12),  and the input site file is
specified as AQSITE02 (created and stored on disk in Test 15).  The  user must
supply the DD  (data  definition) information  for the option card file.  The
lines per page  option specified in the EXCPRP step of this test run  is 62.  In
this test run, the skeleton transaction file is printed for verification
                                     165

-------
purposes.  However, the user will  typically write this  file to cards  or  disk
in order to more easily add information to the transactions.   The cataloged
procedure AQRPS20 is designed to write the file to disk,  so in order  to  write
the file to cards the user must supply the appropriate  DO information for the
skeleton transaction file in the EXCPRP step.   Refer to Figure AQT17-2 for the
sample output produced by this procedure.
                                    166

-------
//AUSTS.T17   JOB  HTI.C«a.P02fl«J,MCMASTtH,T=2,P=150,FO«MS=FFi'9.MCMASTtH.uPH.JCL
II*
II* rPUOUCL A SUE EXCEPTIONS  REPORT  FUR  THE
//• UPUAItO SITE  FILE,  AQSITE02
//«
//TLST17A EXEC AQRPS20,
//             MSTRFIL=AQMSTOIT,
//             SITEFIL=AQS1TE02
//*
//* MATCH THE SITE KEYS ON THE SITE FILE  HITH  THOSE  ON
//» THL LATEST MASTER FILE,  AOMST01T,
//* T(l FIND ANY OUTSTANDING  SITE  KEYS OH  THt SITE FILtf
//• GENERATE SKELETON TRANSACTIONS FOR THESE SITES  (PRINTED IN  THIS  RUN)
//*
X/LXCPRP.AUSTRANS DD SYSOUTsA
//LXCPRP.OPTIONS OD *
62
/*
            Figure AQT17-1.   Run Stream

                              167

-------
                                            AQDHS-II SITfc UCfcPtltW HtPORT PROGRAM   -  OMSDOSTIC REPORT                               P*f.E    I
         PRIHSHAM HAMtJ AKWEX  (AI)OiQO)
         HtVlMOu LlVtU  1-00
         LAST UF'DAtl *: iH
         OATt I'lCUHPOKATIOl IICIUUEH Jl,

         (H'Tlll!! IN CrFtCTj   65 LINES PER PAGE
         MU"t»E° «F MiSTtB ULE  RECORDS!                    iSl
         NUMMtn (IF SITE FILE  RECORDS I                       36
         NUHHEH OF MISStKG  SITC3 PRINTED IN HtPORTj          1
                Of SHtLtTON TUAHSACTUmS CCNEHATEDt          t
   I
    fnl              «^        ——————                                                                    —     — —   ^ — ^^ — ^» —_ — M _ A—————
    "Vl   ----------   -_---- — --------- — -- — — ---- — -- — --- — — -•———_.-.--------- — --    -    -
    ro
    *

    •^
^  3
m  <      IOOnnio»ltneo
-------
AQDHS-II TEST 18

Produce a FORTRAN-Compatible Master File  and a FORTRAN-Compatible
Parameter File

     In this test run, a FORTRAN-compatible master  file  is  produced  using the
cataloged procedure AQCVM10 which executes  ACVMFOR  (AQ0020), the master  file
COBOL to FORTRAN format conversion program. The  cataloged  procedure AQCVP10
is then used to produce a FORTRAN-compatible parameter file by  executing
ACVPFOR (AQ0030), the parameter file COBOL  to FORTRAN  format conversion
program.

     ACVMFOR (AQ0020) generates a FORTRAN-compatible file containing the data
from an AQDHS-II master file (or answer file).  The file produced  by ACVMFOR
(AQ0020) is not used by any AQDHS-II program.  This program is  provided  for
the user who has ANS FORTRAN programs which use data from the AQDHS-II master
file.
     This FORTRAN-compatible file contains a greater number of  physical
records than the input master file because each  input master file record is
split into one to four output records.  This splitting is required because an
AQDHS-II master file consists of variable-length  records which  store a maximum
of 31 readings, whereas, the FORTRAN-compatible master file consists of
fixed-length records which store up to ten readings.  All readings from an
AQDHS-II master file record are stored in a set  of FORTRAN-compatible records
which have the same key fields and are sequenced  by a record sequence field.
Additionally, a header record and a trailer record are attached to the
beginning and end of the converted file, respectively.

     ACVPFOR (AQ0030) generates  a FORTRAN-compatible file  containing  the data
from an AQDHS-II parameter file.  The file produced by ACVPFOR (AQ0030) is not
used by any AQDHS-II program.  This  program is designed  for the user  who has
ANS FORTRAN programs which  use data  from the AQDHS-II parameter file.
     The data fields on a converted  record are the same  as  in  the input
parameter file  record with  the exception of the  'minimum detectable1  data
field.  In the  COBOL  parameter file,  the minimum detectable is represented as
                                     169

-------
a signed four-digit number, and the decimal  position for this number is
indicated in a separate data field.  When the file is converted to the
FORTRAN-compatible format, the minimum detectable is represented by a
ten-character field containing the sign ('-'  if negative, blank if positive),
the decimal  point, and the actual numeric value.   Also, the FORTRAN-compatible
file will have a header record at the beginning of the file and a trailer
record at the end.

     The run stream for this test run contains the JCL necessary for producing
a FORTRAN-compatible master file and a FORTRAN-compatible parameter file.
This run stream is shown in Figure AQT18-1.
     First,  the run stream executes the cataloged procedure AQCVM10.   Through
the use of substitutable parameters, the Input master file is specified as
AQMSTOIT (created and stored on disk in Test 12), and the FORTRAN-compatible
master file  is named AQMSTF01.  Refer to Figure AQT18-2 for the sample
diagnostic output produced by this procedure.
     Next, the cataloged procedure AQCVP10 Is executed.  Substitutable
parameters are used to specify AQPARM01 (created and stored on disk in Test 1)
as the input parameter file and AQPRMF01 as  the FORTRAN-compatible parameter
file.  Figure AQT18-3 shows the sample output diagnostic produced by this
procedure.
                                   170

-------
//AUSTST1B  JOB   RTI.C.MCMASTtk.OPR.JCL
//KILL EXtt PGM=1EFBH10
//PD1 DO DSNsRTI.Caa.P02069.MCMASTfcR.DPH.DATA.AQMSTF01,
// 01SP=(ULD,DlLtTE)
//DD2 DD USN=RT1.C1U.P02069.MCMASTER.DPR.DATA.AUPRMFOJ,
// l>I5P=Cl)LD,DELtTt)
//*
//* PRODUCE MASTER AND PARAMETER FILES THAT  MAY  BE
//• OSEO IN FORTRAN PROGRAMS
//*
//ItSTlBA tXEC AQCVMlOr
//             HSTRFIL=AOMST01T,
//             MSTRFOHsAOMSTFOl/
//             DISP='UEW,CATLG,DELETE',
//             PR1MARY=1,
//             SECUDRY=1
//*
//* CREATE A FORTRAN-COMPATIBLE MASTER FILE
//* FROM THE LATEST MASTERrAOMST01T
//*
//TLSTLftB txtC AUCVP10,
//             PARMFILsAQPARMOlr
//             PARMFURSAOPRMFOJ,
//             01SP='Nt«,CATLG,DELETE',
//             PRIMARY=1,
//             SECMDRYsl

//«  CREATE A FORTRAN-COMPATIBLE FILE
//*  FHO"  THE FILE  AQPARMoi
//*
            Figure AQT18-1.   Run Stream

                            171

-------
                             Am>nr,-H MA3IIH FILE  COBOL  TO FORTRAN CONViRSION PWIOTWH  -  DIAGNOSTIC  REPORT
        l'Kii!-,UA»l NAMf. i ACVMFim (AHOO?0)

        III VI51DH LLVUl  1-00

        LA3I  UPOATt  «t 20

        DA!|.  IriCUKPORAftOI  UCTUBER Jl, 1978
UQ      NIlMHhH OF FIIC RECORDS READ!         JJ1

5      NIIMHCH (IF ULt KtCUROS WRlTTENl      707

            I u (if LKH.MS  nrrf.CTto:             o
 no
 o
 n>
 o.



 5
 •o

 3
 UD
 o
 •70

-------
                           AOOM3-II  PAPAMETtR MLE  COBOL TO FORTRAN CONVERSION PROGRAM  -   DIAGNOSTIC REPORT           PAGE
                 UAMt: ACVPFtm  (A00030)

        R| Viriilti LtVELt 1-00

        LAST  IJCUAIt fl lit

        DA ii  INCUHPIIRATE.OI ticraecB 31*
1
 n>
oo

CO
 o
 n>
 o-
 «>

 •39
JO
 o

 •o
 I
 I

•o

o
(Q


I
o
TO
       UF ULt  RtCOHUS READ I         111

NU'IMJ.R i IF FItl  HtCUHOS HHUTENt      Hi

NIJiM!f.P Of ERHOHS DETECTED:             0

-------
AQDHS-II TEST 19

Archive Data from the Master File

     In this test run, data from the AQDHS-II master file is archived  using
the cataloged procedure AQMSM20.  This procedure executes AMSARCH (AQ0215),
the master file archival program.

     AMSARCH (AQ0215) creates from an input AQDHS-II master file two distinct
master files: a new AQDHS-II master file and an archived AQDHS-II master file.
By archiving the oldest year(s) of data, the user can reduce the size  of his
working master files and his operating expenses as well.
     The option in this program is used to specify the beginning year  for
records in the new master file.  A master file-record is selected for  the new
master file if the date 9f the record is greater than or equal  to the
specified years otherwise, th& record is selected for the archived file.   The
user must enter an option card specifying the option date*  Also, the  option
date must appear in card columns 1 and 2 of the gption card, and it must be
numeric and greater than 59.  If the option date is invalid, or if no  option
card is submitted, an error message will be printed and program execution will
be terminated.

     The run stream for this test run contains the JCL necessary for archiving
data from the AQDHS-II master file.  This run stream is shown in Figure
AQTJ9-1.
     The cataloged procedure executed by this run stream is AQMSM20. 'Through
the use of substitutable parameters, the input master file is specified as
AQMST01T (created and stored on disk in Test 12), the new master file  is named
AQMST02N, and the archived master file is named AQARCM01.  The user must
supply the DD (data definition) information for the option card file.   The
option specified in the ARCHIVE step of this test run is 65.  Thus, all data
dated prior to 1965 is archived.  Figure AQT19-2 shows the sample output
produced by this procedure.
                                     174

-------
//AOSTSTJ9  JOB  RTI.C44.P02Q«,MCMASTER,T«2,P»150,FORMS»FFWHITE
//•PROCLIBBRT1.CHO.P02069.MCMASTER.DPR.JCL
//KILL EXEC PGHalEFBRia
//OD1  DO DSN»RTI.CU«.P02069.MCMASTER. DPR. DATA. AQARCM01,
// DISP=(OLD, DELETE)
//DD2  DD DSN8RTI.Ca4.P02069.HCMASTER.OPR. DATA. AOMST02N,
// DISP«COLD, DELETE)
//*
//« ARCHIVE THE DATA  PRIOR  TO  19&5 ON THE LATEST MASTER FILE* AOMST01T
//*
//TEST19A EXEC AOMSM20,
//             MSTRFIL"AQMSTOIT,
//             NEHMSTR»AQM3TOZN»
//             ARCH3TR»AOARCM01,
//             PRIl'l,
//             8EC1«1,
//             3EC2«J
//«
//* SPLIT THE MASTER FILE  INTO  AN
//• ARCHIVED FILE,  AOARCM01,  HITH  ALL DATA BEFORE 1965,
//* AND A NEW WORKING  FILE, AOM3T02N
//« WITH DATA 196S  - PRESENT, INCLUSIVE
//*
//ARCHIVE. OPTIONS DD *
65
/*
              Figure  AQT19-1.    Run  Stream

                              175

-------
                                               AUDM3-11 MASTER MLt ARCHIVAL PROGRAM  •  DIAGNOSTIC REPORT
 00
 3
 o
 n
 S
 O
 •a
 3
 (Q
 Ol
          PHltl.PAM r.AMt • AMSARCH  (AD0215)
          Hi VISION LLVLL!  1-00
          LAS1  Ul'liftll «:
          OAU  1.1CUHPUHATE.UI (ICTURiR II,
 2£        ALL  DATA  PHIOK TU ms  is  ARCHIVLO
to"
          1)1 0  HASTtH COUNT:             1J1
          Ntl  MA5KK COUNl!             ilH
          AfimtvLi' HASU« COUUM         13

-------
AQDHS-II TEST 20

Reproduce the Working Master  File with  Data  in  Standard  Units

     In this test run, the AQDHS-II  master file is  reproduced  in  standard
units using the cataloged procedure  AQCVM20.  This  procedure executes ACVUNIT
(AQ0050), the units code conversion  program.

     ACVUNIT (AQ0050) reads each AQDHS-II  master file (or answer  file)  record
and creates a new master file record, changing  the  units code  field  to  the
units specified by the option card.   Each  data  reading in the  record is then
converted to the new units using the conversion factor stored  in  the parameter
file.  This program allows the user  to  produce  reports in the  same units as
the EPA standards or in units of his own choosing.
     The options in this program are used  to specify  whether the  master file
will be reproduced tn EPA standard units or in  user units.   The STD  option
denotes that the EPA standard units  code will be used for each parameter and
method code combination.   The USER option  indicates that the units specified
by the user in the parameter  file will  be  used  for  each  parameter and method
code combination.  The option specified must begin  in card column 1  of  the
option card.  If the option on the option  card  is invalid,  or  if  an  option
card is not present in the run stream,  the default  value of STD will be in
effect.
     The input AQDHS-II parameter file  should contain the units code and
conversion factor information for all  parameter, method, and unit code
combinations on the master file.  Note that the input master file (or answer
file) is not altered by ACVUNIT (AQ0050);  a separate, converted file is
produced.  This converted master file contains  data values converted to the
specified units.  The file may be out of sequence since the units code field
(a  sort-key field) has been changed.

     The run stream for this  test  run contains  the JCL necessary  for creating
an AQDHS-II master file in standard units.  This run  stream is shown in Figure
AQT20-1.
                                     177

-------
     The cataloged procedure executed by this run stream is AQCVM20.   Through
the use of substitutable parameters, the input master file is specified as
AQMST02N (created and stored on disk in Test 19), the input parameter file  is
specified as AQPARMOl (created and stored on disk in Test 1), and the
converted master file is named AQMST02U.  The user must supply the DD (data
definition) information for the option card file.  The option specified in  the
CONV step of this test run is STD causing the readings to be reproduced in  EPA
standard units.  Refer to Figure AQT20-2 for the sample output produced by
this procedure.
                                     178

-------
//AUSTSI20  JUB  RTI.Ca«.Pl)2«(l3,HCMASTtB,T=2,P=150iFORMS=FFrtHITE
//*PRil(.LIB=RTI.CilU.PU2069.MCMASTER.OPK.JCL
//KILL tXtC PGH=IEFBR1U
//HIM DD D5N=im.CISP=(ULD,DELITE)
//»
//« HEPRtmUCL THE rtORKING MASTER FILt.  AOMST02N,
//* WITH DATA IN STANDARD UNITS
//*
//UST20A EXEC ADCVM20>
//             MSTRFILSAQMST02N,
//             ANSHKFLsAQMSTOZUf
//             PAHMF1L=AQPAHM01,
//             I'RIMARYsJ,
//             SECNDRrsl
//*
//* RUN THE UNITS CODE CONVERSION PRUGRAH WITH THE STANDARD OPTION
//*
//CO'IV.OPT IONS DO »
STD
          Figure AQT20-1.   Run Stream
                            179

-------
                                                  AQUIIS-JI  UNITS CODt CONVERSION PROGRAM   -  DIAGNOSTIC  REPORT                PAr.(
00    3=>
O   O
      o
      ro
      o
      S
     U3
      O>
      o
      <
           PKhUHAl-1 MAHC: ACVUNIt (AQ0050)
           luvisiu'i I.LVI.L:  »-oo
           I.AM  n| DM|  «:  /'I
            |l,l III I'lll'AM ,1; M| ||l|l| I- U ,  \'>l!\


     ~H        I'M 11IN J;,  slii
     —i,
     *C     S'l!Ml/tBPOnoO<>OOII>0<>|76<42aOI 1101030.500           READING  »  01    300BOO.OMOOO
     -S               ••• AtVUNir 000  CONDITIONAL - CONVERTED DATA  FIELD TOO LAHUE,  RESULT IS INVALID

     3s
     .O     Mi:'Hl|.' (.'t IHPUf UUHHUS:                           318
     rH     inii LI; i: nf uuiPi'l RECdKDS:                          3IB
     K     nu.'VlP i if IKRUliS 4JCri:lTED:                           »
      I     riu>-li(R Of READINGS CONVERTED:                    U,3«0
     IN>     rjlin«t'» OF RhADIMGS TOO LARGE:                        1
            MifHLK Of HEADINGS TOO SHALL:                        0
            NIR-.^H- cr HLtoKos til in READINGS CONVERTED:        3ia
     -O     Minxu (if RECOKUS WITH HEADINGS 100 LARGE:          1
     2     IHIMIUH lit MLCOhDU WITH READINGS TOO SMALL:          0
     O
     fD
     Q.

-------
AQDHS-II TEST 21

Produce a Sliding Average Report  for all  Hourly Data Retrieved from the Master
File in Standard Units

     In this test run, a sliding  average answer file is  retrieved  from the
AQDHS-II master file which is in  standard units using  the  cataloged procedure
AQRTM10.  This procedure executes ARTLNGP (AQ0110), the  retrieval  language
processor program, the COBOL compiler;  the linkage editor  and the generated
retrieval program, ART6ENR (AQ0120).  The cataloged procedure AQSTM20 is  then
used to calculate the values for  the sliding average report by executing
ASTSLAV (AQ0180), the sliding average program.  Finally, the cataloged
procedure AQRPM20 is used to produce the sliding  average report  by executing
ARPMSTR (AQ0230), the master file detailed report program.

     ARTLNGP (AQ0110) and ARTGENR (AQ0120) were used in  Test 13  to produce  a
standard answer file from the AQDHS-II  master file.  However,  in this test
run, the retrieval programs are used to produce the necessary  input  file  for
the sliding average program, ASTSLAV (AQ0180).  The retrieval  specification
cards entered into ARTLNGP (AQ0110)  must specify  SLIDING as the  retrieval mode
(refer to Test 13).  The file produced by ARTGENR (AQ0120)  in  this case is
referred to as a sliding average answer file and  must  not  be confused with  the
standard answer file.  For a discussion of the programs  ARTLNGP  (AQ0110)  and
ARTGENR (AQ0120), see Test 13.

     ASTSLAV (AQ0180) is used to calculate values for  a  sliding  average
report.  The sliding average values are computed  for all the data contained in
the input file.  Therefore, the user should- retrieve the particular  data  to be
included in the sliding average report rather than performing  sliding  average
calculations on the entire master file.
     The file which is input to ASTSLAV (AQ0180)  must  be a sliding average
answer file created by a retrieval in which the SLIDING  mode is  specified.
The records in the sliding average answer file have been changed to  indicate
                                   181

-------
that they are sliding average records.  In addition, there are extra records
in the file to provide a wrap-around capability (to be used when the beginning
of a year, month, or day has been retrieved).
     The options in ASTSLAV (AQ0180) are used to specify the size of the
sliding average interval and the percentage of readings required to calculate
the sliding average value.  The word AVERAGE must begin in card column 1 of
the option card.  Then, beginning in card column 9, the sliding average
interval (a number from 2 to 31) must be specified.  This number indicates the
interval (or number of readings) for which the sliding average value is to be
calculated.  As an example, suppose the interval value is three:  to calculate
a sliding average value, the corresponding input reading plus the previous two
input readings (a total of three) are used.
     To calculate the sliding average value over an interval of length m does
not require that all m readings be present in the input file.  If the SAROAD
option is in effect (an S is in card column 21 of the option card), 75% of the
m readings ar"6 required*  Whereas, If the AQDHS-II option is in effect (an A
is in column 21h (m + l)/2 readlrigs are required.  If neither option for the
required number of readings is specified, or if an invalid value is entered,
the default value A is assumed.  Figure AQT21-1 lists, by interval  number, the
number of readings required for eaich of these options.
     All records read by ASTSLAV (AQ0180) are processed for sliding average
values; however, a check is made on the time code of each record to determine
if the interval number specified on the option card is greater than the
maximum interval size for that time code.  A chart of the maximum interval
size for each time code is shown in Figure AQT21-2.
     The file generated by ASTSLAV (AQ0180) contains sliding average values as
calculated by the program.  This file is in the same format as the standard
AQDHS-II master file.

     The report produced by ARPMSTR (AQ0230) can either be a standard report
(as in Test 6), or 1t can be a sliding average report.  This option is
determined by the type of file entered and not by the option card.   Sliding
average value files produced by ASTSLAV (AQ0180) are flagged as such and
produce the sliding average report (as in this test); all other files produce
a standard report.   When a sliding average report is being produced by ARPMSTR
                                     182

-------
(AQ0230)  the DISPLAY  option may be used, but the SUM and MEAN options may not
be used.

     The  run stream for  this  test run contains the JCL necessary to produce a
sliding average report for all hourly data that has been retrieved from the
master file which  is  in  standard units.  This run stream is shown in Figure
AQT21-3.
     First, the run stream executes  the cataloged procedure AQRTM10 to
retrieve  a sliding average answer file.  Through the use of substitutable
parameters, the input master  file is specified as AQMST02N (created and stored
on disk in Test 19) and  the output answer file is named AQSLAVRT.  Remember
that AQMST02N is the  file which was  produced by the units code conversion
program,  ACVUNIT (AQ0050), in Test 19 and is a reproduction of the active
master file in standard  units.  Thus all readings in AQSLAVRT are expressed  in
standard  units. The  user must supply the appropriate DD (data definition)
information for the input retrieval  specification cards in the COMPILE step.
In this test run,  the input  retrieval specification cards are used to generate
a sliding average  answer file containing all records with a time code of 1.
Refer to  Figure AQT21-4  for the sample  output produced by this procedure.
     Next, the run stream executes the  cataloged procedure AQSTM20 which
produces  the sliding  average  values. Substitutable parameters are used in
this step to indicate AQSLAVRT (created in the first procedure of this test)
as the input answer file and  to name the output sliding average  values file
AQSLDAVG.  The user must supply the  appropriate DD  information for the option
card file.  In this test run, the  options  specified in the AVERAGE step are
AVERAGE,  '3', and 'A1 signifying that 3 readings  are to be used  to calculate
the sliding average value,  and at  least two  of the  readings are  required  for a
calculation.  The sample output  produced by  this  procedure is shown  in Figure
AQT21-5.
     Finally, the run stream  executes the  cataloged procedure AQRPM20 for the
sliding average report.   By  using  substitutable  parameters  in this  step,  the
input master file is specified as AQSLDAVG (created  in the previous
procedure), the input parameter file is specified as AQPARM01  (created  and
stored on disk in Test 1),  the input site  file  is  specified  as AQSITE01
                                   183

-------
(created and stored on disk in Test 2), and the input parameter  standards file
is specified as AQSTND01 (created and stored on disk in Test  3).  The user
must supply the DD information for the option card file.   The option specified
in the REPORT step of this test run is DISPLAY > 0.5.  Figure AQT21-6 shows
the output produced by this procedure.
                                   184

-------
Interval                         Required # of Readings

                         AQDHS-II  Option           SAROAD Option

   2                          2                          1
   3                          2                          2
   433
   533
   644
   7                          4                          5
   856
   956
  10                          6                          7
  11                          6                          8
  12                          7                          9
  13                          7                          9
  14                          8                         10
  15                          8                         11
  16                          9                         12
  17                          9                         12
  18                         10                         13
  19                         10                         14
  20                         11                         15
  21                         11                         15
  22                         12                         16
  23                         12                         17

                                                      (Page 1 of 2)
   Figure AQT21-1.  Required Number of Readings for Interval Size
                                  185

-------
   Interval                        Required # of Readings

                            AQDHS-II  Option           SAROAD Option

     24                          13                        18
     25                          13                        18
     26                          14                        19
     27                          14                        20
     28                          15                        21
     29                          15                        21
     30                          15                        22
     31                          16                        23
                                                              (Page 2 of 2)
Figure AQT21-1 - continued.  Required Number of Readings  for  Interval Size
                                     186

-------
AQDHS-II Time Code       Time 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
24
12
8
6
4
3
2
28,29,30, or 31 depending on month
5
12
4
Not applicable
             Figure AQT21-2.  Maximum Interval  Size By Time Code
                                      187

-------
//AQSTST21  JOB  RTI.C4<4 ,P02U43,MCMASTER,T=2,Psl50,FORMS=FFWHlTE
//*PROCLIBsRTI.C 0.5
/*
                   Figure  AQT21-3.   Run Stream
                                 188

-------
                                         AODHS-It RETRIEVAL LANGUAGE PROCESSOR PROGRAM   -   DIAGNOSTIC  REPORT                 PAGE
              PROGRAM UAHt: ARTLUGP (AonllO)
     31       REVISION LEVELl 1-00
     «Q       LAST UPDATE ttt Zn
     C       DAIf. INCORPORATED: OCTOBER 31, 1978
              INPUT (CONTROL CARDS):

              SSSELECT                SLIDING
              riME-cnot                = •!•
              NUMHER  Of  CONTROL CARDS READl                     3
     3*       NUMBER  OF  RETRIEVAL SKELETON RECORDS READ:    1,138
     O       NUMIIER  Of  RETRIEVAL SOURCE RECORDS HRITTENJ   1,177
     O       NUMHEH  OF  CUNDITIUNAL MESSAGES I                   0
     J?       NUMBER  OF  ERHOR MESSAGES:                          0
     C       NUMHER  'IF  AOURT MESSAGES:                          0

     n>

     £
CO    i
10    I
     i
     CT>                                      AUmtS-Il GENEHA1ED RETRIEVAL PROGRAM  -  DIAGNOSTIC  KEPOKT                      l'Af,(
     "O
     0,      PROGRAM NAME:  AHTGENR  (AQ0120)
     •3      REVISION LEVtL;  1-00
     O-      LAST UPDATE  *S 24
     -p,      DATE INCORPORATED:  OCTOBER  31,  19f8

     5
     £2      NUMBER OF MASTER FILE  RECORDS READ!                318
     Z      NDMDER OF ANSMEH FILE  RECORDS HRITTEIl:              167
     73      NdtmrR or CONDITIONAL  MESSAGES!                       o
                    HI  AHORT MfSSACLSi                             0

-------
                                          AQDHS-II  SLIDING AVtRAGE PROGRAM  -  OlMSNUSTJC  REPORT
         PROGRAM NAME! A3TSLAV (AU0180)
         REVISION U.VIL: 1-00
         LAST UPDATE »t Z«
         DATl INCORPORATED! OCTOBER 31,  1978

   2    IM»TinilS IH (TFtCfl AVtPAGE J            A
  to

   ^     NDHHLR Of SLIDING AVERAGE AN9HER  RECUHUS REAOI          167
         MUHIthR OF SLIDING AVERAGE VALUE RECURDS WRITTEN!        157
   ^    NIIMOEH Uf CRHOH3 OETECftOt                                 0

   ro
   .l-i

   cn
   3
   o
   n>
   o.
   £Z
   ro
5
0
    o
    I


    3
    «a
    CO

-------
                                   AQDIIS-II MASTER FIU DETAILED REPORT PROGRAM
                                                                             DIAGNOSTIC
                                                                                                                                  HAI.f
IQ
 ro
 i-'
 i
-a
o
o
a>
a.
       PROGRAM NAMtl ARPMSTR (AQ0230)
       REVISION LEVELI 1-00
       LAST UPDATE. «l 24
       DATE INCORPORATED I  OCTOHER 31, 1978

       USER-SPECIFIED OPTION! DISPLAY > O.S
       NUUOEH OF  OPTION STATEMENTS READJ
       NUMBER OF  MASTER FILE RECORDS RtADl
       NUMBER OF  REPORT PAGES WRITTEN:
       NUMBER Of  ERRORS DETECTED:
                                                             1
                                                          IS?
                                                           24
                                                             0
       STATE I  OKLAHOMA (37)
 ro
 o
 i
 i
•a
 o
7      UNITS:     PARTS PER MILLION
TULSA PUBLIC HEALTH, TULSA, TULSA CU.
                                       PRIMARY
                     0.20 PARTS/MILLION,  3 HOUR  MAX,
                     0.20 PARTS/MILLION,  3 HOUR  MAX,
                                      AflDHS-II  AIR  QUALITY DATA REPORT - SLIDING AVtRAGF INTERVAL -
                                                           DISPLAY  >o.s

                            EPA -  ATMOSPHERIC  SURVEILLANCE   COLLECTION METHi   INSTRUMENTAL
                                                                                                                                  PAf.t
                                                                                                             YEAR!  l«»/a
FEDERAL STANDARD
STATE STANDARD
        ANALYSIS MtlHOOl   FLAME 10NI/AIION            MON1H:   ftUGUSt
        SAMPLING INTERVAL! 01 HUUKS                    MIN  DF T:      .
        SAROAD KEY:        373000<>302030009i)7AOS17a KEY-2: Q31021in7 KF.V-i:  OAn?nO
                                     SECONDARY
1  PER YEAR            .20 PARTS/MILLION, 3 HOUR MAX,  I P(R  YEAH
1  PER YKAP            .20 PARTS/MRLIOHr 1 HOUR MAX,  I I'lR  YFAfl

DAY
01
02
03
04
05
06
07
08

00

• ••
2.667
1.333
3.267
1.267
4.833
3.432

01

2.500
0,000
2.333
3.300
0.633
0.000
3.630

02

2.00Q
0.333
2.667
3.333
5.367
3.500
3.795

03

1.667
4.000
2.000
3.100
6.633
3.000
3.895

04

2.667
3.000
1.667
3.800
6.567
3.300
4.030
HOUR
OS

3.000
1.667
1.667
4.700
6.100
3.200
4.197

06

2.667
2.3*3
1.667
4.867
5.800
3.100
5.297

07

1.667
2,000
1.333
0.767
b.367
3.000
5.963

on

1.333
2.667
.6667
5.167
4.500
3.267
6.321
                                                                                          09
                                                                                                   10
                                                                                                            11
2.000
2.000

5.067
3.433
3. 600
5.681
2.000
2.000
1.333
4.600
3.367
0.000
5.370
1.667
2.333
1.667
3.267
3.433
4.100
5.027
       •*•  INDICATES  SLIDING AVERAGE VALUt NUT COMPUTED DUE TO  INSUFFICIENT  NUMBER  OF  READINGS IN FILE.
       BLANK  INDICATES  SLIDING AVERAGE VALUE DID NOT MEET DISPLAY CRITERIA OK  DID NOT  MEET  SELECTION CRITERIA.

-------
AQDHS-II TEST 22

Dump the Contents of the Archived Master File

     In this test run, the contents of the archived master file are dumped
using the cataloged procedure AQRPM25.  This procedure executes ARPDUMP
(AQ0310), the master file formatted dump program.

     ARPDUMP (AQ0310) produces a formatted dump of an AQDHS-II master file.
Descriptions of each field within a master file record are printed to the left
of the corresponding data contained in each record.
     The option in this program is used to specify the number of lines per
printed page.  This option can be very useful to those users who are using the
standard 11 x 14 inch output form and have the ability to print eight lines
per inch, thus reducing the amount of paper used.  The number of lines per
page must be entered in card columns 1 and 2 of the option card.  The default
of 55 lines per page is assumed when the option is invalid or an option card
is not present in the run stream.

     The run stream for this test run contains the JCL necessary for dumping
the contents of the archived master file.  This run stream is shown in Figure
AQT22-1.
     The cataloged procedure executed by this run stream is AQRPM25.  Through
the use of a substitutable parameter, the input master file is specified as
AQARCM01 (created and stored on disk in Test 19).  The user must supply the DD
(data definition) information for the option card file.  The option specified
in the DUMP step of this test run is 80 lines per page.  Refer to Figure
AQT22-2 for the sample output produced by this procedure.
                                    192

-------
        «>2  JUH  RU .CUU.P02«a3rMtMASTtR, T=2,P=J50,FURMS«FFWHITE
//•PRnCUt»=RTl.C««.P02069.MCMASTtR.UPR.JCL
//*
//* DUMP TKt CONTENTS OF TMt ARCHIVED FILE.,  AfJARCMOl,
//* CRUTED III TEST 19
//•       	
//TEST22A tXEC AllRPM2b,
//             MS1RFIL=AOARCM01
II*
//* Cljfl Tilt DUMP PRUC.RAM AGAINST  IHt AI'CHIVEO  fILt,
//• HITH A UNLS-PER-PAGE MAXIMUM UF 60
II*
//DUMP.OPTIONS DD *
PI)
         Figure  AQT22-1.   Run  Stream


                          193

-------
                                                                    AGDHS-II MASTER FILE  FORMATTED DUMP
                                                                                                                                        PACE
            ri'l'l,|.AM  :jAf,f : AkPOIJMI'  (AO03IO)
            Kt vlr.i«h4 ttvtt:  i-oo
            I.A:;I  nri'Atl. »i in
            liAII  IiiCiiHruukltlil  OCTlintR 31.
                     ijf   qo   HHtS rr.R PAGE  USLU
UD

i
 ro
 ro

 ro
 T3

 o
 o
 n>
 o.
 c

 n>
 in

  i
 TJ

 o
 in

 i
         —T3
         01
         .(£»
         n>
          o
          -t>

          PO

-------
                                                                 AODHS-II  MASTER FILE FORMATTED DUMP                          PAGE    2

              Acfifijf cs 2  FURM cs i  STATE  »-  34  AOCHS \u,  COUNTYS   nso   AREAS 0003  SITE* 002   AGENCY<= G  PROJECTS ou  TIME= c  REC  YEAH*  60
              l-AKrt^ETLH Cs   13502  METHOD CE VI   UNITS C= 01  REC MONTHS 59  RtC DAYs 00  START HOURs  52  SLAMSs    NBR OF RMOINGS IS 01
              s"l   0023 !•      KtADINGS  APPEAR AS FULLOKSJ  STATUS-FLAG  BLANK DECIMAL-CODE  BLANK READING BLANK *•


    Ti        .*l.:,1|!l;l1,Lf, ?  F"H',I.£T '... STATE  *=  i/  AUCRs 1H6  COUNTrs   3020   AREAs 3000  SITEs 997   AGENCYs A  PHCIJECT= 05  TJMts 2  HEC  Yl AH=  63
    Z!        r/il•Ai'LII H LS   o.MOl  MLTIIdh Cs 2H   UNITS Cs [b  HEC MONTHS 01  REC OAYs 01  START HOURs  00  SLAMSs    NBR UF HEADINGS IS 12
    £        J'«'"H :,|A|ijjs j  KLAbl'ifiS  APPEAR AS FULLOHS:  STATUS-FLAG  BLANK DECIMAL-COPE  BLANK READING BLANK *•
    K        s  n   '''"'M t* S "  9<>OP  '* S °  9t;00 ** 8 0  9300 •• S 0   9400  •* S 0  9500 •» S 0  9600  *»  3 0  9/00 *» S 0  9BOO »• S 0  9900  «•


              ACIIUTJ C= 2  FIJKM Cs 1  STATE  *«  37  AOCRs 186  COUNTY*   3020   AREAs 3000  SITEs 997   AGENCYs A  PROJECTS Ob  TIMEs 2  REC  YEARS  63
              fAHAticrtw i-   62i01  METHOD Cs 20   UNITS Cs 15  REC MONTHS 0)  REC DAYS 02  START HOURs  00  SLAMSs.    NBR OF READINGS IS 12
    3>        II t,  T S A ij s S   t.-.O n S  A PEA    S f L•' 0 S   S A U - LAG  B A K DEC M L C DE  .B A K R A  I  G I A K *
    *•>        S  1   JJHOO «J S j  9100 •» S 1  9200 «» S 1  9300 ** S 1   9400  ** 3 1  9500 ** 3 t  9600  *»  S 1  9700 »» S 1  9800 *« S 1  9900  ••

    ro
    •)»        fi£,',i"lJ,}-5 f  HIRM c= '  STATE  »=  37  AOCRs 186  COUNTY*  ,3020   AHEAs 3000  SITEs 997   AGENCYs A  PROJECTS Ob  TIMEs 2  REC  YEARS  63
     i         f AMAH* TEH £s   b^ioi  METHOD c* 20   UNITS cs 15  REC MONTHS 01  REC DAYS 03  START HOURS  oo  SLAMSS    NBR OF READINGS is 12
    l\>        SUlli'll  SMIUSS S  READINGS  APPEAR AS FOtLOWSs  STATUS-FLAG  BLANK DECIMAL-CODE  'BLANK READING BLANK **
                   71;00 «« S 2  9100 •• S 2  9200 ** S 2  9300 •* S 2   9400  *« S 2  9500 •* S 2  9600  »»  S 2  9700 ** S 2  9BOO •* S 2  9900  •«
     I        '.• 2   '>10J  »•  S ?  9902

    o       Acrinn cs  ^   FMHM cs i  STATE **  3?   AUCRS i»&  CIIUNIYS  3020   AREAS 3000  SITES 997   AGENCYS A  PROJECTS ob  TINES 2   HEC  YJARS 6$
    o       PAH.V-I TLR  c=    62101  METHOD a 20   anus t= 15  REC MONTHS  01   REC DAYS 04  STARI HOURS  oo  SLAMSS    NBR OF HEADINGS  is  12
    3       Si»»" IT STATUS: 3  READINGS APPEAH AS FOLLOWS:  STATUS-FLAG BLANK DECIMAL-CODE  BLANK  READING BLANK •*
    r+       S 5   9000  ••  S 3  9100 »* S 3  9200  **  S 3  9300 ** S 3  9400 *•> S 3  9500 ** S 3  9600 «*  3 3  9700 •* S 3  9800 •* S  3  9900  *•
    -i.       S <   T'OI  »•  S 3  9902 *•
    C        ALUlin C=  2   FUHH Cs 1   STATE »= 37   AUCRs 186  COUNTYs  3020   AREAs 3000  SITEs 997  AGENCYs A  PROJECTS 05  TI*IEs 2  REC  YEARS 63
    fl>        I-AKAI-FUK  L=    62101  METHOD Cs 20   UNITS  Cs 15  REC MONTHS  01   REC  DAYs 05  START HOURs  00   SLAMSs    NBR OF HEADINGS IS  12
    o.       s'JD'ir SIAIUSS  s  (        'j 1  *>?2J »«  S  4   "JbbS *t
    J!J        ArilOi C= 2   FOHM Cs 2  STATE «s 3/   AUCH=  1«6  COUNTYs  3020   AREAs 3000  SITEs 997   AGENCYs A  PROJECTS 05  TIMEs 8   REC  YEARs 63
    • n™11       t* A i- A • tt f i. u *• —    A*\ * n t  nt * tfi^n f —  in   iii. » » t> f_ « e  ;jf ^* UI~*M¥U«  A ^   r*e f n A v« At  c T A o T LJf inu—  ft A   et AUO«k    utiu r 1C of Af\ t /Jfc  re n 3



    CD
r-       tAifliritH cs   tfiioi  METHOD  t= 20  UMTS cs 15  HCC  MONTHS 02  REC DAYS 01   START  HOURS oo  SLAMSS    NBR  OF  READINGS is 02
:=       S'Jr 'II  blAlUSs §  READINGS  APPEAR AS FIILLUI'.S:  STATUS-FLAG BLANK DECIMAL-CODE   BLANK READING BLANK **
fi       3 /   <>3i<*«30  9666 *'*
                                Cs ?  STATE *- 37   AUCRs  186  CUUNTYs  3020   AREAs  3000  SITEs 997  AGENCYs  A  PROJECTS Ob  UMts 8   REC  Yh
                                nj  Mf nillt) Cs 20  linns C=  Ib  KEC MUNTHs 02   REC UAYs 01  START HOURs  00  SI_AMS=    NBR OF Hf.AUIN.GS  IS 02
                                KIADInGS APPI.AH AS  FULLf»«Sl   STATUS-FLAG BLANK DECIMAL-CODE  BLANK READING BLANK **
3.,       ACIIi.'i  C=  f  I Ml, C= 2  STATE  »s_37  AUCRs^ 186. COULUVs ..3020. ARfAs 3000..S11ES  997....AGENCYS A...PHOJECTs_Ob.  1IME=..8. REC.JhAHs 63
S       ffchi.'-'l IIK  t=   6/=
•^       SHilllll  MAIUSS  J
^       r. (i   "i n  •* :;  i  9n-m «.

3       ACflt'l:  L=  2  fHtfl Cs 3  STATE  *s  i/  AUCRs Ifl6  COUHTYs   3020  AREAs JOOO  SITEs  99fl   AGENCYs A  PROJECTS 05   TIMEs  B  HEC YEARS 63
?2       PARAMI.TLI.  Cs   61202  'ILTMOO Cs 21   (Ml IS C= 28  REC NfJHTHc 01  REC DAYs 01  START  HOUR= 00  SLAMSs    NBR UF  HEADINGS IS 04
01       su.mii  MAIUSS  s  REAUidGS APPEAR  AS KJLLU;IS:  STATUS-FLAG  BLANK DEciMAL-coor  'BLANK  READING ULANK **
         G 1   till  *• S  1  1122 *• S 1  1124 »*  S 1  1124 *«                             '•
     I        ACT1»!< (= 2  fimri t=  3   STATE *= 37  AOLR=  186   COUNTYs  3020  AREAs  3020   SITEs 996  AGENCYs  A   PROJECTS Ob  TIMEs H  REC  YfAks  63
             K.U'A'il ILN C=   61202  METHflD Cs 21  UNITS Cs  28   REC MONTHS 01  REC DAYS 01   START HOURs 00  SLAMSs     NBR OF READINGS IS 04
    "o        si'hiui SIAIU.SS s  PLADIMCS APPI.AK AS FOLLOWS:  STATUS-FLAG BLANK DECIMAL-CODE  BLANK READING BLANK  «*
    "S        :i I   'I'jll •* S 1  O'ilO  ••  S 1  OblO ** S  I  0510 **

    t£i        ALIIH, C= f.  Hllri c=  i   STATE *s }?  AilCRs  186   COUNTYs  3020  ARIAs  3140   SITEs 992  AGENCYs  ft   PROJECTS 05  U^E* B  REC  YEAks  63
    -S        FAI.A-MO L=   (,{?,)!>  "ETHdO C= 21  UllHS L-  28   REC MOUTHs 01  REC OAYs 01   STARf HUURs 00  SLAMSs     NBR UF RLAPINGS IS 04
    01        S'11'..-.lf S1AIUS: S  KEAl'MGS APPEAR AS f-ULLUl'S:  UTATUS-FLAG BLANK DECIMAL-CODE  BLANK READING BLANK  •*
    3        G 1   'Jf'li' •* S 1  0000  ••  S 1 -0020 «« S  1  -0020 »*

    3>       AiriO-i 1= 2  fui." Cs  3   STA1E «- i?  AQLHs  1«6   COUHTYs  3020  AREAs  3140   SITEs 994  AGENCYs  A   PROJECTS 05  UM£s It  HEC  YEARs  65
    73 ^-.   lV.k' 'LTI l< t=   61202  .-lElHllO Cs 21  Ul'lTS Cs  28   REC MONTHS 0$  REC DAYS 01   START HOURs 00  SLAMSs     NBR OF REA01IIGS IS 04
    ^  T3   yilK'in ', IA 1113s 3  MEAblflGS APPEAK A3 FIJLLOrtS:  STATUS-FLAG BLANK DECIMAL-CODE  BLANK HEADING BLANK  »*
               i  -u"\r •« u i -OOIH  •»  s  i  -ooiB »• s  i -ouie  ••

    3  (B
    -a       nniiiiiK UF KLtimi'S M.AIJ:         ,14
        ro   .in.'inp in  iir.C'ii-i'S iH'-i'fD:        13

        O

             MI.V ir.j.iii LI «i'i :  i-''ii
        l\3   I A.", i  nri
-------
ADQHS-II Test 23

Update the Master File

     In this test run, the input AQDHS-II master file transactions  are  edited
and converted into internal transactions using the cataloged procedure
AQEDT10 which executes AEDMSTR (AQ0060), the master file transaction edit
program.  The cataloged procedure AQFMM10 is then used to update the AQDHS-II
master file by executing ASRINTR (AQ0130), the master file internal
transaction sort program; and AFMMSTR (AQ0100), the master file maintenance
program.

     In Test 5, the initial AQDHS-II master file was created using  only one
cataloged procedure which executed the same programs as this test run.   By
using two different procedures, the user can edit several different sets Of
input transactions and then perform a single file maintenance on all the
transactions edited.  This W411 result in operating cost savings since  it
makes it necessary to pass the master file only one time. Refer to  Test 5 for
a description of AEDMSTR (AQ0060), ASRINTR (AQ0130), and AFMMSTR (AQ0100).
     The input master file transactions in Test 5 were used exclusively for
creating master file records.  However, in this test run, not only  are  records
created, but exisitng master file records are changed and deleted.
     To change a reading in a master file record, the user enters a
transaction with the same key information as the master file record to  be
changed.  Also, this transaction must have an action code of '3' and contain
the new value(s) for the reading(s) to be changed.  If these requirements are
met, the non-blank readings of the transaction will replace the corresponding
readings in the master file record.  An individual reading can be deleted
using this same process by changing the reading in the master file  record to
9999.
     Similarly, the deletion of a master file record requires that  the  user
enter a transaction with the same key information as the master file record to
be deleted.  However, the transaction must also Jiave an action code of  T,
                                    196

-------
and the remaining  transaction  fields should contain blanks.  It should be
noted that the records  are  flagged for deletion as a result this test run but
are not acturally  deleted.  When the master file is processed by ARPSARD
(AQ0220),  and the  SAROAD  date  file is created, the records flagged for
deletion will be physically deleted.
     In order to add a  reading to an existing master file  record, the user  can
enter a transaction with  the same key information as the master file record to
be affected.  This transaction should have an action code  of  '2' and
contain the readings to be  added.

     The run stream for this test run contains the JCL  necessary for updating
an AQDHS-II master file.  This run stream is shown  in Figure AQT23-1.   It does
not show all the input  master  file transactions in the  run stream  but,  it does
show the necessary JCL.
     First, the run stream  execute's  the  cataloged procedure AQEDT10.  Through
the use of substitutable parameters, the input  parameter file  is  specified  as
AQPARM01 (created and stored on  disk in  Test 1), the  input site file  is
specified as AQSITE01 (created and  stored on disk  in Test 2),  and  the  output
internal transaction file is named TRANS01.  For the EDIT step,  the user must
supply the DD (data definition)  information for the  option card file  and the
input AQDHS-II master file  transaction file.  The  option specified in  this
test run is LIST,  and the default  value  of NOFLAGW  will also  be in effect.
Refer to Figure AQT23-2 for the  sample output  produced  by this procedure.
     Next, the cataloged procedure AQFMM10 is  executed.  Substitutable
parameters are used to specify the  input master file  as AQMST02N  (created  and
stored on disk in Test 19), to specify the  input master file  internal
transactions as TRANS01 (created and stored  on  disk  in  the first  procedure  of
this test), and to name the updated  master file AQMST03N.   The user must
supply the DD information for the  option card  file  in the UPDATE  step.   The
options specified for this  test  run  are  LIST  and  FLAGW.  Figure AQT23-3 shows
the sample output produced by  this  procedure.
                                     197

-------
//AQSTST23 JOB RT I ,C44.f'02443,MCMASTER, T = 2,P=lbO,FORMS=FF»IHITE
//*PROCLIB=RTI.C44.P02069.MCMASTER.DPR.JCL
//KILL EXEC PGM=IEFBR14
//DDt 00 OSN=RTI.C44.P02069.MCMASTER. DPR. DATA. AQMST03N,
// DISP=(OLD, DELETE)
//*
//* THIS TEST IS THE FIRST MASTER FILE UPDATE SINCE THE  ORIGINAL
//* MASTER WAS BUILT IN TEST 5; THE UPDATE INCLUDES CHANGES AND DELETES
//« AS HELL AS ADDS; THE TRANSACTION EDITOR PROGRAM AND  THE
//* FILE MAINTENANCE PROGRAM ARE INVOKED BY TWO DIFFERENT PROCEDURES
//* IN THIS TEST; USING THESE SEPARATED  PROCEDURESf THE  USER MAY
//* MAKE MULTIPLE EDITS AND THEN PERFORM A SINGLE FILE MAINTENANCE
//* ON ALL THE TRANSACTIONS EDITED
//TEST23A EXEC AQEDTIO,
//             TRANS=TRANS01,
//             PARMFIL=AOPARM01r
//             SITEFIL=Af)SITE01,
//             PRIMARYsl,
//             SECNDRY=1
//*
//* EDIT AODHS-II TRANSACTIONS AND CATALOGUE THE OUTPUT
//* INTERNAL TRANSACTIONS TO USE AS INPUT TO THE FILE MAINTENANCE
//* PROGRAM LATER
//*
//EDIT.OPTIONS DD *
LIST
/*
//EDIT.INPUT DD *
1340001001A06179010100111019101000010001000200030005000880039021               2
134P0010P1AQ6 79010116111019101000010001000200030005000600030021               2
1340001001A06 ?9010300U 1019101000020002000400060010001600260042               2
1340001 DO1A06 790104161110i9J0100003000j00060009001500240039b013               2
              790106081110191010000^0005001000150025004000150005               2
              79010800111019101000080008001600240040001400040018               2
13«0001001A06
l3aQ001 00 1A061 790 1100B11 10191 01 000 1300 110026003900 15000400 190023               2
1 31000100 1A061790 110161 11 01910 100021002100«2001300050016002300U1               i
1340001001 A061790120001 1101910100033003300180002002000220042001 a               2
1 3a0001 00 JA061790 120081 110 191 OlOOOOUQOOaOO 1000 150025001000 150005               2
1340001 00 1A061790 120161 11 0191 01000370037002600 17004500 12000700 19               2
1340001 00 1A061 790 131 081 110 191 0100041 004 1003800320020000200220024               2
\ 340001 00 1A066790301 0542401 33021 000 1000 10002                                   2
            (Remainder of transactions omitted)
//TEST23B EXEC AUFMM10,
//             OLDMSTR=AOMST02N,
//             NEWMSTR=AOMST03Nt
//             PBIHARY=1,
//             SECMDRY=1,
//             TRANSsTRANSOl
//*
//* UPDATE THE MASTER FILE, AUMST02N, CREATED IN TEST 19 WITH THE
//« TRANSACTIONS EDITED IN STEP A
//*
//UPDATE. OPTIONS DD *
LIST FLAGrt
                     Figure AQT23-1.   Run  Stream


                                    198

-------
                                      AQDHS-II  MASTER  FILE  TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC REPORT                PAGE


           PROGRAM  NAMEl  AEDMSTR  (AQOObO)
           KEV1SIUH LEVELl  1-00
           LAST  UPDATE  »: 24
           DATE  INCORPORATED: OCTOBER  3i,  1978
  f
 £       OPTIONS  IN EFFECT! LIST   NOFLAGM
  C

  ft)        INPUT  TRANSACTIONS              tHRURS

 ^O        1340001001A0617901010011101910100001000100020003000500qBB003902|               2
  —I                 *** AEDMSTR 042 CONDITIONAL • COLUMN 57 - READING EXCEEDS MAXIMUM PERMITTED
 £}                 »** AED-1STR 092 CONDITIONAL - COLUMN 61 - READING EXCEEDS MAXIMUM PERMITTED

 ro        134QOOI001A06179010116111019101000010001000200030005000800030021
                    »** AEDMSTR 004 ERROR - COLUMN BO - NON-NUMERIC ACTION CODE - CARD REJECTED

 -O        1340001001A06179010300111019101000020002000100060010001600260042
 2                  »** AEPMSTR 004 ERROR - COLUMN BO - NUN-NUMERIC ACTION CODE - CARD REJECTED

 S         1340001001A06179010416111019101000030003000600090015002400390013
 O.                 «•* AEDMSTR 004 ERROR - COLUMN BO - NON-NUMERIC ACTION CODL - CARD REJECTED

 JD         1340001001A061790106081It019101000050005001000150025004000150005
                    *•• AEDMSTR 004 ERROR - COLUMN BO - NUN-NUMERIC ACTION CODE - CARD REJECTED
 2?
"2        1340001001A066790307054240133021001300130026
 O                 ' •** AEDMSTR 004 ERROR - COLUMN 60 - NON-NUMERIC ACTION CODE - CARD REJECTED

 |±         1340001001A06179032B00424013101000370Q379928                                   2
 0                  •«« AEDMSTP 002 CONDITIONAL - COLUMN 41 - READING EXCEEDS MAXIMUM PERMITTED

 '        1340001001A0677902I406426028207200050005
.<-,                  **« AEDMSTR 004 ERROR - COLUMN BO - NUN-NUMERIC ACTION CODE - CARD REJECTED

 O        1340001001A06779022206426031407200130013
^                  *** AEDMSTR 004 ERROR - COLUMN BO - NUN-NUMERIC ACTION COOL - CARD REJECTED
 Q>
 3        1120001001CO1179013116424013302100110011000900100009000600080007
 _                  •»» AtDMSTK 004  ERROR  - COLUMN BO - NON-NUMERIC ACTION CODE - CARD REJECTED

 3        1340001001A061650J2B004240I310I0003700379928                                   2
 3:                  *•» AEDMSTR 042  CONDITIONAL -  COLUMN 41 -  READING EXCtEDS MAXIMUM  PERMITTFD
(/I
70  —   1340001001A0616501010011101910100001000I000200030005000BB003902I               2
    T?             «•• AEDMSTR  042 CONDITIONAL -  COLUMN 57 -  READING EXCEEDS MAXIMUM  PERMITTED
    (25              *** AED«3TR  042 CONDITIONAL -  COLUMN 61 -  READING EXCEEDS MAXIMUM  PERMITTED
    O>
          1120001003C0117BO1311642]01II0610040000300025747B0455747                       2
    1~J              ««* AEDMSTR  042 CONDITIONAL -  COLUMN 45 -  READING EXCEEDS MAXIMUM  PERMITTED
    O              *** ACR'tSTH  042 CONDITIONAL - COLUMN 49 -  REAPING EXCEEDS MAXIMUM  PERMITTED
    -h              ••• AEDHSTR  042 CONDITIONAL - COLUMN S3 -  HEADING EXCEEDS MAXIMUM  PERMITTED

    i.   112000!003C0il7ei2301642602140734!>500600040502900270025Q02500260               2
                    «*«  AEDMSTR 042 CONDITIONAL . COLUMN 33 -  READING EXCEEDS MAXIMUM  PERMITTED

-------
                                        AQDHS-II  MASUR FILE TRANSACTION EDIT PROGWKH  —  BIAftHUSMC  REPORT                p»Rf
   C        MiiMlilR OF TPANSACHUNS READ:                          91
   2        NllMHtR OF TRANSACTIONS PASSING  EDIT  CRULHUJ        63
   ro        NUMBER OF UtTCRNAL TRANSACTIONS CRtATtOt              61
             NUHBCFt OF HARMING MESSAGES I                            0
             HUMOLR OF CONDITIONAL MESSAGES!                      10
             NUMBER OF ERROR MESSAGE 3 I                              8
   W        NUMBER OF ABORT MESSAGES t                              0
    1
   ro
   o
   §
   (0
   Q.
INS O
o ">
o a.
    rn
    3
   «Q
    Ol
    3
    m
    o    ro
    to    o
    -I    -h

-------
                             AQDHS-1I  MASTER FILE  TRANSACTION EDIT  PROGRAM   -   CONFIRMATION  LISTING                    PAGE

  -n
 £     INPUT  TRANSACTIONS  PASSING  EDIT  CRITERIA

  ^      l34000100|AObl79010|OOI110l910100001000t00020003000S0008B0039021                2
  (1>      1340001001AObl790IOBOO|lI01910IOOOOBOOOB001b0024004000140004001B                2
  5,     134000100lAOb|7901100Bl1|019101000130013002b003900IS00040019Q023                2
 O     1340001001A0bl790110Ibl11019101000210021004200130005001600230041                2
  —)     1340001001A0b|79012000111019101000330033001800020020002200420014                2
  £*     1340001001 AObl7901200Bl110191010000400040010001S00250040001SOOOS                2
  I       l340001001AOb!790120I6|l1019101000370037002800170045001200070019                2
ro     1140001001AObt790131 OBI 11019101000410041003600320020000200220024

I
         i340001001AObb79030IOS4240l33021000100010002                                   I
         1340001001A0667903020S4240133021000I00010002                                   2
 O      l340001001AObb7903030S424013302l000200020004                                   2
 O      134000100IAObb7903040S4240l3302100030003000b                                   2
 EL      1340001001AObb79030S05424013302lOOOSOOOS0010                                   2
 _T.      1340001001A0667903060S424013302I0008000K0016                                   2
 3      1340001001AObb7903080S4240l330210021002t0042                                   2
 =      l34000tOOIA0667903240S424013302l003300330018                                   2
 O.      134000100IA0667903260S4240I330210004000400IO                                   2
         I340001001A061790328004240I31010003700379928                                   2
         1340001001A0667903300S424013302I004100410038                                   2
 -r,      l34000|001AOb77902010642b0282072000I0001                                       2
3         134Q001001A06779U20306426028207200010001                                       2
 A      l34QOOI001AOb779020<>0642b02B207200020002                                       2
 m      134000100|A0677902070b42b028207200030003                                       2
 O.      l340001001AOb77902200b42b0282072000BOOOB                                       2
 S=     134000l001AOb77902220b42b0282072001300l3                                       2
 JJ     1340001001AOb77902240b42b02B207200210021                                       2
         134000l001AOb779022SOb42b028207200330033                                       2
 3>      134000IOOIAOb779022b06<12b02B2072000     !3426031407200040004                                       2
3      134000l001AOb77902270ba2b03l407200370037                                       2
3      134000IOOIA0677902260b42b03I40720041004i                                       2
_      112000IOOIC0117B123100424013302100000000000000000000000000000000                2
£ ^^  I120001001COII7BI23I06424013302100000000000000000000000000000000                2
O -O  M20001001CO|17BI2311b4240l3302100000000000000000000000000000000                2
2 0>  1I2000IOOICOI1790101004240I3302I00000001000000000000000000000000                2
!2 *m  112000100IC011790IOI064240I3302100000001000
-------
-n                       AUDHS-II MASTtR FILE  TRANSACTION  EDIT  PR06RAM   •   CONFIRM*TION LISTING                     PAGE
_j>
ua
*5    INPUT  TRANSACTIONS PASSING tOIT  CRITERIA
m
_    1120001001C01179020300424013302100000000000000000000000000000000               2
JQ    1120001001C01179020308424013302I                    000000000002               2
—I    1120001001COI179020316120011302100010004000600060007000500000000               2
ro    134000I001A0616S03280042101310I0003700379928                                   2
<*"    I100001001A06165010100111019101000010001000200030005000880039021               2
l<0    1100001001E02171060600424011107300800100010101020102011001130110               3
      1100001001E02171060608121011107301100121011001000080008000900090               3
 1    1100001001E02171060616121011107300990099009901000100010001210122               3
O    1100001001E021710h070012flOlll07                                                1
O    1100001001E021710621000210U107      ,                                         1
2.    1100001001E021710622001210 111 07300800080009000900099009900990100               3
C.    1100001001E0217106220812101II07301000100012101220218020002010181               3
3    llOOOOlOOlE02l7lOb2ai(.1210lH0730l760l510l2lOl00009000B000700060               3
C    1120001003C01178062500112011401000390021002900290029002900290031               2
2    1120001003C01178062506412011101000310309001900690071008800980088               2
      1120001003C011780625U412011101000830073007800490010000100240000               2
      1120001003COI178041500121011105102900170017001700120012002300290               2
_    1120001003C01178011508421011105199990690023003400170017001200120               2
3      II20001003CO1178041516421011105101700170023002300460092008000290               2
      1120001003CO1178013100421011106199999999999999999999999999999999               2
£    112000l003C0117801310ei2l011106199999999003400310022002100260029               2
o.    11200010030011780131161210111061001000030002571780155717                      2
C    1120001003C01176112200126021107303600315034003350350037503650760               2
•J    1I20001003C01176112208426021107309000810010003200310033003100390               2
n>    1120001003C01178112216126021407303600440038503500335033003400340               2
3>    1120001003C01176123000426021407301550150015001550150015001500145               2
JO    1120001003001176123008126021007301550170015001600240029002900335               2
g    112000I003COH78123016426021407345500600040502900270025002S00260               2

(-•    NUMBER OF  TRANSACTIONS PASSING EDIT CRITERIA!         83
 O
  I
  I

•a

 3
(O
 2«a
 V) ro
    o
    -h

-------
                                    AODHS-II  MASTER FILE INTERNAL TRANSACTION SORT PROGRAM   »   DIAGNOSTIC  REPORT                         PAGE  1
                                                                                          \
            PROGRAM NAME: ASRINTR  CAOOlJO)
     -n     REVISION LEVtLJ 1-00
     -I.     LAST UPDATE J»» 24
    «9      DATE INCORPORATtDt OCTOBER 31,  1978

     (D

     >     NUMBER tlf  INPUT INTERNAL TRANSACTIONSl           63
    •5J     NUMBER OF  OUTPUT INTERNAL TRANSACTIONSj          83
     rvj
     CO

     CO
     o
     n>
     Q.
     c
     CD
o
CO
    •a
    3
    (O
     CO
     50
         -o
         0)
        (Q
         (D
        O
        -b

        00

-------
                                       AODHS-II  MASTER FILE MAINTENANCE PROGRAM   -  DTAGN03TIC REPORT                 PAGE
          PROGRAM NAMEt  AFMMSTR (AQ0100)
          REVISION LEVEL!  1*00
          LAST UPDATE  «t 24
          DATE INCORPORATED I  OCTOBER 31, 1978
                             TABLE « 1
   3

   (D
   a.
    -a
    3

si
   s
SIGNED
NUMBER
-9
•8
-7
•6
•5
-fl
•3
-2
-1
"0
«0
»1
*Z
»3
»fl
+5
»6
»7
+8
»9
LAST DIGIT
OF NUMBER
PRINTED
R
0
P
0
N
M
L
K
J

\
A
8
C
D
E
F
G
H
I
    0     THIS TABLE SHUMS THE  PRINT CHARACTERS
    ,      FOR THE LAST DIGIT  OF SIGNED DATA VALUES
    I      WHICH MAY APPEAR IN THE AODHS-M
   ^     MASTER FILE MAINTENANCE OUTPUT REPORTS

    3
   «Q     OPTIONS IN EFFECT:  LIST FLAB*

-------
                                           AQDH3-II MASTER FILE MAINTENANCE PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                           PAGE
    tQ
    C.
    I
    ro
    CO
    CO
     I
    O
    O
    •a
    m
    o.
    o
ro  o
o  fl>
en  o.
             TRANSACTION
    o
     if
     I
    T3
    3
    (O
    -s
    2  -O
    CO  Ol
    -H 10
    73  fl>

        CO

        O
        -h

        00
          *** AFMHSTR
          •*• AFMHSTR
          *** AFMMSTR
          »** AFMMSTR
          *** AFMMSTR
          **» AFMMSTR
          «*• AFMMSTR
          ••* AFMMSTR
          «*« AFMMSTR
          «** AFMHSTR
          ••* AFMMSTR
 002 WARNING
 002 WARNING
 002 WARNING
 002 WARNING
 002 WARNING
 002 WARNING

 002 WARNING
 002 WARNING
 002 WARNING
 002 WARNING
 002 WARNING
EKRQRS/ACTION
   READING 04 NOT
   READING 05 NOT
   READING Ob NUT
   READING 07 NUT
   READING 08 NOT
   HEADING 09 NOT
   READING 09 NOT
   READING 10 NOT
   READING II NOT
   READING 12 NOT
   READING 13 NOT
       SPECIFIED
       SPECIFIED
       SPECIFIED
       SPECIFIED
       SPECIFIED
       SPECIFIED

       SPECIFIED
       SPECIFIED
       SPECIFIED
       SPECIFIED
       SPECIFIED
            FILLED WITH NINES
            FILLED WITH NINES
            FILLED WITH NINES
            FILLED WITH NINES
            FILLED WITH NINES
            FILLED WITH NINES
                   (120001001C011-
                   (120001001COI1«
                   (120001001C011-
                   (120001001C011-
                   (120001001C011-
                   (120001001C011-
            FILLED WITH NINES  (120001001C011-
            FILLED WITH NINES  (12000100JC01!•
            FILLED WITH NINES  (120001001C011-
            FILLED WITH NINES  (120001001C011-
            FILLED WITH NINES  (12000100IC011-
                          •79010200-
                          79010200*
                          •79010200-
                          •79010200-
                          •79010200-
                          79010200-

                          79020300-
                          79020300-
                          79020300-
                          79020300-
                          79020300-
                              •42401J302)
                              •42401)302)
                              •424013302)
                              •424013302)
                              •424013302)
                              424013302)

                              •424013302)
                              424013302)
                              424013302)
                              424013302)
                              •424013302)
                     «»« AFMMSTR  002  WARNING • READING 09 NOT SPECIFIED - FILLED WITH NINES (120001003C011-76041500-421011105)
          »** AFHMSTR 002 WARNING
          *** AFMMSTR 002 WARNING
              READING 09 NOT SPECIFIED
              READING 10 NOT SPECIFIED
                              FILLED VlIfH NINES (120001003C011-7B013100-421011106)
                              FILLED WITH NINES (120001003C011-78013100-42I011106)
          •*•  AFMMSTR
          *••  AFMMSTR
          ***  AFMMSTR
          ***  AFMMSTR
          «**  AFHMSTR
          »*»  AFHMSTR
          • *•  AFMMSTR
          ***  AFMMSTR

          «•*  AFMMSTR
          *»*  AFMMSTR
          *•*  AFMMSTR
          ***  AFMMSTR
          *«•  AFMMSTR
          ***  AFMMSTR
          **»  AFMMSTR
          «**  AFMMSTR
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING

002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
002 WARNING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
   READING
01 NOT
02 NOT
03 NOT
04 NUT
05 NUT
06 NOT
07 NOT
06 NOT

01 NUT
02 NUT
03 NOT
04 NOT
05 NOT
06 NOT
07 NOT
06 NOT
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED

SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
SPECIFIED
FILLED
FILLED
FILLED
FILLED
FILLED
FILLED
FILLED
FILLED

FILLED
FILLED
FILLED
FILLED
FILLED
FILLED
FILLED
FILLED
WITH
WITH
WITH
WITH
WITH
WITH
WITH
WITH

WITH
WITH
WITH
WITH
WITH
WITH
WITH
WITH
NINES
NINES
NINES
NINES
NINES
NINES
NINES
NINES

NINES
NINES
NINES
NINES
NINES
NINES
NINES
NINES
(J40001001A061-
(340001001A061-
(340001001A06I-
(340001001A061<
(340001001A061-
(3400010Q1A061-
(340001001A06I-
(340001001A061-

(340001001A061-
(340001001A061-
(340001001A061-
(340001001A061-
(340001001A061-
(340001001A061-
(340001001A061-
C340001001A061-
79011000-
79011000-
•79011000-
•79011000-
•79011000-
•79011000-
•79011000-
•79011000-

•79013100-
•79013100-
•79013100-
•79013100-
79013100-
79013100-
79013100-
79013100-
111019101)
111019101)
111019101)
•111019101)
111019101)
111019101)
•111019101)
•111019101)

•111019101)
111019101)
111019101)
•111019101)
111019101)
111019101)
111019101)
111019101)
NUMHLR OF  INPUT  INTERNAL  TRANSACTIONSl                      63
NUMBER Uf  INPUT  MASTER  FILE  RECORDSJ                       316
NUMBER OF  MASTER FILE RECORDS FLAGGED FUR DELETION!         2
NUMBER OF  MASTER FILL RECORDS ADDEDl                        51
NUMBER UF  OUTPUT MASTER FILE RECORDS!                     369
NUHUER OF  WARNING MESSAGES!                                 30
NUMBER OF  CONDITIONAL MESSAGES!                              0
NUMBER OF  ERRUR  MESSAGES!                                    0
NUMUER OF  ABUR1  MESSAGES:                                    0
NUMBER OF  DISASTER MESSAGES!                                 0
PROGRAM NAMtl AFMMSTR  (AQ0100)
REVISION LEVEL! 1-00
LAST UPDATE «I 24
DATE INCORPOKATCDJ  OCTOHCR  31,  197b

-------
                          AQDHS-II MASTER  FILE  MAINTENANCE  PROGRAM - INPUT MASTER FILE CONFIRMATION LISTING          PAGE     I
T1
—i.
                         V20099V20099V20099V20100V20IOOV20IOOV2012IV20122

00     21T     1004910BOOOOI001E0217l42401I1070b0700            24                                                      DELETED

 1                          V20.009V20008V20007V2000bV2000bV2000bV2000bV2000b
O
O     21T     1004910B00001001E02l7I4240|11070b2100            24                                                      DELETED

HT.                         V20l02V20IIOV20ltJV20llOV20110V20i2IV20tlOV20109

{=     21T     l004910BOOOOIOOtE021714240tll070b2200            24                                                      CHANGED
2                         V200BOV20080V20090V20090V20099V20099V20099V20I004
                           V20l7bV20154V20121V20iOOV20090V200BOV20070V200bO
     -O
     3
i»   Q
g   2.
   ~  3
 O
 I

•a
 3
ua
       NUMBER OF INPUT MASTER FILE RECORDS!                       318
       NUMBER OF INPUT MASTER FILE RECORDS LISTED!                  4
 3>
 "n *"^

 co £

 33

    O

    CO

-------
                              AQOH3-I1  MASTER FILE MAINTENANCE  PROGRAM  »  INTERNAL  TRANSACTION  CONFIRMATION LISTING
                                                                                                                          PACE.
     10
     ro
     I
     CO
     o
     o

     rt-
     ^.
     3

     ID
     O-
    O
ro  Q
o  fl>
^o  ****
    c
    XD
    -n
     I
     I
    •o
    o
    03
    3=>
    •n
INTERNAL TRANSACTION

31
                                                     ACTION
    co  a?
    -< «Q
    •ya  n
        en
        o
        -»>
        CD
         1004910600001001E0217I424011107066600
                                         «** CHANGED

 31      1001910800001001E02171421011107060608
                                         ••* CHANGED

 31      1004910600001001E02171424011107060616
                                         «•* CHANGED

 11      1004910800001001E02171424011107060700
                                         •** DELETED

 It      1004910600001001E02171424011107062100
                                         «** DELETED

 31      1004910800001001E02I71121011107062200
                                         *«* CHANGED

 31      1004910800001001E02171424011107062208
                                         **• CHANGED

 31      1004910800001001E02171024011107062216
                                         »*» CHANGED

 21      1206000800001001C01178424013302123100
                                         «** ADDED

 21      1206000600001001C01176424013302123106
                                         **» ADDED

 21      1206000800001001COI176424013302123116
                                         ••* ADDtD

 21      1206000600001001C01179424013302010100
                                         *** ADDED

 21       1206000800001001C01179424013302010106
                                         **» ADDED

 21       120600080000100 ICO 1179424013302010116
                                         *** ADDED

 21       1206000800001001C01179424013302010200
                                         «** ADDED

 21       1206000800001001C01179024013302010208
                                         *** ADDED

21       120600060000100IC01179424013302010216
                                         »«» ADDED

21       1206000B00001001C01179424013302013100
                                         •«• ADDtO

21       1206000800001001C011794240133020131 OB
                                                        30600600100010101020102011001130110


                                                        30801100121011001000080006000900090


                                                        30600990099009901000100010001210122


                                                         00


                                                         00


                                                        30600600060009000900099009900990100


                                                        30601000100012101220246020002010161


                                                        30601760154012101000090008000700060


                                                        10800000000000000000000000000000000


                                                        10600000000000000000000000000000000


                                                        10800000000000000000000000000000000


                                                        10600000001000000000000000000000000


                                                        10800000001000400040006000600040004


                                                        10600050005000200010000000000000000


                                                        103000000000000


                                                        106    0005000600070007000600100011


                                                        10800100011001000110009000600060007


                                                        10800050005000600070007000600060006


                                                        1060006001100110013001300)300140012

-------
                         AUDH3-II HA5JE" MLt MAINTENANCE PROGRAM  -   INTERNAL  TRANSACTION CONFIRMATION LISTING
                                                                                                                       PAGE.
<£}
        INTfRNAL TRANSACTION
                                                ACTION














fo
§






rl
£
ro
CO
CO
o
o
r*-
_ j.
3
c
Q.

-o
-J
0
o
n>
0.
-j
0>
X3
-n
H-"
0
' i
1
-s
21
21


21
21

21

21

21


21
21

NU




                Jaib90960000100IAO*>779a260JlaO/020SOb           20200020002
                                                *•• ADDED

                3416909600001001A067794260J1107020706           202090301103
                                                *•* ADDED

                3fl16909600001001A06T79fl26031fl0702tfl06           20200050005
                                                •** ADDED

                341b909bOOOOia01AOfr779aab031
-------
                                 AODHS-II MASTER PILE MAINTENANCE  PROGRAM  - OUTPUT MASTER FILE CONFIRMATION LISTING          PAGE


      _      FIXED SEGMENT         -                                                                                        ACTION
      3                          REPEATING DATA                                                                            *""*
      (Q
      C
      2      31N    10049I0800001001E0217l4240111070bObOO           24                                                     CHANGED
                                  C30080C30100C3010IC30102C30102C301IOC30113C301IOC301IOC30l21C30110C3n|OOC300BOC300aoC30090C30090
      >                          C30099C30099CJ0099C30100CJ0100C30100C30I21C30122

      ^      11X    100491080000100IE0217142401tl070b0700           24                                                     CHANGED
      W                          C0999IC0999IC0999IC09991C0999IC0999IC0999IC0999IC0999IC0999IC0999IC0999IC0999IC0999IC09991C0999I
      •                           C0999IC0999IC0999IC09991C0999JC0999IC09991C0999I

      I       I1X    l004910B0000100IE0217l4240UI070b2100           24                                                     CHANGED
      _                           C0999IC0999IC0999IC0999IC0999IC0999IC09991C0999IC0999IC0999IC0999IC09991C0999IC0999IC0999K0990I
      g                           C0999IC0999IC0999IC0999IC0999IC0999JC09991C0999I
      3
      rf-      31N    10049IOB00001001E0217142401il070b2200           24                                                     CHANGED
      i'                          C300SOC30060C3G090C30090C30099C30099C30099C30100C30IOOC30100C30121C30122C30248C30200C3020IC30181
      C                           C3017bC30lS4C30121C30100C30090C300BOC30070C300bO

      C*-      21N    120bOOOB00001001CQ117B424013302123IOO           24                                                     ADDED
                                  AlOOOOA10000*1OOOOA10000*1OOOOA10000A 10000*10000*1OOOOA10000A10000A10000A10000A10000*10000A10000
                                  AIOOOOA10000A10000A10000A10000A10000A10000AI0000
      T3
      2       2JN    120b00080000l001C01179424013302010100           24                                                     AOOtO
pj    o                           A10000A10001A10000A10000A10000A10000A10000A10000<
O    ™                           A|OOOSA10005AIQf02At0001A10000A10000A10000A|0000

      5       21N    1206'opJl800001001C0117942401330"2010200           24                                                     ADDED
      0>                      •     Al 0000*1 OOOOA10000S0999IS0999IS09|)| n
                                  A10007A10007A1000bA10005A10004A10004AI0004A10007A10009A|0010A|OOItA|0012A10014A10013A100l2Aio012
      J                            A10008A10007A10007A10007A10007A10007A10008A10007

     -0        21N    l20bOOOBOOOOI001C01179424013302020300           24                                                     ADDED
     ^                            AtOOOOAI 0000*IOOOOAIOOOOA10000A10000A10000A10000S0999IS0999I30999130999IS0999IA10000A10000A10002
     ,2                            A100oqA1000«A10006A10006A10007*I0003A1OOOOA10000
     -I
     g       2IN    120bOO|40000l003COI17B4210tI10S04l500           24                                                     ADDED
     3                            At0290A|0170A10170A10t70A10120AtOI20A10230Ai0290S0999IA|0690A10230A10340A10i70A10170A10120AIOI20
     >                         .A10l70A10170A|0230A10230A104bOA10920A10BOOA10^90

     3       21N    120bOOI400001003C01l764210U10b013100            22                                                     ADDED
     (^                            A09999A09999A09999A09999A09999A09999A09999A09999S0999IS0999IA10034AI0031 At0022A10024A1002bAl0029
     —I  ^-*                       A10040AI0003A10002A15747AIB045AIS747
     73  Ha
        
-------
                               AQDHS-11; HA3.TER FILE MAINTENANCE PROGRAM - OUTPUJT MAOTEH' FILE CONFIRMATION  LISTING
»Q
=
ID
TND
CO
 I
0
     O
s   I
            FIXED  SEGMENT
                                 REPEATING DATA
        21N     34|6909bOOOOI001AQ677942bOJ1407U£200b
                             A20006AZOOOB

        tlH     la|69096j00001001A0677942b03ia07022a06
                             A20021A20021

        2 IN     341b909bOOOO|001A«b779«2b031407022506
                             A200S3A2003I

        21N     3aib909b00001001AOb77942b03i407t)22bOb
                             A20004A20004

        21Ns    34|b909600»OIJ)01AOb779a2b03140702270b
              *               Aeo037A20t»37

        21M     341b909b00001i»lAO«77942b031407022BO^
                             Aeo04IA200at

        NUMBER  UF  OUTPUT  MASTER FILE RECORDS:
        NUMHER  OF  OUTPUT  MASTER FILE RECORDS LISTED!
                                                                    02


                                                                    02


                                                                    02


                                                                    02


                                                                    02


                                                                    02
                                                                       3b9
                                                                        55
 PAGt     4


 ACTION




 AODtD


 ADDED


 ADDED


. ADDED


 ADDED


 ADDED
      I
      I
     •a
     o
     CO
          5"
          ta
          fD

          o
          -h
          CO

-------
AQDHS-II TEST 24

Submit Another Quarterly Report  to SAROAD

     In this test run, the data  from the updated AQDHS-II  master  file  which
have not previously been sent to SAROAD are  converted  to SAROAD transactions
using the cataloged procedure AQRPM05.  This procedure executes ARPSARD
(AQ0220), the AQDHS-II to SAROAD conversion  program.

     The same program was used in Test  12 to submit a  quarterly report to
SAROAD.  Any data which have already been submitted to SAROAD  by  ARPSARD
(AQ0220) will not be submitted in this  test. Status flags  in the  master  file
indicate which readings have been previously submitted to  SAROAD.  For a
description of ARPSARD (AQ0220)  refer to Test 12.

     The run stream for this test run contains the JCL necessary  for
converting data from the updated AQDHS-II master file  into SAROAD
transactions.  This run stream is shown in Figure AQT24-1.
     The cataloged procedure executed by this run stream is AQRPM05.  Through
the use of substitutable parameters, the  input master  file is  specified  as
AQMST03N (created and stored on disk  in Test 23),  and  the output  master  file
is named AQMST03S.  In this test run, the SAROAD add file and  the SAROAD
change file are printed for verification  purposes.  However, the user will
typically use the cataloged procedure AQRPM05 as designed to write these files
to tape in order to submit them to SAROAD.   An option  card is  not provided  in
this run stream which causes the default option to be in effect  (that is, all
data not previously submitted to SAROAD will be submitted by this run).   If
the user does provide an option card in the run stream, the DD (data
definition) information for the option card file  in the SUBMIT step is  also
needed.  Refer to Figure AQT24-2 for the sample output produced  by  this
procedure.
                                     211

-------
//AQSTST24 JOB RTI.Caq.P02fl
-------
                                           AQDHS-II  TO  SARUAD  CONVERSION  PROGRAM  -  DIAGNOSTIC  REPORT                     PAGE
            PROGRAM NAME: ARPSARO  (A00220)
            REVISION LEVEL! 1-00
            LAST UPDATE «| 24
            DATE INCORPORATED: OCTOBER 31,  1976
      TI
      _i.
      •g     NO SELfCTION DATE. OPTION USED - ALL RECORDS AVAILABLE  FOR  SAROAD OUTPUT

      tt>
      _     NUMBER OF FILE RECORDS HEADl                                           369
      jg    NUMBER OF MASTER FILE RECORDS DELETED USING THE CHANGE OPTIONt           2
      -H    NUMBER OF FILE RECORDS WRITTEN!                                        367
      IV>    NUMBER OF ADD TRANSACTIONS SUBMITTED TO SAROADl                        65
      T*    NUMBER OF CHANGE TRANSACTIONS SUBMITTED TO SARUADl                       B
      ro    NUMBER OF ADD READINGS SUBMITTED TO SARQADl                            384
            NUMBER OF CHANGE READINGS SUBMITTED TO SAROADl                         96
      "O
      3
      o
ro    2
      en
     to

     I
     70
     T3
     70  0>
     O (Q
         n>
        o
        *t
        CO

-------
       $?   ADO TRANSACTIONS CRfATED BY AQDHS
       II2000I001C01I781231004240133021 000 000  000  000  000  000  000  00.0  000  000  000  000
       11200010010011781231124240133021 000 000  000  000  000  000  000  000  000  000  000  000
       11200010010011790101004240133021 000 001  000  000  000  000  000  000  000  001  004  004
       1I20001001C011790101124240133021 006 006  004  004  005  005  002  001  MO  000  (TOO  000
-n     I120001001C01I790102004240I33021 000 000  000                          005  006  007
,£'     11200010010011790102124240133021 007 008  010  Oil  010  Oil  010  Oil  009-006  008  007
C     11200010010011790131004240133021 005 005  006  007  007  006  006  006  008  Oil  OH  013
-5     11200010010011790131124240133021 013 013  014  012
fl>     11200010010011790201004240133021 007 007  006  005  004  004  004  007  009,010  Oil  012
>.,     112000I001C011790201124200133021 014 013  012  012  008  007  007  007  «07 *07  008  007
jO     11200010010011790203004240133021 000 000  000  000  000  000  000  000
—I     11200010010011790203124240133021     000  000  002  004  004  006  006  007  003  000  000
S     11200010030011760415004210111051 290 170  170  170  120  120  230  290     490  230  340
 I     11200010030011780415124210111051 170 170  120  120  170  170  230  230  4*0 420  BOO  290
ro     11200010030011780131004210111061                                          034  031
 ,     112000I003C0117B0131124210111061 022 024  026  029  040  003  002574780455747
       1120001003COI|17811220042602t4073 360 345  340  335  350  375  385  760  900  810  400  320
O     1120001003COII7811221242602I4073 340 330  340  390  380  440  385  350  335  310  340  340
3     11200010030011761230004260214073 155 150  150  155  150  150  150  145.155  1TO  ISO  160
2.     11200010030011781230124260214073 240 290  290  3354550  600  405  290  £7* 250  250  260
-I.     1I20001003COI17B06250044201140IO 039 024  029  029  029  029  029  034  034 £0*  049  069
3     112.00010030011780625124420114010 074 086  098  086  083  073  078  049  01:0 404  024  000
£     1340001001A061«5010'100111019|OIO 001 001  002  003  005  00880039021
Q.     I340001001A061650328004240131010 037 0379928
       134000I001A06I79010100I11019I010 001 001  002  003  005  00880039021
       1340001001A06179010B001110191010 006 008  016  024  040  014  004  018
-rj     1340001001*061790110001110191010                                  013  013  026  039
-S     1340001001A06I790I101211101910IO 015 004  019  023  021  021  042  *13  005  018  023  041
g     1340001001A061790I2000111019IOIO 033 033  018  002  020  022  042  014  004  004  010  015
S     1340001001A06r79012012111019|010 025 040  015  005  037  037  026  017  045  012  007  019
Q.     134000IOOIA061790131001110191010                                  041  041  036  032
C     1340001001A061790131121110191010 020 002  022  024
3     134000100IA06179032B004240131010 037 0379928
       1340001001A065790301054240133021 001 001  002
 >    1340001001A06S7903020S-4240133021 001 001  002
•2    134Q001001A065790303054240133021 002 002  004
 5    1340001001A065790304054240133021 003 003  006
 2    I340001001A0657903050S4240133021 005 005  010
 P    I340001001A065790306054240133021 008 008  016
 01    • I34000IOOIA065790308054240133021 021 021  042
  I      1340001001A06579032405424013302I 033 033  016
  I      I34000I001A065790326D54240133021 004 004  010
,-.     134000I001A065770330054240133021 041 041  038
 •4      1340001001*066790201064260262072 001 001
 O      134000I001A0667902030642602B2072 001 001
6790207064260314072 003 003
    5.  1340001001*066790214064260314072 005  005
        1340001001A066790220064260314072 006 008
    C*J  13»000100IA066:790224064260314072 021 021
    --' 1340001001A06679022506U260314072 033  033
        I340001001A066790226064260314072 004  004

-------
           S3   CHANGE  TRANSACTIONS CREATED  BY  AUDHS.  RUN SAROAO EDITOR WITH DELETES OPTION
           liOOOOI001E0217106060042a011l073  080 100  101  102  102 110  113 110  110  121  110 100
      __    II0000100IE02171Q606124240111073  080 080  090  090  099 099  099 100  100  100  121 122
      Z.    | 100001001E02171060700424011 1070999999999999999999999999999999999999999999999999
     to    1100001 00 1E021 7 10607 1242401 11070999999999999999999999999999999999999999999999999
      5    1 100001 001E0217106210042401 11 07099999,9999999999999999999999999999999999999999999
      m    1100001 001E02I71 0621124240111070999999999999999999999999999999999999999999999999
           1100001001E021710622004240111073  080 080  090  090  099 099  099 100  100  100  121 122
     jg    I100001001E021710622I24240111073  248 200  201  181  176 154  121 100  090  080  070 060

      ro
      JM

      ro

      i

      o
      o
     ro
     o.
     -o
ro   o
>-»   o
en   CD

     73
     -O

     i
       0i
     5O 'O
     O  

         CO

         O

-------
AQDHS-II TEST 25

Screen the Updated Master File for Anomalous Data

     In this test run, the updated AQDHS-II master file is screened for
anomalous data using the cataloged procedure AQRPM45.   This procedure executes
ACVANOM (AQ0040), the anomaly screening master file conversion program;  and
ARPANOM (AQ0320), the anomaly screening report program.

     The same programs were used 1n Test 11 to screen the entire AQDHS-II
master file for anomalous data.  This test run takes advantage of the status
flags set in Test 11 because they enable the anomaly screening programs
to perform the anomaly screening tests only on data that has not been
previously screened.  For a description of ACVANOM (AQ0040) and ARPANOM
(AQ0320) refer to Test 11.

     The run stream for this test run contains the JCL necessary for screening
the updated master file for anomalous data.  This run stream 1s shown 1n
Figure AQT25-1.
     The cataloged procedure executed by this run stream is AQRPM45.  Through
the use of substitutable parameters, the input master file Is specified as
AQMST03S (created and stored on disk in Test 24), the input parameter file 1s
specified as AQPARM01 (created and stored on disk in Test 1), and the output
(or screened) master file 1s named AQMST03T.  The user must supply the DD
(data definition) Information for the option card file.  The option specified
in the CONVERT step of this test run 1s FLAG LOW.  In this test* run, the
skeleton transaction file 1s printed for verification purposes.  However, the
user will typically write this file to cards or disk 1n order to more easily
add information to the transactions.  The cataloged procedure AQRPM45 is
designed to write the file to disk, so in order to write the file to cards the
user must supply the appropriate DD Information for the skeleton transaction
file in the REPORT step.  Refer to Figure AQT25-2 for the sample output
produced by this procedure.
                                    216

-------
//AOSTST25 JOB RTI.C44,P024«3.MCMASTER,Ta2,PeI50,FORMSsFFWHITE
//*PROCHBsRTI.C44,P02069.MCMASTER.DPR.jCL
//KILL EXEC PGM=IEFBR14
//D01 DO D5NSRTI.C44.P02069.MCMASTER. DPR. DATA. AQMST03T,
// OI3P=((JLD, DELETE)
//*
//* SCREEN THE MASTER FILE, AQMST03S, FOR ANOMALOUS OATAI MOST OF THE
//* RECORDS ON THIS FILE HAVE ALREADY BEEN SCREENED AND ARE
//* NOT RESCREENED IN THIS TEST
//*
//TEST25A EXEC AORPM45,
//             OLOMSTR=A(JMST03S,
//             NtWMSTR«AOMST03T»
//             PARMFIL«AQPARM01»
//             PRI1=1,
//             SEC1=1,
//             SEC2«1,
//             PRI3*1»
//             SEC3S1
//*
//* RESCREEN  THE FILE FOR ANOMALOUS DATA,
//* THIS  TIME USING THE LOW SHEWHART TEST;
//* PRINT THE SKELETON TRANSACTIONS
//*
//CONVERT, OPTIONS DO *
FLAG LOW
/•
//REPORT. FT10F001 DD SYSOUTsA
                  Figure AQT25-1.   Run Stream

                                217

-------
                             AODHS-11  ANOMALY  SCREENING MASTER FILE CONVERSION VROSRAM  -  DIAGNOSTIC REPORT                      PACE
        PROGRAM NAMEt ACVANUM  (AQ0040)
        REVISION LEVEL:  1-00
        LAST UPDATt  *« 24
^      DATE INCORPORATEDI  OCTOBER Jl,  1978

«O      OPTION IN EFFECT: LOH  SMEHHART  TEST
-S
             ACVANOH 00?  CONDITIONAL - REAOINGWJ »  WW.9W IN 3TD UNITS,, *C«1«IN6 NOT PERFORMED ( J«00«200I085f76830i-«2flOI Iflfl?)
 ro
 Y1      NUMBER  UF  MASTER  FILE RECORDS REAOl                                    tt?
 .K      NUMBER  OF  MASTER  FILE RECORDS KRJTTtNl                                 >*?
         NUMBER  UF  MASTER  FILE RECORDS CONTAINING DATA TO BE SCREENED I       .,   16
         NUMBER  OF  RECORDS PASSED TO PROGRAM AHPANOMl                            32
 _      NUMBER  OF  ABURT «IESSA6ESl                                                0
 -f       NUMBER  (IF  CONDITIONAL MESSAGES*                                          >
 O
 O
 <0
 (X

 to
 •o

 O
 IQ

 O>
  o  ici
  "g   (D

-------
                                           AQDHS-II ANOMALY SCREENING REPORT PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                           PAGE  1
I
f»
3
ro
01

ro
o
o
3
c+
3*
C
n>
o.


-o
3
ro o
*-• fD
ID 0.
C
-s
n>
3>
XD
73
•o
-P"
tn
,
i
•o


(O
"^ ^^^
O» "O
3 «S
UJ
f> (0
73
-o ro
REVISION
LAST UPDA
INCORPORA
OPTION IN




NUMBER OF
NUMBER OF
NUMBER OF
NUMBER OF
NUMBER OF
NUMBER OF
NUMBER OF
NUMBER UF
NUMBER OF
NUMBER OF
NUMBER OF
NUMBER UF





















        PROGRAM NAME: ARPANOM (AOQ320)

                    tLI 1-00
                    Hi 21
               OF INPUT RECORDS:                                       32
               OF INPUT RECORDS CONTAINING HOURLY DATAt                29
               OF INPUT RCCURDS CONTAINING DAILY DATAt                  0
               OF INPUT HEADER RECORDSI                                 2
                  INPUT TRAILER RECORDS:                                 1
                  TIHtS MAXIMUM VALUE TEST FAILED:                     11
                  TIMES ADJACENT HOURLY DIFFERENCE TEST FAILED!         13
                  TIHtS SPIKE TEST FAILED:                              3
                  TIMES DIXON RATIO TEST  FAILED:                        2
               OF TIMES GAP TEST FAILED:                                 7
                  TIMES SMEWHART TEST FAILED:                            0
               UF OUTPUT SKELETON TRANSACTIONS:                         la
o  -•>

-------
                                               AODH3-I1 ANOMALY SCREENING REPORT FOR HOURLY READINGS
                                                                                                                                     PAGt   I
»
t

o
ct
=»'
(D
a.
*
T3
-J
O
8 |
C
n>
2
•yO

31
en
i
-o

(O
a>
3
^
73
TJ
3=»
0 — .
3 -a
o>
tO
ID
0 00 0000 001 1 11 t || n |2 22 22222 22 33 3
1 23 «IS07 890 1 23 0 56 70 90 12 34*>67 89 01 2
1-1 0-0001-OOI-E-02-1-7 1-06-77-77-42401-1 I-07-*

1-12-0001-003-C-01-1-78-01-15-XX-42101-11-05-*
00

OB
16

l-12-0001-003-C-OI-I-76-Oa-77-77-12I01-H-05-*

1 -12-0001 -003-O01-t-7fl-01-3l-XX-a210l-J l-06-»
00
08

16

I -12-0001-003-C-01-1-78-01 -77-77-42101-1 1-06-*
J-12-0001-003-C-01-1-7B-11-22-XX-12602-14-07-*
00
08

16
1-12-0001-003-C-OI-I-78-II-77-77-12602-14-07-*

l-l 2-000 1-003-t-O 1-1-78- I2-30-XX-Q2602-I4-07-*
00
OB

16


I-12-0001-003-C-OI-t-78-12-77-7?-«602-I4-07-»

READINGS (FORMAT IS N ***» 4HEH1 N'DECIMAL PT INDICATOR, XXXX*RMDING) D H
CC33



1 0290

0 9999
1 0170




0 9999
0 9999

1 0040



3 0360
3 0900
H
3 0380



3 0155
3 0155

3 4550
AMS



CC37



1 0170

1 0690
A
1 OI7D




0 9999
0 9999

1 0003



3 0345
3 0840
AH
3 0410



3 0150
3 0170

3 0600
AS



CCM1



J 017V

1 0230
A
1 0230




0 9999
1 0034

i 0002
A


3 0340
3 04OO
A
3 0385



3 0150
3 0150

3 0«05




CC45



1 0170

1 0340
1 0230




0 9999
1 0031

1 5747
AMS


3 0335
3 0320

3 0350



3 0155
3 0160

3 0290




CC49



1 0120

1 0170
1 0460
A



0 9999
1 0022

1 8045
AMS


3 0350
3 0340

3 0335



3 0150
3 0240

3 0270




CCSJ
•


1 0120

1 0170
t 0920
AM



0 9999
1 0024

1 5747
AHS


3 0375
3 0330

3 0330



3 0150
3 0290

3 0250




CCS7



1 0230

1 0120
1 0800
AM



0 9999
1 0026





3 0385
A
3 0340

3 0340



3 0150
3 0290

3 0250








1

1
1




0
1





3
3

3



3
3

3




CC61 TtSf


N/A
0290

0120
0290
A


N/A
9999
0029




N/A
0760
AM
0390

0310


FAIL
0145
0335
AS
0260




C.AP
ItSI
FAIL







FAIL







FAIL





FAIL








FAIL

• DECIMAL PT INDICATORS ARE LISTED WITH READINGS
** TEST COOES (PRINTCD BELOW READINGS) 1 AsftDJACENT HOURLY


DIFFIRENCE TtST,


MSHAXIHUM

VALUE

TEST, S'SPIKE TEST





      CO

-------
                                                    AQOHS-H ANOMALY SCREENING REPORT FOR DAILY READINGS                                  PAGE     I
     TI
     —i.
    10         	......  COLUMNS I  THRU 32 ——.——.—  .....  ...............................	.....................	.	.......   ......
     5         o  oo  oooo  ooi  t  11  i  11  it  ia 22 22222 22 55 3                                                                                SHENHT
     (D         1  23  4567  890  I  23  4  56  78  90 12 34567 89 01 2  DAYS   READINGStFORMAT IS N XXXX WHERE N=OECIHAL PT INDICATOR* XXXXsREADING)   TEST
     ^                .......................  	

    •iEf        NO DAILY READINGS WE HE JUDGED ANOMALOUS
     (71
     PO
     i
     o
     o
    to
    0.
1S3
     .          1100001001E0217l06m?4240lU07?                                                3
    "5         1120001003C01I780ai5?7   ^    1120001003C0117fllZ30??42602l4077                                                3
    •S         1120001003C01t7812??7?42602I407?                                                J
    >   -P>    1120001003C011780625??442Qil40I?                                                3
    Z   0    1340001001A0616S032B77424013101?                                                3
    S   :!   13a0001001A96i6503????4240131017                                                3
    •^        I340001001A06I79032B77424013IOI?                                                3
         *»   I340001001A061790377774240I310I7                                                3

-------
AQDHS-II TEST 26

Archive Data from the Updated Master File and Merge this Data with Previously
Archived Data

      In this test run, data from the updated AQOHS-II master file is archived
using the cataloged procedure AQMSM20 which executes AMSARCH (AQ0215), the
master file archival program.  The  cataloged procedure AQMSM10 is then used to
merge this archived master file with a previously generated archived master
file by executing AMSMERG (AQ0210), the master file merge program.

     AMSARCH (AQ0215) was used in Test 19 to archive data from an AQDHS-II
master file.  For a description of AMSARCH (AQ0215) refer to Test 19.

     AMS.ME{$ (AQ021Q) creates 3 single AQDHS-II master file from two separate
AQPHS^II master files.  The tW9 input master files can also be answer files
produced by a retrival, archived master files, or any other combination of two
files in master file format.  However, the files must be in correct master
file sequence and mustr not have any record key in common.  The merged AQDHS-II
master file will contain all the records from both files, and it will be in
correct master file sequence.

     The run stream for this test run contains the JCL necessary for archiving
data from an AQDHS-II master file and merging two archived master files into
one.  This run stream is shown in Figure AQT26-1.
     First, the run stream executes the cataloged procedure AQMSM20;  Through
the use of substitutable parameters, the input master file is specified as
AQMST03T (created and stored disk in Test 25), the new master file 1s named
AQMST04T, and the archived master file is named AQARCH1A.  The user must
supply the DD (data definition) information for the option card file.  The
option specified in the ARCHIVE step of this test run is 66 causing all data
dated prior to 1966 to be archived.  Figure AQT26-2 shows the sample output
produced by this procedure.
     Next,  the cataloged procedure AQMSM10 is executed.  Substitutable
parameters  are used to specify AQARCM01 (created and stored in Test 19) and

                                      222

-------
AQARCM1A (created and stored on disk by the above  procedure)  as  the input
master files to be merged,  and AQARCM02 as  the merged master  file.   Through
the use of substitutable parameters, the input files to this  step,  AQARCM01
and AQARCM1A, are deleted after successful  completion of  the  run.   Refer to
Figure AQT26-3 for the sample output produced  by this procedure.
                                     223

-------
//AQSTST26 JOB RTl,C44.P02443,MCMASTER,Ts2,Pal50,FORMS=FFWHlTE
//*PROCLIB»RTI.C44.P02069,MCMASTER.DPR.JCL
//KILL EXEC PGM«IEFBR11
//D0| DD D3N8RTI.C44.P02069.MCMASTER. DPR. DATA. AQARCM02,
// DISP«(OLD, DELETE)
//*
//* ARCHIVE THE OLDEST DATA (1965)  FROM THE CURRENT WORKING MASTER}
//* THEN MERGE THIS 1965 DATA MITH  THE  PREVIOUSLY ARCHIVED FILE
//* FROM TEST 19 AND CATALOGUE THE  RESULTING TOTAL-ARCHIVED FILE
//•
//TEST26A EXEC AQMSM20,
//             MSTRFIL»AOMST03T,
//             NEMMSTR«AQMST04T,
//             ARCMSTR'AQARCMIA,
//             SEClBl,
//             PRI2«1,
//             8EC2«1
ff*
tl* ARCHIVE THE 19«5 DATA AS A TEMPORARY FILE
//l
//ARCHIVE. OPTIONS DO •
66
/•
//TEST26B EXEC AQHSM10,
//             NEHM8TR«AOARCM02f
//             INFILEHAOARCM01,
//             INFILE2«A8ARCM1A,
//             3EC«1,
//             DI3P1«'OLD, DELETE, KEEP',
//             DISP2«'OLO, DELETE, KEEP'
//•
//* MERGE THE 2 ARCHIVED FILES, FROM THIS TEST  AND  FROM TEST  19}
//* KEEP ONLY THE MERGED FILE
                   Figure AQT26-1.   Run Stream


                                 224

-------
                                              AODHS-II HAStER  FILE  ARCHIVAL  PROGRAM  -  DIAGNOSTIC RtPORT                         PAGE   1
ro
ro
01
          PROGRAM NAME I AHSARCH  (A0021S)
          REVISION LE.VELI  1-00
          LAST UPDATE *l
          DATE INCORPORATEDl OCTOBER 31,  1978
      O   ALL DATA PRIOR TO 1966 IS ARCHIVED
      IN}
      VI   OLD MASTER COUNT:            367
      J,   NEW MASTER COUNT:            341
      .    ARCHIVED MASTER COUNT I        26
      13
      3
      o
      n>
      Q.
      to
     8

-------
                                          AODHS-I1  MASTER f ILE MERGE PROGRAM  -  !0»GNOST It REPORT
    PROGRAM NAMLl AHSMtBC  (A002IO)
    REVISION LEVEL! 1-00
    LAST UPDATE «! 21
    DATE INCQRPgRAUUt OCTUflER  31,  l"»78
(Q  INPUT TILE 1 CONTAINS!             13  RECORDS
!=  INPUT FILE 2 CUNTAINSl             26  RECORDS
fl)  OUTPUT FILE CONTAINS!              19  RECORDS
I
ro
O»
 O
 O
 (0
 Q.
 C

 (D
 IS)
(0

 i

-------
AQDHS-II AD HOC TEST 1

Resubmit 1979 Data to SAROAD

     Suppose an agency  has submitted  all  of  its data  up to the  third  quarter
of 1980 to SAROAD but it is necessary to  resubmit  all 1979 data.   How can this
be accomplished by AQDHS-II,  since the 1979  readings  in the master file
have been flagged as sent?

     This ad hoc test demonstrates how the 1979 data  can  be  resubmitted.   By
means of a retrieval, all 1979 data from  the master file  is  returned  to a
non-sent status.  The retrieval is performed using the  cataloged procedure
AQRTM10, which invokes  the following steps:
     1)  ARTLNGP (AQ0110), the retrieval  language  processor;
     2)  the COBOL compiler and linkage editor; and
     3)  ARTGENR (AQ0120), the generated retrieval program.
The cataloged procedure AQRPM05 is then used to submit  all  the data in
the retrieved file flagged not sent to SAROAD by  executing  ARPSARD (AQ0220),
the AQDHS-II to SAROAD conversion program.

     For a description of the  retrieval programs,  ARTLNGP (AQ0110) and ARTGENR
(AQ0120), refer to Test 13.  For a description of the AQDHS-II to SAROAD
conversion program, ARPSARD  (AQ0220), see Test 12.

     In this test run, the retrieval request cards which are used as  input  to
ARTLNGP  (AQ0110) are written in COBOL.  The use of in-line COBOL sentences
requires the insertion of the  keyword USER beginning in column 10 of  the
$$SELECT card.  Following the $$SELECT card in this test run are COBOL
sentences to accomplish the  following:

     1)  Each  record of the  input master  file is  retrieved.   (The data element
         RECORD-QUALIFIES-SW is set  to TRUE.)
     2)  For each record  having 1979 data, the record status flag and reading
         status flags  are  set  to  add, not sent.
                                     227

-------
     An option card  is used  in the SAROAD conversion step, which contains the
digits 7912 in columns one through four; this indicates to ARPSARD (AQ0220)
that no data beyond  December 1979 is to be submitted to SAROAD, even if the
status flags indicate that it should be.  This cutoff date helps accomplish
the purpose of the run:  to  resubmit only 1979 data.

     The  run stream  for this test run contains the JCL necessary for
resubmitting 1979 data to SAROAD.  This run stream is shown in Figure AHT1-1.

     First, the  run  stream executes the cataloged procedure AQRTM10.   As
indicated by the substitutable parameters, the input master file is specified
as AQMST04T and  the  output answer file is named TEMPRETR.  Note that AQMST04T
was established  as the active master file in Test 26 when data was archived
from master file AQMST03T.   Since all data in AQMST03T was flagged sent (refer
to test 24), all data in AQMST04T is also flagged sent.  The user must supply
the appropriate  DO Information for the Input retrieval specification cards 1n
the COMPILE step.  In this test  run, these cards are used to return all 1979
data in the master file to a non-sent status.  Figure AHT1-2 shows sample
output from the  execution of the cataloged procedure, AQRTM10.

     Next, the run stream executes AQRPM05.  Substitutable parameters are used
to specify TEMPRETR  (created by  the first procedure in this test run) as the
input master file and TEMSARD as the output master file.   In this test run,
the SAROAD add file  and the  SAROAD change file are printed for verification
purposes.  However,  the user will typically use the cataloged procedure as
designed to write these files to tape in order to submit them to SAROAD.
The user must supply the DD  information for the option card file.   The date
option specified in  the SUBMIT step of this test run is 7912.  Refer to Figure
AHT1-3 for the sample output produced by this procedure.

     There are two important aspects of this test run:  (1) if the input
master file contained data dated prior to 1979 flagged as add or change
(pre-1979 data that  had been added or changed after the latest SAROAD
submission), that data would be  included in the SAROAD add or change files
                                    228

-------
created during the execution  of ARPSARD  (AQ0220); and (2) in an operational
environment,  the master file  produced  by ARPSARD  (AQ0220) would serve  as the
new master file since it reflects  the  correct  submission status of  all  data.
                                     229

-------
//ADHOC01 JOB RTI.C
-------
                                     AODHS-II RETRIEVAL LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC REPORT                PAGE
          PROGRAM NAME!  ARTLNGP (AQ0110)
          REVISION LEVEL!  i-oo
          LAST  UPDATE  Hi 24
          DATE  INCORPORATED!  OCTOBER 31, 1976


          INPUT  (CONTHOU CARDS)!

 *r>       SSSELLCT  USER
 £'                 GO TO  USER-PARAGRAPH.
 C                 USER-REPEAT.
 -J                  IF DATA-FIELD  (SUB) IS  NOT  EQUAL TO 9999
 O                    IF STATUS-FLAG (SUB)  IS EQUAL  TO '3'  OR
 •C,                        STATUS-FLAG (SUB)  Is  EQUAL TO 'C'
 3:                     MOVE  'A* TO STATUS-FLAG (SUB)
 rj                   ELSE
 ,                      IF STATUS-FLAG  (SUB)  IS EQUAL TO 'T' OR
 ro                         STATUS-FLAG (SUB) IS EQUAL TO *D*
                           MUVE  'B*  TO STATUS-FLAG (SUB).
                    ADD 1  TO  SUB.
 -O                USER-REPEAT-END.

 3                  EXIT-
 2                 USER-PARAGRAPH.
 0.                 MOVE TRUE TO RECORD-QUALIFIES-SM.
 C                  IF YEAH IS EQUAL  TO *79*
 to                    MUVE 1  TO SUB
                      PERFORM USER-REPEAT THRU  USER-REPEAT-END
 3»                       NBR-OF-READINGS TIMES
•§                   IF RECOKP-STATUS-FLAG  IS  EQUAL TO *S'
 3                     HOVE  'N* TO RECORD-STATUS-FLA6
 •3.                    ELSE
 *±                      IF RECORDrSTATUS-FLAG IS  EQUAL  TO *T'
 0                        MOVE 'V  TO RECORD-STATUS-FLAG.
 I                 USEH-PARAGRAPH-END.
 I                   EXIT.
-,-,       SSEND

 O
*5       NUMBER OF CONTROL CARDS READ!                    29
 CU       NUMBER OF RETRIEVAL SKELETON RECORDS READS     1,136
 3       NUMBER OF RETRIEVAL SOURCE RECORDS WRITTEN!    1,213
 _       NUMBER OF CONDITIONAL MESSAGES!                   0
 =5       NUMBER OF ERROR MESSAGES!                          0
 -4       NUMBER OF ABORT  MESSAGES!                          0
    ca
    n>
    o
    -*»
    ro

-------
                                         AUPHS-1I GENERATED RETRIEVAL PROGRAM   -   DIAGNOSTIC REPORT                     PAGE
          PROGRAM NAMES AHTGiNR (A00120)
          REVISION iEVELt 1-00
          LAST UPDATE «t 24
   ^     DATE INCORPORATED: OCTOBER 11, 1970
   _j.
   tO
   £     NUMBER UF MASTER FILE RECORDS REAPt                 341
   $     NUMBER Of ANSHtR FILE RECORDS HRITTtNj              341
          NUMBER OF CONDITIONAL MESSAGES I                       0
          NUMBER OF ABORT MESSAGES S                             0
   ro
   o
   o
    3

    (P
    O.
IN)  O
U)  O
r\>  fp
    o.

    IP
    p
     I
    "O
    •3
    to
    —I  (Q
    CD  re
    m
    z  ro
    "?  o
        -h
        ro

-------
                                          AODHS-H TO SARUAD CONVERSION PROGRAM   -   DIAGNOSTIC  REPORT                      PAGE
            PROGRAM NAME: AHPSARD (A00220)

            REVISION LEVELJ 1-00

            LAST UPDATE »l 21

            OAIL iNCURPORAIEOt OCTOBER 31. 1978

     -n

     IQ'     DATE OF 12 79 USED FOR SAROAD SELECTION  CRITERIA
     c


     "*     NUMBER OF FILE RECORDS READ:                                           341
     $     NUMBER OF MASTER FILE RECORDS DELETED USING THE CHANGE OPTIONI           0

     3     NUMBER OF FILE RECORDS HRITTENt                                        341
     !-•     NUMBER OF ADD TRANSACTIONS SUBMITTED TO SAROAD:                         SI

      i      NUMBER OF CHANGE TRANSACTIONS SUBMITTED TO SAROADt                       o
     J*»     NUMBER OF ADD READINGS SUBMITTED TO SARDApt                            242
            NUMBER OF CHANGE READINGS SUBMITTED TO SAROADt                           0
     -O

     O
     O
     (D
     a.
     c

ro   fo
co   	
to   3=>
     xu
     •ya
     -a

     o
     en

      i
      i

     •o

     o
     (Q


     i
         T3
         01
         to
         (0
         o
         -h

         ro

-------
    I
    CO
    o
    o
    3
    n>
    o.
ro  o
oo  o
-p»  m
    CL
    JO
    TO
    ~O

    i
    CT1

     I
     I
    (Q

    O»
    30
    -o
    70
    O
   S2   ADO TRANSACT IHNS CHEATED BY
   112000100ICOI1790101004240135021
   It20001OOIC011790101124240153021
   112000100 ICO 11790102004240133021
   112000100IC011790102124240153021
   112000100 ICO11790131004240133021
   1I2000IOOIC011790131124240133021
   1120001001C011790201004240133021
   1120001001C011790201124240133021
   1120001001C011790205004240133021
   1120001001C011790203124240133021
   1340001001A06179010100II10191010
   1340001001A06179010B001110191010
   1340001001A061790110001II0191010
   1340001001AQ61790110121110191010
   1340001001AObl790120001110191010
   1540001001A061790120121110191010
   134000I001A061790131001110191010
   1540001001A061790131121110191010
   1340001001AObl790328004240131010
   1540001001A0657905010S4240I53021
   134000100lA06S7903020b4240133021
   154QOOI001A06S790305054240133021
   134000100!A06S7903040b4240155021
   1340001001A065790505054240155021
   1340001001 A065790506054240133021
   134000100lA06S79050BOb424013302l
   1340001001A065790324054240133021
   1340001001A06S7903260S4240133021
   134000100 lA06S7903300b'4240133021
   1340001001A06b790201064260282072
   134000100IA066790203064260282072
   1340001001A066790205064260282072
   1340001001A066790207064260282072
   I540001001A066790220064260282072
   1540001001A066790222064260282072
   1340001001A066790224064260282072
   1540001001A066790225064260282072
   1540001001A0667902260b4260282072
   1340001001A066790227064260262072
   1340001001A06679022B064260282072
   1340001001A066790201064260314072
   1340001001A066790203064260314072
   1340001001A06679020S0642603I4072
   1340001001A066790207064260314072
   1340001001A066790214064260314072
   1340001001A0667902200642603I4072
   1340001001A066790224064260314072
   1340001001A0b67902250642603l4072
•^ 1340001001A0667902260642603I4072
0> 1340001001A066790227064260314072
U3 1340001001A06679022B0642603I4072
CD
                                            AUUMS
                                            000  001
                                            006  008
                                            000  000
                                            007  008
                                            005  OOS
                                            013  013
                                            007  007
                                            014  013
                                            000  000
                                                000
                                            001  001
                                            008  008
        000 000
        004 004
        000
        010 Oil
        006 007
        014 012
        006 005
        012 012
        000 000
        000 002
        002 003
        016 024
000 000 000 000 000 001 004 004
00% 005 002 001 000 000 000 000
                    005 006 007
010 Oil 010 Oil 009 008 008 007
007 006 006 006 008 Oil Oil 013
Olb 004 019 023
033 053 018 002
02b 040 015 005

020 002 022 024
037 0379928
001 001 002
001 001 002
002 002 004
003 003 006
005 005 010
008 008 016
021 021 042
033 053 018
004 004 010
04| 041 058
001 001
001 001
002 002
005 005
008 008
015 013
021 021
033 053
004 004
057 037
041 041
001 001
001 001
002 002
005 005
005 005
008 008
021 021
053 055
004 004
037 037
•MM 041
OQ4 004 004 007
008 007 007 007
000 000 000 000
004 004 006 006
005 00880039021
040 014 004 018

021 021 042 OIS
020 022 042 014
037 037 028 017
009 010 Oil 012
007 007 008 007

007 005 000 000
013 013 026 039
005 018 023 041
004 004 010 015
045 012 007 019
041 041 038 032
        ro
            S3   CHANGE TRANSACTIONS CREATED BY AOOHS. RUN JAROAD EDITOR HfTH DELETES OPTION

-------
AQDHS-II AD HOC TEST 2

Rescreen all Data from the Master File

     Just as it was possible (in Ad  Hoc Test  1) to resubmit data to SAROAD by
manipulating the master file status  flags,  it  is possible to rescreen the
master file data with a similar technique.

     In this test run, all data from the AQDHS-II master file is returned to a
non-screened status by means of a  retrieval using the cataloged procedure
AQRTM10.  This procedure executes ARTLNGP  (AQ0110), the retrieval language
processor program; the COBOL compiler; the linkage editor; and ARTGENR
(AQ0120), the generated retrieval  program.  The retrieved file is then
rescreened using the cataloged procedure AQRPM45, which executes ACVANOM
(AQ0040) and ARPANOM (AQ0320), the anomaly screening programs.

     For a description of the retrieval  programs, refer to Test 13.  And, a
description of ACVANOM (AQ0040) and ARPANOM (AQ0320) can be  found  in Test 11.

       The retrieval request cards used  in this test  run are in the COBOL
language as in the Ad Hoc Test 1.  However, unlike Ad  Hoc Test 1,  in which
in-line COBOL sentences were used, the sentences in  this  run are  stored in  a
copy member named COPYEXM2.  To use a copy member, two  keywords must be coded
on the $$SELECT card:  the word USER beginning in column  10 and the name of
the copy member beginning  in column 16.   The COBOL  sentences in copy member
COPYEXM2 cause all  records of the input master file to be retrieved.  Also,
the record status flag and the  reading status flags  of each record are set to
non-screened.

      The run stream for  this test  run contains the JCL necessary to rescreen
all data from the AQDHS-II master file.   This  run stream is shown in Figure
AHT2-1.  The COBOL  sentences  stored in copy member COPYEXM2 are shown  in
Figure AHT2-2.
                                     235

-------
      First, the run stream executes cataloged procedure AQRTM10 to produce
the desired answer file.  Through the use of substitutable parameters,  the
input master file is specified as AQMST04T (created and stored on disk  1n  Test
26) and the output answer file is named TEMPRETR.  The user must supply the DD
information for the input retrieval specification cards in the COMPILE  step.
Refer to Figure AHT2-3 for the sample output produced by this procedure.

      Next, the run stream executes the cataloged procedure AQRPM45 to  screen
the answer file.  Substitutable parameters are used to specified TEMPRETR
(created in the first procedure of this test) as the input master file,
AQPARM01 (created and stored on disk in Test 1) as the input parameter  file,
and SAVESCRN as the output master file.  The user must supply the DD
information for the option card file.  The option specified in the CONVERT
step of this test run is FLAG LOW, which indicates that the low Shewhart test
is to be applied.  The FORTRAN-compatible file passed from ACVANOM (AQ0040) to
ARPANOM (AQ0320), defined in the cataloged procedure AQRPM45 as a temporary
file, is redefined in the CONVERT step of this run stream as a permanent file
(data set name FORTANGM).  This technique could be used to save any temporary
file in any of the AQDHS-II procedures; however, the user will not normally
need to save temporary files.  In this test run, the skeleton master file
transactions are printed for verification purposes.  Normally,
the user would write these skeleton transactions to cards or disk to be
used in correcting readings in the master file.  Figure AHT2-4 shows the
sample output produced by this procedure.

     An important aspect of this test run is that in an operational environ-
ment the master file produced by ACVANOM (AQ0040) in the anomaly screening
step of this test run would be the new master file because it reflects  the
latest screening status of the readings in the master file.
                                    236

-------
                                           AOOHS-II RETRIEVAL LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC REPORT                PAGE
                PROGRAM  NAHEl  ARTLNGP (AQOI10)
                REVISION LEVELI  1-00
                LAST UPDATE  «: 24
                DATE INCORPORATED!  OCTOBER  31,  1978
                INPUT  (CONTROL CARDS)!


                JJSELECT USER  COPYEXH2

                SSEND
          N>   NUMBER OF CONTROL CARDS READ!                      2
          <>,   NUMBER OF RETRIEVAL SKELETON RECORDS  READl     1,|36
               NUMBER OF RETRIEVAL SOURCE RECORDS  WRITTEN!    1*159
               NUMBER OF CONDITIONAL MESSAGES!                    0
          -r,   NUMBER OF ERROR MESSAGES!                          0
          -f   NUMBER OF ABORT MESSAGES!                          0

          o
          ID
          O.
          c
ro
CO
u?
          •o

          3
          to

          i
          in

          •f


          ^                                  AUUH3-II GENERATED RETRIEVAL PROGRAM  -  DIAGNOSTIC REPORT                     PAGE
          CD
          "°   PROGRAM NAME|  ARTGENR (AQ0120)
          o,   REVISION LEVEL!  1-00
          3   LAST  UPDATE  »!  24
          O-   DATE  INCORPORATED! .OCTOBER 31, 1978
          3>

          —1   NUMBER  OF MASTER FILE RECORDS READ!                341
          £>   NUMBER  OF ANSWER FILE RECORDS WRITTEN!              341
          •2   NUMBER  OF CONDITIONAL MESSAGES!                       0
          TO   NUMBER  OF ABORT MESSAGES!                             0

-------
O
»
  -
                           AQDHS-ll ANOMALY SCREENING  MASIER  FILE  CONVERSION PROGRAM  -  DIAGNOSTIC REPORT                      PAUL
 PROGRAM NAME:  ACVANUM (AQ0040)
 REVISION LEVEL: 1-00
 LAST UPDATE *: 21
 INCORPORATED:  OCTODI.H Si, 197ft

 OPTION IN EFFECT: LOW SHEHHART TEST



• •• ACVANUM 007 CONDITIONAL - READING(S) >  9999.9999 IN STD UNITS, -SOREENItIG NOT PERFORMED  (3400020010051-760305-424011007)


 NUMBER UF MASTER FILE RECORDS READ:                                   341
 NUMBER OF MASTER FILE RECORDS HRlTfENl                                301
 NUMBER UF MASTER FILE RECORDS CONTAINING DATA TO BE SCREENED:          62
 NUMBER OF RECORDS'PASSED TO PROGRAM ARPANOMl                         '.1*6
 NUMBER OF ABORT MESSABESI                                               0
 NUMBER OF CONDITIONAL MESSAGES!                                         >
73                                                     _ _____.„	,	.	__.___»_.	—
~O      —— — — — — — — — — — — — — — ——— — — —— — — — — — — — — —


Ul


 1                                          AODHS-Ii  ANOMALY SCREENING REPORT^PROGRAM  -  DIAGNOSTIC REPORT                  PAGE 1
TJ

2
^     PROGRAM  IJAME: ARPAtlflM  (AQ0320)
01     REVISION LEVJ.LI 1-00
=     LAST UPDATE *: in
w     INCORPORATED: OCTOBER  31,  197B
3>
Q     OPTION Ifl EFFECT:  LOU  SHfKHART TEST


O

o»
3
°*  ^ NUMBER OF INPUT RECORDS:                                       146
3>  oT NUMBER OF INPUT RECORDS CONTAINING  HOURLY  DATA!                55
70  10 NUMBER OF INPUT RECORDS CONTAINIKC  DAILY DATA!                  88
^  ro NUMBER OF INPUT HEADER RECORDS:                                  2
^  i-> NUMBER OF INPUT TRAILER RECORDS!                                 1
O     NUMBER OF TIMES MAXIMUM VALUE  TEST FAILED!                      10
3  O NUMBER OF TIMES ADJACENT HOURLY DIFFERENCE  TEST FAILED:         12
    ~* NUMBER OF TIMES SPIKE  TEST FAILED:                               5
    -p» NUMBER UF TIMES DIXON  RATIO  TEST FAILED!                        5
    •— NUMBER UF TIMES GAP TEST "PfflliED!                                 6
       NUMBER OF TINES SHEWHAHT TEST  FAILED!                           !2
       NUMBER OF OUTPUT SKELETON TRANSACTIONS!                        27

-------
AUDHS-II ANOMALY SCREENING REPORT FOR HOURLY READINGS
                                                                                     PAGE    I
-n
1
>
—I
ro

•^
i

r>
o
•3
ft*
3
n>
D-

-o
3
S
Q-
C
ro
>
50
-a
I
in
i
i
-a
-5
o
(O
01
3
:> tj
55 0i
•^ (Q
3> fl>
o rvj
3 o
-h
0 00 0000 001 1 11 1 11 11 12 22 22222 22 33 3
1 23 4567 890 1 23 4 56 78 90 12 34567 89 01 2
1-10-0001-001 -E-02-I -7 1 -06-??-7?-«240 1-1 1 -0 7-*
1-1 2-0001 -003-C-01-1-7B-OU-15-XX-421 01-1 1-OS-*
00

08

16


1-1 2-000 1-003-C-O 1-1-78-04-77-77-421 01-11-05-*
1-12-0001-003-C-01-1-7B-OI-31-XX-42101-I1-06-*
00

08
16

1-12-0001 -003-C-O 1-I-78-I 1-22-XX-42602-14-07-*
00

08

16
1-12-0001-003-C-01-1-78-H-77-T7-42602-14-07-*
1-12-0001-003-C-01-1-7B-12-30-XX-42602-14-07-*
00

08
16


1 -12-0001 -003-C-01-1-78-I2-77-77-42602-14-07-*

READINGStFORMAT
CC33 CC37


1 0290

0 9999

1 0170




0 9999

0 9999
1 0040


3 0360

3 0900
M
3 0380

3 0155

3 0155
3 4550
AHS



* DECIMAL PT INDICATORS ARE LISTED HITH READINGS
•* TEST CODES (PRINTED BELOW READINGS)! A=ADJACENT HOURLY












1 0170

1 0690
A
1 0170




0 9999

0 9999
1 0003


3 0345

3 0840
AH
3 0440

3 0150

3 0170
3 0600
AS



IS N XXXX
CC41


1

1

1




0

1
1


3

3

3

3

3
3




DIFFERENCE












0170

0230
A
0230




9999

0034
0002
A

0340

0400
A
0385

0150

0150
0405




TEST,





WHERE NcDECIMAL PT INDICATOR,
CC45 CC49 CC53


1 0170

1 0340

1 0230




0 9999

1 0031
I 5747
AHS

3 0335

3 0320

3 0350

3 0155

3 0160
3 0290




HaHAXIHUH







1 0120

1 0170

i 0460
A



0 9999

1 0022
1 8045
AHS

3 0350

3 0340

3 0335

3 0150

3 0240
3 0270




VALUE







1 0120 1

1 0170 1

i 0920 I
AM



0 9999 0

1 0024 1
1 5747
AHS

3 0375 3

3 0330 3

3 0330 3

3 0150 3

3 0290 3
3 0250 3




TEST, SoSPIKE





XXXXeREADING) D R
CC57 CC61 TEST


0230

0120

0800
AM



9999

0026



0385
A
0340

0340

0150

0290
0250




TEST






N/A
1 0290

1 0120

1 0290
A


N/A
0 9999

1 0029


N/A
3 0760
AH
3 0390

3 0340

FAIL
3 014S

3 0335
AS
3 0260










GAP
TEST
FAIL








FAIL












FAIL






FAIL








-------
                                     AQDH3-1! ANOMALY SCREENING REPORT FOR DAILY READINGS
PAGt
-n
m'
c

JjJ
—\
ro


i
n
o
3
r+
3*
ro
a.


•o
Kj Q
£ 0
ro ro
Q.
c
•X
(D

XD
;O

3
5

i
i
TJ

to-
Ol
3.
^'
30
•o"
>



0 00 0000 001 1 n 1 11 n 12 22 22222 22 33 3
1 23 4567 890 1 23 4 56 78 90 12 34567 89 01 2
2-34-OOni-004-A-Ob-8-77-01-«*-00-l 1101-91-01-*



2-34-0001-004-A-06-e-77-02-**-00-l 1101-91-01-*


2-34-OOOI-003-A-06-8-76-12-**-00-42401-9t-OI-«



2-34-0001 -003-A-Ob-B-77-0|-**-00-4240l-91-OI>*




2-34-000 l-003-A-06-8-77-02-»*-00-4240 1-91-0 1-*



2-34-0001 -003-A-Ob-8-77-03-**-00-4240 1-91 -01-*




2-37-0001-234-F-05-8-71-04-**-00-l 1101-91-01-*




2-37-0001-234«F-05-8-71-06-**-00-tll01-9l-0|-*



2-37-0001-2 Ja-F-05-8-71-09-**-00-l 1101-91 -01-*

T3
D»
to
m 2-37-000 l-234«F-05-8-71-10-**-00-ll 1,04^91 -01-*
00

O
-b
DAYS
1- 8
9-16
17-20

1- 8
9-16
17-24
i- a
9-16
17-24
25-26
1- 8
9-16
17-Z4
25-31

1- 6
9-16
17-24

1- 8
9-16
17-24
25-26

1- 8
9-16
17-24
25-27

1- 8
9-16
17-24
25-29
I- 8
9*16
17-24
25-30

1- 8
9-16
17-24
25-30
REAOINGS(FORMAT IS N XXXX
0 0035
0 9999
0 9999

0 0455
0 0455
0 0455
0 1500
0 9999
0 9999
0 9999
1 0000
0 9999
0 9999
I 0000

0 9999
0 9999
0 9999

0 9999
0 9999
0 9999
0 9999

0 0060
0 9999
0 9999
0 9999

0 9999
0 9999
0 9999
0 9999
0 9999
0 0059
0 9999
0 0019

0 9999
0 0054
0 9999
0 9999
0 9999
0 9999
0 9999

0 0455
0 0455
0 0119
0 9999
0 9999
0 9999
1 0000
0 1500
0 9999
0 9999
0 9999

0 9999
0 9999
1 0128

1 0113
0 9999
0 9999
0 9450

0 9999
0 9999
0 99991
0 9999

0 9999
0 9999
0 0052
0 0068
0 0056
0 9999
0 0007
0 9999

0 0017
0 9999
0 9999
0 0037
0 9999
0 9999
0 9999

0 0455
0 0455
0 0455
0 9999
0 9999
0 9999

fr 9999
0 9999
1 0034
0 9999

0 9999
0 9999
0 9999

0 9999
0 9999
0 9999


0 9999
0 9999
0 9999
0 0040

0 9999
0 9999
0 9999
0 9999
0 9999
0 9999
0 9999
0 9999

0 9999
0 9999
0 0011
0 9999
WHERE N»DECIMAL PT INDICATOR, XXXXsREADING)
0 9999
0 9999
0 0000

0 0455
0 0065
0 0455
0 9999
0 9999
I 0014

0 9999
0 9999
0 9999
0 9999

0 9999
1 0000
0 9999

0 9999
0 9999
1 0143


0 9999
0 9999
0 9999


0 9999
0 9999
0 9999
0 9999
0 0050
0 9999
0 9999
0 0034

0 9999
0 0043
0 9999
0 0023
0 9999
0 0025


0 0455
0 0455
0 0455
0 9999
0 9999
0 9999

0 9999
1 0012
0 9999
0 9999

0 9999
0 9999
0 9999

0 9999
0 9999
0 9999


0 0070
0 9999
0 9999


0 0054
0 9999
0 0071
0 0045
0 9999
0 9999
0 0034
0 9999

0 0070
0 -9999
0 0035
0 9999
0 9999
0 9999


0 0455
0 0455
0 0455
0 9999
i 0000
0 9999

0 9999
0 9999
0 9999
0 9999

1 3613
0 9999
0 9999

0 9999
1 0076
0 9999


0 0177
0 9999
0 9999


0 9999
0 0037
0 9999

0 9999
0 0074
0 9999
0 0039

0 9999
0 0050
0 9999
0 0032
0 09b4
0 9999


0 0455
0 0455
0 0455
0 9999
0 9999
0 9999

1 0000
0 9999
0 9999
i 0000

0 9999
0 9999
0 9999

0 9999
0 9999
0 9999


0 9999
0 9999
0 0051


0 9999
0 9999
0 9999

0 0057
0 9999
0 0035


0 0052
0 9999
0 0037

0 9999
0 9999


0 0455
0 045b
0 0455
0 9999
0 9999
0 9999

0 9999
0 9999
0 9999


0 9999
0 9999
1 0069

1 0074
0 9999
0 9999


0 0038
0 0083
0 9999


0 9999
0 9999
0 9999

0 9999
0 0044
0 9999


0 9999
0 0020
0 9999

SMEWHT
TEST
FAIL



FAIL


FAIL



FAIL




FAIL



FAIL




FAIL




FAIL



FAIL




FAIL



*  DECIMAL PT INDICATORS ARE LISTED rtlTH READINGS
•« DAY VARIES, VALID ENTRIES ARE 1 THRU 31

-------
               1100001001E0217I0677774240111077                                                3
               I120001003C011780415774210111057                                                3
               1120001003C01178047777421Oil 1057                                                3
               U20001003CO11760131774210111067                                                3
               112000100JC01178112a77«ab021U077                                                3
      _       ll20001003COU7eU?7?742b021407?                                                3
      J.       1120001003C011781230774260214077                                                3
     UD        II20001003COm812????426021407?                                                3
      g        112000I003C01176062S774420114Q1?                                                3
      ,5        l340001001A06l79032B??42q01310l7                                                3
               1340002001DOS176010677424011407?                                                3
      3»       13Q0002001D051760177774240I14077                                                3
      3       1340002001DOS1760301770240114077                                                3
      |5       134000200100517«>03027712fl0114077                                                3
      I        1340002001DOS>76037???42qoll407?                                                3
      •*"      2340001004AObB770177001110191017                                                3
      ,       23/l0001004A0697702?7001U01    O
00    (B
      a.
      tn
      •o
      3
      

-------
AQDHS-II AD HOC TEST 3

Produce an Inventory by Pollutant Report with Data from both the Archived  and
Active Master Files

     In this test run, all hourly TSP and S0£ data which are recorded  in
standard units and exceed the maximum values (2000 micrograms/cubic meter  for
TSP and 5240 micrograms/cubic meter for 803) are to be retrieved,  regardless
of whether the data are in the active master file or have been archived.

     To accomplish this, the cataloged procedure AQRTM20 is used first to
execute the retrieval language processor program, ARTLNGP (AQ0110); the COBOL
compiler; and the linkage editor to create the generated retrieval program,
ARTGENR (AQ0120).  Then, the cataloged procedure AQRTM30 is used twice to
execute ARTGENR  (AQ0120) using two different input files:  the archived master
file and the active master file, The advantage of using these separate
procedures, instead qf the single retrieval cataloged procedure, AQRTfdQ, is
that the retrieval program does not have to be regenerated from the retrieval
specifications each time a new master file is to be used.  This test run also
uses the cataloged procedure AQMSM10 to merge the two retrieved files  by
executing AMSMERG (AQ0210), the master file merge program.  It also uses the
cataloged procedure AQRPM40 to produce an inventory by pollutant of the merged
file by executing ASRMSTR (AQ0140), the master file sort programi  and ARPINVP
(AQ0290), the inventory by pollutant report program.

     The retrieval programs are discussed in Test 13.  The master file merge
program, AMSMERG  (AQ0210), is discussed in Test 26.  ASRMSTR (AQ0140)  and
ARPINVP (AQ0290)  are both described in Test 8.

     The retrieval request cards for this test run are in the AQDHS-II
retrieval language.  Also, the $$SELECT card contains the'value RETRVR
beginning in column 61.  This specifies the name of the  load module for the
generated retrieval program when the procedure AQRTM20 is used to create and
store this load module.  When this field is used, the name specified must
also be used for the substitutable parameter PGMSAVE in  the cataloged
                                     244

-------
procedure AQRTM20.  If no value  is  placed  in this keyword field of the
$$SELECT statement, the default  value  of ARTGENR is used for the retrieval
program name.

     The run stream for this test run  contains the JCL necessary for producing
an inventory by pollutant report of data retrieved from both the archived and
active master files.  This run stream  is shown in Figure AHT3-1.

     The cataloged procedure AQRTM20 is executed in step A to  generate the
retrieval program load module which is named RETRVR by the specifications on
the $$SELECT card and by the use of a  substitutable parameter.  The user must
supply the DD information for the input retrieval specification cards  in the
COMPILE step.  In this test run, the input retrieval  specification cards will
be used to produce a standard answer file  containing  all hourly TSP and 862
data which exceeded their maximum values  and are recorded  in standard  units.
Refer to Figure AHT3-2 for the sample  output produced by this  procedure.

     In step B and C, the cataloged procedure  AQRTM30 is used  to  execute  the
retrieval program load module, RETRVR, on  the  archived master  file  AQARCM02
(created and stored on disk in Test 26) and on the  active  master  file  AQMST04T
(created and stored on disk in Test 26),  respectively.   The  load  module and
the input master files are specified in this  test  run using  substitutable
parameters.  By the same method, the output answer  file  is named  ARCHRETR in
step B and ACTVRETR in step C.   Sample outputs from step B and step C are
shown in Figures AHT3-3 and AHT3-4, respectively.

     Next, the run stream executes the cataloged procedure AQMSM10.  Through
the use of substitutable parameters, the  input files to be merged are
identified as ARCHRETR  (created  in step B) and ACTVRETR (created in step C),
and the merged file is named  MERGRETR.  This file contains all the desired
high readings for  TSP and SC«2 regardless  of whether the readings were taken
before or after the archival  cut off year.  MERGRETR is established as a
temporary file by  specifying  'NEW,PASS1 for the substitutable parameter
DISP3.   (The default  value  for  DISP3  is 'NEW,CATLG,DELETE1 which causes the
                                      245

-------
merged file to be cataloged.) Figure AHT3-5 shows the sample output  from this
procedure.

     In the last step, the inventory of pollutant report is generated by
executing the cataloged procedure AQRPM40.  Substitutable parameters are used
in this step to specify MERGRETR (created in the above step) as the  input
master file, AQPARM01 (created and stored on disk in Test 1) as the  input
parameter file, and AQSITE01 (created and stored on disk in Test 2)  as the
input site file.  The user must supply the DD information for the option card
file in the SORT step.  The option specified must be FARM.   Refer to Figure
AHT3-6 for the sample output produced by this procedure.
                                     246

-------
//ADHOC03 JOB RTI.Ca<4,POaaa3,MCMASTER,T=3,Psj50/FORMSsFFWHITE
//*PROCLIB=HTI.Ca
-------
                                     AODH3-1I RETRIEVAL LANGUAGE PROCESSOR I'KOGRAM  -  DIAGNOSTIC REPORT                PACE
          PROGRAM  NAMtl  ARTLNGP (AQ0110)
          REVISION LEVtH  1-00
          LAST  UPDATE  *l Z*
          DATE  INCORPORATEDJ OCTOBER 31. t<>76


          INPUT (CONTROL CARDS)!

          SS3ELECT                                                    RCTHVR
    ((PARAMETER-CODE
    DATA-FIELD
    (PARAMtTER-CUDE
    DATA-FIELD
    TIME-CODE
    DATA-FIELD
                                     •1IIOI'                                  AND
                                     •2000')                                  OR
                                     •42,01'                                  AND
                                     •5200'))                                 *ND
                                     •]•                                      AND
                                     •4999'                                   AND
    UNIT-CODE                =  '01'

ro
      00  **END
          NUMBER Of CONTROL CARDS READI                     9
          NUMBER OF RETRIEVAL SKELETON RECORDS READl    It 136
      -0  NUMBER OF RETRIEVAL SOURCE RECORDS HRITTENI   UI88
      ^   NUMBER OF CONDITIONAL HES3AGE8t                   0
      S   NUMBER OF ERROR MESSAGESI                         0
      (D   NUMBER OF ABORT MESSAGESI                         0
      O.
      -J
ro    n>
co    f>
      JO

      1
      o
       i
       i
      
-------
                                           AUDHS-II GENERATED RETRIEVAL PROGRAM   -   DIAGNOSTIC  REPURT                     PAGE
            PROGRAM NAME]  RETRVR  (A0012Q)
            REVISION LEVEL I  1-00
            LAST  UPDATE «l 2
       n>
       Q.
       C

ro     to

«£>     >
      XD
       30
       00
       o
      TJ
       3
       O>
       73

       73

-------
                                     AODHS-1I GENERATED RETRIEVAL PROGRAM   »  DIAGNOSTIC  REPORT
      PROGRAM NAME! RETRVR  (AQOtZO)
      REVISION LEVEL! 1-00

      LAST UPDATE »I 2«
      DATt INCORPORATED! OCTOBER II, 1978
      NUMBER OF MASTER FILE RECORDS RE ADI                303
-r,    NUMBER OF ANSWER FILE RECORDS NRITTENl               Z
->•    NUMBER UF CONDITIONAL MESSA6E3I                      0
<0    NUMBER OF ABORT MESSAGES!                            0

ii
 CO
 o
 to
 a.

 to
 ^
 >
 90
 CO
 o

  I
  I

 •a


 to

-------
                                           AQDHS-II  MASTER FILE MERGt PROGRAM  -  DIAGNOSTIC REPORT                           PAGE   1
     PROGRAM NAME I AMSMtHG  (A002IO)
     RI.VISIUN LtVEL: t-00
     LAST UPDATE »J 21
     DATE INCORPORATED: OCTOBER 3t«  i<>76
 _   INPUT FILE i CONTAINS:              2  RECORDS
 _i!   INPUT FILE 2 CONTAINS:              2  RECORDS
tQ   OUTPUT FILE CONTAINS:               a  RECORDS

 to
 cn
 -o
 o
 o
 tt>
 o.
 -$
 n>
 o
 I

•o
 3
IO
 i
 CO

-------
                                    AODHS-II HASTEN FILE  SORT  PROGRAM  •  DIAGNOSTIC REPORT
            PROGRAM NAMll A3HM3TP  (AtlOJOO)
            RCVISION LEVILJ J-00
            LAST UPDATE *: £a
            DATE INCORPORAUDl OCTOBER  31,
     -n      SORT OPTION SPECIFIED!        PARK
     _i.
    ua
     c

     ID      NUMBER OF INPUT KECORDS  READI             1
     _      NUMBER OF MASTER RECORPS MRITTENt         4
     g      NUMBER OF DIAGNOSTIC MESSAGESI             0
     —I
     CO
     I
     O
     ro
     o.
PO
en
ro
     •a

     o
     (Q


     I
     CO
     73  tJ
         Al
         «JD
         to

-------
      PROGRAM NAMLl  ARPINVP (AQ0290)
      REVISION LEVtLl  1-00
      LAST  UPDATE  *t  24
      DATE  INCORPORATED!  OCTOBER 31,
                                              AIR DUALITY DATA REPORT   -  INVENTORY BY POLLUTANT
                                                                                                                                PAGE
% POL-MTH POLLUTANT
ft) CODE NAME
— 1 1110191 TOTAL SUSPENDED PARTICIPATE
to
1
°* 4240131 SULFUR DIOXIDE
1
O
O
r+
_!•
3
C
0>
Q.
*
-a
ro o
en o
c
n>
o
i
•a
o
i
_ <~; INPUT RECORD COUNT < 4
3g jji OUTPUT LINE CUUflTl 4
-a ca
•-" «> PROGRAM NAHEt ARPINVP (A00290)
5 1x3 REVISION LEVELS 1-00
^ LAST UPDATE *l 24
O DATE INCORPORATED! OCTOBER 31, 1978
STATE-AOCR-CNTY- AG- LOCATION YEAR TIME UNIT NUM MIN MAX ARITH
AREA-SITE CODES PRJ NAME CODE CODE DBS OHS OBS MEAN
3416909600001001 A06 YADKIN RD., FAYETTEVILLt, CU 1965 1 01 8 1.000 9021. 2130.5
1979 1 01 16 1.000 9021. 1068.0
3416909600001001 AOfc YADKIN RD., FAVETTEVILLE, CU 1965 1 Oi 3 37.00 9928. 3334.0
1979 1 01 3 37.00 9928. 3334.0
ARPINVP (AQ0290) SUMMARY MESSAGES PAGE 1
ro

-------
AQDHS-II AD HOC TEST 4

Produce a Detailed Report in User Units Containing Data Retrieved from the
Master File

     This test incorporates the first use in the test run series of the user
units fields in the parameter file.  The cataloged procedure AQRTM10 is
executed first.  AQRTM10 executes the retrieval language processor program,
ARTLNGP (AQ0110); the COBOL compiler; the linkage editor; and the generated
retrieval program ARTGENR (AQ0120).  Next, the cataloged procedure AQCVM20  is
used to execute ACVUNIT (AQ0050), the units code conversion program.
And finally, the cataloged procedure AQRPM20 is used to produce a detailed
report by executing ARPMSTR (AQ0230), the master file detailed report
program.

     Jhj flftneyjil RrP9r$)S, arj» describe^ in Test 13.  ACVMNIT (AQPQ5Q) is
described ip Te.st 20 apd, AJ?PM,STR (AQp23p) is gescribefl in Test 6.

     The run stream for this test run contains the JCL necessary for producing
a detailed report of data retrieved from the master file and then converted
into user units.  This run stream is shown in Figure AHT4-1.

     First, the run stream executes the cataloged procedure AQRTM10 tp obtain
a retrieval.  Substitutable parameters are used to specify AQMST04T (created
and stored on disk in Test 26) as the input master file, and TEMPRETR as the
output answer file.  The user must supply the DO information for the input
retrieval specification cards in the COMPILE step.  In test run, these cards
are used to produce a standard answer file containing all N0£ and NOX data
from 1979 in the master file.  Refer to Figure Aftt4-2 for the sample output
produced by this procedure.

     Next, the run stream executes the cataloged procedure AQCVM20.  By using
substitutable parameters, the input master file is specified as TEMPRETR
                                    254

-------
(created by the first procedure of this test), the input parameter file  is
specified as AQPARM01 (created and stored on disk in Test 1), and the  output
answer file is named UNITCONV.  All the readings in this answer file have been
converted to the units of parts per billion (the user units specified  in the
parameter file AQPARM01).   The user must supply the DD information for the
option card file.   The option specified in the CONV step of this test  run is
USER.   Figure AHT4-3 shows the output  produced by this procedure.

     Finally, the cataloged procedure  AQRPM20 is executed to  produce a
detailed report.  Substitutable parameters indicate UNITCONV  (created  by the
above procedure) as the input master file, AQPARM01 (created  and stored  in
Test 1) as the input parameter file, AQSITE01 (created and stored on disk  in
Test 2) as the input site file, and AQSTND01  (created and stored on disk in
Test 3) as the input parameter standards file.   The user must supply the DD
information for the option card file.   The options specified  in the CONV step
of this test run are SUM and DISPLAY > -10.   The sample  output produced  by
this procedure is shown in Figure AHT4-4.
                                    255

-------
//ADHUC01 JOB RTI,U4.P02 -Ifl
                      Figure AHT4-1.   Run Stream
                                  256

-------
                                         Al)l>H1-ll  HLIRILVAL  LANGUAGF. PROCESSOR PROGHAM  .  01AUNU91IC RtPUKl                I'Al.t
             PROGRAM NAME. I AHILNGP  (A00110)
             REVISION LEVEL:  1-00
             LAST UPDATE «t in
         -r,   DATE INCORPORATED! OCTOBER  31,  |97«
         —i.
        CO
         ^   INPUT (CONTROL CARDS)!
         fl>
         _   SSSELECT
         >   YEAR                     a  '79*                                      AND
         ±j   (PARAMETER-CODE          =  '«602'                                   OR
         *•   PARAMETER-CODE           a  '02603')

         Aa   "END
         *

         _„   NUMBER OF CONTROL CARDS READ I                      5
         I?   NUMBER OF RETRIEVAL SKELETON RECORDS  READI     irisa
         O   NUMBER OF RETRIEVAL SOURCE  RECORDS WRITTEN!    IflBt
         O   NUMBER OF CONDITIONAL MESSAGES I                    0
         2   NUMBER OF ERROR MESS AGES I                          0
         C   NUMBER OF ABORT MESSAGES]                          0
        JO
        JO
ro
on
        •o
        3
        to
                                            AUDHS-II GENERATED RETRIEVAL PROGRAM  -  DIAGNOSTIC RF.PORT                     PAGE
        01  PROGRAM NAME:  ARTGENR (AQ0120)
        ?  REVISION LEVEL:  i-oo
        ""  LAST UPDATE  »l 29
        f-  PATE INCORPORATED!  OCTUOER  31.  1978

        5

        m  NUMBER OF MASTER FILE RECORDS READl                 301
        2;  NUMBER OF ANSWER FILE RECORDS HRITTbNl               22
        71  NUMHFR OF CUNOlriUNAL MESSAGES!                       0
            NUMBER UF AIIORT MESSAGES!                             0

-------
                                                AUOHS-I1 UNITS CODE CONVERSION PROGRAM   -   DIAGNOSTIC  RFPOH1                PAGE
        -O
        3
        o
        (D
        O.
            PROGRAM NAMll ACVUNJT (A00050)
            REVISION LEVEL: 1-00
            LAST UPDATE «l ZH
            INCORPORATED! OCTOBER 31,
               OPTION IS USER
       10   NUMBER OF INPUT KECOR05I                           22
       £j   NUMBER OF OUTPUT RECORDSi                          22
       m   NUMBER OF ERRORS OETECTEDl                          0
            NUMBER OF READINGS CONVERTED:                      «4
       >  NUMBER OF READINGS Ton LARGEj                       0
       ±  NUMBER OF HEADINGS TOO SMALLJ                       0
       4i  NUMBER OF RECORDS HITH READINGS  CONVERTED!         22
        I   NUMBER OF RECORDS KITH READINGS  TOO LARGEI          0
       r*  NUMBER OF RECOffOS HITH READINGS  TOO SMALLI          0
ro      n>
en
Co      f»
        £3
        o
        ro
        o
        •a
        o
        ua
        cu
        f>
        r>

-------
                                        AODHS-JI MASTER  FILf  DETAILED KF.PURT PROGRAM  -   DIAGNOSTIC REPORT                             PAU
                Mt IIAHI ;  AHCMSIft (AQ0230)

           10 VIMIlll LI VI I I  1-00
           I Aril uiMiAM  #: tn
           DAII IflUlHfMIHATI Ml  11C (IIlll I? 1|, 19/8


           untK-sPtciULo ucrinui  SUM DISPLAY » -10




       Zl  NUHIlfH UF OPTION STATEMENTS REAP:                            2

      
       JO
       33
       I
       I

      •o

       O
      to

       Of
           01
          in
           0>
           o
           -h

           ro

-------
     to
     3
             STATt!  NORTH LAHOLINA (34)
                                              AQDHS-11 AIR DUALITY DATA RtPURT
                                                          DISPLAY  >-IO
                                                                                                                                       PAGE
AOCRl   169      AOENCV:    EPA - ATMOSPHERIC SURVUUANCE
COUNTY! 0960     PROJECT:   EPISODE MONITORING
AREAt   0001     PARAMETER!
SITE!   001      UNITS!
VADKtri HO., FAYtTTEVILLE, CUMBERLAND CO.
                                       PRIMARY
             FEDERAL STANDARD
             STATE STANDARD
                     100 U6/M3 (25 CJ, ANNUAL ARITHMETIC MEAN
                      90 U6/M3 (DC) ANNUAL ARITHMETIC MEAN
COLLECTIP« MtTHl                               »EARJ  1979
ANAL*e«S +*THODt                               MONTH!  FEBRUARY
SAMPtlMC MMtRVALI 12 HOURS                    M]N DETl
SAROAfi K£#*        340001001A0616              UNITS CODE I 08
KEY-11 M*fc»0»60000IOOIA06779 KtY-2l 42602B20B KEY-3| 020106
                             SECONDARY
             100 UP/Mi (25 C), ANNUAL ARITHMETIC MEAN
              9Q UG/M3 (0 C) ANNUAL ARITHMETIC MEAN
ro
, HOMR
l
O
0
3
c"t"
—i.
3
C
m
IV
Q.
•

-a
3
o
at
a.
c
• n>

3>
,O
XJ
35
ro
o
i
i
•Q

0
CQ
-s
DAY
01
02
03
04
05
06
07
00
09
10
11
12
13
14
15
16
17
18

20
21
22
23
24
25
26
27
28


06
10.00

10.00

20.00

30.00











no. oo

130.0

210.0
330,0
40,00
370.0
410.0


18
10.00

10.00

20.00

30.00











80.00

130.0

210.0
330.0
40.00
370.0
410.0


NO.
2
0
2
0
2
0
2
0
0
0
0
0
0
0
0
0
0
0
o
2
0
2
0
2
2
2
2
jr


SUM
20.0000

20.000.0

40.0000

60.0000











160.000

260.000

420.000
660.000
80.000:0
740.000
820.000


      73  0>
      -o  ia
      3  ro
      30
          ro

-------
AQDHS-II AD HOC TEST 5

Produce a Sliding Average  Report

     Ad- Hoc Test 5 generates a sliding  average  report of 1979 sulfur  dioxide
hourly data using the SAROAD criterion  for  averaging.  To accomplish  this,  the
retrieval programs are executed by the  cataloged  procedure AQRTM10.   The
cataloged procedure AQSTM20 is then used to execute ASTSLAV  (AQ0180), the
sliding average program. The sliding average report  is produced using the
cataloged procedure AQRPM20 to execute  ARPMSTR  (AQ0230), the master file
detailed report program.

     Test 13 provides a description of the programs  executed by the retrieval
procedure.  ADQHS-II retrieval language specifications  are  used in this test
run. The special keyword, SLIDING, appears on the $$SELECT  card beginning in
column 25; this creates a sliding average answer file rather than a standard
answer file.

     The sliding  average  program, ASTSLAV  (AQ0180),  is discussed in Test 21.
The present test  uses the SAROAD  criterion for averaging.   This criterion
requires that  75% of the  readings  in an averaging interval  be  present for  an
average to  be  calculated.   In  this  test, where an interval  of 8 readings is
specified, the 75% minimum  translates  into 6 readings.  Under  the  regular
AQDHS-II criterion,  only  5  readings (one more than half) would be  needed to
calculate  an  average.

      Test  21  describes  the detailed report program, ARPMSTR (AQ0230).

      The run  stream for Ad Hoc Test 5  appears  in Figure AHT5-1.   First, the
 cataloged procedure AQRTM10 is executed to retrieve all hourly 1979 sulfur
 dioxide data from the active master file,  AQMST04T  (created and stored on disk
 in Test 26).   The user must supply the DD information  for  the input retrieval
 specification cards.  Figure AHT5-2 shows the sample output produced by
 this procedure.
                                     261

-------
     Next, the cataloged procedure AQSTM20 is executed using the sliding
average answer file TEMPRTR (created by the first  procedure in this test) as
input.  The option card in this step indicates an  averaging interval of 8; it
also has an S in column 21, which specifies that the SAROAD averaging
criterion is to be used.  The user must supply the DO  information  for this
option card in the AVERAGE step. Figure AHT5-3 shows the  sample output from
this procedure.

     Finally, a sliding average report is produced by  executing the cataloged
procedure AQRPM20.  The input files are TEMPSLAV (created by the above
procedure), AQPARM01, AQSITE01 and AQSTND01.  The  last three files were
created in Tests 1, 2, and 3, respectively.  The user  must supply  the DD
information for the option card file in the REPORT step.   The option card fpr
the master file report program shows a display criterion  of DISPLAY < 0.9.
Sample output produced by this procedure is shown  in Figure AHT5-4.
                                   262

-------
//AOHOC05 JOB RTI.C«4.P02«43,MCMASTERfTB3,P«150»FORMS»FFWHIT£
//*PROCLIB=RTI.Ca«.P02069.MCMASTfcR.DPR.JCL
//•
//* RETRIEVE A SLIDING-AVERAGE  ANSMER  FILE  OF  SULFUR  DIOXIDE
//* HOURLY DATA FROM 1979J  THEN RUN THIS FILE  THRU  THE  SLIDING
//« AVERAGE PROGRAM WITH AN AVERAGING  INTERVAL OF 81
//* FINALLY. LIST THE SLIDING-AVERAGE-VALUES FILE
//* WITH A USER-SUPPLIED DISPLAY CRITERION
//«
//ADHOCOSA EXEC AQRTH10,
//             MSTRFILsAQMSTOdT,
//             ANSNRFL'TEMPRETR*
//             PRIMARY=1,
//             SECNDRY'l
//•
//* THE 'SSSELECT' CARD CONTAINS THE MODE KEYWORD 'SLIDING',
//* HHICH IS REQUIRED IF A SLIDING AVERAGE REPORT IS TO BE PRODUCED
//*
//COMPILE.INPUT DO' *
SSSELECT                SLIDING
YEAR                   N < •?«'                                     AND
PARAMETER-CODE           • '«40l'                                  AND
TIME-CODE                « '!'
MEND
/•
//ADHOC05B  EXEC AQSTM20/
//             ANSRFILsTEMPRETRr
//             VALUFIL'TEMPSLAVf
//             PRIMARYBl,
//             SECNDRY"!
//•
//• THE SLIDING-AVERAGE-VALUES  FILE IS  PRODUCED)
//* THE OPTION CARD  INDICATES AN AVERAGING INTERVAL  OF 6;
//• THE  '3' OPTION  (APPEARING IN COL. 21 OF THE CARD)  INDICATES
//* THAT  THE SAROAD  CRITERION FOR  SLIDING  AVERAGE  CALCULATION HOLDS
//* (75X  OF THE READINGS MUST BE PRESENT IN THE AVERAGING  INTERVAL
//• FOR  THE CALCULATION TO BE MADE)I  SINCE THE AVERAGING  INTERVAL  IS  6,
//* THIS  CRITERION  REQUIRES 6 READINGS  TO  BE  PRESENT*  WHEREAS THE
//* AODHS-II SLIDING AVERAGE CRITERION  (I  MORE THAN  HALF)  MOULD
//• HAVE  REQUIRED ONLY  5
//•
//AVERAGE.OPTIONS DD *
AVERAGE  6           S
/*
//ADHOC05C EXEC  AORPM20*
//             MSTRFILsTEHPSLAV,
//             PARMFILsAOPARMOl*
//             SITEFIL»AQSITE01,
//             STANFIL'AQSTNDOl
//•
//• PRODUCE THE  SLIDING AVERAGE REPORT
//•
//REPORT.OPTIONS DD *
DISPLAY  < .9
                             Figure AHT5-1.   Run Stream
                                           263

-------
                                 AUDHS-11 HtTHlEVAL LANGUAGE PROCESSOR PROGRAM  •  DIAGNOSTIC REPORT                PAGt

      PROGRAM  NAME:  ARTLNGP (AlJOUO)
      REVISION LEVEL!  1-00
      LAST  UPDATE  •:  2«
31    OAlt  INCORPORATED!  UCTUUEH 31,
U3
c
JJ    INPUT (CONTROL CARDS)!

>    SSSELECT                SLIDING
3    YEAR                   N < '78'                                     »«<>
72    PARAMETER-CODE           * '42401*                                  *MD
 I    TWE-CODt                s '!•
M    SSEND
•                                     I

 -O    NUMBER OF CONTROL CARDS RCADi                     5
 t*    NUMBER OF RETRIEVAL SKELETON RECORDS KEADt    J»IJ6
2    NUMBER OF RETRIEVAL SOURCE RECORDS WRITTEN!   1,181
 (P    NUMBER OF CONDITIONAL MESSAGES!                   0
 O.    NUMBER OF ERROR MESSAGES I                         0
 ^    NUMBER OF ABORT MESSAGESI                         0
 o
 o
 i
 en
 "^                                   AUUHS-II GtNERATtD RETRIEVAL PROGRAM  -  DI-AGNOSTIC PfcPORT                     PAGE
 O>
 3    PROGRAM NAMt: ARTGfcNH (A00120)
 °-    REVISION LtVtL: 1-00
 >    LAST UPDATE V: 24
 73    DATE INCORPURATED: OCI00ER 31, 1978

 O

 Z    NUMBER OF MASTER FILE RECORDS REAUt                343
 TO    NUMBER OF ANSntR FILE RECORDS rfRirTEN!              11
       NUMBER OF CONDITIONAL MESSAGES!                      0
       NUMBER OF ABURT MESSAGES:                            0

-------
                                           AUUHS-II SLIDING  AVtHAGt  PROGRAM  -  DIAGNOSTIC RtPQRT                       PAGE
          PROGRAM NAMt: ASTSLAV (AQ01BO)

          REVISION LEVtL: 1-00

          LAST UPDATE «: 2fl

          DATE INCORPORATED: OCFUbER 31, 1978



          OPTIONS III LFFICT: AVLHAGt 6
    .£(•   NUMBER OF SLIDING AVtRAGE ANSWER RtCuRDS RtADl            11
    T=    NUMBER OF SLIDING AVERAGE VALUE RECORDS WRITTEN;           7
    -S    NUMBER OF ERRORS DETECTED!                                 0
    ro
     tn
     i
     co
    o
    n>
    o.
    c
ro   n>
CT>
tn   3>
    XD
     on
    ro
    o

     i
     i

    •a

    3
    
-------
                                                MASIth  HLL  DMA|Llf> HtHUHT PKDGHAM  •  DIAGNOSTIC  REPORT
           PWIIiHAM NAHC: AKPHSTk (AOOZ30)
           REVISION utvtu: i-oo
           LAST UPDATE •: <>4
           DATE INCOHPURATtD! UCIOBEH 31,  1"»7B


           USER-SPtCIFILD UPTIONl DISPLAY  <  .•*
           NUMBER UK OPTION STATEMENTS HEAOl                            1
           NUMBER OF MASTLH FILE RECORDS READ:                          7
           NUMBCR UF RtPURT PACtS HRITTCNI                              8
           NUMBER OF ERRORS DETECTED:                                   0
   C71
    I
   4*
   T3

   3
   O
   (D
   OL
   C

r\j ro
en

   JO
   30
    IN3
    O
    T3

    O
    (O
    ="  ff
        
        O
        -h

        PO

-------
     STATE.:  IIAKAI1  (12)
AUDHS-II AIR QUALITY DATA HtPUKI  -
                     DISPLAY   <.9
                                                                               SLIDING AVERAGE INTERVAL =  8
                                                                                                                                 PAGt

T)

to
c


ac
in
i
i
o
o
3
rt-
-J«
3
ID
ex
•

-o
ro o
o> o
*>J (D
a.
c
fD

^>
JO
70
3
ro
o
1
I

13
o
UD
i _
3» -0
70 fu
3: fo
00
-1 ro
70
0
ACJCH: ObO
COUNTY: 0080
AREA: 0001
SITE: 001
MOUNTAIN ROAD,

AGENCY: (PA - EFFECTS RESEARCH CULLECTIllN METH: DAVIS INSTRUMENT YEAH: 1979
PROJECT; POPULATION-URICNTED SURV. ANALYSIS METHOD: SEUUtNTI AL-CONDUCTOMETRIC MONTH: JANUARY
fARAHLTER: SULFUR DIOXIDE SAMPLING INTERVAL! 01 HOURS M1N DETl 28.6
UNITS: U-GMS/M3 (ODEG C, 1013 M-HARS) SAROAD KEY: 12UOOI001C0106 UNITS CODEl 02
HILO, HArtAIl CO. KEY-11 1206000800001001C01 179 KEY-2J 424013302 KEY-3: 010100
PRIMARY SECONDARY
FEDERAL STANDARD 365 UG/M3 (25 C) 24 HOUR MAXIMUM, 1 PER YEAR 1300 UG/M3 CO C), 3 HR. MAX.,! PER YR
STATE STANDARD


DAY 00
01 .0000
02 .1000
03
04
05
06
07
08
09
10
11
12
13
t ^
15
16
17
18
19
20
21
22
23
24
25
26
27
26
29
30
31 «•*
60 UG/M3 (25 C) ANNUAL ARITHMETIC MEAN 0.4 PARTS/MILLION, 3 HR.MAX, 1 PER YEAR

HOUR
01 02 03 04 05 06 07 08 09 10 11
.0125 .0125 .0125 .0125 .0125 .0125 .0125 .0125 .0125 .0625 .1125
.0375 .0125 .0000 .0000 **« *•» *«* **» ««» *** ***


























**t •»• •«« •** .6000 .6000 .6000 .6375 .7125 .7750 .8500
««« INDICATES SLIDING AVERAGE VALUE NOT COMPUTED DUE TO INSUFFICIENT NUMBER OF READINGS IN FILt.
BLANK INDICATES





SLIDING AVERAGE VALUE DID NOT MEET DISPLAY CRITERIA OR DID NOT MEET SELECTION CRITERIA.





ro

-------
AQDHS-II AD HOC TEST 6

Use Batched Retrievals in Generating a Statistical Analysis Report Ordered
by Parameter

     This is the first example of batched retrievals in the test run series.
First, the retrieval procedure, AQRTM10, is executed with batch retrievals.
Then the master file sort procedure, AQSRM10, is executed to sort the answer
file passed from the retrieval step.  The statistical analysis procedure,
AQRPM10, then follows, with the sorted file as input.

     The retrieval  programs executed by AQRTM10 are described in Test 13.  To
batch retrievals, each retrieval is preceeded by a $$SELECT card and one $$END
card follows all the retrievals.  The batched retrievals are used as input to
the retrieval language processor program, ARTLNGP (AQ0110). In this run, three
retrievals are* batched:  ode  for part icul ate data, a second for sulfur dioxide
    ^ a"hd a third for oxides  of nitrogen data.
     The master file sort  program, ASRMSTR  (AQ0140), is described in Test 8.
An answer file produced by batched retrievals should always be sorted by
ASRMSTR (AQ0140)  using the BATCH option to  group the records selected by each
retrieval together.  In this  run, the  STAT  option is also specified because
the answer file is to be used to produce a  statistical analysis report.

     Test 10 provides a description of the  statistical analysis programs:
ASTPRLM (AQ0190), ASTMSST  (AQ0200), and ARPMSST  (AQ0270).

     The run stream for Ad Hoc Test 6  appears in Figure AHT6-1.  Step A
executes the retrieval procedure» AQRTM10,  using as input the active master
file AQMST04T  (created and stored on disk in test 26) and producing an answer
file named TEMPRETR.  Sample  output from this step is shown in Figure AHT6.-2.
Step B executes the master file sorting procedure, AQSRM10, with the answer
file TEMPRETR as  input and the output  sorted file named TEMPSORT.  Two options
are specified on the option card in this step:  BATCH, beginning in column 1,
and STAT, beginning in column 7.  Sample output from this step is shown in
                                      268

-------
Figure AHT6-3.   The statistical  analysis  procedure AQRPM10,  is  executed  last,
using the QUARTER option for  the preliminary  statistics  program and  a
line-per-page maximum of 60 for  the  statistical  report program.  Sample  output
from this step is shown in Figure AHT6-4.

     Note that the statistical analysis  report  generated in  this run is
ordered by parameter because  1)  each of  the  batched  retrievals  selected
records for a given parameter and 2) the BATCH  option  in ASRMSTR (AQ0140)
caused the records selected by each  of the retrievals  to be  grouped  together.
If one retrieval had been used in the retrieval  step (the BATCH option would
therefore not be used in the  sort step),  the statistical analysis  report would
have been ordered by site.
                                     269

-------
//ADHDC06 JOB
//*PROCLIB=RTI.Cia.P0206<).MCMA3TE.R.DPR.JCL
//*
//« RUN A BATCH RETRIEVAL ON THE MASTER FILE, RETRIEVING FIRST
//• CERTAIN TSP DATA, StCOND CERTAIN SULFUR DIOXIDE DATA,
//* AND THIHD CERTAIN OXIDES OF NITROGEN DATA;  PRODUCE A STATISTICAL
//* REPORT FROM THIS ANSWER FILE
//AOHOC06A EXEC AQRTM10,
//             MSTRFIL=AOMSTO<»T,
//             ANSWRFL*TEMPRETR,
//             PRIMARY=1,
//             SECNDRV=1
//*
//* A BATCH RETRIEVAL IS GENERATED WITH MULTIPLE SETS OF RETRIEVAL
//* SPECIFICATIONS; EACH SET OF SPECIFICATIONS is SEPARATED FROM THE
//* OTHERS BY ITS OWN 'SSSELECT* CARD
//*
//COMPILE. INPUT DD *
SSSELECT
YEAR                     a  »79'                                     AND
MONTH                    <  '01'                                     AND
PARAMETER-CODE           =  '11101'                                  AND
TIME-CODE                =  '!'
SSSELECT
YEAR                     =  '79'                                     AND
MONTH                    <  '01'                                     AND
PARAMETER-CODE           =  'fla«0l'                                  AND
TIME-CODE                =  '!'
SSSELECT
YEAR                     c  '79*                                     AND
MONTH                    <  *o«'                                     AND
PARAMETER-CODE           =  '42603'
SSEUD
/*
//ADHOC06B EXEC AQSRMIO,
//             MSTRFIL=TEMPRF.TR,
//             SORTFIL=TEMPSORT,
//             PRIMARY=l,
//             SECNORY*!
//* SORT  THE RETRIEVED FILE USING THE  'BATCH'  AND  'STAT' OPTIONS;
//* THE BATCH RETRIEVAL  IN STEP A MERELY RETRIEVES  ALL RECORDS FITTING
//• ANY OF  THE SPECIFICATION SETS, KEEPING  THE  RECORDS IN NORMAL
//• MASTER  FILE URDER; THE BATCH SQKT  REORDERS  THE  RECORDS  INTO THE
//* SAME  SEQUENCE  AS  THAT IN WHICH THE ASSOCIATED  RETRIEVAL SPECIFICATION
//« SETS  OCCUR IN  STEP A  (ALL TSP DATA FIRST,  THEN  SULFUR DIOXIDE
//* DATA, AND FINALLY OXIDES OF NITROGEN DATA).
//SORT. OPTIONS DD  *
BATCH STAT
/«
//ADHOC06C EXEC AORPM10,
//             MSTRFIL=TEMPSORT.
//             PARMFIL=AOPARM01»
//             SITEFIL»AQSITE01,
//             PRI1=1,
//             SEC1=1,
//             PR12=1,
//             SECa=l
//• USING  THE SORTED RETRIEVED FILE, CREATE  THE  PRELIMINARY
//* STATISTICS FILES (TEMPORARY) USING  THE QUARTER
//* OPTION, GENERATE THE STATISTICAL ANALYSIS  FILE  (TEMPORARY), AND
//• PRODUCE THE STATISTICAL REPOHT
//*
//PRELIM. OPTIONS DO *
QUARTER
//PRINTS. OPTIONS DD  *
      bO
                       Figure  AHT6-1.   Run Stream

                                  270

-------
                                 AODHS-U  RETRIEVAL LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC RFPURT                PAGE
      PROGRAM NAME!  ARTLNGP (AQ0110)
      REVISION LEVEL!  1-00
      LAST UPDATE *!  24
      DATE INCORPORATED!  OCTOBER  31,  1978
 -n

 *g   INPUT (CONTROL  CARDS)!

 CD   SSSELECT
 ._   YEAR                     =  '79'                                     AND
 f?   MONTH                    <  '04'                                     AND
 _H   PARAMETER-CODE            =  '11101'                                  AND
 O»   TIME-CODE                 =  '!'
 J.   SSSLLECT
 .     YEAR                     =  '79'                                     AND
      MONTH                    <  '04'                                     AND
      PARAMETER-CUDE            s  '42401'                                  AND
 -?   TIME-CODE                 r  'f
 O   SSSCLECT
 £>   YEAR                     =  '79'                                     AND
 S   MONTH                    <  '04'                                     AND
 C   PARAMfTEH-CODE            =  '42603'
 m   J$Etlp


 O   NUMBER  OF CONTROL CARDS READl                    15
 3   NUMHEH  OF RETRIEVAL SKELETON RECORDS HEAD!    1*147
 J2   NUMOtR  OF RETRIEVAL SOURCE RECORDS WRITTEN!   1,262
 *->   NUMBER  OF CONDITIONAL MESSAGES!                   0
 °   NUMBER  OF ERROR MESSAGESI                         0
 ,     NUMHER  OF ABORT MESSAGES*                         0
 I

 •o

 3
 m

 f
 cl    ———————•-•-———————••——————•»———w————-.————«•———«.—•-.—•»•.»«»_——»,
2j                                  AUDHS-1I GENERATED RETRIEVAL PROGRAM  -  DIAGNOSTIC REPORT                     PAGE
O.
     PROGRAM NAME] ARTGENR (AQ0120)
5   REVISION LEVEL! 1-00
CH   LAST UPDATE »l 24
O   DATE INCORPORATED! OCTOBER Jl, 1976
m

73   NUMBER OF MASTER FILE RECORDS READI                341
     NUMBER OF ANSWfH FILE RECORDS HRITTENI               ii
     NUMBER Of CONDITIONAL MESSAGES!                      0
     NUMBER OF ABORT MESSAGES!                            0

-------
                                  AOPHS-tl  HASTEN FILE SUHT PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                   PAGE
         PROGRAM NAME: ASHMSTR  (AQOIQO)
         REVISION LEVCLI,  1-00
         LAST UPDATE  «l 24
         DATE INCORPORATED:  OCTOBER  ilr  1976
     c
     n>
         SORT  OPTION  SPECIFIED'!  BATCH STAT
      I
     CO
         NUMBER- OF  INPUT  RECORDS READ*
         NUMBER OF  MASTER RECORDS HRtfTENt
         NUMBER OF  DIAGNOSTIC MESSAGES!
                                              22
                                              22
                                               0
ro
^j
ro
o
n
o>
o.
c.
o>
3s
JO
CO
30
     o
     (O
     (V
     CO
     CO

     70

-------
                                     AODHS-U PRELIMINARY STATISTICS  PROGRAM   .   DIAGNOSTIC  REPORT
      •^     PROGRAM NAML: ASTPRLM (ADO190)
      C      REVISION LEVtL: 1-00
      -3      LAST UPDATE »l *«
      m      INCORPORATED! OCTOBER Jl. 1978
      J»
      U-     OPTION IH EFFECTt QUARTER

      C'

      ^      NUMBER OF MASTER FILE RECORDS READ!                          22
             NUMBER OF MASTER FILE RECORDS KITH COMPOSITE UATAl            0
             NUMBER OF STATISTICS RAM DATA FILE RECORDS WRITTEN!          Sb
      I?      NUMBER Of PRELIMINARY STATISTICS FILE RECORDS WRITTEN:        6
      o      NUMBER UF OIAUNUSTIC MESSAGESI                                o
      n
      o>
      Q.
     JO
     73
     -a
     3:
Co
      I
      I

     T3

     O
     VI

     t»
     CO
                                          AODHS-H  STATISTICAL  ANALYSIS  PROGRAM  -  DIAGNOSTIC  REPORT                                PAGE  I
     D>      PROGRAM NAME! ASTMSST  (AQQ200)
     3      REVISION LEVEL!  1-00
     °- ^ LAST UPDATE *:" in
     3>  «u  DATE INCORPCWATEOJ OCT.UHFR Jl,  19/8
     CO U3
     —I  fl>

     CO *-•
     CO
     — ' 2.  NUMBER OF STATISTICS RAri DATA FILE RECORDS READ!          36
        ~"  NUMBER OF PHELIMINAHT STATISTICS HUE RECORDS REAOl       6
        *i  MUMBEH UF STATISTICS FILE RECORDS WRITTEN!                12

-------
                                AODHS-II STATISTICAL  ANALYSIS REPORT PROGRAM  •  piAGNOSTIC REPORT                          PAGE     1

T1
£•     PROGRAM-NAME I ARPMSST  (AQ0270)
g     REVISION LEVELl  1-00
^     LAST UPDATE  «I 24
*     DATE INCORPORATED! OCTOBER  31,  1978

Ir     OPTION CARD  IMAGES       60
-i                                   *** AflPMSST  MS NARNI4HG - COLUMN 1  - INVALID OR MISSING SITE BREAK OPTION - FULL BREAK OPTION USED
O1
       PRINTING OPTIONS', CHOSEN ARE FULL   SITE  BREAK  AND 60  LINES PER PAGE
 •o
 3
 o
 Q.
 C
JO
JO
 O
 I

TO
 3
 g                                                       AOOH8-I1 STATISTICAL AtJALYSIS REPORT                                 PAGt
^                                                               ANALYSIS til aUAKTGR
2                                                             STATE  (JO)t NOH(« CAROLINA
t/l
^H       SITE CODE: 34-0001-001-A.Q6       AGENCY TVPCl EPA - ATMOSPHERIC SURVtJLLANCt   COUNTVC0960)
         AGENCY/PROJECT! A06                                          SITE ADDftt Y*DKIN  RD.« fAYE*TEVILLE,  CUMBERLAND  CO.
         POLLUTANT NAME      V          METHOD OF COLLECTION AND ANALYSIS                        INTERVAL     UNITS                      TIMES
         POLLUTANT-MLTHOD>INTEHVAL-UNIT8 CODE                                                                                            HALF
                 PCT   NBK   M1N    MIN                   PERCiNTILES                 MAX    ZMD     3RD     ABIT    ARIT    GEOM   6EOM    M DET
         YR/QTH  OBS   DBS  DET EC   DBS     10    30    SO    70    40    9b    99    DBS    MAX     MAX     MEAN   ST  DEV   MEAN   ST DEV   SUB

         TOTAL SUSPENDED PARTICULATE      Ml-YOL                    - 6HAVIMET«IC                  HOURLY       U-GHS/MJ (2SDEG C,1013 M-BARS)
         HIO|»«I"1-0|
          79/1   3.0    6U  1.000 1.000     4.   13.   IB.   25.   01.   02. 9021.  9021.  8003.   4S.DO   264.9   1092.    17.00   fl.381      0

-------
£
re
    tr\
    i
    o
    o
    3
            SITE CODE:  12-0001-001-C-OI
            AGfcNCY/PROJECTi CO!
                                                         AODHS-II STATISTICAL ANALYSIS REPORT
                                                                 ANALYSIS BY QUARTER
                                                               STATE (I2lt HAWAII

                                           AGENCY TYPES EPA • EFFECTS RESEARCH           COUNTY(0080)
                                                                      SITE AOORl MOUNTAIN ROAD, HJLO, HAWAII CO,
                                                                                                                                 PAGE
POLLUTANT NAME. METHOD OF COLLECTION AND
POLLUTAfJf-METHOD-INTERVAL-UNITS CODE

YH/OTR
PCT
OHS
NBR
OBS
MIN
DETEC
ANALYSIS
MIN PERCENTILES
OBS
10
30
50
70
90
95
99
MAX
OBS
2ND
MAX
INTERVAL UNITS
3RD
MAX
ARIT
MEAN
ARIT
ST DEV
GEOM
MEAN
GEOM
ST DEV
IIMES
HALF
M DET
SUB
         SULFUR DIOXIDE

          79/1    4.7   101   2B.60 0.0
                                         DAVIS INSTRUMENT

                                          0.0   0.2   0.6
                                                                0.7
 - SEQUENTIAL-CONDUCTOMETHIC   HOURLY

1.1   1.3   1.4  1.400  1.400  1.300
           U-GMS/M3 (ODEG C. 1013 M-BARS)

       0.537  0.42B   14.29  1.006    101
    3
    C
    Q.
™  a
en  <"»
    fD
    Q.
   '.C
    70
    I
    i-«
    O
    I
•o
o
(O
at
   70
   -a
   CO
   •
            SIIC CODES  J1-0001-001-A-06
            AGENCY/PROJECT I  AOb
                                                          AODHS-II STATISTICAL ANALYSIS REPUHT
                                                                  ANALYSIS BY QUARTER
                                                                STATE (34)1 NORTH CAROLINA

                                            AGENCY TYPEl EPA - ATMOSPHERIC SURVEILLANCE   COUNT Y(0<»60)
                                                                       SITE ADDKI YADKIN RD.» FAYETTEVILLEf CUMBERLAND CO.
                                                                                                                               I'AM
         POLLUTANT NAME                   METHOD OF COLLECTION AND ANALYSIS
         POLLUTANT-METHOD-INTERVAL-UNITS CODE
                 PCT    N9R   MIN    MIN                   PERCENTILES
         YR/OTR  OBS    OBS  DETEC   OBS     10    30    50    70    90    95
                                                                                    99
                                                                                       MAX
                                                                                       UBS
                           2ND
                           MAX
INTERVAL

  3RD
  MAX
                                                                                                                  UNITS
ARIT
MEAN
 ARIT
ST DEV
GEOM
MEAN
        TIMES
        HALF
 GEOM   M DET
ST DEV  SUB
    fl>


    O

    4*
                                             OAVIS  INSTRUMENT
                                                                        - HYDROGEN PEROXIDE
                                                                                                   HOURLY
            SULFUR DIOXIDE
            42401-J1-1-01
             79/1   0.1     3  26.20 37.00    37.    37.    37.  9928.  9928.  9928.  9928,   9928.   37.00  J7.00   3334.   5710.    238.6  25.2a
                                                                                                              U-GHS/M3 (25DEG C.1013 M-BARS)

                                                                                                                                           0
                                             INSTRUMENTAL
                                                                      CHEMILUMINESCENCE
                                                                                                  12 HOURS
                                                                                                              PARTS PER MILLION (VOL/VOL)
            OXIDES OF NITROGEN
            U2603-14-7-07
             79/1  12.2    22  0.010 0.010   0.01  0.03  0,05   0.21   0.37   0.81   0.41   0.410   0.410  0.370   0.14]   0.153   0.065  3.944      0

-------
                                                   ARPM8ST (AQOZOO) SUMMARY MtSSAftES
                                                                                                                                 I'AGE
O>
           NUMBER OF INPUT RECURDSI
           NUMBER OF tHRORS:
           NUMBER OF OUTPUT PAGES:
        PROGRAM-NAME]  ARPMSST (AQ0270)
        REVISION LEVhLJ  1-00
        LAST  UPDATE *t 24
        DATE  INCOHPUHATtOJ nCTOBER 31.
                                                12
                                                 i
                                                 5
O
o
a>
a.
53
-a
I
3
(Q
00
00
    o
    -h

-------
AQDHS-II AD HOC TEST 7

Retrieve Data and List  the Answer  File

     The primary function  of this  ad  hoc test is to exercise the copy-member
capabilities of the retrieval  language  processor.  Each record containing
sulfur dioxide data recorded in units of parts per million and having an
average reading value above 1.0 part  per million is retrieved during an
execution of AQRTM10, the  retrieval procedure.  The answer file is listed with
the master file detailed report procedure, AQRPM20.

     Test 13 describes the retrieval  programs.  The retrieval specifications
in the present test are in the COBOL  language and are contained in three copy
members; the names of all  three members appear on the $$SELECT card  in
specific keyword fields.  The primary copy member does  not always require the
use of the other two members; this was  the case in Ad Hoc Test 2, in which  the
primary copy member appeared by itself  on the $$SELECT  card.   In the present
test, th« primary mtmbtr is- MRi«4 RfTESTOS;  this name begins  tn column  16.
The user-defined subroutine member is subordinate to the  primary copy.member;
this subordinate member contains a COBOL  paragraph or paragraphs that  are
performed by the primary copy member.  User-defined data  items, which  should
be under the same  '01' level, are stored  in  the third copy member.   The
user-defined subroutine member is named RPTEST3A  in this  test; this name is
placed  on the $$SELECT card beginning in  column 52.   The  user-defined data
member  is named DTTEST03; this name begins in column  43.   See Figure AHT7-1
for a listing of each of these copy members. When three COBOL copy members are
used in the fashion  described above, there must be at least one AQDHS-II
retrieval language statement following the $$SELECT card.

     The detailed  list  program, ARPMSTR (AQ0230), is discussed in Test 6.

     The run  stream  for Ad  Hoc Test  7  appears in Figure AHT7-2.  Sample output
from the execution of  the  retrieval  procedure is shown in Figure AHT7-3. The
retrieval  execution  involves  the  input of the active master file, AQMST04T
                                      277

-------
(created and stored on disk in test 26), and the output of the answer  file,
TEMPRETR.   Notice in the output from ARTLNGP (AQ0110),  a single AQDHS-II
retrieval  language statement YEAR=YEAR appears.   This statement, which has
no impact on the retrieval specifications, is present simply as a requirement
of using three copy members.

     Sample output from the detailed list step is shown in Figure AHT7-4.   The
user options in this step specify a MEAN report with a display criterion  of no
data greater than 9990.
                                     278

-------
Copy Member:    RPTEST03
    MOVfc FALSE TO RECORD-UUALIFIES-3W.
    IF PARAMETER-CODE EQUAL TO '42401 '
       AND UNIT-CODE EQUAL TO '91'
     MOVE ZERO TO USER-TOTAL-READING
                  USER-AVG-READIN6
                  USER-NHR
     MOVE B1NARY-I TO SUB
     PERFORM USER-CK THRU USER-CK-END NBR-OF-READIN03 TIMES
     DIVIDE USER-TOTAL-READING BY USER-NBR
         GIVING USER-AVG-READING
     IF USER-AVG-READING 13 GREATER THAN I
       MOVE TRUE TO RECORD-QUALIFIES-SW.
                                                                                      00000070
                                                                                             «
                                                                                      000001ZO
Copy  Member:   RPTEST3A
USER-CK.
    MOVE  DATA-FIELD  (SUB) TO USER-DATA-FLO.
    IF DECIMAL-CODE  (SUB) EQUAL TO 0
      MOVE USER-DATA-FLDO TO USER-DATA-FLDX
    ELSE
      IF  DECIMAL-CODE  (SUB) EQUAL TO t
       MOVE USER-DATA-FLD1 TO USER-DATA-FLDX
      ELSE
        IF DECIMAL-CODE  (SUB) EQUAL TO 2
          MOVE USER-DATA-FLD2 TO USER-DATA-FLDX
        ELSE
          IF DECIMAL-CODE (SUB) EQUAL TO 3
            MOVE USER-DATA-FL03 TO USER-DATA-FLDX
          ELSE
         ,   MWC MMMfMA-FUM TO USER-frATA-f LDX.
    IF I*|HMTA-FLD» IF LESS THAN 9998
      ADD' I TO USEH-NBR
      ADO USCR-0AM-FLOX TO USER-TOTAL -READIN6.
    A»» I' TO SUB.
USER-CK-END.  EXIT.
                                                                                      00000010
                                                                                      00000020
                                                                                      00000030
                                                                                      00000040
                                                                                      00000050
                                                                                      00000060
                                                                                      00000070
                                                                                      00000080
                                                                                      0000009*
                                                                                      00000100
                                                                                      00000110
                                                                                      00000120
                                                                                      00000130
                                                                                      00000140
                                                                                      00000150
                                                                                      000901**
                                                                                      000*0170
                                                                                      OOOOtBO
                                                                                      00000190
                                                                                      00000200
 Copy Member:   OTTEST03
01  USER-DATA-STRUCTURE.
    02  USER-TOTAL-READING
    02  USER-AVG-READING
    02  USER-NBR
    02  USER-DATA-FLD
    02  USER-DATA-FLOO
        USER-DATA-FLD
    02  USER-OATA-FLD1
        USER-DATA-FLD
    02  USE.R-DATA-FLD2
        USER-DATA-FLD
    02  USER-DATA-FLD3
        USER-DATA-FLD
    02  USER-DATA-FLD4
        USER-DATA-FLD
    02  USER-DATA-FLDX
                              PIC  S9(5)V9(4)  VALUE  +0.
                              PIC  sscsmco)  VALUE  »o.
                              PIC  99  VALUE  0.
                              PIC  S9(fl).
                              REDEFINES
                              PIC  39(4).    >
                              REDEFINES
                              PIC  S999V9.
                              REDEFINES
                              PIC  S99V99.
                              REDEFINES
                              PIC  S9V999.
                              REDEFINES
                              PIC  SV9999.
                              PIC  39(4) V9(4).
                                                                                       00000010
                                                                                       00000020
                                                                                       00000030
                                                                                       00000040
                                                                                       00000050
                                                                                       00000060
                                                                                       00000070
                                                                                       00000060
                                                                                       00000090
                                                                                       00000100
                                                                                       00000110
                                                                                       00000120
                                                                                       00000130
                                                                                       00000140
                                                                                       00000150
                                                                                       00000160
                            Figure  AHT7-1.   COBOL  Copy Members
                                               279

-------
//ADHOC07 JU8 RTI .C4«.PQ2443,MCMASTfcR, T=3»P=I50»FORMS=FFWHITE
//*PR()CLIB=RTI.C 9990'
//*
//REPORT. OPTIONS DO *
MEAN DISPLAY N > 9990
                    Figure AHT7-2.  Run  Stream

                                 280

-------
                                      AQDHS-I1  RETRIEVAL  LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC REPORT                PAGE
          PROGRAM NAME! ARTLNGP  (AQOIIO)
          REVISION LtVELI 1-00
          LAST UPDATE «! 24
          DATE INCORPORATED! OCTOBER  31,  I'7»
      -ri
      »j«

        YEAR                     a  YEAR
      3C   SSEND

      I
      OJ   NUMBER OF CONTROL CARDS READi                     3
          NUMBER OF RETRIEVAL SKELETON RECORDS READ!     1,136
          NUMBER OF RETRIEVAL SOURCE  RECORDS WRITTEN!    1,112
      -0   NUMBER OF CONDITIONAL MESSAGES!                   0
      ~S   NUMBER OF ERROR MESSAGES!                         0
      g   NUMDER OF ABORT MESSAGES!                         0
      CO
      O.
      C
      ~i

      3>
     JO
      •yo
ro   2
co   j-
t->   o
     "O
     3
     u?
     Dl
     I/)
     3>
     50
     Z                                  AUDH3-U GENERATEp RETRIEVAL PROGRAM  -  DIAGNOSTIC REPORT                     PAGE
     tn
     ~°  PROGRAM NAME; ARTGCNR  (AOOI2Q)
     o>   REVISION LEVEL:  i-oo
     3   LAST UPDATE Hi 89
     °-  DATE INCORPOKATED! OCTOBER  JI,  1116
     3>
     3
     3  NUMBER OF MASftR FILE  RECORDS READ!                301
     m  NUMBER OF ANSWER FILE  RECORDS WRITTEN!                I
     Z  NUMBER OF CONDITIONAL  MESSAGESI                       0
     ^  NUMBER OF AilORT MESSAGES!                             0

-------
                                 AODHS-II MASTER FILE DETAILED REPORT PROGRAM  -  DIAGNOSTIC REPURT
                                                                                                                               PAGfc
     PROGRAM NAME I ARPMSTR  (AQ0230)
     REVISION LEVELI  1-00
     LAST UPDATE «l 24

     DATE INCORPORATED! OCTOBER 31, 1978


     USER-SPECIFIED OPTION! MEAN DISPLAY N > 9990
(O
     NUMBER OF OPTION STATEMENTS READl
     NUMBER OF MASTER FILE RECORDS READI
     NUMBER OF REPORT PAGES WRITTENI
     NUMBER OF ERRORS DETECTED!
u
O
n>
0.
i
ro
00 3»
ro jo
50
•o
ro
o
i
i
•a
o
CO
eu
3
50

—1


STATE! NORTH CAROLINA (34) AODHS-II AIR QUALITY DATA REPORT
DISPLAY N>9990
AQCRl 170 AGENCY! EPA - ATMOSPHERIC RESEARCH COLLECTION METHl INSTRUMENTAL
COUNTY! 2880 PROJECT! SPECIAL STUDIES ANALYSIS METHOD! COULOMtTRIC
AREA! 0002 PARAMETER! SULFUR DIOXIDE SAMPLING INTERVAL! 01 HOURS
SITU 001 UNITS! PARTS PER MILLION (VOL/VOL) SARQAD KtYl 340002001D051 1
HRIGHTSVILLE BEACH, NEW HANOVER CO. KtY-ll 341702B80000200ID05I76 KEY-2I


PAGE

YFAR! 1976
MONTH! MARCH
M1N DET! .01
UNITS C(HH.I 07
424011407 KEY-)! 030300


2




PRIMARY SECONDARY
FEDERAL STANDARD 0.14 PARTS PtR MILLION 24 HOUR MAXr 1 PER YEAR 0.5 PARTS/MILLION, 3 HR
STATE STANDARD 0.03 PARTS/MILLION, ANNUAL ARITHMETIC MEAN

HOUR
DAY 12 13 14 15 16 17 18 19 20 21
MAX, 1 PER YEAR



22 23 NO. MEAN




MAX

DAY
01
02
03
NO
MEAN
MAX

12
0.017
1
.017
0.017

13
0.030_^
1
.03
0.030

14
0.037
1
.037
0.037

15
0.030
1
.03
0.030

16
0.027
1
.027
0.027
HOUR
17
0.023
1
.023
0.023

18
0.015
t
.015
0.015

19
O.OM
1
.011
0.011

20
0.008
1
.008
0.008

21
0.005
1
.005
0.005

22
0.006
1
.006
0.006

23
0.003
1
.003
0.003
                                                                                                                       24
                                                                                                                            243.4
                                                                                                                                     5840

-------
AQDHS-II AD HOC TEST 8

Run a Statistical  Analysis on an Answer  File

     This ad hoc test exercises  the  year option of the  statistical  analysis
programs.  First, an answer file of  1973 and January  1979  data  is  retrieved
with an execution of the procedure AQRTM10.  The  statistical  analysis
procedure, AQRPM10, is run against this  answer file.  AQRPM10  executes  the
preliminary statistics program,  ASTPRLM  (AQ0190), the statistical  analysis
program, ASTMSST (AQ0200), and the statistical report program,  ARPMSST
(AQ0270).

     Standard AQDHS-II retrieval language specifications are  used  in this
test.  See Test 13 for a description of  the retrieval-related programs.

     Test 10 describes the three statistical  analysis programs.  The present
ad hoc test uses an analysis period  of a full  year;  compare this with the
monthly period  (Test  10) and the quarterly period (Ad Hoc Test 6).

     Figure AHT8-1 shows the run stream of this  test.  Step A, in which the
retrieval procedure,  AQRTM10, is executed, uses  the active master file
AQMST04T  (created  and stored on disk in Test 26) as the input file and
produces the answer file TEMPRETR.  Figure AHT8-2 gives sample output for this
retrieval step.  Step B runs the statistical analysis against the answer file
TEMPRETR, using parameter  and site  files AQPARM01 and AQSITE01  (created in the
first two tests in the series).  The preliminary statistics option  is  YEAR.
The  user-specified statistical  report option is  BRIEF.  Figure  AHT8-3  shows
sample  output  from this statistical analysis.

     Note that the answer file  was  not  sorted using  the STAT option of the
master  file sort  program,  ASRMSTR (AQ0140), prior to being input  to the
statistical  analysis  procedure.  This causes the report to be  printed by  site,
by year within site,  by parameter within year.   Thus,  all data for a given
site and parameter would  not necessarily appear  together.  However, sorting of
                                      283

-------
the answer file would insure that all  data for a  given  site  and  parameter
would appear together in the statistical  analysis report.
                                    284

-------
//ADHOCOB JOB RTI .C<44.PUaa
-------
                                      AQDH3-1I RETRIEVAL LANGUAGE PROCESSOR PROGRAM  -  DIAGNOSTIC  REPORT                 PAGE
ro
C3
cn
      -i.   PROGRAM NAME!  ARTLNGP (AOOllO)
      «0   REVISION LEVEL!  1-00
      E   LAST  UPDATE «! 2«
      (3   DATE  INCORPORATED! OCTOBER 31, l<»78


      Ej   INPUT (CONTROL CARDS)!

       '    SSSELECT
      1°   YEAR                      « 'T«»'                                      AND
           MONTH                    = *01*                                      OR
           YEAR                      = '73*
      ^   S*END
      O
      O
      Q>   NUMHER OF CONTROL CARDS READl          *          5
      C   NUMntR UF RETRIEVAL SKELETON RECORDS HEAD!     1,107
      -s   NUMBER OF RETRIEVAL SOURCE RECORDS HRITTENI    1,192
         NUMBER OF CONDITIONAL MESSAGES!                   0
      -O   NUMHER OF ERROR MESSAGES!                         0
      JO   NUMHER OF ABORT MESSAGES!                         0
       3
      (O
       I
       v>
       I
       I
       Z                                  AODHS-II GENERATED  RETRIEVAL  PROGRAM  -  DIAGNOSTIC REPORT                     PAGE
       CD
       ~°  PROGRAM NAME! ARTGENR  (AQOI20)
       0>   REVISION LEVEL! 1-00
       ?   LAST UPDATE #1 24
           DATE INCORPORATED! OCTOBER 31,  1476


       ^  NUMBER OF MASTER FILE RECORDS READ!                 341
       m  NUMHER OF ANSWER FILE RECORDS HRITTENI               01
       Z  NUMBER OF CONDITIONAL MESSAGES!                       0
       73  NUMBER UF ABORT MLSSAGESI                             0

-------
                                       AODHS-II PHtLIMINARY STATISTICS PR06RAM  •  DIAGNOSTIC REPORT                         PAGE
    • •>         PROGRAM NAME! ASTPRLM (A00190)
     5         REVISION LtVELJ 1-00
     J2         LAST UPDATE *: *H
               INCORPORATED: OCTOBER II, 1970

     Ej         OPTION IN EFFECT! YEAR



     ^°         NUMBER OF MASTER FILE RECORDS READl                          41
               NUMBER OF MASTER FILE RECORDS KITH COMPOSITE DATAl           30
     _         NUMBER OF STATISTICS RAH DATA FILE RECORDS HRITTENl          2fl
     -?         NUMBER OF PRELIMINARY STATISTICS FILE RECORDS HRITTENl        7
     O         NUMBER OF DIAGNOSTIC MESSAGES!                                0
     O
     ro
     o.

     ro
     73
ro   3
co   2
*"»   O
     I

    •o
     3

     £>
    CO
    -o
    JO
                                         AODHS-II STATISTICAL ANALYSIS PROGRAM  -  DIAGNOSTIC REPORT                               PAGE I
       ^_  PROGRAM NAME I  A3TMSST (AQOaOO)
       -O  REVISION LEVELJ  1-00
       .g   LAST  UPDATE *l ZH
                 INCORPORATED!  OCTOBER 31. 1978
           NUIIPER OF  STATISTICS  RAH DATA FILE RECORDS READl         24
           NUMBER OF  PRELIMINARY STATISTICS FILE RECORDS READl       7
           NUMOE.R OF  STATISTICS  FILE RECORDS NRITTENl               IS

-------
                                 AODHS-II STATISTICAL ANALYSIS REPORT PROGRAM  -  DIAGNOSTIC  REPORT



 -n     PROGRAM-NAME I  ARPMSST (AQ0270)
 -••     REVISION  LEVEL:  i-oo
     °P  °M  C     'M   El  BRI       *»» ARPMSST 006 WARNING - COLUMN 7 - INVALID OR MISSING  LINE  MAXIMUM OPTION - 6
-------
SITU CODE: J4-0001-002-A-06
AGMICY/PROJECTJ A06
              AODHS-II STATISTICAL ANALYSIS REPORT
                        ANALYSIS BY YEAR
                    STATE (3a)l NORTH CAROLINA

AGENCY TYPEl EPA - ATMOSPHERIC SURVEILLANCE   COUNTY(2120)
                           SITE AOORl HNY. 301 BUS., SMITHFIELD, JOHNSTON CO.
                                                                                                                     PAGE
(Page 3 of
e AHT8-3 - continued. Procedure AQRPMIO -- program ARPMSST
289
POLLUTANT NAME
POLL-MtTH-INTRV-UNITS CODE
per NBH MIN HIN
YEAR OB3 OBS DETEC OBS
"XIDtS OF NITPOGtN
42601-99-A-07
73 B.J i 0.002 0.009

Silt. CODE! 34-0001-001-A-06
AGENCY/PKUJECIl A06
POLLUTANT UAME
POLL-METH-IHIHV-UNITS CODE
I'd NOH HIM MIN
YLAIt Ul'S UBS DETEC OBS
TOTAL SUSPENDtO PARTICULATE
I1101-9J-1-01
71 0.7 6a 1.000 I. 000

11 a coot: 34-0001-004-A-06
AGMICY/PKMJECTl A06
POLLUTANT NAME
PULL-METH-INTRV-UN1TS CODE
PCT NUR MIN MIN
YEAR OOS CMS DETEC OBS
OXIDES OF NITROGEN
42603-99-A-07
73 100.0 12 0.002 0.002
METHOD OF COLLECTION AND ANALYSIS
PERCENTILES MAX
10 30 50 70 90 95 99 OBS
GAS BUBBLER - SALTZMAN METHOD
0.009 0.009 0.009 0.009 0.009 0.009 0.009 0.009

INTERVAL UNITS
2ND 3RD ARIT ARIT GEOH
MAX MAX MEAN ST DEV MEAN
MONTHLY PARTS PIR MILLION
N/A N/A 0.009 0.0 0.009

TIMES
HALF
GEOH M DET
ST OEV SUB
(VOL/VUL)
1.000 0

AGENCY TYPE: EPA - ATMOSPHERIC SURVEILLANCE CQUNTYC0960)
SITE ADDRt YADKIN RD., FAYETTEVILLE, CUMBERLAND CO.
METHOD OF COLLECTION AND ANALYSIS
PERCENTILES MAX
10 30 SO 70 90 95 99 OBS
HI-VUL - GRAVIMETRIC
4. 13. IB. 25. 41. 42. 9021. 9021.

INTERVAL UNITS
2ND 3RD ARIT ARIT 'GEUH
MAX MAX MEAN ST DEV MEAN
TIMES
HALF
GEOM M DfcT
ST DFV SUB
HOURLY U-GMS/MJ (25DEG C.I01J M»BARS)
8003. OS. 00 284. 9 1492. 17.00 4.384 0


AGEHLY TYPEl EPA • ATMOSPHERIC SURVEILLANCE COUNTY(29BO)
SITE ADDRl GUM BRANCH RD., JACKSONVILLE, ONSLOH CO.
METHOD OF COLLECTION AND ANALYSIS
PERCENTILES MAX
10 30 50 70 90 95 99 OBS
GAS BUBBLER - SALTZMAN METHOD
0.002 0.002 0.002 0.002 0.099 0.099 0.099 0.099
INTERVAL UNITS
2ND 3RD ARIT ARIT GbOM
MAX MAX MEAN ST DEV ME.AN
MONTHLY PARTS PER MILLION
0.099 0.002 0.016 0.038 0.002
IIMES
HALt
GEOM M DEI
ST DEV SUB
(VOL/VOL)
5,340 10

-------
                                                       ARPMSST  (AQ0200) SUMMARY  MESSAGES
       NUMBER OF INPUT RECURDS:
       riUMHLR Of EHHUKSj
       HUMMER OF OUTPUT PAGES!
                                                    15
                                                     1
                                                     2
            PRUGRAM-NAMEl ARPMSST (A00270)
     —I     HEV1SIUN LtVELt 1-00
     0°     LAST UPDATE *: in
            DATt INCORPUHATEOt UCTUDER 11,
     O
     o
     CO
     o.
-   2
§   I
 I
 I
•o
o
to

1
3>  -^
?9  ~O
-o  a>
    «Q
    to
     2
     (/)
         o
         -h

-------
AQDHS-II AD HOC TEST 9

Generate all Non-Abortive Error Messages  of  the Master File Transaction
Edit Program

     Of the 70 error messages possibly generated  by the master file
transaction edit program, AEDMSTR (AQ0060),  only  four will cause  the  run to
abort.  All the other error messages are  exercised in this ad hoc test.   The
generation of these errors is accomplished in two executions of the procedure
AQEDT10, which executes AEDMSTR (AQ0060).

     A program description of AEDMSTR (AQ0060) appears  in Test 5.  Of the
66 non-abortive errors, only one generates a warning-level message that can
be suppressed with the NOFLAGW option.

     The run stream for this ad hoc test is shown in  Figure  AHT9-1.   Output
from the first execution of AEDMSTR (AQ0060) appears  in Figure AHT9-2.  In
this step, 65 of the 66 different error messages  appear.   The  remaining error
message, generated by an invalid option card, is  produced in the second
execution of AEDMSTR  (AQ0060).  Figure AHT9-3 contains sample  output from this
second step.
                                      291

-------
//AOHUC09 JOB RTI.C44.P02443,MCMASTER,T=l'»Psl50,FORMSsFFvJHITE
//*PROCL1B=RTI.CU1»,P02069.MCMASTER.DPR.JGL
                                        T
//* THIS TEST GENERATES ALL WARNING AND ERROR  MESSAGES  THAT
//* CAN BE PRODUCED BY THE MASTER FILE TRANSACTION  EDITOR
//*
//ADHOC09A EXEC AQEDTIO,
//             PARMFIL=AQPARM01,
//             TRAN3=TRANSlr
//             SITEFIL=AOSITE01»
//             DISP='NEW,PASS'»
//             PRIMARY=1»
//             SECNDRY=l
//*
//* ALL ERROR AND WARNING MESSAGES ARE PRODUCED IN  THIS STEP
//* EXCEPT THE MESSAGE FOR AN INVALID OPTION CARDI  A VALID  OPTION  CARD
//* IS REQUIRED TO LIST THE TRANSACTIONS AND FLAG THE WARNING
//* CONDITION
//*
//EDIT. OPTIONS DO *
LIST FLAGW
//EDIT. INPUT  OD  *
1340003010G0417508220061101231210002    000100060005000400030003               2
13400020010051 731 00500611 042114100030004000300020004000500030002               2
1100001001E02174070B086110131281-291    005200880069010301270169               2
2340003002G04C73030708b             6                                          2
3«OOOS002GOMC 7402911 843bO 191 Oil 0005                                           2
 2340003002G04C740 191 1B4350 19101 10005
2340003002G049740191 1843501910110005                                           7
7
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
                                                                               2
1
199
11
111
111
111
111
111
111
till
till
11
1
1
1
1
1
1
1
111Q
111011
111A010
lllAOlllt
111A01170









111A01170111199111111H19
111A01170111111111
1111111111A01170111111111
1111111AAAA
1111111
                  (Remainder of transactions omitted)
//ADHOC09B EXEC  AQEDT10,
//             PARMFRsAQPARMOl,
//             TRANS=TRANS2,
//             SlTEFILaAOSITEOl,
//             DlSPs'NEW.PASS*.
//             PRIMARY=1,
//             SECNDRY=1
//*
//*  AN ERROR  MESSAGE  13 GENERATED FOH THE INVALID OPTION CARD
//*
//EDIT. OPTIONS DD  *
UTTER NONSENSE
//EDIT. INPUT  DD   *
1 3400030 10G04 17508220061 101231 21 0002    000100060005000400030003

                        Figure  AHT9-1.   Run Stream



                                    292

-------
                                        AODH9-U MASTER FILE TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC RiPORT
                                                                                                                           PARE
             PROGRAM NAMEJ ACDflSTR (AOQ060)
             RtVlSlOU LEVELl 1-00
             LAS1 UPDATE. »l 2't
             DATE INCORPORATED: OCTOBER 31, 1976
     fl
     -t\
    CQ

     I
 OPTIONS IN EFFECT:  LIST   FLASK


 INPUT TRANSACTIONS               ERRORS

 I3400030IOG0417SOB22006I101231210002    000100060005000000030003               2
           «** AEDHSIR 001  ERROR - COLUMN 30 • INVALID UNITS CODE • CARD REJECTED
CO
     I
     no
    o
    n>
    o.
    m
    D
    O
     I
    •a
    3
    ua
    2
 1 31000200 1UOS1 731 0050061 1 0821 141 00030004000300020000000500030002                2  •
           ••«  AEDMSTR 039  ERROR • COLUMN 23.- INVALID PARAMETER CODE  - CARD  REJECTED

 I10000I001E0217407080661I013128I-291     005200860069010301270169                2
           ***  AEDMSTR 040  ERROR - COLUMN 20  - INVALID METHOD  CODE  - CARD  REJECTED
           «•«  AEDMSTR 066  ERROR - COLUMN 33  - DATA  MUST  BE  POSITIVE FOR THIS PARM - CARD  REJECTED
 2J40003002G04C730307466              6
           **» 'AEDMSTR  056  ERROR  -  COLUMN  23
           •*• AEDMSTR  059  ERROR  -  COLUMN  26
           »*• AEOMSTR  060  ERROR  -  COLUMN  30
           **• AEDMSTR  024  ERROR  -  COLUMN  32
           *«• AEDHSTR  056  ERROR  -  COLUMN  37
           •«• AEUMSTR  059  ERROR  -  COLUMN  42
           *•« AEDMSTR  060  ERROR  -  COLUMN  44
           ••• AEOMSTR  OSS  ERROR  -  COLUMN  46
            340003002C.01C 7402911843501910110005
                      **•
                      *•«
          «*•
          • *•
          »**
AEDMSTR
ACUMSTR
AEOMSTR
AEOHSTR
AEUMSTR
ACDHSTR
AtOHSTR
AEDMSTR
AbDHSTR
004 ERROR -
OOli ERROR -
010 ERROR -
005 ERROR -
016 ERROR -
026 MARKING
021 ERROR -
022 ERROR -
061 ERROR -
CULUMN 60 -
COLUMN 79 •
COLUMN 04 -
COLUMN 07 -
COLUMN 20 -
- COLUMN 24
COLUMN 06 -
COLUMN 13 -
COLUMN 33 -
                                NON-NUMERIC PARAMETER CODE        - GROUP-01 REJECTED
                                NON-NUMERIC METHOD CODE           - SROUP-01 REJECTED
                                NUN-NUMtRIC UNIT CODE             - GROUP-01 REJECTED
                                NON-NUMERIC DECIMAL POSITION - CARD REJECTED
                                NON-NUMERIC PARAMETER CODE        - GROUP-02 REJECTED
                                NON-NUMERIC METHOD CODE           - GRUUP-02 REJECTED
                                NON-NUMERIC UNIT CODE             - GROUP-02 REJECTED
                                NONUMEHIC DECIMAL POSITION        - GROUP-02 REJECTED
NON-NUMERIC ACTION CODE - CARD REJECTED
INVALID STATUS FLAG - CARD REJECTED .
NUN-ALPHABETIC AGENCY CUDE - CARD REJECTED
INVALID TIME CODE - CARD REJECTED
MONTH ZERO OK GREATER THAN TMELVE - CARD REJECTED
- START HOUR GREATER THAN 23 -CARP ACCEPTED
NON-NUMERIC PARAMETER CODE - CARD REJECTED
NON-NUMERIC METHOD CODE - CARD REJECTED
NON-NUMERIC READING               - GROUP-01 REJECTED
    m
    a
 234000 J002r,04C740 191 1 84350191 01 10005
          •*• ACUMSIR 004 ERROR - COLUMN 60 - NON-NUMERIC ACTION CODE - CARD REJECTED
          «•• AEDMSTR 002 ERROR - COLUMN 01 - NON-NUMERIC TRANSACTION CODE - CARD REJECTED
        -o
        01
        en
        a>
234000J002G0497401911843SOI9101I0005                                           7
          •»• AEUMSTR 003 ERROR - COLUMN 60 - INVALID ACTION CODE - CARD REJECTED
          *** AEDMSTR Olfl ERROR - CULUMN 19 - INVALID DAY - CARD REJECTED

7
          ••• AtDMSTR 004 ERROR - COLUMN 60 - NON-NUMEHIC ACTION CODE - CARD REJECTED
          •»• AEDMSTH 001 ERROR - COLUMN 01 - INVALID TRANSACTION CODE - CARD REJECTED
                      ••• AEDHSTR 006 ERROR - CULUMN 02 - NON-NUMERIC STATE CODE - CARD REJECTED
                      **« AEDMSTR 008 ERROR - COLUMN 04 - NON-NUMERIC AREA CODE - CARD REJECTED
                      .«• AEOMSTR 009 ERROR - COLUMN 06 - NON-NUMERIC SITE CODE - CARD REJECTED

-------
                                     AQDH3-H MASTER FILE TRANSACTION EDIT PROGRAM  •  DIAGNOSTIC REPORT
                                                                                                                        PAKE
           IflPUT  TRANSACTIONS
                                          ERRORS
    10
ro
V£>
    ro
     i
    n
    o •
    n
    o.
3
n
ro
CL
c
           199
                     **•
                     **•
                     »•*
                     ***
                     ***
                     *•*
                     • •*
                     AFDMSTR
                     AEIHSTK
                     AEUMSTR
                     AEDMSTR
                     AEDHStR
                     AEUMSTR
                     AtDMSTR
                     AEDMSTR
                     AEUMSTR
                     AEDMSTR
                     AEUHSTR
                 •••  AEUMSTR
«•* AEO'-ISTR
• *« AEDMSTR
•*• AEUMSTR
    AEDMSTR
    AEDMSTR
• «* AEDMSTR
 ** AEDMSTR
 *• AEDMSTR
 ** AEDMSTR
 •» AEDMSTR
 ** AEDMSTR
 ** AtDMSTR
 *• AEDMSTR
«** AEOMSTR
                 • •*
                 *•«
010 ERROR - COLUMN 11 - NUN-ALPHABETIC AGENCY CUDE - CARD REJECTED
Oil ERRUR - CULUMN 12 - NUN-NUMERIC PROJECT CODE - CARD REJECTED
012 ERROR - LULUMN 14 - NON-NUMERIC TIME CODE - CARD REJECTED
013 ERROR - COLUMN 15 - NON-NUMERIC YEAR - CARD REJECTED
015 ERROR - CULUMN 17 - NON-NUMERIC MONTH - CARD REJECTED
017 ERROR - COLUMN 19 - NON-NUMERIC DAY - CARD REJECTED
019 ERROR - CULUMN 21 - NON-NUMERIC START HOUR - CARD REJECTED
021 ERROR - CULUMN 23 - NON-NUMERIC PARAMETER CODE - CARD REJECttI
022 ERROR - CULUMN 28 - NON-NUMERIC METHOD CODE - CARD REJECTED
023 ERROR » COLUMN 30 - NON-NUMERIC UNITS CODE - CARD REJECTED
024 ERROR - COLUMN 32 - NON-NUMERIC DECIMAL POSITION - CARD REJECTED
028 ERROR - RECORD CONTAINS NO READINGS - CARD REJECTED

                                                         2
006 ERROR - COLUMN 04 - NON-NUMERIC AREA CUDE - CARD REJECTED
009 ERROR - COLUMN 06 - NUN-NUMERIC SITE CODE - CARD REJECTED
010 ERROR - COLUMN 11 - NUN-ALPHABETIC AGENCY CODE - CARD REJECTED
Oil ERROR - COLUMN 12 - NUN-NUMERIC PROJECT CUDE - CARD REJECTED
012 ERROR - COLUMN 14 - NON-NUMERIC TIME CODE - CARD REJECTED
013 ERROR - CULUMN IS - NON-NUMERIC YEAR - CARD REJECTED
015 ERROR - CULUMN 17 - NON-NUMERIC MONTH - CARD REJECTED
017 ERROR - CULUMN 19 - NON-NUMERIC DAY - CARD REJECTED
019 ERROR - CULUMN 21 - NON-NUMERIC START HOUH - CARD REJECTED
021 ERROR - CULUMN 23 - NON-NUMERIC PARAMETER CODE - CARD REJECTED
022 ERROR - COLUMN 28 - NON-NUMERIC METHOD CODE - CARD REJECTED
023 ERROR - CULUMN 30 - NON-NUMERIC UNITS CODE - CARD REJECTED
024 ERROR - CULUMN 32 - NON-NUMERIC DECIMAL POSITION - CARD REJECTED
02R ERROR - RECORD CONTAINS NO READINGS - CARD REJECTED
    3>
    JO
    rn
o
 i


3
(Q
at

3>
m

CO
73
           111
        (Q
        ro
           mini
    AEDMSTR
    AtDMSTR
    AtDMSTR
    AEOMSTR
    AEOMSTR
    AEOMSTR
    AEOMStH
    AtDMSTR
    AEOMSTH
    AEDMSTR
    AEDMSTR
    AtDMSTR
    AEDMSTR
    AtDMSTR
006 ERROR
009 ERROR
010 ERROR
Oil ERROR
012 ERROR
013 ERROR
015 ERROR
017 ERROR
019 ERROR
021 ERROR
022 ERROR
023 ERROR
024 ERROR
02° ERROR
                     *•*  AEUMSTR 009 ERROR
                     ***  AEDMSTR 010 ERROR
                     »*»  AEUMSIR Oil ERROR
                     •«»  AEDMSTR 012 ERROR
                     *••  AEDMSTR 013 ERROR
                     *••  ALOMSTR 015 ERROR
                     «««  AED'ISTR 017 ERROR
                     «»«  AtDMSTR 019 ERROR -
                     •••  AEDMSTR 021 ERROR -
CULUMN 04 - NON-NUMERIC AREA CODE - CARD REJECTED
COLUMN 06 - NON-NUMERIC SITE CODE - CARD REJECTED
CULUMN 11 - NUN-ALPHABETIC AGENCY CODE - CARD REJECTED
CULUMN 12 - NON-NUMERIC PROJECT CODE - CARD REJECTED
COLUMN 14 - NON-NUMERIC TIME CODE - CARD REJECTED
COLUMN 15 - NON-NUMERIC YEAR - CARD REJECTED
COLUMN 17 - NUN-NUMERIC MONTH - CARD REJECTED
COLUMN 19 - NON-NUMERIC DAY - CARD REJECTED
COLUMN 21 - NON-NUMERIC START HOUH - CARD REJECTED
COLUMN 23 - NON-NUMERIC PARAMETER CODE - CARD REJECTED
COLUMN 26 - NON-NUMERIC METHUD CODE - CARD REJECTED
CULUMN 30 - NON-NUMERIC UNITS CODE - CARD REJECTED
COLUMN 32 - NON-NUMERIC DECIMAL POSITION - CARD REJECTED
RECORD CONTAINS NO READINGS - CARD REJECTED
                        COLUMN 06 - NON-NUMERIC SITE CODE - CARD REJECTED
                        COLUMN u - NUN-ALPHABETIC AGENCY CODE - CARD REJECTED
                        CULUMN 12 - NON-NUMERIC PROJECT CUDE - CARD REJECTED
                        COLUMN 14 - NUN-NUMERIC TIME CODE - CARD REJECTED
                        COLUMN IS - NON-NUMERIC YEAH - CARD REJECTED
                        COLUMN 17 - NUN-NUMERIC MONTH - CARD REJECTED
                        COLUMN 19 - NON-NUMERIC DAY - CARD REJECTED
                        CULUMN 21 - NUN-NUMERIC START HOUR - CARD REJECTED
                        COLUMN 23 - NON-NUMERIC PARAMETER CODE - CARD REJECTED

-------
                                        AQDHS-II  MASTER  FILE  TRANSACTION EDIT PROGRAM   -  DIAGNOSTIC REPORT
                                                                                                                          PAGE
             IflPUT  TRANSACTIONS
                                        ERRORS
      U3
      c
      3
      vo
      PO
      I
      o
      3
      n>
                  **» AtPMSTR 022 ERROR
                  AAA AtOHSTH 023 ERROR
                  *«« AEOHS1R 024 ERROR
                  ««* AEDMSTR 028 ERROR
until
111(1
»•»
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AEDMSTR
AEDMSTR
AEDMSTR
AEDMSTH
AEDMSTR
AEUMSTH
AEUMSTR
AEUMSTR
AtPMSTR
AEOMSTR
AEDMSTR
Oil
012
013
015
OJ7
019
021
022
023
024
028
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERPOR
ERROR
.-
COLUMN
COLUMN
COLUMN
CULUMN
CULUMN
COLUMN
CULUMN
COLUMN
CULUMN
COLUMN
RECORD
12
14
15
17
19
21
23
28
30
32
COI
10
U1
til
million
»•«
AAA
A**
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AAA
AEOMSTR
AEDMSTR
AEDMSTR
AEOMSTR
AEDMSTR
AEDMSTR
AEOMSTR
AEDMSTR
AEDMSTR
AEOMSTH
AEDMSTR
007
012
013
015
017
019
021
022
023
024
028
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR
V
COLUMN
COLUMN
COLUMN
CULUMN
COLUMN
COLUMN
COLUMN
COLUMN
COLUMN
COLUMN
RECORD
02
14
15
17
19
21
23
28
30
32
cot
COLUMN 28 - NON-NUMERIC METHOD CODE - CARD REJECTED
COLUMN 30 - NON-NUMERIC UNITS CODE - CARD REJECTED
COLUMN 32 - NON-NUMERIC DECIMAL POSITION - CARD REJECTED
RECORD CONTAINS NO READINGS - CARD REJECTED
                                                    - NON-NUMERIC PROJECT CODE - CARD REJECTED
                                                    - NON-NUMERIC TIME CODE - CARD REJECTED
                                                 15 - .NON-NUMERIC YEAR - CARD REJECTED
                                                      NON-NUMERIC MONTH - CARD REJECTED
                                                      NON-NUMERIC DAY - CARD REJECTED
                                                      NON-NUMERIC START HOUR - CARD REJECTED
                                                      NUN-NUMERIC PARAMETER CODE - CARD REJECTED
                                                      NON-NUMEHIC METHOD CODE - CARD REJECTED
                                                      NUN-NUMERIC UNITS CODE - CARD REJECTED
                                                      NON-NUMEHIC DECIMAL POSITION - CARD  REJECTED
                                                 CONTAINS NO READINGS - CARD REJECTED
                                                      INVALID STATE  CODE  -  CARD  REJECTED
                                                      NON-NUMERIC  TIME  CODE -  CARD  REJECTED
                                                      NON-NUMMUC  YEAR  -  CARD  REJECTED
                                                      NON-NUMERIC  MONTH - CARD REJECTED
                                                      NON-NUMERIC  DAY - CARD REJECTED
                                                      NUN-NUMERIC  START HOUR - CARD REJECTED
                                                      NUN-NUMERIC  PARAMETER CUDE -  CARD REJECTED
                                                      NON-NUMERIC  METHOD  CODE  - CARD REJECTED
                                                      NON-NUMERIC  UNITS CODE - CARD REJECTED
                                                      NON-NUMERIC  DECIMAL POSITION  - CARD REJECTED
                                                CONTAINS NO  READINGS - CARD REJECTED
     JO
     m
     o
      I
     -a
     o
    IQ
        iiitiuniAoio
                  »*• AEDMSTR 007 ERROR - CULUMN
                  A»A AEOMSTR 005 ERROR - COLUMN
                  AA* AtDMSTR 013 ERROR - COLUMN
                  ««• AEDMSTR 015 ERROR - COLUMN
                  *•* AEOMSTH 017 ERROR - COLUMN
                  AA» AEDMSTR 019 ERROR - COLUMN
                  «•• AEUMSTR 021 ERROR - COLUMN
                  **• AEDHSTR 022 ERROR - COLUMN
                  **• AEDMSTR 023 ERROR - CULUMN
                  ••• AEDMSTR 024 ERROR - COLUMN
                  *** AEDMSTR 0  I? llltllllllAOllll
£3  -9(            AAA AEDMSTR 007 ERROR - CULUMN
2  fj>            *** AEDMSTR OH ERROR - COLUMN
(/>               AAA AtDMSfR 015 ERROR - COLUMN
rj  w            •«• AEDMSTR 017 ERROR - CULUMN
•^  O            *** AEDHSTR 019 ERROR - COLUMN
    -t>            AA* AEDMSTR 021 ERROR - COLUMN
                 **A AEDMSTR 022 ERROR - COLUMN
    O            AA» AEDMSTR 023 ERROR - COLUMN
   -3-            A* A AEDHSTR 02a EflROR - CULUMN
                 AAA ALOHSTR o<>8 ERROR - RECORD
                                                     02
                                                     15
                                                     17
                                                     19
                                                     21
                                                     23
                                                     28
                                                     30
                                                     32
           INVALID STATt CODE • CARD REJECTED
           YEAR LESS THAN SIXTY - CARD REJECTED
           NON-NUMERIC MUNTH - CARD REJECTED
           NON-NUMERIC DAY - CARD REJECTED
           NUN-NUMERIC START HOUR - CARD REJECTED
           NON-NUMERIC PARAMETER CUDE - CARD REJECTED
           NON-NUMERIC METHOD CODE - CARD REJECTED
           NON-NUMERIC UNITS CODE - CARD REJECTED
           NUN-NUMERIC DECIMAL POSITION - CARD REJECTED
                                                     CONTAINS  NO READINGS  -  CARD  REJECTED

-------
                                  AODHS-II MASTER FILE TRANSACTION EDIT  PROGRAM  •   DIAGNOSTIC  REPORT
                                                                                                                    PAGE
                                       ERRORS
007 ERROR - COLUMN 02
015 ERROR - COLUMN 17
017 EPROR - COLUMN 19
019 ERROR - COLUMN 21
021 ERROR - COLUMN 23
022 ERROR - COLUMN 28
023 ERROR - COLUMN 30
024 ERROR - COLUMN 32
028 ERROR - RECORD CON1
INVALID STATE CODl - LARD REJECTED
NON-NUMERIC MONTH • CARD REJECTED
NUN-NUMERIC DAY - CARD REJECTED
NON-NUMERIC START HOUR - CARD REJECTED
NON-NUMERIC PARAMETER CODE - CARD REJECTED
NON-NUMERIC METHOD CODE - CARD REJECTED
NON-NUMERIC UNITS CODE - CARD REJECTED
NON-NUMERIC DECIMAL POSITION - CARD REJECTED
FAINS NO READINGS - CARD REJECTED
ro
to
3
(0
a.
-o
o
o

JO
m
 i
 i
•a
3
(O
-s
INPUT TRANSACTIONS

III I1II111A01170
          • *• ALPMSTR
          ••* AEDMSTR
          *»• AEOM3TR
          **• AtOMSTR
          • •« AEDMSTR
          ••• AEUMSTR
          *•• ACDMSTR
          «*« AEOMSTR
          »«« AEDMSTR

III IItilllAOl1701111991111111119                                               2
          *•* AEDMSTR 007  ERROR - COLUMN 02 - INVALID STATE CODE - CARD REJECTED
          •*• AEDMSTR 025  ERROR - COLUMN 21 - START HOUR INVALID FOR TIME CUDE - CARD REJECTED
          *»* AEDMSTR 039  ERROR - COLUMN 23 - INVALID PARAMETER CODE - CARD REJECTED
          «•« AEDMSTR 020  ERROR - COLUMN 32 - DECIMAL POSITION GREATER THAN FOUR - CARD REJECTED
          **« AEUMSTR 02B  ERROR - RECORD CONTAINS NO READINGS - CAHD REJECTED

IU1II111IA0117011111I1M1111111AAAA                                           2
          **« AEDMSTR 007  ERROR - COLUMN 02 - INVALID STATE CODE - CARD REJECTED
          •«* AEDMSTR 025  ERROR - COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD REJECTED
          *** AEDMSTR 039  ERROR - COLUMN 23 - INVALID PARAMETER CODE - CARD REJECTED
          •*» AEDMSTR 027  ERROR - COLUMN 33 - NON-NUMERIC READING - CARD REJECTED

UllllllllAOl 170111II 111 till till                                               2
          *** AEDMSTR 007  ERROR - COLUMN 02 - INVALID STATE CODE - CAHD REJECTED
          • *« AEDMSTR 025  ERROR - COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD REJECTED
          •«* AEDMSTR 039  ERROR - COLUMN 23 - INVALID PARAMETER CODE - CARD REJECTED
          *«» AEDMSTR 02S  ERROR - RECORD CONTAINS NO READINGS - CARD REJECTED
           2111111111A01C70      43501910119997
                     •«• AEDMSTR 007 ERROR - COLUMN 02
                     •** AEDMSTR 029 ERROR - COLUMN 19
                     «*« AEDMSTR 030 ERROR - COLUMN 22
                     «•« AEOMSTR 031 ERROR - COLUMN 21

           211111M11A01L70    1 13S01910119997
                     **• AtOMSTR 007 ERROR - COLUMN 02
                     »»* AEDMSTR 029 ERROR - COLUMN 19
                     • ** AEDMSTR 030 ERROR - COLUMN 22
                     • •« AEUMSTR 032 ERROR - COLUMN i?
=     211111)111A01C7099999ZM350J910119997
•>  "^           ••* AEDMSTR 007 ERROR - CULUMN 02
m  tu           • •» AtDMSTR OjQ ERROR - CULUMN 22
O  10           «** AEOMSTR dOSA ERROR - COLUMN 21

^H  *» 2111111111A01C7099991Z43501910119997
•ya               • *« AEOMSTR 007 ERROR - COLUMN 02
    9           ••« AEDMSTR 030 ERROR - CULUMN 22
    ^           •*« AEUMSTR 033 ERROR - COLUMN 17
                                                     INVALID STATE CODE - CARD REJECTED
                                                     NON-NUMERIC NUMBER OF SAMPLES - CARD REJECTED
                                                     INVALID COMPOSITE TIME CODE - CARD REJECTED
                                                     NON-NUMERIC COMPOSITE TYPE - CARD REJECTED
                                              INVALID STATE CODE - CARD REJECTED
                                              NON-NUMERIC NUMBER OF SAMPLES - CARD REJECTED
                                              INVALID COMPOSITE TIME CODE - CARD REJECTED
                                              NON-NUMLRIC PERIOD - CARD REJECTED
                                                         INVALID STATE CODE - CARD REJECTED
                                                         INVALID COMPOSITE TIME CODE - CARD REJECTED
                                                         INVALID COMPOSITE TYPE - CARD REJECTED
                                                         INVALID STATE CODE - CAHD REJECTED
                                                         INVALID COMPOSITE TIME CUDE - CARD REJECTED
                                                         INVALID PERIOD - CARD REJECTED
       11099979970971701111119999999971                                               2
                 ««* AEDMSTR 035 ERROR - CULUMN 01 - INVALID AREA CUDE • CARD REJECTED
                 *** AEDMSTR 025 ERRBR - COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD REJECTED

-------
                                         AOOHS-U MASTER FILE TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                  PAGE
              INPUT  TRANSACTIONS
                                             ERRORS
                       *•• AEDHSTR 039 ERROR - COLUMN 23 • INVALID PARAMETER CODE - CARD REJECTED.
                       *** AEDMSTR 028 ERROR - RECORD CONTAINS NO READINGS - CARD REJECTED
ro
<£>
       l
      ro
      o
      o
      3
      •3
      O
      0>
      0.
      m
      o
    110000199709717011II119999999971
              • *• AtDMSTR 036 ERROR •
              **• AEDMSTR 025 ERROR -
              *•* AEDHSTR 039 ERROR •
              »«• AEDMSTR 028 ERROR •

    1100001001Q97I791111119999999971
              *** AEDHSTR 037 ERROR -
              • *• AtDMSTR 025 ERROR -
              •*• AEDHSTR 039 ERROR •
              *»* AtDMSTR 028 ERROR •

    110000100IE971 701111119999999971
              **• AEDMSTR 038 ERROR -
              «•• AEDMSTR 025 ERROR -
              • «• AEDMSTR 039 ERROR -
              • *» AEUMSTR 028 ERROR -
                                               COLUMN 08 - INVALID SITE COD/- CARD REJECTED
                                               COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD REJECTED
                                               .COLUMN 23 - INVALID PARAMETER CODE - CARD REJECTED
                                               RECORD CONTAINS NO READINGS - CARD REJECTED
                                         COLUMN  11 - INVALID AGENCY CODE - CARD REJECTED
                                         COLUMN  21 - START HOUR  INVALID FOR TIME. CODE - CARD REJECTED
                                         CULUMN  23 • INVALID PARAMETER CODE - CARD REJECTED
                                         RECORD  CONTAINS NO READINGS - CARD REJECTED

                                                                                      2
                                         COLUMN  12 - INVALID PROJECT CODE - CARD REJECTED
                                         COLUMN  21 - START HOUR  INVALID FOR TIME CODE • CARD REJECTED
                                         COLUMN  23 - INVALID PARAMETER CODE • CARD REJECTED
                                         RECORD  CONTAINS NO READINGS - CARD REJECTED
    1340003002G041740101001I10I910109997'                                           2
              «••  AEDMSTR 042 CONDITIONAL  - COLUMN  33  - READING  EXCEEDS  MAXIMUM  PERMITTED

    337F05B11101910107105040000012309997                                            2
              •*«  AEDMSTR 043 CONDITIONAL  - COLUMN  33  - READING  EXCEEDS  MAX PERMITTED

    I 340001001A067740225101120181091000100010001                                    2
              «*•  AEDMSTR 045 ERROR -  COLUMN 21 - INVALID  START  HOUR  (READINGS SPAN END OF DAY) • REJECTED
    337Q99B99999979797105040099970970001
              *••  AEDMSTR  047 ERROR - COLUMN 26
              *«*  AEOMSTH  039 ERROR - CULUMN 08
              ••»  AEDMSTR  020 ERROR - COLUMN 17
                                                     INVALID AREA CODE                 - GROUP-OI  REJECTED
                                                     INVALID PARAMETER CODE - CARD REJECTED
                                                     DECIMAL POSITION GREATER THAN FOUR • CARD REJECTED
       I
       I
      •a
      3
      
-------
                           AODHS-II MASTER FILE TRANSACTION EDIT  PROGRAM
DIAGNOSTIC REPORT
                                                                                                             PAGE
INPUT TRANSACTIONS
                                EHRURS
          «•• AEDMSTR 026 ERROR - RECORD CONTAINS NO READINGS - CARD REJECTED
to
B;
1
(6

3C

vo
1
I\J

'
o
o
3
rt-
^JB
3
C
0>
Q.
•


"O
r\j o
to Q
00 g>
L^
c
-s
m
^
Q
m
2
M^
•— «
o


234003002G04C740I91 18499999979799999
*•• AEDMSTR 009 ERROR - COLUMN 08
*** AEDMSTR OIQ ERROR - COLUMN 11
• ** AEDMSTR Oil ERROR - COLUMN 12
•*• AEDMSTR 005 ERROR - COLUMN 14
• •» AEDMSTR 016 ERROR - COLUMN 17
««« AEDMSTR 026 WARNING - COLUMN 2
«•« ALUMSTR 014 ERROR - COLUMN 15
• ** AEDMSTR O'Jl ERROR - COLUMN 23
«•• AEDMSTR 054 ERROR - COLUMN 32 -
234003002G04C740191 1844350 1979799999
• •• AEDMSTR 009 ERROR - COLUMN 08 -
*•• AEDMSTR 010 ERROR - COLUMN 11 -
••* AEDMSTR Oil ERROR - COLUMN 12 -
»•* AEDMSTR 005 ERROR - COLUMN 14 -
»«» AEDMSTR 016 ERROR - COLUMN 17 -
*»« AEDMSTR 026 WARNING - CULUMN 21
«•• AEDMSTR 014 ERROR - COLUMN 15 -
**« AEDMSTR 052 ERROR - COLUMN 28 -
«•« AEDMSTR 054 ERROR - COLUMN 32 -

234003002G04C740191 18443501 11 9799999
**• AEDMSTR 009 ERROR - COLUMN 08 -
• ** AEDMSTR 010 ERROR - COLUMN 11 -
*•» AEDMSTR Oil ERROR - COLUMN 12 -
*** AEDMSTR 005 ERROR - COLUMN 14 -
•»* AEDMSTR 016 ERROR - COLUMN 17 -
»*» AtDMSTR 026 WARNING - COLUMN 21
*»• AEDMSTR 014 ERROR - CULUMN IS -
«•* AEDMSTR 053 ERROR - COLUMN 30 -
**» AEDMSTR 054 ERROR - COLUMN 32 -

234003002G04C/401911B46210322170-7H7
*•* AEDMSTR 063 ERROR - COLUMN 33 -
2
NON-NUMERIC SITE CODE - CARD REJECTED
NON-ALPHABETIC AGENCY CUK - CARD REJECTED
NON-NUMERIC PROJECT CODE - CARD REJECTED
INVALID TIME CODE - CARD REJECTED
MONTH ZERO OR GREATER THAN TWELVE - CARD REJECTED
- START HOUR GREATER THAN 23 -CARD ACCEPTED
YEAR LESS THAN SIXTY - CARD REJECTED
INVALID PARAMETER CODE - GROUP-01 REJECTED
DECIMAL POSTION GKEATEH THAN FUUR - GHOUP-OI REJECTED
2
NON-NUMERIC SITE CODE - CARD REJECTED
NON-ALPHABETIC AGENCY CODE - CARD REJECTED
NON-NUMERIC PROJECT CODE - CARD REJECTED
INVALID TIME CODE - CARD REJECTED
MONTH ZERO OR GREATER THAN TWELVE - CARD REJECTED
- START HOUR GREAtER THAN 23 -CARD ACCEPTED
YEAR LESS THAN SIXTY - CARD REJECTED
INVALID METHOD CODE » GROUP-01 REJECTED
DECIMAL POSTION GREATER THAN FOUR - GROUP-01 REJECTED

2
NON-NUMERIC SITE CODE - CARD REJECTED
NON-ALPHABETIC AGENCY CODE - CARD REJECTED
NON-NUMERIC PROJECT CODE - CARD REJECTED
INVALID TIME CODE - CARD REJECTED
MONTH ZERO OK GREATER THAN TWELVE - CARD REJECTED
- START HOUR GREATER THAN 23 -CARD ACCEPTED
YEAR LESS THAN SIXTY - CARD REJECTED
INVALID UNITS CODE - GROUP-01 REJECTED
DECIMAL POSTION GREATER THAN FOUR - GROUP-01 REJECTED

2
INVALID NEGATIVE DATA FORMAT - GROUP-01 REJECTED
•«* AtDMSTR 028 ERROR - RECORD CONTAINS NO READINGS • CARD REJECTED
T3
o
CO
2
o>

>
m
»-^
1
CO
—I
~a
^w


234003002G04C740 1911 8462 10322I70-7H742401 11021 -777621 03221 70-990 2
*«• AEDMSTR 063 ERROR - COLUMN 33
AEDMSTR 064 ERROR - COLUMN 47
AEDMSTR 009 ERROR - COLUMN 08
--^ AEOMSTR 010 ERROR - COLUMN 11
2? AEDMSTR Oil ERROR - COLUMN 12

-------
                                        AQDHS-II  MASTER FILE  TRANSACTION EDIT  PROGRAM  -   DIAGNOSTIC  REPORT                PAGE


             INPUT  TRANSACTIONS               ERRORS
                                                                                                 J-
     -n                *••  AEDHSTR  064  ERROR  -  COLUMN  33 •  DATA  MUST  BE  POSITIVE  FOR  THIS PARM-GROUP-Ol  REJECTED
     .£•                ***  AEOHSTR  063  ERROR  -  COLUMN  47 *  INVALID  NEGATIVE  DATA  FORMAT       -  GROUP-02  REJECTED
     "g                **«  AEDMSTR  064  ERROR  -  COLUMN  61 •  DATA  MUST  BE  POSITIVE  FOR  THIS PARM-GROUP-03  REJECTED
     2                ***  AEDHSTR  028  ERROR  -  RECORD  CONTAINS NO READINGS - CARD REJECTED

     -t,      t34000IOOiA06U001010042401I102|0440-2191732-400                                2
     £                ••*  AEOH3TH  066  ERROR  -  COLUMN  37 -  DATA  MUST  BE  POSITIVE  FOR  THIS FARM  - CARD REJECTED
     —I                *•*  AEDMSTR  066  ERROR  •  COLUMN  45 •  DATA  MUST  BE  POSITIVE  FOH  THIS PAHM  - CARD REJECTED
     IO
     jjj      134000100IA0617001010062|OI221500440-XrZI732»ABC                                2
                       ***  AEDMSTR  065  ERROR  -  COLUMN  37 -  INVALID  NEGATIVE  DATA  FORMAT       -  CARD REJECTED
      '                 »»*  AEOHSTR  065  ERROR  -  COLUMN  45 -  INVALID  NEGATIVE  DATA  FORMAT       -  CARD REJECTED

     O     334A06B42U0111021700101000001001-007000001002-1810000010030050                  2
     =»                *•»  AEDMSTR  064  ERROR  -  COLUMN  33 - DATA  MUST  BE POSITIVE  FOR  THIS  PARH-6ROUP-01 REJECTED
     2".                *»«  AEOMSTR  064  ERROR  -  COLUMN  46 - DATA  MUST  BE POSITIVE  FUR  THIS  PARM-6ROUP-02 REJECTED
     =1
     C     334A06862!012215070010100000I001-ABC000001002-CBA0000010031500                  2
     ">                ***  AEDMSTR  063  ERROR  *  COLUMN  33  •  INVALID  NEGATIVE  DATA  FORMAT      - GROUP-01 REJECTED
     .                 *»*  AEDHSTR  063  ERROR  •  COLUMN  46  - INVALID  NEGATIVE  DATA  FORMAT      • GROUP»02 REJECTED

     _     1340001003A06575051303611012013100070080                                       2
     Jf                *** AEDMSTR  027  ERROR  -  COLUMN  41  - NON-NUMERIC READING - CARD REJECTED
ro   O
«5   O     l34000IOOiA067750513166not2015iOQ0700eO                                       2
10   J£                *•* AEDMSTR  025  ERROR  - COLUMN 21 - START HOUR INVALID FUR TIME CODE - CARD  REJECTED
     C
     -S     134000100JA067750513I66110120131000700BO                                       2
     "»               •»» ACDMSTH 025 ERROR - COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD  REJECTED

     O     l34000l003A065750Sl3176llOI26l31000700eO                                       2 .
     03               •*« AfcDMSTR 025 ERROR - COLUMN 21 - START HOUR INVALID FOR TIME CODE - CARD  REJECTED
     ^
     t-t     1340001003A063750513t761tO!20131000700BO                                       2
     O               *** AEDMSTR 0 2?
     5 tS  1J40001003A06175U51J22611012013100070080                                       2
     3 rp            ***  AEDMSTR 025 ERROR - COLUMN 21 - START  HUUR  INVALID FOR  TIME CODE - CARD  REJECTED
     C/J
     ZJ "^ 13aoOOI003A0667505l316UIOI2013100070080                                       2
     73 O            •••  AEDMSTR 025 ERROR - COLUMN 21 • STAR1  HOUR  INVALID FOH  TIME CODE - CARD  REJECTED
        -*•
        .  . 134000I003A066750513086110120131000700BO                                       2
        O           •*•  AEDMSTR 025 ERROR - COLUMN 21 - START  HUUR  INVALID FOH  TIME CODE - CARD  REJECTED

            13«OOOI003A06b75nS130661inl20131000700flO                                       ?

-------
                                       AODH3-II MASTER FILE TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC REPORT                PAGE
            INPUT TRANSACTIONS              ERRORS

            337F052U10191010711214010001234002S                                            *
                      •«* AEDMSTR DOS ERROR - COLUMN 07 -  INVALID  TIME CODE  - CAKD REJECTED

            T»7F0551 11019101071 12140500012340025                                            2
                      **« AEDMSTH 005 ERROR - COLUMN 07 -  INVALID  TIME CODE  - CARD REJECTED
     >      337F05711101910107112141I00012340025                                            2
     ±j                »** AEDMSTR  005  ERROR  - COLUMN  07  -  INVALID  TIME  CODE  -  CARD  REJECTED
     10
     I       337F057111019101071121405000U340Q25                                            2
     "*                •*• AEDMSTR  005  ERROR  - COLUMN  07  -  INVALID  TIME  CODE  •  CARD  REJECTED

     ^      337FOSAMIomOl071121      1340Q03002G04U401010QU101910104997                                            2
     Q-               ••» AEDMSTR  042  CONDITIONAL  -COLUMN 33  - READING EXCEEDS MAXIMUM PERMITTED

     (5      337FOS81110191010M05040Q00012349997                                            2
     ^_               •«« AtDMSTR  043  CONDITIONAL  - COLUMN 33  - READING EXCEEDS MAX PERMITTED
     ^
     "m     2340003002GO(|9740l010011101910f09997                                            2
     O               **• AEDMSTR  043  CONDITIONAL  - COLUMN 33  - READING EXCEEDS MAX PERMITTED

     O     2340003002GOOC7401051B11101910I09997                                       ''    2
                      *** AEDMSTK  043  CONDITIONAL  - COLUMN 33  - READING EXCEEDS MAX PERMITTED

      I

     -a                  ANSACTIONS READI                         135
     ^      NUMBER OF TRANSACTIONS PASSING EDIT  CRITERIA;         56
     ,2      NUMBER UF INTERNAL TRANSACTIONS  CREATED!              56
     ^      NUMBER OF WARNING MESSAGES:                          10
     W      NUMBER UF CONDITIONAL  MESSAGES I                        <>
     3  ^ NUMBER UF ERRUH MESSAGES!                            26 i
     f,  -o NUMBER OF ABORT MESSAGES:                              0
     m  o»
     o    n LAST UPDATE «:  24
         r}, DATE INCURPORAILD: OCTOBER 31, 1976

-------
                             AQDHS-II MASTER FILE TRANSACTION tOlt PRUCRAM  -  CONFIRMATION LISTING                    PAGE.


         INPUT TRANSACTIONS PASSING EDIT CRITERIA

 2      13400030026041740101001110191,0109997                                           2
 (Q      337FOS81I10191010710S04     '                                                   g
 S      334A06B424011102170010I                          0000010030050                 2
 2      334AObBb2l0122l5070010t                          0000010031SOO                 2
         1340001003AQbl7SOS130B6l1012013100070080                                       2
 >•      1300001003AObl7S05131bbllOI2013100070080                                       2
 ±j      l300001003AOb275051300bll012013l00070080                                       2

 I       13U00010U3A0627SVfl3166110120131000700BO                                       2
 ">      1300001003AOb27S05l317bll012013100070080                                       2
 ,       l34000l003AOb37S051300bi1012013100070080                                       2
         134000100iA06J750M 301611012013100070080                                       2
 £>      1340001003AObI75051300blt0120131000700BO                                       2
 2      l340001003AOb37SOS1302bll012013100070080                                       2
 r+      1340001003AOb4750S13006M012013I00070080                                       2
 -1-      ll00001003A06075051J01bl 1012013100070080                                       2
 ^      1340001003AOb4750S1302611012013100070080                                       2
 n      1340001003AOb47SOS1303blt012013100070080                                       2
 CL      1340001003AObS750S1300611012013100070080                                       2
         l340001003AOb5750S1301bll012013100070080                                       2
         1310001003AOb575051302bl1012013100070080                                       2
 T7      1340001003AOb57SOS130abll0120131000700BO                                       2
 3      13aOOOI003A06b7505130bbl1012013100070080                                       2
 O       13"0001003AObb7SOS1300bll0120131000700BO                                       2
 0>       l30000l003AObo75051i01bM012013100070080                                       2
 Q.      1340001003A:Obb750S1302bll012013l00070080                                       2
 E       134000t003A0667S051303bll0120l3100070080                                       2
 ft       1340001003A06675051304611012013100070080                                       2
         1340001003A06675051305bll0120131000700HO                                        2
 2?      |340001003AObb75051307bll012013100070080                                        2
S      1340001003A066750S1306bll0120I3l000700eO                                       2
 O      1340001003AOb7750S1300bll012013100070080                                       2
 —<      1340001003A06775051300bllOI2013100070080                                       2
 ^      1340001003AOb7750S1302bll0120l3100070080                                       2
         1340001003AOb77505130!bll0120131000ro080                                       2
 I        1340001003AOb77^0SI303611012013100070080                                       2
 1        13400D1003AOb77505130Sbll012013!00070080                                       2
-O       1340001003AOb77SOS1304bl1012013100070080                                       2
         31340001003A067750513046110120131000700RO                                       2
..       1340001003A0677SOS1306611012013100070080                                       2
^       1340001003AOb77S05l3076I10120l3100070080                                       2
QJ       l340001003AOb77S051308bllOI2013i00070080                                       2
3       1340001003A067750513096110120131000700BO                                       2
>.,  O  1340001003A0677SOSI309bll012013100070080                                       2
m  CU  l340001003AOb7750S13106tl012013100070080                                       2
O  011019(>                                           2
    ^  234000200100587408019944101150110196                                           2
    H->  337FOSA11101910107I1214050001234002S                                           2
    0  337FOSAI1101910I071121423000I234002S                                           2
    *~*  337F05AIU01910107112149900012340025                                           2
        I340003002G0417401010011101910109997                                           2

-------
                            AODH3-I1 MASTER  FILE  TRANSACTION EDIT PROGRAM  -  CONFIRMATION LISTING                     PAGE



-n      INPUT TRANSACTIONS PASSING EDIT  CRITERIA
Ml*

•S      JJ7F0581J1019101071050H                                                         2

*5      23<.OOOJ002G019T«010100                                                          2
0)      23aOOOJ002GOflC740105ie                                                          2


^     ^NUMBER OF THANSAcrtONS PASSING EDIT  CRITERIA:        58


\O
 I
ro

 i

n
o

r*
—I.
3

a>
a.
 n>
 a.

 a>


 Jg
 T3

 3
 U3
 -S
 3>  -a
 m  tu
 o  CQ
 2  (D
 CO
 —I  !-•
 70  O

     O
     -h

-------
                                      AODHS-II  MASTER FILE TRANSACTION EDIT PROGRAM  -  DIAGNOSTIC REPORT                PAGE


          PROGRAM  NAMEI  AEDMSTR (AQ0060J
          REVISION LEVEL!  1-00
          LAST  UPDATE  *I 20
          DATE  INCORPORATED)  OCTOBER  31*  1978

      22  OPTIONS  IN EFFECT:  DEFAULT  (NOLIST NOFLAGH)
     to'
      C
      2   INPUT TRANSACTIONS               ERRORS
      ™             ***  AtDMSTR 046 CONDITIONAL -  MISSING OR INVALID OPTION CAHO - DEFAULT OPTIONS USED

      3:  !.S   NUMBER OF ERROR MESSAGES!                              1
      0.  NUM0ER OF ABORT MESSAGESI                              0
CO   -O
o   m
CO   O
     T3
     3
     (O
     til
     GO
     -1
     TO

-------
AQDHS-II AD HOC TEST 10

Exercise the Individual List Options in the Master File Maintenance Program

     The master file maintenance program, AFMMSTR (AQ0100),  has several
options for  input  and  output file listings.  Test 5 has demonstrated that,
with the NOLIST option, all input and output file listings may be suppressed.
At the other extreme all  files may be listed, using the single option LIST,  as
in Test 23.  This  ad hoc  test shows that the listings may also be done on an
individual file basis, with the proper choice of option words.

     The procedure AQEDT10 is executed in the first step; this procedure
executes the master file  transaction edit program, AEDMSTR (AQ0060).  The
resulting  internal transactions are input to three executions of AQFMM10, the
procedure  that executes AFMMSTR (AQ0100).  Each of these file maintenance
steps exercises a  different individual-file listing option.

     Both  AEDMSTR  (AQ0060) and AFMMSTR (AQ0100) are discussed in Test 5.   In
the current test,  execution of these two programs is performed in separate
steps by separate  cataloged procedures, as in Test 23.

     The run stream for Ad Hoc Test 10 appears in Figure AHT10-1.  Step A of
the run edits card transactions using the parameter and site files AQPARM01
and AQSITE01 (created  and stored on disk in Tests 1 and 2, respectively). The
output internal transaction file, named TEMPTRNS, is produced.  Sample output
from this  edit step is shown in Figure AHT10-2.  The internal transaction
file, TEMPTRNS, is input  to each of the file maintenance steps following.
All three  file maintenance executions also use the same input master file, the
archived file AQARCM02 (created and stored on disk in test 26).
                                                                   i
     Sample output from the first file maintenance step (Figure AHT10-3)  shows
that the user-specified option is LISTTRAN and that the input internal
transaction file is listed.  Sample output from the second file maintenance
step (Figure AHT10-4) shows that the user-specified option is LISTOLD and that
                                    304

-------
the input master file's deleted or  changed  records are listed.  Sample output
from the third file maintenance step  (Figure AHT10-5) shows that the
user-specified option is LISTNEW and  that the output master file's added or
changed records are listed.   Remember that  any combination of these three list
options may be specified in a single  run.
                                    305

-------
//ADHOC10 JOB RTl.C4q.P02443,MCMASTLR,T=3,P=150,FORMS=FFrtHITE
//*PRMCLIB=RTI.C44.P02069.MCMASTER.DPR.JCL
//*
//* THIS RUN EXERClStS THE THREE SINGLE-FILE LIST OPTIONS SEPARATELY?
//* 'LISTTRAN' LISTS ONLY THE INPUT INTERNAL TRANSACTION FILE?
//* 'LISTOLD' LISTS ONLY THE INPUT MASTER FILE RECORDS THAT ARE
//* AFFECTED BY THE UPDATE; 'LISTNEW LISTS ONLY THE OUTPUT MASTER FILE
//* RECORDS THAT ARE ADDED OR CHANGED IN THE UPDATE
//*
//ADHOC10A EXEC AQEDT10,
//             DISPs'NEW,PASS',
//             PRIMARY=1,
//             SECNDRY=1,
//             TRANS=TEMPTRNS,
//             PARMFIL=AOPARMOt,
//             SITEFIL=AQSITE01
//*
//* THE AQDHS-II TRANSACTIONS ARE EDITED; THE OUTPUT INTERNAL TRANSACTION
//* FILE IS PASSED ON  TO THE FILE MAINTENANCE STEPS FOLLOWING
//*
//EDIT. OPTIONS DO *
LIST
/*
//EDIT. INPUT DO *
1 3*100030 10G04 1750822 16611 01231 21 00020002000300040003000200030002               2
1 1 2000 1003CO It 74061000611 022 liaOOOO 10002000400030002000300020001               2
11 2000 1003CO 1174061 00861 10221 1400002000 1000300000002000400020004               2
1 120001 003CO 11 74061 01661 10221 1400005000300020001 0002000200030004               2
1 120001 003CO 11 73091 20061 10250 1400005000b0004Q0030003000200050003               2
11 20001 003CO 11 7309 12086} 10250 14000030004000300040003000300030002               2
1 12000 1003CO 11 730912 1661 10250 14000030002000400030003000200040003               2
1373000997A052630 101 00621 01 20 151 90009 1009200                                   3
1373000997A052630 10200621 0120 150900091 009200                                   3
137300099 7 A052630 10300621 0120 153900091 009200                                   3
I 373000997A052630 10400621 01 20 152900091 009200                                   3
137 3000997 A052630 105006210 120 15290009 1009200                                   3
/*
//ADHOC10B EXEC AUFMM10,
//             OLDMSrR=AQARCM02>
//              TRANSsTEMRTRNS
//* THE THREE FILE MAINTENANCE STEPS  IN  THIS RUN ALL USE AS INPUT THE
//« LATEST ARCHIVED MASTER FILE AND THE  INTERNAL TRANSACTIONS CREATED IN
//* STEP A;  IN  THIS STEP THE OPTION CHOSEN  IS TO LIST ONLY THE INTERNAL
//• TRANSACTIONS
//*
//UPDATE. AQSUEWMS DD DUMMY
//UPDATE. OPTIONS DD *
LISTTRAN
/«
//AOHOC10C EXEC AQFMM10,
//              OLDMSTR=AQARCM02>
//              DISPl='OLD,PASS'f
//              TRANSsTEMPTRNS
//*
//* ONLY THE INPUT MASTER FILE RECORDS AFFECTED BY THE UPDATE ARE
//* LISTED IN THIS STEP
//*
//UPDATE. AQSNfcWMS DD DUMMY
//UPDATE. OPTIONS DD *
LISTOLD
/*
//ADHOC10D EXEC AQFMM10,
//              OLDMSTR=AQARCM02,
//              DISPl3'OLD,PASS'f
//              TRANS=TEMPTRNS
//*
//* ONLY THE OUTPUT MASTER FILE RECORDS  AFFECTED BY THE UPDATE ARE
//• LISTED IN THIS STEP
//*
//UPDATE. 40SHEWMS DD DUMMY
//UPDATE. OPTIONS DD *
LISTNEK


                        Figure AHT10-1.   Run Stream

                                     306

-------
                                       AODHS-I1  MASTER fill  TRANSACTION EDIT  PROGRAM  -  DIAGNOSTIC  REPORT
                                                                                                                         PAGt
            PROGRAM  NAMEl  AEDHSTR  (AQQ060)
            REVISION LEVEL!  1-00
            LAST UPDATE *! 24
            DATE INCORPORATED! OCTOBER  31,  1978

            OPTIONS  IN EFFECT! LIST   NOFLAGH


      Hi!    INPUT  TRANSACTIONS              ERRORS
      (Q
      £j    1340003010004175062216611012312100020002000300040003000200030002               Z
      £             *•• AtDMSJR  Oil ERROR - COLUMN 30 •  INVALID UNITS CODE - CARD REJECTED
      O
       I
      ro
 NUMBER OF  TRANSACTIONS READI                          12
 NUMBER OF  TRANSACTIONS PASSING EDIT CRlTERIAl         11
 NUMBER OF  INTERNAL TRANSACTIONS CREATED!              II
 NUMBER OF  WARNING MESSAGES!                           0
 NUMBER OF  CONDITIONAL MESSAGES!                       0
 NUMBER OF  ERROR MESSAGES!                             1
 NUMBLR OF  ABORT MESSAGES!                             0
U>
O
•vj
      O
      Q.
      C
      O
       I
      •a
      3
      (Q

      i
      O

      GO

      JO
                              AUDHS-fl MASTER FILE TRANSACTION EDIT PROGRAM  -  CONFIRMATION LISTING
                                                                                                              PAM
 INPUT TRANSACTIONS PASSING EDIT CRITERIA

 1120001003CO1174061000611022II4000010002000400030002000300020001
 1120001003COII 74061006611022114000020001000300000002000100020000
 1120001003CO1174061016611022114000050003000200010002000200030004
 1120001003C01173091200611025014000050006000400030003000200050003
 1120001003C0117309120661102SO14000030004000300040003000300030002
 1120001003CO1173091216611025014000030002000400030003000200040003
 1373000997AOS26301010062101201S1900091009200
 1373000997A052630102006210120150900091009200
 1373000997A0526301030062101201S3900091009200
 1373000997A05263010400621OIZ0152900091009200
1373000997AOS2630105006210120152900091009200
2
2
2
2
2
2
3
3
3
3
3
          NUMBER OF  TRANSACTIONS PASSING EDIT CRITERIA!
                                                     II

-------
                                    AOOHS-I!  MASTER FILE INTERNAL TRANSACTION SOMT PROGRAM  -  DIAGNOSTIC RtPUHT
                                                                                                                                         I'AGt  I
       PROGRAM  UAHEl  ASHINTH (A00130)
       REVISION LEVtLl  1-00
       LAST  UPDATE.  *I  2a
       DATE  INCORPORATED:  OC TOPER 31,
                                           1978
    !
            NUMBER  OF  INPUT  INTERNAL TRANSACTIONS]
            NUMBER  OF  OUTPUT  INTERNAL TRANSACTIONS!
                                                        11
                                                        II
    O
    CO
•n
3
o
(D
OL
                                          AODHS-II MASTER FILE MAINTENANCE PROUPAH   -  DIAGNOSTIC  REPORT
                                                                                                                           PAGE
            PROGRAM NAME: AFMMSTR (AOOIOO)
            REVISION LEVtLi 1-00
            LAST UPDATE *: ZO
            DATE INCORPORATED:  OCTOBER 31, 1978
co
o  2
00  S
    CO
    I
    I/I
    en
    •30
                            f A FILE * i
    70
    Qi
    CL  "D

    3> «S
SIGNED
NUMBER
-<>
-e
-7
-6
-s
-A
-3
•Z
-1
-0
tO
*1
*Z
*3
tfl
+5
»6
«7
tfl
t9
LAST DIGIT
OF NUMBER
PRINTED
R
0
P
0
N
M
L
K
J

\
A
6
C
D
E
r
G
H
I
            THIS TABLE 3HUHS THE PRINT CHARACTERS
       CO   FOR THE LAST DIGIT OF SIGNED DATA  VALUES
       *—   WHICH MAY APPEAR IN  THE AQDHS-II
            MASTER FILE MAINTENANCE OUTPUI REPORTS
            OPTIONS IN GPFECTl  L15TOLO

-------
                                      AOOHS-II  MASTER FILE MAINTENANCE PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                           PAGE
n>
O
CO
O
O
3
             NUMBER  OF  INPUT  INTERNAL TRANSACTIONS!                     it
             NUMBER  OF  INPUT  MASUR FILE RECOHDSl                        39
             NUMBER  OF  MASTER FILE  RECORDS PLAGUED FOR DELETION:         0
             NUMBER  OF  MASTER FILE  RECORDS ADDEDJ                         2
             NUMBER  OF  OUTPUT MASTER FILE RECORDSl                      41
             NUMBER  OF  WARNING MESSAGES!                                 0
             NUMBER  OF  CONDITIONAL  MESSAGESI                              0
             NUMBER  OF  ERROR  MESSAGESt                                    0
             NUMBER  OF  ABORT  MESSAGES:                                    0
             NUMBER  OF  DISASTER MESSAGES!                                0
            PROGRAM NAMEl  AFMMSTR  (A00100)
            REVISION LEVEL!  1-00
            LAST UPDATE  «! Z«
            DATE INCORPORATEDl  OCTOBER  31.  1976
CD
Q.
CO
O
IO
O
n>
O-
<=
(0
JO
•a
3
to
    to
    to
    ro
    9

-------
                               AQDHS-II MASTER FILE MAINTENANCE PROGRAM  -  INTERNAL TRANSACTION CONFIRMATION LISTING
                                                                                                                            PAGE
              INTERNAL TRANSACTION
                                        ACTION
     to
     C
     I
     h-«
     o
     OJ
      o
      o
      n>
      a.
      -o
w    2
>-'    2
0    8
      o.
21      1206001000001003C011736I1025010091200
                                        •«« ADDED

21      1^06001a00001003CO1173611025011091206
                                        «** ADDED

21      120bODla0000100ICOU736i 1025010091216
                                        *•* ADDED

21      120600ja00001003C0117061102211«061000
                                        *** ADDED

21      1206001000001003C0117061102211«061008
                                        *** ADDED

21      1206001000001003001170611022111061016
                                        **• ADDED

31      3713630i>03000997»05263621012015010100
                                        ••• CHANGED

31      iM86J020300099?A0526362J012045010200
                                        «** CHANGED

31      3718630203000997A05263621012015010300
                                        *** CHANGED

31      5718630203000997A05263621012015010000
                                        *** CHANGED

31      3718630203000997A05263621012015010500
                                        *** CHANGED

NUMBER OF INPUT INTERNAL TRANSACTIONS)
 00800050006000000030003000200050003


 006000 J00000003JJ0000003000300030002


 00800030002000000030003000200000003


-00800010002000000030002000300020001


 0080002000100030:0000002000000020000


 00800050003000200010002000200030000


 103900091009200


 003900091009200


 303900091009200


 203900091009200


 203900091009200


    11
     •a
      3
     ta
      in

-------
                                     AQDHS-H HASTtH FILE INTERNAL TRANSACTION SURT PROGRAM  •  DIAGNOSTIC REPORT                         PAGE   I
             PROGRAM NAME: ASRINTR (AQ0130)
             REVISION LEVEL! 1-00
             LAST UPDATE *l 24
             DATE INCORPURATtDl OCTOBER 31, 1976
             NUMBER OF INPUT INTERNAL TRANSACTIONSl          II
             NUMBER OF OUTPUT INTERNAL TRANSACTIONS!         11
     TJ
     3
     o
                                           AQOHS-II  MASTER FILE MAINTENANCE PROGRAM  •  DIAGNOSTIC REPORT                  PAGE
     2      PROGRAM NAMEl  AFMMSTR  (AQ0100)
     "*      REVISION LEVbLI  1-00
     •e,     LAST UPDATE  »l ZH
    jO     DATE INCORPORATCO!  OCTOBER  31,  1978
CA)   3
l-»   =^
                                TABLE  *  1
    CU
    3  *-+
    Q.  ~p
        0>
    y>  
    -H  O
    70  -h
SIGNED
NUMBER
-9
-8
"J
•6
-5
•a
•3
-2
•1
•0
*0
M
»2
»3
»
-------
                                      AODHS-II HASUR FILL MAINTENANCE PROGRAM  -  DIAGNOSTIC REPORT                  PARE
        NUMBER OF  INPUT  INTERNAL TRANSACTIONS!                     11
        NUMBER OF  INPUT  MASTER FILE RECORDS!                       J9
        NUMBER OF  MASTER FILE RECORDS FLAGGED FOR DELETIONS         0
        NUMBER OF  MASTER FILE RECORDS ADDEDI                        2
        NUMBER OF  OUTPUT MASTER FILE RECORDSl                      41
        NUMBER OF  HARMING MESSAGES:                                 0
        NUMBER OF  CONDITIONAL MESSAGESI                              0
        NUMBER OF  ERROR  MtSSAGESt                                   0
        NUMBER OF  ABORT  HbSSAGESl                                   0
        NUMBER OF  DISASTER MESSAGES!                                0


        PROGRAM NAME I  AFMM3IR (A00100)
        REVISION LEVELI  1*00
        LAST  UPDATE »I 24
        DATE  INCORPORATED!  OCTOBER 31.  1978
c-

3
>                         AQDHS-II MASTER FILE MAINTENANCE PROGRAM - INPUT MASTER FILE CONFIRMATION LISTING          PAGt
JO

^      FIXED SEGMENT                                                                                                 *( '/)'""
»-                          REPEATING DATA
O
  i *»
 I       213    371B630203000997AO  O>
3 *TO  21S    371flb30203000997AQS2b36210120150|0«00           12                                                     CHANGED
2                         -M9000339100339200339300S39a00339500S39trOOS39700S39a00839900339901S39902

30  o  ^13    371R630203000997AOS263621012015010500           12                                                     CHANGED
    -h                      S49000Sa9IOOS49200S49300S49400S'l9500S49600S497008|><>BOt)349900S49901S49902

   ^  NUMBER OF  INPUT MASTER FILE RECORDSl                       J9
        NUMBER OF  INPUT MASTER FILE RECORDS LISTED!                 5

-------
                                     A'JDHS-11 MASTER FILE INTERNAL TRANSACTION SORT PROGRAM  -   DIAGNOSTIC  REPORT
                                                                                                                              PAGE  I
     O
     I
     in
             PROGRAM NAMEl ASRINTR (AQOI30)
             REVISION UVELI 1-00
             LAST UPDATE *l 24
             DATE INCDRPORATEDl OCTOBER 3J, 1978
             NUMBER OF INPUT INTERNAL TRANSACTIONS:
             NUMHER OF OUIPU1 INTERNAL TRANSACTIUNSl
                                                 II
                                                 11
     o

     I
                                           AODHS-I1 MASTER FILE MAINTENANCE PROGRAM  •  DIAGNOSTIC REPORT
                                                                                                                           PAGE
PROGRAM NAME: AFMMSTR (A00100)
REVISION LEVELI 1-00
LAST UPDATE «! 24
DATE INCORPORATED]  OCTOBER Jl,  1978
OJ
»-•
U)
                    TABLE * 1
     o
     I
     -a
     3
     <£>

     i
     Ot
     ex  "-$
        to
     y»  to
SIGNED
NUMBER
"9
•B
"7
-6
-b
•4
•3
-a
-i
•0
to
«i
*2
»i
*4
tb
»6
»/
«a
*9
LAST UlUIT
Of NUMUEH
PRINTED
R
Q
P
0
u
H
L
K
J

N
A
B
C
D
E
F
G
H
I
     1/1
     -i  o
         -*>  THIS TABLE SHOWS THE PRINT CHARACTERS
            FUR THE LAST DIGIT OF SIGNED DATA VALUES
            rtHICH MAY APPEAR IN THE AQDHS-II
            MASTER FILE MAINTENANCE OUTPUT REPORTS
            OPTIONS in EFFECT:  LISTNEW

-------
                                      AOOHS-ll MASTER FILE MAINTENANCE  PHOGRAM   -   DIAGNOSTIC  REPORT                   PACfc
        NUMBER OF INPUT INTERNAL T»ANSACTIONS|                      M
        NUMBER OF INPUT MASTER FILE RECORDS!                        io
        SHu!" °F M*3tER F"-E RECORDS FLAGGED FOR DELETION!         o
        NUMBER OF MASTER FILE RECORDS ADDtUI                        I
        NUMBER OF OUIPUT MASTER FILE RECORDS!                       qi
        NUMBER OF MANNING MtSSAGESJ                                 n
        NUMBER OF CONDITIONAL MESSAGES!                             0
        NUMBER OF ERROR MESSAGES!                                   A
        NUMBER OF ABORT MESSAGES:                                   o
        NUMBER OF DISASTER MESSAGES!                                o


        PRUGRAM NAME! AFMMSTR (A00100)
        REVISION LEVLLI 1-00
        LAST (IPDATt *: a«
        DATE INCURPOWATED!  OCTOBER 31. 1978
 *r

 O                       AQDHS-II MASTER FILE MAINTENANCE PROGRAM  - OUTPUT  MASTER  FILE  CONFIRMATION  LISTING           PAGE      1
 ro
 o.
 5     FIXED SEGMENT                                                                                                  ACTION
 IP                         REPEATING DATA


£
 -n    2IN    120600140oOOI003COI17361l0250iao9l200            2fl                                              .,..*«.,!.?.«,
                           fAC0005A00006AOOOQ4A0«003AOOOOSA00002A00005A00003A0000JAOOOO«A0000JA0000BAOOOOJAOOOOSA00003A00002
 ,_.                        A00003A00002A00004A00003A00003A00002A00004A00003

       2IN    l20600J«0000100JC01J7a&U022Ufl06lOOO            24                                                      ADDED
 !                          A00001A00002AQ0004A00003A00002A00003A00002A00001A00002AQOOOIA00003AOOOOOA00002A00004A00002AOOOOa
                           A00005A0000JA0000.2AOOOOIA00002A00002A00003A00004
T3
 2     3IW    37186302»3080997A0526362I0l281iOl8ieO            12                                                      CHANGED
CQ                         C19000C19|OOC19200S09300S09400S09SOOS09600SO'>700S09800SD9900S0990tS09902

 ffi     SIN    37l8630203000997A052«>362iei20I58I02QO            12                                                      CHANGED
 3  "^                     COQQOOC09IOOC09200S|9300S|9
3 «9 31N    )7ieb3020300099r«0526362101201S010300            12                                                      CHANGED
^  ™                     C39000C39100C39200S29300S29aOOS29500S29600S29700S29800S29900S299etS29902

-4    JIN    37I8630203000997A0526362IOI201S010400            12                                                      CHANGED
**  O^                     C2900eC29100C29200S39300S39aOOS39SOOS3960033<»700SJ9800S3990eS39901S39902

 -  K> 3IN    37l8630203000997AOS263fr2101201S010SOO            12                                                      CHANGED
    	                     C29000C29|OOC29200S49300S49400S
-------
AQDHS-II AD HOC TEST 11

Convert SAROAD Transactions and Update the  Master  File

     This ad hoc test converts SAROAD-format  card  transactions to AQDHS-II
format transactions and then updates the master file with  the converted
transactions.  The present test does in one run what took  two runs  early  in
the test series, when the initial master file,  AQMST01N, was created  from
SAROAD transactions in Tests 4 and 5.  The  SAROAD  to AQDHS-II conversion  is
performed by the program ACVSARD (AQ0010),  which is executed by  the procedure
AQCVT10.  The transaction editing and master file  maintenance are then done  by
AEDMSTR (AQ0060) and AFMMSTR (AQ0100) respectively; both of these programs,  as
well as the internal transaction sort program,  ASRINTR  (AQ0130), are  executed
by the procedure AQEMM10.

     The run stream for this test is contained  in Figure AHT11-1.   Step  A,  in
which the SAROAD conversion is done, uses the LIST option. This option,  which
was not used in the other SAROAD conversion run (Test  4),  lists  each  SAROAD
input transaction and beneath it the AQDHS-II output  transaction or
transactions generated from it.

      In the SAROAD transaction input file,  the first  card is  a  $2 card.   This
indicates that  all the transactions  following  it are adds (action code of 2).
The output AQDHS-II transaction  file is assigned a temporary data set name,
&&AQTRANS.  Sample output from this  step appears in Figure AHT11-2.

     Step B, the file maintenance step, uses the AQDHS-II transaction data  set
&&AQTRANS to update the  active master  file, AQMTST04T.  The parameter and site
files AQPARM01  and AQSITE01 are  used to edit the/transactions.  The  new  master
file  created is named AH11MSTR.  Figure AHT11-3 contains  sample output from
this  step.
                                    315

-------
//AOHOC11 JOB KTl.C44.P02443,MCMASTER,T=3rP=150,FORMS=FFWHITE
//*PKOCLIB=RTI.C44.P02069.MCMASTER.DPR.JCL
//KILL LXEC PGM=IEFBR14
//DD1 DO DSN=RTI.C44.P02069.MCMASTER.DPR.DATA.AH11MSTR,
// UISP=(OLD,DELETE)
/*
//*
//* THIS RUN EXERCISES THE LIST OPTION OF THE SAROAD-TO-AQDHS-II
//* CONVERTER; UNDER THIS OPTION, EACH INPUT SAROAD TRANSACTION is LISTED
//* AND FOLLOWED IN THE LISTING BY ITS ASSOCIATED OUTPUT AODHS-II
//* TRAHSACTION(S)
//* IN THE SAME RUN» THESE AQDHS-II TRANSACTIONS ARE USED TO UPDATE THE
//* ACTIVE MASTER FILE
//*
//AOHOC11A EXtC AQCVT10
//*
//* THE SAROAD CONVERTER IS RUN
//*
//CONVERT.OPTIONS DD *
LIST
/*
//CONVERT.INPUT DD *
$2
1373000997AOS17708020062101201520067-050-0310071-083-11700610079-10100900066-043
1373000997A0517708020062103201520067-050-0310071-083-11700610079-10100900066-043
1373000997A0527707010343101110720001
1373000997AOS2770802004310211072006700500031007100830117006100790101009000660043
1373000997A052770803004310211072006700500031007100830117006100790101009000660043
1373000997A052770804004310211072006700500031007100830117006100790101009000660043
1373000997A052770805004310211072006700500031007100830117006100790101009000660043
1373000997A0527708060043I02I1072    00500031    00830117006100790101009000660043
137 300099^0527 70807004310211072                00830U7006100790101009000660043
1373000997A052770808004if02f10720067     0031007100830117006100790101009009660043
1373000997A0527708090043102110720067005000310071
1373000997A052770810004310211072    00500031    0083011700610079    009000660043
2373000997A0587S050100                                          62101201530015
2373000997A0587506010043102110730020431011107302004320111073050062101201530123
2373000997AOS87507010043102110730020431011107302004320111073050062101201530123
2373000997A0587508010043102110730020              4320111073050062101201530123
2373000997A05675090100                            4320111073050062101201530123
2373000997A05875100100431021107300024310111073002343201110730234621012015301566
2373000997A058751101004310211073000243101110730023              62101201530156
                   (Remainder of transactions  omitted)
/*
//CONVERT,OUTPUT DD OISP=(NEW,PASS),D3N=&iAQTRANS,UNITsSYSDA,
// SPACE=(TRK,(10,D)
//ADHOCI1B EXEC AQEMM10,
//             (JLDMSTR=AOMST04T,
//             NEWMSTR=AH11MSTR,
//             PARMFRaAQPARMOl.
//             SITEF1L=AQSITE01,
//             PRIHARY=t,
//             SECNDRYsl
//*
//* EDIT THE AQDHS-II TRANSACTIONS CREATED IN STEP A,
//* SORT THE RESULTING INTERNAL TRANSACTIONS,
//* AND UPDATE THE MASTER FILE WITH THESE SORTED TRANSACTIONS
//EDIT.INPUT 00 DISP=OLD,DSNsiiAQTRANS

                        Figure AHT11-1.   Run  Stream
                                    316

-------
                                       3AROAD TO AODHB-II CONVERSION PROGRAM  -  DIAGNOSTIC REPORT                     PAGE     1

         PROGRAM  NAME!  ACV8ARD (A00010)
         REVISION LEVELl  1-00
         LAST UPDATE  «l 24
         DATE INCORPORATED!  OCTOBER  31.  1978



         OPTION IN EFFECTl LI3T

 TI
 jj      INPUT (SAROAD)                           OUTPUT  (AUDH3-II)



 _       1373000997A0517708020062101Z01520067-050-0310071-OB3-I1700610079-10100900066-043
 ^E                                              1373000997A051770B020062101201520067-050-0310071-083-11700610079               2
 -1                                              1373000997A051770802086210120152-10100900066-043                               2

 7*      1373000997A0517708020062103201S20067-050-03I0071-OB3-11700610079-10100900066-043
 IV)                                              1373000997A0517708020062103201520067-OSQ-0310071-083-11700610079               2
                                                 I373000997A0517708020862I03201S2-10I00900066-043                               2

 -O      1373000997A0527707010343I01I10720001
 -S      ••» ACVSARD 006 ERRUR - START HOUR INCOMPATIBLE NITH TIME CODE* CARD REJECTED
W   3
t-»   m
-~*   -*,
        1373000997A052770B0200431021 10720067005000310071006301 1 7006100790101009000660043
 Q.                                             1373000997AOS27708020043102I1072006700S000310071006301 1700610079               2
                                                1373000997A052770B021643102U0720101009000660043                               2
        1373000997AOS2770B03004310211072006700S00031007100630H7006100790I01009000660043
                                                I 373000997A0527708030043I021 10720067005000310071008301 1700610079               2
                                                1373000997AOS2770B03l643102il0720101009000660043                               2
 — I      1373000997AOS277080400431 021 1072006700S0003I0071006301 17006100790101009000660043
 je                                              I373000997A0527708040043102I1072006700S00031007IOOB301 1700610079               2
 0                                              1373000997A05277060416431021 10720101009000660043                               2
 i
 >       I 373V00997A05277080500431021 10720067005000310071 OOSJOI 170061007901 01009000660043
-r,                                              1373000997A052770B050043102I I072006700S00031007100B3011700610079               2
 -j                                              1373000997A052770B051643102110720I01009000660043                               2

*5      1373000997AOS2770806004310211072    OOS00031    00830117006100790101009000660043
 2                                              1373000997A052770806004310211072    00500031     0083011700610079               2
 3                                              1373000997AOS2770B0616451021 10720101009000660043                               2

 O      1373000997A0527708070043102I1072                OOB30I 170061 007901 01 009000660043
 <                                              1373000997A052770807004310211072                0083011700610079               2
 <£                                              1373000997AOS277080716431021 10720101009000660043                               2
^ *— ^
O C?  1373000997A0527708080043102110720067    0031007100B30117006I00790I01009000660043
   (O
   n>

   i— >

   O
   -tl
   ro

-------
                                      SAKOAO TO AO&HS-II CONVERSION  PROGRAM   -  DIAGNOSTIC  REPORT                      PAGE      4


-r,      INPUT (SAROAO)                          OUTPUT  (AODHS-I1)
_j«

3      337A05B612022126165030100300099800230030209960500003140992-056003|40994»009<
)->                                              337A05A612022I281650301003080998002X0030209960500003140992-056003140994-009     2
»-»
M      337A05B612022128I65040100300099812340030209960500003140992-086003140994-009
                                                337A05A6120221281650401003000990125«OA30209960500003140992-086003iao994-009     2

n      337A05861202212616S050100300099812340030209960500003140992-086003140994-012
O                                              337A05A612022128165050100300099812340030209960500003140992-086003140994-012     2
3
<*      337A05a612022t28165060l00300099al2990030209960500003l40992-000003140994-01?
a'                                              337A05A61202212B165060100300099812990030209960500003140992-000003140994-012     2
c
fl>      337A056612022I28165070100300099B12990030209960500003140992-000003140994-OL4
P-                                              337A05A612022128165070100300099812990030209960500003140992-000003140994-014     2

        337A05B61202212816508010030009981111003020996051100314Q992-000003140994-014
I?                                              337A05A6120221281650801003(ro099811110030209960511003l40992-000003l40994-014     2
O
O      337A05B6120221281A5090100300099B1111                           003140994-017
g^                                              337AOSA6120221281650901003000998U11                           003140994-017     2

^      J37A0586120221261651001                          003140992*000
<1>                                              337A05A6120221281651001                          003140992-000                 2

.O      337A0586I202212B165U01                                        003140974-014
O                                              337A05A6120221281651101                                        003140994-014     2

ilj      337A05B61202212816512010030009981111             003140992-000
O                                              337A05A612022t28165l20100300079911H             003140992-000                 2


        NUMBER Ut  INPUT SARUAD TRANSACTIUNSI             52
"5      NurlBEH UF  SAtUON CAR03J                         I
3      NUMBER OF  AQDHS-II  TRANSACTIONS  HHITUNt         61
UD      TIMBER UF  DIAGNOSTIC MtSSAGtSl                   1
•?

3  ^ PHUGRAM NAME| AcVSARD (AQOOtO)
r>  0*  REVISION LEVEL:  1-00
P    ro

-------
                                       AOPHS-Il MASTER FILE  TRANSACTION EDIT  PROGRAM  -   DIAGNOSTIC  REPORT
                                                                                                                      PAGE
            PRIIURAM NAMf.t ALDHSTR (AQ0060)
            REVISION LEVELS 1-00
            LAST UPDATE. «l 24
            DATE INCORPORATED: OCTUUER Jit me

            OPTIONS IN EFFECT: DEFAULT (NOLIST NOFLAGM)
     1
     CO
        INPUT TRANSACTIONS              ERRORS
                  *«• AE.DHSTR 046 CONDITIONAL •
HISSING OR INVALID OPTION CARD - DEFAULT OPTIONS USED
     -O
     3
     n
     (D
     Q.
     E
        NUMBER UF  TRANSACTIONS READ*                         61
        NUMUER UF  TRANSACTIONS PASSING EDIT CRITERIA:        61
        NUMUER UF  INTERNAL TRANSACTIONS CHEATED:            122
        NUHHbR OF  WARNING MESSAGES!                           0
        NUMBER UF  CONDITIONAL MESSAGES:                       I
        NUMUIR UF  ERRUR MESSAGES:                              0
        NUMUER OF  ABORT MESSAGES:       •,                       0
OJ
m
>-»
o
 i
 i
TJ
3
M
i
                                   AODH3-II MASTER FILE  INTERNAL TRANSACTION  30RT PROGRAM
                                                                                          DIAGNOSTIC REPORT
                                                                                                                                    PAGE  I
     73
     0>     PROGRAM NAME: ASRINTR (A00130)
     5  -^REVISION LEVEL: i-oo
     °-  2? LAST UPDATE Ht 24
     3>  CO PATE INCORPORATED: OCTOBER 31. 1976
     CO  tO
        O  NUMBER  OF  INPUT  INTERNAL TRANSACTIONS:         122
        -*> NUMUER  l)f  OUTPUT INTERNAL TRANSACTIONS:        122
        CO

-------
                                           AODHS-II  MASTER ULE  MAINTENANCE PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                           PAGE
    to

    I
    33
    3j
     I
    CO
    S
    n
      -5
no  o
°  8
    o.
            PROGRAM NAMtl ATHMSTR  (AOOIOO)
            REVISION LEVEL I  1-00
            LAST UPDATE «l 24
            DATE INCORPORATED!  OCTOBER  31r  1976
TABLE » 1
SIGHED
NUMBER
-?
-S
-7
-6
-5
-a
-3
-a
-i
•0
tO
+ 1
»2
+3
41
t5
46
t7
»6
t9
LAST DIGIT
OF NUMBER
PRINTED
R
0
P
0
N
M
L
K
J

\
A
B
C
D
£
F
G
H
I
             THIS TAHLt SHUHS THE PRINT CHARACTERS
             FUR THE LAST DIGIT OF SIGNED DATA VALUES
             WHICH MAY APPEAR IN THE AQDHS-II
             MASTER FILE MAINTENANCE OUTPUT REPORTS
    T3
    3
    to
             OPTIONS IN EFFECT:  DEFAULT (NOLIST NOFLAGH)

                      ««« #FMMSTR 005 CONDITIONAL - HISSING OR INVALID CARD - DEFAULT OPTIONS  (NOLIST NOFLAGK) USED
    -n  ca
    3  n>
    to  r\s
    ^  o
        -*>
        CO

-------
    "D
CO  ^
PO  o
I—i  O
    fD
    o.
                                          AQDHS-II MASTER FILE MAINTENANCE PROGRAM   -   DIAGNOSTIC  REPORT                   PAGE


            TRANSACTION                     tHROHS/ACTION

            <>l      3M86i020JOOO<»97A05e7743IOil 107080200           208006700500031007100830
     3J              »•• AFMH3TR 001 ERROR - READING 02 - ATTEMPT TO ADD DATA TO EXISTING READING  -  DATA REJECTED
         NUMBER UF MASTER FILE RECORDS FLAGGED FOR DELETIONS         0
     3:     NUMBER UF MASTER FILE RECORDS ADDEDI                       37
     ~J     NUMBER UF OUTPUT MASTER FILE RECORDSl                      378
     jH     NUMBER OF WARNING MESSAGES!                                 0
     I       NUMHER UF CONDITIONAL MESSAGES:                             1
     W     t4UMUEK OF ERROR HESS AGES I                                   1
     I       NUMBER OF ABORT MESSAGES!                                   0
            NUMULR OF DISASTER MESSAGESl                                0
     O
     O
     rt-      PROGRAM NAME! AFMMSTR (AQOIOO)
     i'     REVISION LEVELJ ,1-00
     5      LAST UPDATE *l ?a
     n      DATE INCUKPORATEDl  OCTOBER 31, 1978
     I
     I
    -o
    3

    0*
    3  -^
    f,  01
    I«
    CO  to
    33  O
       -*>
       CO

-------
AQDHS-II AD HOC TEST 12

Perform a Total-Time-Period Statistical  Analysis on a Multi-Year File

     The purpose of this ad hoc test is  to emphasize the requirement of
running a pre-sort when a master file with more than one calendar year of data
is used for a total-time-period statistical analysis.  An answer file
containing 1976 and 1977 data is retrieved for this purpose using the
procedure AQRTM10.  The unsorted answer file is input to the statistical
analysis program series of ASTPRLM (AQ0190), ASTMSST (AQ0200), and ARPMSST
(AQ0270); these three programs are executed by the procedure AQRPM10.
The total-time-period option is specified in this step.  Next the answer file
is pre-sorted with the procedure AQSRM10, which executes the master file sort
program, ASRMSTR (AQ0140).  The sorted file is then input to another execution
of the statistical analysis procedure with the total-time-period option.

     Test 13 contains a description of the retrieval programs.  The present ad
hoc test uses standard AQDHS-II retrieval language statements.  The subject in
each of the retrieval statements, KEY-1, references a group of master file
fields, including all site-related fields, the time code, and the year.  Here
the retrieval statements are requesting  that all 1976 and 1977 records with
daily data (time code of 8) for a specific site be retrieved.

     Test 8 describes the master file sort program, ASRMSTR (AQ0140).  Test 10
describes the three statistical analysis programs.

     The Ad Hoc Test 12 run stream appears in Figure AHT12-1.  In the
retrieval step (Step A), the active master file, AQMST045, is the'input file
and the answer file is named TEMPRETR.  Sample output from this step is shown
in Figure AHT12-2.  Step B consists of a statistical analysis on TD^RETR, the
unsorted file.   The user-designated option for the preliminary statistics
program is TOTAL; the total-time-period option is also the default if no
option card is included in the stream.  Notice in the statistical analysis
report from this step (Figure AHT12-3) that one of the parameters has two sets
of statistics,  one for 1976 and one for  1977.   Under the total-time-period
                                   322

-------
option, the parameter should have  only one set of statistics covering the
entire period of data collection.  Thus, this report is invalid.

     To remedy this situation,  a pre-sort for the answer file, TEMPRETR, is
used in Step C.  The option used is  STAT.  The sorted file is named TEMPSORT.
This latter file is input to another execution of the statistical analysis
procedure in Step D.  Again, the user option is TOTAL.  This time, each
parameter does have a single set of  statistics in the statistical analysis
report, which demonstrates that a  pre-sort is required when a
total-time-period option is used for a  statistical  analysis of  a multi-year
file.  Output samples from this sort step and statistical analysis step  are
shown  in Figure AHT12-4 and Figure AHT12-5,  respectively.
                                    323

-------
//ADHOC12 JOB RTI.C«4.P02<»«3,MCMASTER,T=3,P=150,FORMS=FFWHITE
//*PROCLIB=RTI.C
-------
                                     AgDHS-Il RETRIEVAL LANGUAGE PROCESSOR PROGRAM  •  DIAGNOSTIC REPORT
                                                                                                                    PAGE
          PROGRAM NAME|  ARTLNGP (AROIIO)
          REVISION LEVEL!  1-00
          LA3T  UPDATE  *t  21
          OAK  INCORPORATED!  OCTUBER 31,
                                     1976
INPUT (CONTROL CARDS)i

SSSELECT
KEY-1
KEY-1
SSEND
                                   = •J«1702980000100aA06876*
                                   = 'J«17029800001OOflA06877'
                                                                          OR
     n
     to
     o.
     c
     to
     NUMBER UF  CONTROL  CARDS  READl                      4
     NUMBER OF  RETRIEVAL  SKELETON RECORDS READl     1,147
     NUMBER UF  RETRIEVAL  SOURCE  RECORDS  MRITTENl    1.190
     NUMHER OF  CONDITIONAL MESSAGESI                    0
     NUMBER OF  ERROR MESSAGESj                          0
     NUMBER OF  ABORT MESSAGES:                          o
CO
ro
01
    XD
     73
    t3
    3
    IQ
                                        AOOH3-II GENERATED RETRIEVAL PSOCRAM  -  DIAGNOSTIC REPORT
                                                                                                                       PAGE
Z   PROGRAM NAME I  ARTGCNR
J2   REVISION LEVELI  1-00
^   LAST UPDATE  *!  21
(V   DATE INCORPORATED!  OCTOBER 31,  1978

Q.

>   NUMBER  OF MASTER  FILE RECORDS READl
70   NUMBER  OF AtlSrfER  FILE RECORDS MRITTENl
£l   NUMBEP  UF CONDITIONAL MESSAGESI
m   NUMBER  OF ABORT MESSAGESI
                                                            341
                                                              6
                                                              0
                                                              0

-------
                                    »OOH9-II PRIL1M1NARY  STATISTICS MOSHA*  - JKVAftMOMIC REPORT
    <0      PROGRAM NAME! ASTPRLM (-AO0190)
§            REVISION LEVEL! 1-00
            LAST UPDATE *l 24
            INCORPORATED! OCTOBER 31,  1978
    3»
    3      OPTION IN EFFECT! TOTAL
     l*>      NUMBER OF MASTER FILE RECORDS READI                            »
            NUMBER OF MASTER FILE RECORDS KITH COMPOSITE  DATAl             0
            NUMBER OF STATISTICS RAN DATA FILE RECORDS  MRITTENl           10
     -XJ      NUMBER OF PRELIMINARY STATISTICS FILE  RECORDS WRITTEN!         5
     2      NUMIIER OF DIAONimiC MESSAGES!                                 «
     O
     (D
     OL
     C
00
ro
     vc
     O)
                                         AQDH3-II  STATISTICAL ANALYSIS PROGRAM  -  OIW6NOSTIC REPORT                               PAGE
     T3     PROGRAM NAMCi ASTMSST  (AQ0200)
     H°     REVISION LEVEL!  1-00
     3     LAST UPDATE *I 2Q
            DATE INCURPURATED: OCTOBER  31,  1478
     O>
     3  *-*•
     O.  T3
         O)
     f,  (O
     ^j  ^ NUMBER OF STATISTICS. RAH DATA FILE RECORDS  READ!          10
     3C  H-> NUMBER Uf PRELIMINARY  STATISTICS ULt  RECORDS  READ!        5
     CO     NUMRLR UF STATISTICS FILL RECORDS HHITTENl                 1
     {/)  O
     -H  -h
         oo

-------
                                      AUDH3-1I STATISTICAL ANALYSIS REPORT PROl.RAM   -   DIAGNOSTIC  REPORT
                                                                                                                                   I'AGE
     un
     c
     -1
     n>
     r\>
      i
     OJ
     o
     o
     c
     R>
     Q.
    PROGRAM-NAME.: ARPHSST  (AII0270)
    REVISION LLVLLI 1-00
    LASI I (PDA IE *| an
    DATI  INCORPORATED I OCTOBER S|, 1978
                                          • •* ARPHSST 004 WARNING - OPTION CARD MISSING! DEFAULT VALUES  ARE  64  LINES  PER  PAGE  AND FULL  SITE  BREAK
     -o
co   -$
ro   o
•*j   o
     ro
     a.
     c
     ro
     JO
     •30
    SITf  CODLt ja-OOOl-00«-A-06
    AGHICY/PROJECn AOb
                                                 ADDHS-II  STATISTICAL ANALYSIS REPORT
                                                     ANALYSIS FOR TOTAL TIME PERIOD
                                                       STATE  (34)1  NORTH CAROLINA

                                  AGENCY  TYPEI EPA  - ATMOSPHERIC SURVEILLANCE   COUNTVC2980)
                                                              SHE  ADDRl GUM BRANCH RD.,  JACKSONVILLE*  ONSLOW CO.
                                                                                                                         PAGE
     T3
     O
     CQ
     2
     50
     -a
     co
POLLUTANT NAME                   METHOD OF COLLECTION AND ANALYSIS
POLLUTANT-METHOD-INTEHVAL-UNITS CODE     SAMPLING DATES
        PCT   NBR   HIM    MIN                   PtRCENTILES                  MAX     2ND
        UBS   OBS  DETEC   DBS     10    30    50    70    90     95    99     DBS     MAX
                                                                                                      INTERVAL
                                                                                                         UNI IS
                                                                                                        3RD    ARIT   ARIT
                                                                                                        MAX    MEAN  SI  OEV
                                                                                                                                   TIMES
                                                                                                                                   HALF
                                                                                                                     GEOM   GEOM   M OET
                                                                                                                     MIAN  si otv  sun
    TOTAL  SUSPENDED PAHTICULATE      Hl-VIJL                    • GRAVIMETRIC
    11101-91-8-01                             10/01/76 TO 12/31/76
           15.2     14   1.000 6.000    30.   39.   45.   62.   Bl.  124.  124.  124.0  81.00
0) SULFUR DIOXIDE

m        16.1     5  S.OOO  0.0
ro

2. TOTAL SUSPENDED PAHTICULATE
   UtOl-'U-B-Ol
         OJ
          47.5    28  I.000 0.0
                                 GAS BUBBLER               » PARAHOSANILINE-SULFAMIC
                                         07/01/76 TO 07/31/76
                                   0.    0.    0.    0.   28.   28.   2B.  28.00 '0.0
                                             HI-VOL                     * GRAVIMETRIC
                                                     01/01/77  TO 02/28/77
                                              35.  455,  455.  455.  455.   455.   9b4.   964.0   4S5.0
DAILY       U-GMS/M3 (250E6 C,lQl3 H-BAH3)

Tt.OO   53.14  28.22   44.79  2,016      0


DAILY       U-GMS/M1 (25 DEC C.10I3 M-PARS

0.0     5.600  12.52   a.053  2.94S      4


DAILY       U-GMS/MJ (250EG C.IOIS M-RARS)

455.0   400.6  193.3   268.0  4.425      1

-------
                                                       ARPHSSt CAQOaOO) SUMMARY  Ht3»6E8l                                              I'AGL
  (2*     NUHIUW OF  iMPUf  «t CURDS t                  9

   B      NUMBLR til  tPHUHS:                          I

   2      NUMIIfR (IF  OUTPUT PAGCSl                   t
   5     PROGRAM-NAMtt  ARI-MS3T (AQ0270)

   rj     BtVlSIOM  LtVtLl  li-OO

   ro     LASI UHOAtt ft gn

    I      OAU INCORPOKATtDl OCIOUER SI,  |9?S
   CO
   O
   O
   3
   i
00  O
    o>
    Q.
    c

    m
    •o

    3
    (O
        -o
    3>  Di
    •yo  to
    •o  n>

    in  co
    CO
    —I  o

-------
                                     AODHS-I1 STATISTICAL ANALYSIS REPORT PROGRAM  -  DIAGNOSTIC REPORT
                                                                                                                             PAGE     I
    no
     I
    tn
            PROGRAM-NAMES ARPMSST CA00270)
            REVISION LEVELS 1-00
            LAST UPDATE «| 24
            DATE INCORPORATEDI OCTOBER 31. 1976
                                         ••» AHPMSST 004 HARKING - OPTION CARD MISSIN6I DEFAULT VALUES ARE 64 LINES PtR PAGE AND FULL SITE BREAK
    to
    Ou
CO
bO
-o
3
o

I
to
J*
JO
70
           SITE CODEI 34-0001»004«A-06
           AGENCY/PROJECT! A06
                                 AODHS-II STATISTICAL ANALYSIS REPORT
                                     ANALYSIS FUR TOTAL IIME PERIOD
                                       STATE (34)1 NORTH CAROLINA

                   AGENCY TYPEl  EPA - ATMOSPHERIC SURVEILLANCE   COUNTV(2980I
                                              SHE ADDRt GUN BRANCH RD.«  JACKSONVILLE,  ONSLUN CO.
                                                                                                                                PAGE
— prograr


POLLUTANT NAME
POLLUTANT-METNOD-INTERVAL-UNIT8
PCT NBR MIN MIN
DBS DBS DETEC DBS
TOTAL SUSPENDED PARTICULA1
rE


METHOD OF COLLECTION AND ANALYSIS
CODE SAMPLING DATES
PERCENTILE8
iO 30 50 70 90 95
HI-VOL » GR
AVIMET

MAX
99 UBS
RIC

2ND
MAX


INTERVAL
3RD
MAX
DAILY

UNITS
ARIT ARM
MEAN ST DEV
U-6MS/M3 (i

Gi IIH
MEAN
!50EG C

GfOM
SI Df.V
.1013 M-l

TIMES
HALF
M 01 r
sun
iARS)
    •a II101-91-8-01
    »         27.8    42  I.000 0.0
                                             il.
                          10/01/76  TO 02/28/77
                        62.  455.  455.  455.  455.  964.  964.0  455.0  455.0
    CO
        ro  SULFUR DIOXIDE
       O
       -h

       CO
       4240t-9I-8>01
              16.1
5  5.000 0.0
GAS BUBBLER               - P*RAROSANILINE-3ULFAMIC     DAILY       0-6HS/MS (25 DEC C,101S H-BARS
        07/01/76 TO 07/31/76
  0.    0.    0.    0.   28.   28.   28,  28.00  0.0    0.0     5.600  12.52   4.0*3  2.945      «

-------
                                                       ARPM8ST  (A00200)  SUMMARY MES3ABE3                                             PAGE
    -n     NUMBER OF INPUT RECORDSI                  6
   ,£•     NUMBER OF ERRORS!                         I
    B      NUMBER OF OUTPUT PAGES!                   1

    re
    •£,     PROGRAM-NAME! ARPMSS1 (AQ0270)
    5E     REVISION LEVEL! 1-00
    •H     LAST UPDATE *l it
    tt     DATE INCORPORATED! OCTOBER 31,  1976
    O
    O
    3
    re
    o.
    •O
    3
    O
u>  re
(O  O.
ro
    3

    1
     i
     i
    •o
     3
    to
     i
     3  «•***
     J»  0»
     yg US
     •o  re
     (/)  00
         CO

-------
AQDHS-II AD HOC TEST 13

Test the 'STND1 Option of the Master File Sort Program

     This test demonstrates that the STND option of the master jfile sort
program, ASRMSTR (AQ0140), sorts the master file in the standard sort
sequence.  To show this  the archived file, which is in the standard sort
sequence, is listed by the master  file detailed report program, ARPMSTR
(AQ0230).  This program  is executed by the procedure AQRPM20.  Next, the  file
is sorted in parameter order by ASRMSTR  (AQ0140), which is executed by the
procedure AQRPM10.  A detailed  listing of the sorted file is also made.  The
report pages of this listing are in a different order from those of the first
listing.  Finally, the parameter-sorted  file is resorted to the standard sort
sequence using the STND option  of  ASRMSTR  (AQ0140).  The detailed listing of
this resorted file indicates that  the STND sort restores the file to the
normal sort sequence since the pages in  this listing are in the same order as
those in the listing of the original file.

     The master file detailed list program, ARPMSTR  (AQ023Q),  is described in
Test 6.  The master file  sort program, ASRMSTR  (AQ0140), is  described  in
Test 8.

     Figure AHT13-1 lists the run stream.   The  first  step  of the job is to
list the archived file, AQARCM02  (created and stored on disk in Test 26).  The
first three pages of this listing are shown in  Figure AHT13-2. The second
step is to sort AQARCM02  using the PARM option.   The sorted file  is named
ARCSORT1.  Output from this sort  step appears in Figure AHT13-3.   The third
step is to  list ARCSORT1.  The first three pages of this listing are shown  in
Figure  13-4.   A comparison  of this figure with Figure AHT13-2 shows that  the
parameter  sort has  changed the order of the records.  The fourth step is  to
sort ARCSORT1  using the  STND option.  The sorted file is named ARCSORT2.
Output  from this  sort step  appears in Figure AHT13-S.  The fifth step is to
list ARCSORT2 and the first three pages of this listing are shown  in Figure
AHT13-6.   A comparison  of this figure with Figure AHT13-2 demonstrates that
the STND sort returned  the file to standard sort sequence.
                                   333

-------
//ADHOC13 JOB RTl.C
-------
                                        AQDHS-II MASTER  FILE  DETAILED  REPORT  PROGRAM   .   DIAGNOSTIC  REPORT
                                                                                                                           PAGE
           PROGRAM NAME I ARPMSTR  (A00230)
           REVISION LEVELI  1-00
           LAST UPDATE «( 24
           DATE INCORPORATED} OCTOBER  31.  1970
                                *•• ARPMSTR 003 CONDITIONAL • OPTION CARD MISSING FOR STO  ANSHER FILE  •  ASSUMING MEAN REPORT
                        ASSUMED DEFAULT OPTION! MEAN  DISPLAY  N > 9997
    to
    C
    CO
 NUMBER OF  OPTION STATEMENTS READ!
 NUMBER OF  MASTER FILE RECORDS READ!
 NUMBER OF  REPORT PAGES WRITTEN!
 •NUMBER OF  ERRORS DETECTED:
                                                                   39
                                                                   21
                                                                    1
    CO

    INJ
    o
    to
    a.
    JO
    -a
    -o
cn
•o
3
to
           STATEl  NORTH CAROLINA (34)
                                               AODHS-Il  AIR QUALITY DATA REPORT
                                                           DISPLAY N>9997
                                                                                                                                     PAbE
           AQCRI   136      AGENCYI    COUNTY
           COUNTYl 1760     PROJECT!   COMPLAINT INVESTIGATION
           AREA;   0003     PARAMETER! FORMALDEHYDE
           SITE!   002      UNITS!     U-GMS/M3 (2SDEG Crl013 M-BARSJ
           REIDSVILLE HHY., GREENSBORO. GUlUfORD CO.
                                                              COLLECTION METHI    GAS  BUBBLER                  YEAH!   I960
                                                              ANALYSIS METHOD!    CHROMATROPIC  ACID
                                                              SAMPLING INTERVAL!  COMPOSITE                    MIN DETl     .5
                                                              SAHOAD  KEY!         340003002G04I3               UNITS CODE! 01
                                                              KEY-ll  34I3617600003002604C60 KEY-21 435029101  KEY-3J  590052
       ro
       i—>
       o

       ro
COMPOSITE TYPE!  ANNUAL

PD   RDING    SAMPLES  TIME-CODE

00      2.3    52        9


HO        1

MEAN    2.3

MAX     2.3

-------
STATE!  NORTH CAROLINA (14)                   AODHS-II AtR QUALITY DATA REPORT                                            PACE
                                                          DISPLAY
AOCRl   169      AGENCY!    EPA • ATMUSPHERIC SURVEILLANCE   COLLECTION METHl   Hl-VUL                      YEAR!   1965
COUNTY! 0960     PROJECT!   EPISODE MONITORING               ANALYSIS METHOD*   GRAVIMETRIC                 MONTH!   JANUARY
AREA!   0001     PARAMETER! TOTAL SUSPENDED PARTICULATE      SAMPLING INTERVAL! 01 HOURS                    MIN DETl      I
SITE!   001      UNITS!     U-6MS/MJ (25DEG C,10t3 H-BARS)   SARQAD KEY!        340001001A0616              UNITS CODE! 01
2
re
•c,
£
»-»
00
1
ro
1
0
o
<•«•
CD
o*
•
-c
u> 3
Lkl X
jj* O
C» o
f .
i
3>
JO
JO
I
ro
o
1
1
•o
3

-------
                              AQDHS-II  MASTER FILE 30RT PROGRAM  »  DIAGNOSTIC REPORT                         PAGE
     PROGRAM NAME.! ASRMSTR  (AflOMO)
     REVISION LEVELl  1-00
     LAST UPDATE *J 20
     DATE INCURPORATEDl OC TUBER  31 1  I 978
     SORT OPTION SPECIFIED!       PARM
 J"J  NUMBER UF INPUT RECORDS READ|             39
 I   NUMBER OF MASTER RECORDS HRITTtNl         39
 CO  NUMBER OF DIAGNOSTIC MESSAGES!             0
 T>
 3
 O
 (D
 Q.
 O
 I
3
(O
to

-------
                            ABDHS-Il MASTER FILE DETAILED REPORT PROGRAM  -  DIAGNOSTIC REPORT                            PACE
PROGRAM NAHCl ARPMSTR (AQ023Q)
REVISION LEVELI 1-00
LAST UPDATE ft 24
DATE INCORPORATED! OCTOBER 11, 1970
                    • •• AHPMSTR.OOJ CONDITIONAL - OPTION CARD MISSING F OR, JfO ANSHtR FILF. - ASSUMING MEAN REPORT
             ASSUMED DEFAULT OPTION! MEAN  DISPLAY N > 9997
Tl NUMBER OF OPTION STATEMENTS READl
J± NUMBER OF MASTER FILE RECORDS READl
"g NUMBER OF REPORT PAGES HRUTENt
-$ NUMBER OF ERRORS DETECTEDl
(D
y»
3
»-»
W
1
*
•a
3
o
ra
w o.
o* -
CO -J
0
^
XI STATE! NORTH CAROLINA (341 AQDH3-II AIR
-O
0 AQCRj 169 AGENCY! EPA • ATMOSPHERIC SURVEILLANCE
COUNTY! 0960 PROJECTl EPISODE MONITORING
J AREA! 0001 PARAMETER! TOTAL SUSPENDED PARTICULATE
SITEi 001 UNITS! U-GMS/M3 (25DEC C.1013 M-BARS)
•0 VADKIN RD., FAVETTEVlLLE, CUMBERLAND CO.
I* PRIMARY
CQ FEDERAL STANDARD 75 UG/M3 (25 C) ANNUAL GEOMETRIC MEA
-J STATE STANDARD 250 UC/M3 (25 C) 24 HOUR MAXIMUM, 1 P
O)
i
> HOUR
ya *
g "^ DAY 00 01 02 03 04 05
 ID
*~" NO 1 I ** 1 1 1 1
O
~* MEAN I. 1. 2. 3. 5. 8.
'«-, MAX 1 1 2 3 5 8
0
19
21
\








QUALITY DATA REPORT P*GE >
DISPLAY N>9997
COLLECTION METMl HI-VOL VEARi 1965
ANALYSIS MCfKOOl CRAVlMETHIC MI)N1H| JANUAHy
SAMPLING JWURVALl 01 HOURS HINUtll 1
SAROAO KEY! 340001001*0616 UNITS CODEt 01
KEY-ll 341690960000100IA06165 KEV-21 111019101 KEY-31 010100
SECONDARY
N 60 UG/MJ (25 C) ANNUAL GEOMETRIC MEAN
ER YEAR 120 UG/MS (25 C) 24 HOUR MAXIMUM,} PER YEAR



06 07 08 09 10 11

8003 *021

110000
8003 9921
8003 9021

-------
 CO
         STATE!   NORTH  CAROLINA  (3Q>
                                              AQDHS-II AIR QUALITY DATA REPORT
                                                          DISPLAY N»999f
                                                                                                                  PAGf
AQCR:   169      A6ENCYI    EPA • ATHUSPHERIC SURVEILLANCE
COUNTY: 0960     PROJECT!   EPISODE MONITORING
AREA:   0001     PARAMETER! TOTAL SUSPENDED PARTICIPATE
SITE:   001      UNITSI     U-GHS/MJ  (250EG C,1013 M-BARS)
YADKIN RO., FAYETTEVILLE, CUMBERLAND CO.
                                       PRIMARY
FEDERAL STANDARD      75 UG/M3 (25 C) ANNUAL GEOMETRIC MEAN
STATE STANDARD       250 UG/M3 (25 C} 24 HOUR MAXIMUM, 1 PER
                                                     COLLECTION METHl   HJ-VOL                      VEARl  1965
                                                     ANALYSIS METHOD!   GRAVIMETRIC                 MONTHS  JANUARY
                                                     SAMPLING INTERVAL! 01 HOURS                    M1N DEM      1
                                                     SAROAD KEY!        340QOI001A06I6              UNITS CODE! 01
                                                     KEY-lt 34I690960000100IA06I6S KEY-Zl II10|9|0| KEV-i! 010100
                                                                                  SECONDARY
                                                                   60 UC/M3 (25 C) ANNUAL GEOMETRIC MEAN
                                                     YEAR         120 UG/M3 (25 C) 24 HOUR MAXIMUM,1 PER VtAR
 n
 o
 3

 to
 a.
DAY


01



NO


MEAN


MAX
12
13
16
                                                  HOUR


                                                     17
                                                                                 21
                                                                                          22
23    SO.


        8
MEAN


2131





2131
 MAX


9021
                                                                                                                                        9021
73  O

-------
STATE!  NUHTM CAROLINA (34)
                                              AQDHS-I1 AIR-QUALITY DATA REPORT
                                                          DISPLAY N>9997
                                                                                                                          PAGt
CO
1
o
o
3
ft
3*
C
(D
o.


-a
3
o
(D
a.
C
~<
CD
>
-O
73
^f
ro
o
i
i
•a
a
(O
Q)
3 —
-a
73 U3
-D fD
CO CO
30 0
-*»


DAY

01
02
03
oa
OS
06
07
00
09
10
11
12
13
14
IS
16
17
18
19
20
21
22
23
24
25
26
27
20


NO

MEAN
MAX

AQCR:   169      AGENCYI    EPA - ATMOSPHERIC SURVEILLANCE
COUNTY! 0960     PROJECT*   EPISUUE MONITORING
AREAl   0001     PARAMETER! SOLFUR DIOXIDE
SITE!   001      UNITS!     U-GMS/M3  (25DEC C,1013 H-BARS)
YADKIN RD., FAVETTEVILLE, CUMBERLAND  CO.
                                       PRIMARY
FEDERAL STANDARD     365 UG/MS (25 o  24 HOUR MAXIMUM,  i PER YEAR
STATE STANDARD        60 US/Ml (25 C)  ANNUAL ARITHMETIC MEAN
                                                             COLLECTION MWHl   DAVIS  INSTRUMENT             YEAR!   196S
                                                             ANALYSIS MtTHBU   HYDROGEN PEROXIDE            MONTH!  MARCH
                                                             SAMPLING INTEBVAiflcJH HOURS                     MIN OtTl   26.2
                                                             SAROAO KEY!        34000100IA06I6               UNITS CODEl 01
                                                             KEY-!! 3«1670«fc«M«4001A06i6S KEY-21 4240I3I01  KEY-Jl  032800
                                                                                          SECONDARY
                                                                           1300 U6/M3 (0 C),  3 HR. MAX.,I PER VR
                                                                           0.4 OMITS/MILLION,  3 MR.MAX, i PER YEAR
        00
                 01
                          02
                                   03
                                            04
                                                  HOUR

                                                     OS
                                                              06
                                                               07
                                                                                                   iO
                                                                                                   II
 37



  1

) f *

 37
                  37


                   I

                 37.

                  37
                         992B


                             I

                         9928

                         •9928

-------
                              AODHS-II MASTER FILE SORT PRU6RAH  -  DIAGNOSTIC REPORT                         PACE
      PROGRAM  NAME!  ASRHSTR (AQ0110)
      REVISION LEVELI  i-00
 _   LAST  UPDATE  *t  2H
 J2   OATt  INCORPORATED!  OCTOBER 31. 1976

s
 2    SORT  OPTION  SPECIFIED!        STND
 ZJ  NUMBER OF  INPUT RECORDS READ!             39
 OJ  NUMBER OF  MASTER  RECORDS WRITTEN!         39
 ^  NUMBER OF  DIAGNOSTIC  MESSAGES!             0
 3
 o
 (D
 Q.
 C

 (0
JO
 CO
 ya
to

tu
00


CO

70

-------
                                    AQDHS-II  MASTER FILE DETAILED REPORT PROGRAM —  DIAGNOSTIC REPORT
                                                                                                                                  PAGE
(O
       PROGRAM  NAME:  ARPHSTR  (AQ0230)
       REVISION LEVEL!  1-00
       LAST  UPDATE  «! 29
       DATE  INCORPORATED*  OCTOBER 51,  1978
                            • •* ARPMSTR 003 CONDITIONAL • OPTION CARD MISSING FOR SWWANSWER FILE - ASSUMING MEAN REPORT
                     ASSUMED DEFAULT OPTION! MEAN  DISPLAY N > 9997
        NUMBER OF OPtlUU STATEMENTS READI
        NUMBER OF MASTER FILE RECORDS READ:
        NUMBER OF REPORT PAGES WRITTEN:
        NUMBER OF ERRORS DETECTED!
                                                                   0
                                                                   39
                                                                   21
                                                                   1
 to
 o
 (D
 a.
 I
 I
TJ
3
(O
-t
        STATEl  NURTH CAROLINA (34)
                                                      AUDHS-II  AIR QUALITY  DATA REPORT
                                                                 DISPLAY N>9997
                                                                                                                                  PAGE
AOCR:   136      AGENCY:    COUNTY
COUNTY! 1760     PROJECT:   COMPLAINT INVESTIGATION
AREA:   0003     PARAMETER! FORMALDEHYDE
SITE:   002      UNITSj     U-GMS/M3 (2SDEG C,1013 M-HARS)
REIDSVILLt HHY., GREENSBORO, GUILFORD CO.
                                                                     COLLECTION-MPtH!   GAS BUBBLER                 YEAR!   |9«>0
                                                                     ANALYSIS METHOD!   CHROMATROPIC ACID
                                                                     SAMPLING IWTfRVAL: COMPOSITE                   MIN DETl      .
                                                                     SAROAD KEY!         340003002GOai3              UNITS  CODE: 01
                                                                     KEY-l: 3aii6ITfl00003002GOflC60 KEV-21 «3S029iOI  KEY-Jl S900S2
 70
       COMPOSITE TYPE!  ANNUAL

       PD   RDIN6    SAMPLES  TIME-CODE

     3> 00      2.3    52
 50  «
        NO
     i—•
     o MEAN
     -h
     »» MAX
                  t

               2.3

               2.3

-------
         STATCl   NURTM CAKULIN* (14)
                                                       AQDH3-1I  AIM QUALITY OAfA REPORT
                                                                   DISPLAY N>9997
                                                                                                                           PAGE
         AUCRl    169       AGCNCYl     EPA - ATMOSPHERIC SURVEILLANCE
         COUNTY!  0960      PROJECT:    EPISODE MONITORING
 Z;      AREA:    oooi      PARAMETER:  TOTAL SUSPENDED PARTICULATE
ua       SITES    001       UNITS:      U-GMS/MS (25DEG c,iot3 M-BARS)
 E       YADKIN RD., FAYETTEVILLE,  CUMBERLAND CO.
 £                                              PRIMARY
         FEDERAL  STANDARD       75 UG/M3  (25 C) ANNUAL GEOMETRIC MEAN
 >      STATE STANDARD        250 U6/M3  (25 C) 24  HOUR MAXIMUM, 1  PER
                                                               COLLECTION METHl   HI-VOL                      YEAR:   1965
                                                               ANALYSIS MCTHODl   GRAVIMETRIC                 MQNTHl   JANUARY
                                                               SAMPLING INTERVAL:  01  HOURS                    MIN  OEM       i
                                                               SAROAD KEY!        34000100IA0616              UNITS CODEl  01
                                                               KEY-ll 341690960000I001A06I6S KEV-21  11IOI910I  KEY-31  010100
                                                                                            SECONDARY
                                                                             60 UG/M3 (25 C) ANNUAL  GEOMETRIC  MEAN
                                                               YEAR         120 UG/M3 (25 C) 24 HOUR MAXIMUM,! PER YEAR
CO
1
»997
                                                                                                                           PAGE
AQCHI   169      AGENCYI    EPA - ATMOSPHERIC SURVEILLANCE
COUNTY: 0960     PROJECT:   EPISODE MONITORING
AREA:   0001     PARAMETERl TOTAL SUSPENDED PARTICULATE
siTEr   ooi      UNITS:     U-GMS/MJ  (25DEG c,loi3 M-BARS)
VADKIN RD., FAYETTEVILLE, CUMBERLAND CO.
                                       PRIMARY
FEDERAL STANDARD      75 UC/H3 (25 C) ANNUAL GEOMETRIC MEAN
STATE STANDARD       250 UG/M3 (25 C) 24 HOUR MAXIMUM, 1 PER
                                                              COLLECTION METHl   Hi-VOL                      VtARl   1965
                                                              ANALYSIS METHODI   GRAVIMETRIC                 MONTH:  JANUARY
                                                              SAMPLING INTERVAL:  01 HOURS                    NIN  DETt    '   I
                                                              SAROAD KEVl        34000I001A06I6              UNITS CODEl 01
                                                              KEY-1: 3416909600001001A06165 KEY-2:  111019101  KEY-3I  010100
                                                                                           SECONDARY
                                                                            60 UG/M3 (25 C) ANNUAL  GEOMETRIC  MEAN
                                                              YEAR         120 UG/M3 (25 C) 24  HOUR MAXIMUM,! PER YEAR
    -O
t*  9>
70  to
2  ffl  DAY
 /  ro
       01
                12
                  13
                                           IS
                                             16
                                                          HOUR

                                                             17
IB
19
29
21
22
                                                                                                           23
                        NO.

                          a
                      MEAN

                      2131
                                                                                                                                 MAX

                                                                                                                                9021
NO

MEAN

MAX
                                                                                                                           a
                                                                                                                               2131
                                                                                                                                       9021

-------
                        APPENDIX A

    CROSS-REFERENCE OF  TESTS,  PROCEDURES,  AND  PROGRAMS
Test


  1
 6


 7


 8
10
11
Procedures


 AQEMP10

 AQRPP10


 AQEMS10

 AQRPS10


 AQEMD10

 AQRPD10


 Agevrio


 AQEMM10




 AQRPM20


 AQRPM30


 AQRPM40



 AQRPM35
                        AQSRM10
                        AQRPM10
                       AQRPM45
                                            Programs
                                        ASRPARM  (AQ0150)
                                        AEMPARM  (AQ0070)
                                        ARPPARM  (AQ0240)
                                        ASRSITE  (AQ0160)
                                        AEMSITE  (AQ0080)
                                        ARPSITE  (AQ0260)
                                        ASRSTND  (AQ0170;
                                        AEMSTND  (AQ0090;
                                        ARPSTND  (AQ0256;
                                        ACVSARD  (AQ001D)
                                        AEDMSTR  (AQ0060)
                                        ASRINTR  (AQ0130)
                                        AFMMSTR  (AQ0100)
                                         ARPMSTR (AQ0230)
                                         ARPMSBR (AQ0300)
                                         ASRMSTR (AQ0140)
                                         ARPINVP (AQ0290)
                                        ASRMSTR (AQ0140)
                                        ARPINVS (AQ0280)
                  ASRMSTR  (AQ0140
                  ASTPRLM  (AQ0190
                  ASTMSST  (AQ0200
                  ARPMSST  (AQ0270
                 ACVANOM  (AQ0040)
                 ARPANOM  (AQ0320)
                          344

-------
Test


 12


 13



 14



 15
Procedures


 AQRPM05


 AQRTM10



 AQEMP10



 AQEMS10
16
17
18
19
20
21

22
23
24
25
AQRPP20
AQRPS20
AQCVM10
AQCVP10
AQHSM20
AQCVM20
AQRTM10
AQSTM20
AQRPM20
AQRPM25
AQEDT10
AQFMM10
AQRPM05
AQRPM45
    Programs
ARPSARD (AQ0220)
ARTLNGP (AQ0110)
ARTGENR (AQ0120)
ASRPARM (AQ0150)
AEMPARM (AQ0070)
ASRSITE (AQ0160)
AEMSITE (AQ0080)
                                             ARPPMEX  (AQ0330)
                                             ARPSHEX  (AQ0340)
                                             ACVMFOR (AQ0020)
                                             ACVPFOR (AQ0030)
                                             AMSARCH (AQ0215)


                                             ACVUNIT (AQ0050)
                                             ARTLNGP (AQ0110)
                                             ARTGENR (AQ0120)
                                             ASTSLAV (AQ0180)
                                             ARPMSTR (AQ0230)
                                             ARPDUMP (AQ0310)
                                             AEDMSTR (AQ0060)
                                             ASRINTR (AQ0130)
                                             AFMMSTR (AQ0100)
                                             ARPSARD (AQ0220)
                                             ACVANOM (AQ0040)
                                             ARPANOM (AQ0320)
                             345

-------
                        Procedures
                         AQMSM20
                         AQMSM10
                          Programs
                      AMSARCH (AQ0215)
                      AMSMERG (AQ0210)
Ad Hoc 1
AQRTM10

AQRPM05
ARTLNGP (AQ0110)
ARTGENR (AQ0120)
ARPSARD (AQ0220)
Ad Hoc 2
AQRTM10

AQRPM45
ARTLNGP
ARTGENR
ACVANOM
ARPANOM
AQ0110)
AQ0120)
AQ0040)
AQ0320)
Ad Hoc 3
AQRTM20
AQRTM30
AQMSM10
AQRPM40
ARTLNGP
ARTGENR
AMSMERG
 AQ0110)
 AQ0120
 AQ0210
                                               ASRMSTR (AQOi4p]
                                               ARPINVP (AQ0290J
Ad Hdc 4
                         AQCVM20
                         AQRPM20
                      ARTLN6P  AQOliO)
                      ARTGENR  AQ0120
                      ACVUNIT  AQ0050
                      ARPMSTR  AQ0230
Ad Hoc 5
AQRTM10

AQSTM20
AQSTM20
ARTLNGP  (AQ0110]
ARTGENR  (AQ0120
ASTSLAV  (AQ0180
ARPMSTR  (AQ0230
Ad Hoc 6
AQRTM10

AQSRM10
AQRPM10
ARTLNGP
ARTGENR
ASRMSTR
ASTPRLM
ASTMSST
ARPMSST
(AQ0110)
(AQ0120J
(AQ0140)
(AQ0190)
(AQ0200)
(AQ0270)
Ad Hoc 7
AQRTM10

AQRPM20
ARTLNGP  (AQ0110)
ARTGENR  (AQ0120)
ARPMSTR  (AQ0230)
                             346

-------
Ad Hoc 9


AD Hoc 10




Ad Hoc 11
Ad Hoc 12
Ad Hoc 13
                        Procedures


                         AQRTM10

                         AQRPM10
AQEDT10
AQEDT10
AQFMM10
AQCVT10
AQEMM10
AQRTM10

AQRPM10


AQSRM10
AQRPM20
AQSRM10
                          Programs
                      ARTLNGP  (AQ0110)
                      ARTGENR  (AQ0120)
                      ASTPRLM  (AQ0190)
                      ASTMSST  (AQ0200)
                      ARPMSST  (AQ0270)
AEDMSTR (AQ0060)
AEDMSTR (AQ0060)
ASRINTR (AQ0130)
AFMMSTR (AQ0100)
ACVSARD (AQ0010)
AEDMSTR (AQ0060)
ASRINTR (AQ0130)
AFMMSTR (AQ0100)
ARTLNGP
ARTGENR
ASTPRLM
ASTMSST
ARPMSST
ASRMSTR
(AQ0110)
AQ0120
[AQ0190
AQ0200
AQ0270
AQ0140
ARPMSTR (AQ0230)
ASRMSTR (AQ0140)
                              347

-------
Procedure                AQDHS-II Tests            AQDHS-II Ad Hoc Tests
AQCVM10
AQCVM20
AQCVP10
AQCVT1Q
AQEDT10
AQEMD10
AQEMM10
AQEMP10
AQEMS10
AQFMM10
AqMtnO-
AQMSM20
AQRPD10
AQRPM05
AQRPM10
AQRPM20
AQRPM25
AQRPM30
AQRPM35
AQRPM40
AQRPM45
AQRPP10
AQRPP20
AQRPS10
AQRPS20
18
20 4
18
4 11
23 9, 10
3
5 11
1. 14
2, 15
23 10
26 3
10, 26
3
12, 24 1
10 6, 8,
6, 21 4, 5,
22
7
9
8 3
11, 25 2
1
16
2
17
                                348

-------
Procedure               AQDHS-II Tests            AQDHS-II Ad Hoc Tests

 AQRTM10                       13,  21              1, 2, 4, 5, 6, 7, 8, 12
 AQRTM20                                                   3
 AQRTM30                                                   3
 AQSRM10                       10                           6, 12, 13
 AQSTM20                       21                           5
                                    349

-------
    Program               AQDHS-II Tests            AQDHS-II Ad Hoc Tests

ACVANOM  (AQ0040)             11, 25                          2
ACVMFOR  (AQ0020)             18
ACVPFOR  (AQ0030)             18
ACVSARD  (AQ0010)              4                             11
ACVUNIT  (AQ0050)             20                              4
AEDMSTR  (AQ0060)              5, 23                          9, 10, 11
AEKPARM  (AQ0070)              1, 14
AEMSITE  (AQ0080)              2, 15
AEMSTND  (AQ0090)              3
AFMMSTR  (AQ0100)              5, 23                         10, ll
AMSARCH  (AQ0215J             19, 26
AMSMER6  (AQ0210)             26                              3
ARPANOM  (AQ0320)             11, 25                          2
ARPDUMP  (AQ0310)             22
ARPINVP  (AQ0290)              8                              3
ARPINVS  (AQ0280)              9
ARPMSBR  (AQ0300)              7
ARPMSST  (AQ0270)             10                              6, 8, 12
ARPMSTR  (AQ0230)              6, 21                          4, 5, 7, 13
ARPPARM  (AQ0240)              1
ARPPMEX  (AQ0330)             16
ARPSARD  (AQ0220)             12, 24                          1
ARPSITE  (AQ0260)              2
ARPSMEX  (AQ0340)             17
ARPSTND  (AQ0250)              3
                                 350

-------
    Program               AQDHS-II Tests            AQDHS-II Ad Hoc Tests
ARTGENR (AQ0120)             13, 21              1, 2, 3, 4, 5, 6, 7, 8, 12
ARTLNGP (AQ0110)             13, 21              1, 2, 3, 4, 5, 6, 7, 8, 12
ASRINTR (AQ0130)              5, 23                        10, 11
ASRMSTR (AQ0140)              8, 9, 10                  3, 6, 12, 13
ASRPARM (AQ0150)              1, 14
ASRSITE (AQ0160)              2, 15
ASRSTND (AQ0170)              3
ASTMSST (AQ0220)             10                           6, 8, 12
ASTPRLM (AQ0190)             10                           6, 8, 12
ASTSLAV (AQ0180)             21                               5
                                  351

-------
                                  TECHNICAL REPORT DATA
                           (Please read Inunctions on the reverse before completing/
1. REPORT NO.

   EPA 450/4-79-010
                                                          3. RECIPIENT'S ACCESSION>NO.
4. TITLE AND SUBTITLE
   A1r Quality  Data  Handling System (AQDHS-II)
   Test Run Series Documentation
                                                          5. REPORT DATE
                                                            May  1979
                                                          6. PERFORMING ORGANIZATION CODE
7. AUTHORIS)
   The Research Triangle Institute
   Operations Analysis  Division, Research Triangle
                                                    Park,
8. PERFORMING ORGANIZATION REPORT NO.


 NC   27709
                                                          10. PROGRAM ELEMENT NO.

                                                            2AF643	.
                                                          11. CONTRACT/GRANT NO.



                                                            68-02-3011
9. PERFORMING ORGANIZATION NAME AND ADDRESS
   Office of Air  Quality Planning and Standards
   Monitoring and Data  Analysis Division
   Research Triangle Park,  North Carolina  27711
12. SPONSORING AGENCY NAME AND ADDRESS
   U.S. Environmental  Protection Agency
   Office of Air,  Noise,  and Radiation
   Office of Air Quality  Planning and Standards
   Research Triangle Park. North Carolina  2771L
                                                          13. TYPE OF REPORT AND PERIOD COVERED
                                                            Final	
                                                          14. SPONSORING AGENCY CODE
15. SUPPLEMENTARY NOTES
16. ABSTRACT
        This manual  documents the AQDHS-II test run  series  and replaces the Air
   Pollution Training Institute Manual 475, Comprehensive Data Handling System,
   Volume 2, Air  Quality Data Handling System  (AQDHS-II).
        The test  run series Is divided into two major  areas:  basic test runs  and
   ad hoc test runs.  The basic test runs exercise each  program in AQDHS-II at
   least once and provide the user with a means of determining whether or  not  his
   installation of AQDHS-II has been successful.
        The ad hoc test runs further exercise  the capabilities of the AQDHS-II
   programs.  The ad hoc test runs also provide the  user with examples of  how
   various combinations of AQDHS-II programs may be  used to generate certain
   reports or to  accomplish special tasks.
        The AQDHS-II User's Guide should be used as  a  reference in conjunction
   with this manual.  Appendix A of this manual provides a  cross-reference of
   tests*procedures, and programs.
17.
                               KEY WORDS AND DOCUMENT ANALYSIS
                  DESCRIPTORS
                                              b.lDENTIFIERS/OPEN ENDED TERMS
               c.  COSATI Field/Group
   Computer  Programs
   Computer  Software
   Data Processing
   Air Pollution
   Data Handling
   Computer  System  Programs
   Data Base Management System
                Prnroccinn	
                                                  CDHS
                                                  AQDHS-II
                                                  SAROAD
                                                  Atmospheric Pollution
                                                  System Installation
                                                  System Testing
18. DISTRIBUTION STATEMENT
                                              19. SECURITY CLASS (This Report/

                                                  Unclassified
                                                                         21 NO OP PAGES
                                              20. SECURITY CLASS I This page!

                                                  Unclassified
                                                                            .351
                                                                         22. PRICE
EPA Form 2220-1 (9-73)

-------