condensation with either primary or secondary amines affording the benzamide derivatives (3—7), while with alcohols in presence of the base, corresponding esters were obtained (8 and 9). Acylation of the hydrazide (12) or its cyclized form (13) gave (14—17). The quinazolinone derivative (18) was obtained either when (12) was reacted with nitrous acid or via fusion of (2) with ammonium acetate. The thione