

                         NEWCHKOB DOCUMENTATION


Purpose:  To perform a check for correct structure and syntax
on a horizontal Blue Book Observation data set.

Newchkob version 1.6.6 is based upon the Federal Geodetic Control
Committee's publication Input Formats and Specifications of the
National Geodetic Survey Data Base (Blue Book), vol. I, chapter
two, September, 1994.  This edition of the blue book redefined the
SSN as a four digit number.  All references to a suffix were deleted.

Newchkob take a designated horizontal Blue Book observation
data set and produces a list of error messages as output.  You
should edit your data set until you are satisfied with the
results of a subsequent run.

Many error messages are simply warnings or informational
messages and may not warrant a correction to the data set.
This program does not update the Blue Book Observation data 
set, that must be done by editing the data set.

A. INPUT

   1.  A standard Blue Book observation data set.

   2.  contrib.dat file - a sequential file of abbreviations of
       contributors of geodetic control data and is equivalent to
       Blue Book vol. I, Annex C. This file should reside on the 
       default disk when program is executed.

   3.  newerror.dir file - is a direct access file of potential
       error messages.  This file should reside on the default
       disk when program is executed.

       contrib.dat and newerror.dir will be supplied to the user and are
       automatically accessed when running the program.

B.  OUTPUT

    1.  A successful run will have an output listing consisting
of error and  warning messages along with an image of the actual
record that initiated the message.  Typically, the message
identifies the specific record columns that are in question.

This is an example of an output from a Newchkob ver 1.6.6 run:

*****************************************************************************

1Program newchkob  V 1.6.6 - check blue book obs data set  -               1
 processing input file - g16471.b                                                                        


 Datum                   Ellipsoid       a         1/f       b
 NAD 1983               GRS 1980         6378137.0029825722            

 -------------------------------------------------------------------------------


1                                                                            2



 Summary of Record Counts:

 Number of *10* Records =      1
 Number of *11* Records =      0
 Number of *12* Records =      1
 Number of *13* Records =      1
 Number of *20* Records =      5
 Number of *21* Records =      0
 Number of *22* Records =     16
 Number of *25* Records =      0
 Number of *26* Records =      0
 Number of *27* Records =      0
 Number of *28* Records =      0
 Number of *29* Records =      0
 Number of *30* Records =      0
 Number of *31* Records =      0
 Number of *32* Records =      0
 Number of *40* Records =      3
 Number of *41* Records =      0
 Number of *42* Records =      3
 Number of *45* Records =      0
 Number of *46* Records =      0
 Number of *47* Records =      0
 Number of *50* Records =      0
 Number of *51* Records =      0
 Number of *52* Records =      4
 Number of *53* Records =      0
 Number of *54* Records =      0
 Number of *55* Records =      0
 Number of *60* Records =      0
 Number of *61* Records =      0
 Number of *70* Records =      3
 Number of *71* Records =      3
 Number of *80* Records =      7
 Number of *81* Records =      0
 Number of *82* Records =      6
 Number of *83* Records =      2
 Number of *84* Records =      7
 Number of *85* Records =      0
 Number of *86* Records =      0
 Number of *90* Records =      5
 


1                                                                            3


          1         2         3         4         5         6         7         8
 12345678901234567890123456789012345678901234567890123456789012345678901234567890
 --------------------------------------------------------------------------------

 052 CC 50-50 LOCAL TIME ZONE INVALID,  A-I, K-Z ALLOWED SEE ANNEX H             
 000070*22*000101                             123000002    V08  111253200    0085

 063 CC 69-72 SEC OF HOR DIRECTION INVALID FLOATING POINT NUMBER                 
 000083*22*000102                                  0010    V04  15606330o    0120

 039 CC 69-72 SEC INITIAL DIRECTION INVALID FLOATING POINT NUMBER                
 000090*20*000201      04        0100000800221     0001    V09  00000000o    0080

 432  PERIPHERAL POINT HAS NO DISTANCE CONNECTION WITH ITS PARENT STATION        
 000280*82*0004RANDELL RM 1                        0001                          

 411       THIS STATION IS UNPOSITIONABLE (LESS THAN TWO ENTRIES)                
 000280*82*0004RANDELL RM 1                        0001                          

 Summary from program Newchkob:
 Number of records in input file =    66, Number of errors found =     5

 ***********************************************************************

    2.  An unsuccessful run may occur from an I/O error and not
have any output.  Examples of an unsuccessful run due to I/O
errors:

"Error in opening input blue book file" 

     Possible resolution:  incorrect file name indicated.

"Error in opening program output file" 

     Possible resolution:  This should be a new file and should
not exist prior to this run, you may have a duplicate filename.

"Error in opening direct access error message file - NEWERROR.DIR"

     Possible resolution:   The file may not be on the
default disk. 

"Error in opening temp direct access output blue book file"

     Possible resolution:  This is a temporary file used only for
the duration.  There may be a duplicate filename.

"Error in opening temp sequential output error file"

     Possible resolution:  This is a temporary file used only for
the duration.  There may be a duplicate filename.

C.  EXECUTING NEWCHKOB

The user will be supplied with a floppy disk containing 3 files:

    NEWCHKOB.EXE, CONTRIB.DAT and NEWERROR.DIR 

The user should load these onto the PC's hard disk.

If you do not have a hard disk, the drive that this disk is
inserted into should be set as the default drive.

   To execute: enter  NEWCHKOB

   The following prompts will appear for Newchkob:

   "Welcome to program Newchkob v 1.6.3"
   "Check new format blue book obs data set (4  digit ssns)"
   "Enter the blue book observation file name -"

   Type in the name of the observation data set (include disk
   drive designation if it is not on the default disk).
   Example: A:G16471.b

   "Enter program output file name -"

   Type in the name of the output file name (include disk drive
   designation if it is not on the default disk).
   Example: A:G16471.out

   The output will then exist on that specified file.  If you
   want to look at the output go into the file via your editor and
   scan through it.

   Review printed listing of error messages, edit the input data set
   and then run Newchkob again.  Continue this procedure until all of
   the error messages have been corrected or addressed to your
   satisfaction.
