problemRandomize.plmacros in the
PGcourse.plfile (see the documentation for the file, near the bottom), so perhaps someone has done that at your institution.
Note that this approach only works for problems that load
PGcourse.pl. We encourage people to do that, but not everyone does, and there are lots of problems in the library that don't include this.