Compounds are provided which are useful as antidiabetic agents and
antiobesity agents and have the structure
##STR1##
wherein m is 0, 1 or 2; n is 0, 1 or 2;
Q is C or N;
A is (CH.sub.2).sub.x where x is 1 to 5, or A is (CH.sub.2).sub.x.sup.1
where x.sup.1 is 1 to 5 with an alkenyl bond or an alkynyl bond embedded
anywhere in the chain, or A is --(CH.sub.2).sub.x.sup.2
--O--(CH.sub.2).sub.x.sup.3 -- where x.sup.2 is 0 to 5 and x.sup.3 is 0 to
5, provided that at least one of x.sup.2 and x.sup.3 is other than 0;
B is a bond or is (CH.sub.2).sub.x.sup.4 where x.sup.4 is 1 to 5;
X is CH or N;
X.sub.2 is C, N, O or S;
X.sub.3 is C, N, O or S;
X.sub.4 is C, N, O or S;
X.sub.5 is C, N, O or S;
X.sub.6 is C, N, O or S;
and A, R.sup.1, R.sup.2, R.sup.2a, R.sup.2b, R.sup.2c, R.sup.3 and Y are as
defined herein.