Magnetic field response and flux pinning in a high Tc squid