main() { EXEC SQL BEGIN DECLARE SECTION; char dbname[21]; char qyrq[31]; char comm[201]; int i=0; EXEC SQL END DECLARE SECTION; sprintf(dbname,"%s",getenv("DBNAME")) ;