Daily_QC
Classes | Macros | Functions | Variables
pro_qtrly.c File Reference
#include <sqlhdr.h>
#include "prototypes.h"
Include dependency graph for pro_qtrly.c:

Go to the source code of this file.

Classes

struct  sqlca_s
 
struct  sqlca_s::sqlcaw_s
 
struct  pro_qrtly_rec
 
struct  data_rec
 

Macros

#define SQLCA_INCL
 
#define SQLNOTFOUND   100
 

Functions

_SQCURSOR * _iqnprep ()
 
void change_date ()
 
int pro_qtrly (char *hb5, char *parm, struct stim begin_date, struct stim end_date, char *qual, struct stn_values *stn_values)
 
int get_val06_array ()
 
void change_date (int *year, int *month, int *day)
 

Variables

struct sqlca_s sqlca
 
long SQLCODE
 
int eyr
 
int emo
 
int edy
 
int byr
 
int bmo
 
int bdy
 
struct pro_qrtly_rec qtrly_rec
 
struct data_rec data_record
 
int mday [] ={31,28,31,30,31,30,31,31,30,31,30,31}
 

Macro Definition Documentation

◆ SQLCA_INCL

#define SQLCA_INCL

Definition at line 37 of file pro_qtrly.c.

◆ SQLNOTFOUND

#define SQLNOTFOUND   100

Definition at line 83 of file pro_qtrly.c.

Function Documentation

◆ _iqnprep()

_SQCURSOR* _iqnprep ( )

◆ change_date() [1/2]

void change_date ( )
Here is the caller graph for this function:

◆ change_date() [2/2]

void change_date ( int *  year,
int *  month,
int *  day 
)

Definition at line 433 of file pro_qtrly.c.

◆ get_val06_array()

int get_val06_array ( )

Definition at line 416 of file pro_qtrly.c.

Here is the caller graph for this function:

◆ pro_qtrly()

int pro_qtrly ( char *  hb5,
char *  parm,
struct stim  begin_date,
struct stim  end_date,
char *  qual,
struct stn_values stn_values 
)

Definition at line 150 of file pro_qtrly.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bdy

int bdy

Definition at line 94 of file pro_qtrly.c.

◆ bmo

int bmo

Definition at line 94 of file pro_qtrly.c.

◆ byr

int byr

Definition at line 94 of file pro_qtrly.c.

◆ data_record

struct data_rec data_record

◆ edy

int edy

Definition at line 93 of file pro_qtrly.c.

◆ emo

int emo

Definition at line 93 of file pro_qtrly.c.

◆ eyr

int eyr

Definition at line 93 of file pro_qtrly.c.

◆ mday

int mday[] ={31,28,31,30,31,30,31,31,30,31,30,31}

Definition at line 431 of file pro_qtrly.c.

◆ qtrly_rec

struct pro_qrtly_rec qtrly_rec

◆ sqlca

struct sqlca_s sqlca
extern

◆ SQLCODE

long SQLCODE
extern