MERGE
CTRACE COMP(SYSjes2) SUB((JQE)) FULL
CTRACE COMP(SYSjes2) SUB((JOE)) FULL
MERGEEND
You can write an IPCS CLIST to issue the CTRACE command for both sublevels and merge the output automatically. See z/OS MVS IPCS Customization for information on writing a CLIST.