The syntax of objcomp script function is not given. This is a complicated function. It is suggested that you:
use the Compare Objects window to set up (and test) the load as per your requirements
click on the File > View Script Statement, or Save Options. AQT will generate a objcomp function that will do the compare as per the options you have specified on this window. You can incorporate this function in your batch script, or run it from the Run SQL window.