How to find out which jobs are referencing my AutoSys variable?

I need to list out all the AutoSys jobs that are referencing a particular AutoSys global variable.

I know the autorep command will definitely need to be used here, and maybe grep as well, but I can't figure out exactly how it's to be done. For example, "autorep -q -J %jobnamewildcard% | grep MY_VARIABLE" will list out all the lines referencing the GV, but doesn't tell me which job the line comes from.

Similarly, how do I find out which Autosys job contains a particular string or regular expression? "autorep -J % | grep <mykeyword>" won't do, since it'll only show the line but not the job name.