LOGGER.info('Server: ' + str(server))
        except:
            LOGGER.error('Error: Check connection to database server')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            analysis_sid = db.analysis_sid(analysis_name)
            LOGGER.info('Analysis SID: ' + str(analysis_sid))
        except:
            LOGGER.error('Error: Failed to extract the analysis SID from analysis name')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            result_sid = db.result_sid(analysis_sid)
            LOGGER.info('Mod Result SID: ' + str(result_sid))
        except:
            LOGGER.error('Error: Failed to extract result SID from analysis SID')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            location_information = db.get_loc_info_policy(exposure_db, exposure_name, result_db, result_sid)
            LOGGER.info('Location Information:\n ' + str(location_information))
        except:
            LOGGER.error('Error: Failed to extract location information')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
        except:
            LOGGER.error('Error: Check connection to database server')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            analysis_sid = db.analysis_sid(analysis_name)
            LOGGER.info('Analysis SID: ' + str(analysis_sid))
        except:
            LOGGER.error(
                'Error: Failed to extract the analysis SID from analysis name')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            result_sid = db.result_sid(analysis_sid)
            LOGGER.info('Mod Result SID: ' + str(result_sid))
        except:
            LOGGER.error(
                'Error: Failed to extract result SID from analysis SID')
            file_skeleton(OUTFILE)
            sys.exit()

        try:
            location_information = db.get_loc_info_policy(
                exposure_db, exposure_name, result_db, result_sid)
            LOGGER.info('Location Information:\n ' + str(location_information))
        except:
            LOGGER.error('Error: Failed to extract location information')
            file_skeleton(OUTFILE)
            sys.exit()