I just had a co-worker figure out the issue. vwjobtransactionsummary is in a SQL DB. The issue is that the report would run, just not do a join and show only the top 10. But below is the code a co-worker sent me that worked.
Thanks for the help.
TABLE FILE dm_global/vwjobtransactionsummary
SUM
VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.REVAMOUNT AS 'CL_REV'
COMPUTE CLCODE/A100=VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.JH_LOCALCLIENTCODE;
BY TOTAL HIGHEST 10 VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.REVAMOUNT NOPRINT
BY VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.JH_LOCALCLIENTCODE
WHERE VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.FISCALYEAR EQ '2018'
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS HOLD_SUMMARY FORMAT FOCUS INDEX CLCODE
-RUN
-*? HOLD HOLD_SUMMARY
-*TABLE FILE HOLD_SUMMARY
-*PRINT *
-*END
-*-EXIT
JOIN LEFT_OUTER JH_LOCALCLIENTCODE IN dm_global/vwjobtransactionsummary
TO UNIQUE CLCODE IN HOLD_SUMMARY AS J1
END
TABLE FILE dm_global/vwjobtransactionsummary
SUM
VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.REVAMOUNT
VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.AL_LINEAMOUNT
VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.TEU
BY VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.JH_LOCALCLIENTCODE
BY VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.INVOICEYEAR
BY VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.INVOICEMONTH
WHERE VWJOBTRANSACTIONSUMMARY.VWJOBTRANSACTIONSUMMARY.FISCALYEAR EQ '2018'
WHERE CL_REV NE '';
WebFOCUS 8.1