FORTRAN Generation
(/./ftp/cats/VII/215/)

Conversion of standardized ReadMe file for file /./ftp/cats/VII/215/ into FORTRAN code for reading data files line by line.

Note that special values are assigned to unknown or unspecified numbers (also called NULL numbers); when necessary, the coordinate components making up the right ascension and declination are converted into floating-point numbers representing these angles in degrees.



      program load_ReadMe
C=============================================================================
C  F77-compliant program generated by readme2f_1.5, on 2013-May-25
C=============================================================================
*  This code was generated from the ReadMe file documenting a catalogue
*  according to the "Standard for Documentation of Astronomical Catalogues"
*  currently in use by the Astronomical Data Centers (CDS, ADC, A&A)
*  (see full documentation at URL http://vizier.u-strasbg.fr/doc/catstd.htx)
*  Please report problems or questions to   
C=============================================================================

      implicit none
*  Unspecified or NULL values, generally corresponding to blank columns,
*  are assigned one of the following special values:
*     rNULL__    for unknown or NULL floating-point values
*     iNULL__    for unknown or NULL   integer      values
      real*4     rNULL__
      integer*4  iNULL__
      parameter  (rNULL__=-1.e37)     	! NULL real number
      parameter  (iNULL__=-2147483647)	! NULL int  number

C=============================================================================
Cat. VII/215             Quasars and Active Galactic Nuclei (9th Ed.)  (Veron+ 2000)
*================================================================================
*Quasars and Active Galactic Nuclei (9th Ed.)
*     Veron-Cetty M.P., Veron P.
*    <ESO Scientific Report (in press)>
*    =2000ESOSR..19....1V
C=============================================================================

C  Internal variables

      integer*4 i__

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table1.dat'	! Quasars (brighter than absolute magnitude -23)

      integer*4 nr__
      parameter (nr__=13214)	! Number of records
      character*142 ar__   	! Full-size record

      real*8        RA_         ! (deg) Right Ascension J2000
      real*8        Dec         ! (deg)     Declination J2000
      character*1   notRadio    ! [*] '*' if not detected in radio (1)
      character*17  Name        ! Most common name of the object
      integer*4     RAh         ! (h) Right Ascension J2000 (hours) (see also n_RAh)
      integer*4     RAm         ! (min) Right Ascension J2000 (minutes)
      real*4        RAs         ! (s) Right Ascension J2000 (seconds)
      character*1   DE_         ! Declination J2000 (sign)
      integer*4     DEd         ! (deg) Declination J2000 (degrees)
      integer*4     DEm         ! (arcmin) Declination J2000 (minutes)
      integer*4     DEs         ! (arcsec) Declination J2000 (seconds)
      character*1   n_RAh       ! [AOR] Approximative/Optical/Radio position (2)
      real*4        F6cm        ! (Jy) ? 6cm (5GHz) flux
      integer*4     r_F6cm      ! [1,2054]? Reference of 6cm Flux
      real*4        F11cm       ! (Jy) ? 11cm (2.7GHz) flux (Jy)
      integer*4     r_F11cm     ! [1,2054]? Reference of 11cm flux
      character*1   l_z         ! [>*] limit or method flag on z (4)
      real*4        z           ! ? redshift
      character*4   Sp          ! [S0-9?HPBLbhin. ] Spectrum classification (3)
      character*1   n_Vmag      ! [*RIO] Photographic(*), red(R), infra-red(I)
*                                   or photographic O- of J- plates(O)
      real*4        Vmag        ! (mag) ? magnitude, V or other (see n_Vmag)
      real*4        B_V         ! (mag) ? colour index
      real*4        U_B         ! (mag) ? colour index
      real*4        Mabs        ! (mag) ? Absolute magnitude
      integer*4     FC          ! [1,2054]? Reference of the Finding Chart
      integer*4     r_Vmag      ! [1,2054]? Reference of the Photometry
      integer*4     r_z         ! [1,2054]? Reference of the redshift
      integer*4     RA1950h     ! (h) Right Ascension B1950 (hours)
      integer*4     RA1950m     ! (min) Right Ascension B1950 (minutes)
      real*4        RA1950s     ! (s) Right Ascension B1950 (seconds)
      character*1   DE1950_     ! Declination B1950 (sign)
      integer*4     DE1950d     ! (deg) Declination B1950 (degrees)
      integer*4     DE1950m     ! (arcmin) Declination B1950 (minutes)
      integer*4     DE1950s     ! (arcsec) Declination B1950 (seconds)
*Note (1): this flag is blank if the object has been detected as a
*    radio source, and is '*' if not.
*Note (2): this flag related to the position takes the values:
*     'O' for an Optical position with an accuracy better than 1arcsec
*     'R' for a Radio position with an accuracy better than 1arcsec
*     'A' for an approximative position
*Note (3): the classification of the object is
*     S1:  Seyfert 1 spectrum
*     S1h: broad polarized Balmer lines detected
*     S1i: broad Paschen lines observed in the infrared
*     S1n: narrow-line Seyfert 1
*     S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies
*     S2:  Seyfert 2 spectrum
*     S3:  Seyfert 3 or liner
*     S :  unclassified Seyfert
*     S?:  possibly a Seyfert
*     H2:  nuclear HII region
*     HP:  high optical polarization (>3%)
*     BL:  confirmed BL Lac object
*Note (4): n_z may indicate a lower limit on z, or
*     '*', if the redshift is measured by slitless spectroscopy.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table2.dat'	! Confirmed, probable or possible BL Lac objects

      integer*4 nr__1
      parameter (nr__1=462)	! Number of records
      character*142 ar__1  	! Full-size record

      real*8        RA__1       ! (deg) Right Ascension J2000
      real*8        Dec_1       ! (deg)     Declination J2000
      character*1   notRadio_1  ! [*] '*' if not detected in radio (1)
      character*17  Name_1      ! Most common name of the object
      integer*4     RAh_1       ! (h) Right Ascension J2000 (hours) (see also n_RAh)
      integer*4     RAm_1       ! (min) Right Ascension J2000 (minutes)
      real*4        RAs_1       ! (s) Right Ascension J2000 (seconds)
      character*1   DE__1       ! Declination J2000 (sign)
      integer*4     DEd_1       ! (deg) Declination J2000 (degrees)
      integer*4     DEm_1       ! (arcmin) Declination J2000 (minutes)
      integer*4     DEs_1       ! (arcsec) Declination J2000 (seconds)
      character*1   n_RAh_1     ! [AOR] Approximative/Optical/Radio position (2)
      real*4        F6cm_1      ! (Jy) ? 6cm (5GHz) flux
      integer*4     r_F6cm_1    ! [1,2054]? Reference of 6cm Flux
      real*4        F11cm_1     ! (Jy) ? 11cm (2.7GHz) flux (Jy)
      integer*4     r_F11cm_1   ! [1,2054]? Reference of 11cm flux
      character*1   l_z_1       ! [>*] limit or method flag on z (4)
      real*4        z_1         ! ? redshift
      character*4   Sp_1        ! [S0-9?HPBLbhin. ] Spectrum classification (3)
      character*1   n_Vmag_1    ! [*RIO] Photographic(*), red(R), infra-red(I)
*                                   or photographic O- of J- plates(O)
      real*4        Vmag_1      ! (mag) ? magnitude, V or other (see n_Vmag)
      real*4        B_V_1       ! (mag) ? colour index
      real*4        U_B_1       ! (mag) ? colour index
      real*4        Mabs_1      ! (mag) ? Absolute magnitude
      integer*4     FC_1        ! [1,2054]? Reference of the Finding Chart
      integer*4     r_Vmag_1    ! [1,2054]? Reference of the Photometry
      integer*4     r_z_1       ! [1,2054]? Reference of the redshift
      integer*4     RA1950h_1   ! (h) Right Ascension B1950 (hours)
      integer*4     RA1950m_1   ! (min) Right Ascension B1950 (minutes)
      real*4        RA1950s_1   ! (s) Right Ascension B1950 (seconds)
      character*1   DE1950__1   ! Declination B1950 (sign)
      integer*4     DE1950d_1   ! (deg) Declination B1950 (degrees)
      integer*4     DE1950m_1   ! (arcmin) Declination B1950 (minutes)
      integer*4     DE1950s_1   ! (arcsec) Declination B1950 (seconds)
*Note (1): this flag is blank if the object has been detected as a
*    radio source, and is '*' if not.
*Note (2): this flag related to the position takes the values:
*     'O' for an Optical position with an accuracy better than 1arcsec
*     'R' for a Radio position with an accuracy better than 1arcsec
*     'A' for an approximative position
*Note (3): the classification of the object is
*     S1:  Seyfert 1 spectrum
*     S1h: broad polarized Balmer lines detected
*     S1i: broad Paschen lines observed in the infrared
*     S1n: narrow-line Seyfert 1
*     S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies
*     S2:  Seyfert 2 spectrum
*     S3:  Seyfert 3 or liner
*     S :  unclassified Seyfert
*     S?:  possibly a Seyfert
*     H2:  nuclear HII region
*     HP:  high optical polarization (>3%)
*     BL:  confirmed BL Lac object
*Note (4): n_z may indicate a lower limit on z, or
*     '*', if the redshift is measured by slitless spectroscopy.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table3.dat'	! Active galaxies (fainter than -23)

      integer*4 nr__2
      parameter (nr__2=4428)	! Number of records
      character*142 ar__2  	! Full-size record

      real*8        RA__2       ! (deg) Right Ascension J2000
      real*8        Dec_2       ! (deg)     Declination J2000
      character*1   notRadio_2  ! [*] '*' if not detected in radio (1)
      character*17  Name_2      ! Most common name of the object
      integer*4     RAh_2       ! (h) Right Ascension J2000 (hours) (see also n_RAh)
      integer*4     RAm_2       ! (min) Right Ascension J2000 (minutes)
      real*4        RAs_2       ! (s) Right Ascension J2000 (seconds)
      character*1   DE__2       ! Declination J2000 (sign)
      integer*4     DEd_2       ! (deg) Declination J2000 (degrees)
      integer*4     DEm_2       ! (arcmin) Declination J2000 (minutes)
      integer*4     DEs_2       ! (arcsec) Declination J2000 (seconds)
      character*1   n_RAh_2     ! [AOR] Approximative/Optical/Radio position (2)
      real*4        F6cm_2      ! (Jy) ? 6cm (5GHz) flux
      integer*4     r_F6cm_2    ! [1,2054]? Reference of 6cm Flux
      real*4        F11cm_2     ! (Jy) ? 11cm (2.7GHz) flux (Jy)
      integer*4     r_F11cm_2   ! [1,2054]? Reference of 11cm flux
      character*1   l_z_2       ! [>*] limit or method flag on z (4)
      real*4        z_2         ! ? redshift
      character*4   Sp_2        ! [S0-9?HPBLbhin. ] Spectrum classification (3)
      character*1   n_Vmag_2    ! [*RIO] Photographic(*), red(R), infra-red(I)
*                                   or photographic O- of J- plates(O)
      real*4        Vmag_2      ! (mag) ? magnitude, V or other (see n_Vmag)
      real*4        B_V_2       ! (mag) ? colour index
      real*4        U_B_2       ! (mag) ? colour index
      real*4        Mabs_2      ! (mag) ? Absolute magnitude
      integer*4     FC_2        ! [1,2054]? Reference of the Finding Chart
      integer*4     r_Vmag_2    ! [1,2054]? Reference of the Photometry
      integer*4     r_z_2       ! [1,2054]? Reference of the redshift
      integer*4     RA1950h_2   ! (h) Right Ascension B1950 (hours)
      integer*4     RA1950m_2   ! (min) Right Ascension B1950 (minutes)
      real*4        RA1950s_2   ! (s) Right Ascension B1950 (seconds)
      character*1   DE1950__2   ! Declination B1950 (sign)
      integer*4     DE1950d_2   ! (deg) Declination B1950 (degrees)
      integer*4     DE1950m_2   ! (arcmin) Declination B1950 (minutes)
      integer*4     DE1950s_2   ! (arcsec) Declination B1950 (seconds)
*Note (1): this flag is blank if the object has been detected as a
*    radio source, and is '*' if not.
*Note (2): this flag related to the position takes the values:
*     'O' for an Optical position with an accuracy better than 1arcsec
*     'R' for a Radio position with an accuracy better than 1arcsec
*     'A' for an approximative position
*Note (3): the classification of the object is
*     S1:  Seyfert 1 spectrum
*     S1h: broad polarized Balmer lines detected
*     S1i: broad Paschen lines observed in the infrared
*     S1n: narrow-line Seyfert 1
*     S1.0, S1.2, S1.5, S1.8, S1.9: intermediate Seyfert galaxies
*     S2:  Seyfert 2 spectrum
*     S3:  Seyfert 3 or liner
*     S :  unclassified Seyfert
*     S?:  possibly a Seyfert
*     H2:  nuclear HII region
*     HP:  high optical polarization (>3%)
*     BL:  confirmed BL Lac object
*Note (4): n_z may indicate a lower limit on z, or
*     '*', if the redshift is measured by slitless spectroscopy.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'table4.dat'	! Rejected quasars

      integer*4 nr__3
      parameter (nr__3=55)	! Number of records
      character*130 ar__3  	! Full-size record

      real*8        RA__3       ! (deg) Right Ascension J2000
      real*8        Dec_3       ! (deg)     Declination J2000
      character*1   notRadio_3  ! [*] '*' if not detected in radio (1)
      character*17  Name_3      ! Most common name of the object
      integer*4     RAh_3       ! (h) Right Ascension J2000 (hours)
      integer*4     RAm_3       ! (min) Right Ascension J2000 (minutes)
      real*4        RAs_3       ! (s) Right Ascension J2000 (seconds)
      character*1   DE__3       ! Declination J2000 (sign)
      integer*4     DEd_3       ! (deg) Declination J2000 (degrees)
      integer*4     DEm_3       ! (arcmin) Declination J2000 (minutes)
      integer*4     DEs_3       ! (arcsec) Declination J2000 (seconds)
      character*1   n_RAh_3     ! [OAR] Approximative/Optical/Radio position
      character*1   n_z         ! [*] '*' for z measured by slitless
*                                  spectroscopy
      real*4        z_3         ! ? Original redshift
      character*2   Sp_3        ! [QG?BL ] Original classification
      character*1   n_Vmag_3    ! [*R] if photographic magnitudes and colours
      real*4        Vmag_3      ! (mag) ? V (or photographic, see n_Vmag) magnitude
      real*4        B_V_3       ! (mag) ? colour index
      real*4        U_B_3       ! (mag) ? colour index
      integer*4     FC_3        ! [1,2054]? Reference of Finding Chart
      integer*4     r_Vmag_3    ! [1,2054]? Reference of the Photometry
      integer*4     r_Sp        ! [1,2054]? Reference of Sp
      character*2   Sp2         ! [QG*? ] New classification
      integer*4     r_Sp2       ! [1,2054]? Reference of New classification
      integer*4     RA1950h_3   ! (h) Right Ascension B1950 (hours)
      integer*4     RA1950m_3   ! (min) Right Ascension B1950 (minutes)
      real*4        RA1950s_3   ! (s) Right Ascension B1950 (seconds)
      character*1   DE1950__3   ! Declination B1950 (sign)
      integer*4     DE1950d_3   ! (deg) Declination B1950 (degrees)
      integer*4     DE1950m_3   ! (arcmin) Declination B1950 (minutes)
      integer*4     DE1950s_3   ! (arcsec) Declination B1950 (seconds)
*Note (1): this flag is blank if the object has been detected as a
*    radio source, and is '*' if not.

c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

C  Declarations for 'refs.dat'	! References to tables 1 to 4

      integer*4 nr__4
      parameter (nr__4=4220)	! Number of records
      character*90 ar__4  	! Full-size record

      integer*4     RefCode     ! [1,2054]+= Reference Number
      character*85  Text        ! *Text of reference (may be on several lines);
*                                   the last line is the "bibcode"
*Note on Text: the last line of a reference is the "bibcode", a 19-digit code
*     referencing the reference used by SIMBAD, NED, and ADS.
*     When the text cannot fit on a single line, continuation lines are
*     used and the RefCode is repeated,

C=============================================================================

C  Loading file 'table1.dat'	! Quasars (brighter than absolute magnitude -23)

C  Format for file interpretation

    1 format(
     +  1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X,
     +  F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1,
     +  I2,1X,I2,1X,I2)

C  Effective file loading

      open(unit=1,file='table1.dat', status='old')
      write(6,*) '....Loading file: table1.dat'
      do i__=1,13214
        read(1,'(A142)')ar__
        read(ar__,1)
     +  notRadio,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,F6cm,r_F6cm,
     +  F11cm,r_F11cm,l_z,z,Sp,n_Vmag,Vmag,B_V,U_B,Mabs,FC,r_Vmag,r_z,
     +  RA1950h,RA1950m,RA1950s,DE1950_,DE1950d,DE1950m,DE1950s
        if(ar__(46:51) .EQ. '') F6cm = rNULL__
        if(ar__(53:56) .EQ. '') r_F6cm = iNULL__
        if(ar__(59:63) .EQ. '') F11cm = rNULL__
        if(ar__(65:68) .EQ. '') r_F11cm = iNULL__
        if(ar__(71:75) .EQ. '') z = rNULL__
        if(ar__(83:87) .EQ. '') Vmag = rNULL__
        if(ar__(89:93) .EQ. '') B_V = rNULL__
        if(ar__(95:99) .EQ. '') U_B = rNULL__
        if(ar__(101:105) .EQ. '') Mabs = rNULL__
        if(ar__(107:110) .EQ. '') FC = iNULL__
        if(ar__(112:115) .EQ. '') r_Vmag = iNULL__
        if(ar__(117:120) .EQ. '') r_z = iNULL__
c       Derive coordinates RA_ and Dec from input data
c       (RA_ and Dec are set to rNULL_ when unknown)
        RA_ = RAh
        if(RAh .GE. 0) RA_=RAh*15.
        if(RAm .GE. 0) RA_=RA_+RAm/4.
        if(RAs .GE. 0) RA_=RA_+RAs/240.
        Dec = DEd
        if(DEm .GE. 0) Dec=Dec+DEm/60.
        if(DEs .GE. 0) Dec=Dec+DEs/3600.
        if(DE_.EQ.'-'.AND.Dec.GE.0) Dec=-Dec
c    ..............Just test output...........
        write(6,1)
     +  notRadio,Name,RAh,RAm,RAs,DE_,DEd,DEm,DEs,n_RAh,F6cm,r_F6cm,
     +  F11cm,r_F11cm,l_z,z,Sp,n_Vmag,Vmag,B_V,U_B,Mabs,FC,r_Vmag,r_z,
     +  RA1950h,RA1950m,RA1950s,DE1950_,DE1950d,DE1950m,DE1950s
        write(6,'(6H Pos: 2F8.4)') RA_,Dec
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table2.dat'	! Confirmed, probable or possible BL Lac objects

C  Format for file interpretation

    2 format(
     +  1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X,
     +  F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1,
     +  I2,1X,I2,1X,I2)

C  Effective file loading

      open(unit=1,file='table2.dat', status='old')
      write(6,*) '....Loading file: table2.dat'
      do i__=1,462
        read(1,'(A142)')ar__1
        read(ar__1,2)
     +  notRadio_1,Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,
     +  n_RAh_1,F6cm_1,r_F6cm_1,F11cm_1,r_F11cm_1,l_z_1,z_1,Sp_1,
     +  n_Vmag_1,Vmag_1,B_V_1,U_B_1,Mabs_1,FC_1,r_Vmag_1,r_z_1,
     +  RA1950h_1,RA1950m_1,RA1950s_1,DE1950__1,DE1950d_1,DE1950m_1,
     +  DE1950s_1
        if(ar__1(46:51) .EQ. '') F6cm_1 = rNULL__
        if(ar__1(53:56) .EQ. '') r_F6cm_1 = iNULL__
        if(ar__1(59:63) .EQ. '') F11cm_1 = rNULL__
        if(ar__1(65:68) .EQ. '') r_F11cm_1 = iNULL__
        if(ar__1(71:75) .EQ. '') z_1 = rNULL__
        if(ar__1(83:87) .EQ. '') Vmag_1 = rNULL__
        if(ar__1(89:93) .EQ. '') B_V_1 = rNULL__
        if(ar__1(95:99) .EQ. '') U_B_1 = rNULL__
        if(ar__1(101:105) .EQ. '') Mabs_1 = rNULL__
        if(ar__1(107:110) .EQ. '') FC_1 = iNULL__
        if(ar__1(112:115) .EQ. '') r_Vmag_1 = iNULL__
        if(ar__1(117:120) .EQ. '') r_z_1 = iNULL__
c       Derive coordinates RA__1 and Dec_1 from input data
c       (RA__1 and Dec_1 are set to rNULL_ when unknown)
        RA__1 = RAh_1
        if(RAh_1 .GE. 0) RA__1=RAh_1*15.
        if(RAm_1 .GE. 0) RA__1=RA__1+RAm_1/4.
        if(RAs_1 .GE. 0) RA__1=RA__1+RAs_1/240.
        Dec_1 = DEd_1
        if(DEm_1 .GE. 0) Dec_1=Dec_1+DEm_1/60.
        if(DEs_1 .GE. 0) Dec_1=Dec_1+DEs_1/3600.
        if(DE__1.EQ.'-'.AND.Dec_1.GE.0) Dec_1=-Dec_1
c    ..............Just test output...........
        write(6,2)
     +  notRadio_1,Name_1,RAh_1,RAm_1,RAs_1,DE__1,DEd_1,DEm_1,DEs_1,
     +  n_RAh_1,F6cm_1,r_F6cm_1,F11cm_1,r_F11cm_1,l_z_1,z_1,Sp_1,
     +  n_Vmag_1,Vmag_1,B_V_1,U_B_1,Mabs_1,FC_1,r_Vmag_1,r_z_1,
     +  RA1950h_1,RA1950m_1,RA1950s_1,DE1950__1,DE1950d_1,DE1950m_1,
     +  DE1950s_1
        write(6,'(6H Pos: 2F8.4)') RA__1,Dec_1
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table3.dat'	! Active galaxies (fainter than -23)

C  Format for file interpretation

    3 format(
     +  1X,A1,A17,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,2X,
     +  F6.3,1X,I4,2X,F5.2,1X,I4,1X,A1,F5.3,1X,A4,1X,A1,F5.2,1X,F5.2,
     +  1X,F5.2,1X,F5.1,1X,I4,1X,I4,1X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1,
     +  I2,1X,I2,1X,I2)

C  Effective file loading

      open(unit=1,file='table3.dat', status='old')
      write(6,*) '....Loading file: table3.dat'
      do i__=1,4428
        read(1,'(A142)')ar__2
        read(ar__2,3)
     +  notRadio_2,Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,
     +  n_RAh_2,F6cm_2,r_F6cm_2,F11cm_2,r_F11cm_2,l_z_2,z_2,Sp_2,
     +  n_Vmag_2,Vmag_2,B_V_2,U_B_2,Mabs_2,FC_2,r_Vmag_2,r_z_2,
     +  RA1950h_2,RA1950m_2,RA1950s_2,DE1950__2,DE1950d_2,DE1950m_2,
     +  DE1950s_2
        if(ar__2(46:51) .EQ. '') F6cm_2 = rNULL__
        if(ar__2(53:56) .EQ. '') r_F6cm_2 = iNULL__
        if(ar__2(59:63) .EQ. '') F11cm_2 = rNULL__
        if(ar__2(65:68) .EQ. '') r_F11cm_2 = iNULL__
        if(ar__2(71:75) .EQ. '') z_2 = rNULL__
        if(ar__2(83:87) .EQ. '') Vmag_2 = rNULL__
        if(ar__2(89:93) .EQ. '') B_V_2 = rNULL__
        if(ar__2(95:99) .EQ. '') U_B_2 = rNULL__
        if(ar__2(101:105) .EQ. '') Mabs_2 = rNULL__
        if(ar__2(107:110) .EQ. '') FC_2 = iNULL__
        if(ar__2(112:115) .EQ. '') r_Vmag_2 = iNULL__
        if(ar__2(117:120) .EQ. '') r_z_2 = iNULL__
c       Derive coordinates RA__2 and Dec_2 from input data
c       (RA__2 and Dec_2 are set to rNULL_ when unknown)
        RA__2 = RAh_2
        if(RAh_2 .GE. 0) RA__2=RAh_2*15.
        if(RAm_2 .GE. 0) RA__2=RA__2+RAm_2/4.
        if(RAs_2 .GE. 0) RA__2=RA__2+RAs_2/240.
        Dec_2 = DEd_2
        if(DEm_2 .GE. 0) Dec_2=Dec_2+DEm_2/60.
        if(DEs_2 .GE. 0) Dec_2=Dec_2+DEs_2/3600.
        if(DE__2.EQ.'-'.AND.Dec_2.GE.0) Dec_2=-Dec_2
c    ..............Just test output...........
        write(6,3)
     +  notRadio_2,Name_2,RAh_2,RAm_2,RAs_2,DE__2,DEd_2,DEm_2,DEs_2,
     +  n_RAh_2,F6cm_2,r_F6cm_2,F11cm_2,r_F11cm_2,l_z_2,z_2,Sp_2,
     +  n_Vmag_2,Vmag_2,B_V_2,U_B_2,Mabs_2,FC_2,r_Vmag_2,r_z_2,
     +  RA1950h_2,RA1950m_2,RA1950s_2,DE1950__2,DE1950d_2,DE1950m_2,
     +  DE1950s_2
        write(6,'(6H Pos: 2F8.4)') RA__2,Dec_2
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'table4.dat'	! Rejected quasars

C  Format for file interpretation

    4 format(
     +  1X,A1,A17,4X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2,1X,A1,4X,
     +  A1,F5.3,2X,A2,2X,A1,F5.2,2X,F5.2,2X,F5.2,2X,I4,1X,I4,1X,I4,3X,
     +  A2,2X,I4,2X,I2,1X,I2,1X,F4.1,1X,A1,I2,1X,I2,1X,I2)

C  Effective file loading

      open(unit=1,file='table4.dat', status='old')
      write(6,*) '....Loading file: table4.dat'
      do i__=1,55
        read(1,'(A130)')ar__3
        read(ar__3,4)
     +  notRadio_3,Name_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,
     +  n_RAh_3,n_z,z_3,Sp_3,n_Vmag_3,Vmag_3,B_V_3,U_B_3,FC_3,
     +  r_Vmag_3,r_Sp,Sp2,r_Sp2,RA1950h_3,RA1950m_3,RA1950s_3,
     +  DE1950__3,DE1950d_3,DE1950m_3,DE1950s_3
        if(ar__3(51:55) .EQ. '') z_3 = rNULL__
        if(ar__3(63:67) .EQ. '') Vmag_3 = rNULL__
        if(ar__3(70:74) .EQ. '') B_V_3 = rNULL__
        if(ar__3(77:81) .EQ. '') U_B_3 = rNULL__
        if(ar__3(84:87) .EQ. '') FC_3 = iNULL__
        if(ar__3(89:92) .EQ. '') r_Vmag_3 = iNULL__
        if(ar__3(94:97) .EQ. '') r_Sp = iNULL__
        if(ar__3(105:108) .EQ. '') r_Sp2 = iNULL__
c       Derive coordinates RA__3 and Dec_3 from input data
c       (RA__3 and Dec_3 are set to rNULL_ when unknown)
        RA__3 = RAh_3
        if(RAh_3 .GE. 0) RA__3=RAh_3*15.
        if(RAm_3 .GE. 0) RA__3=RA__3+RAm_3/4.
        if(RAs_3 .GE. 0) RA__3=RA__3+RAs_3/240.
        Dec_3 = DEd_3
        if(DEm_3 .GE. 0) Dec_3=Dec_3+DEm_3/60.
        if(DEs_3 .GE. 0) Dec_3=Dec_3+DEs_3/3600.
        if(DE__3.EQ.'-'.AND.Dec_3.GE.0) Dec_3=-Dec_3
c    ..............Just test output...........
        write(6,4)
     +  notRadio_3,Name_3,RAh_3,RAm_3,RAs_3,DE__3,DEd_3,DEm_3,DEs_3,
     +  n_RAh_3,n_z,z_3,Sp_3,n_Vmag_3,Vmag_3,B_V_3,U_B_3,FC_3,
     +  r_Vmag_3,r_Sp,Sp2,r_Sp2,RA1950h_3,RA1950m_3,RA1950s_3,
     +  DE1950__3,DE1950d_3,DE1950m_3,DE1950s_3
        write(6,'(6H Pos: 2F8.4)') RA__3,Dec_3
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================

C  Loading file 'refs.dat'	! References to tables 1 to 4

C  Format for file interpretation

    5 format(I4,1X,A85)

C  Effective file loading

      open(unit=1,file='refs.dat', status='old')
      write(6,*) '....Loading file: refs.dat'
      do i__=1,4220
        read(1,'(A90)')ar__4
        read(ar__4,5)RefCode,Text
c    ..............Just test output...........
        write(6,5)RefCode,Text
c    .......End.of.Just test output...........
      end do
      close(1)

C=============================================================================
      stop
      end