My first check was of the SMEXIT values which will output various numbers based on what happened in the Backup to see if there was anything for a Full vs Incremental that you could use in a post-exec script which would start an Object Copy, and I didn't find any.
Then, I checked the Environment variables stored by DP for the session. These include
DATALIST
MODE = Backup operation type, such as full, incremental, incremental1, and so on.
OWNER
PREVIEW
RESTARTED
SESSIONID = Is used to identity a finished session and is recorded in the database. You cannot use it to preview a session
SESSIONKEY
SMEXIT
You would first need to understand pre- and post-exec scripting, and I recommend that you review the DP 9 Admin Guide (it doesn't matter what version of DP you are running)
pp 333-342
I am not sure what the MODE is going to output, haver used it before, you may want to write a short(1-line) script that just says something like
echo %MODE%
Scripting is not something I do. However, I would expect the command to return 'Full' 'Incr', 'Incr1', or something similiar
The SESSIONID environment variable is used to show the most recently completed session.
So, you may be able to writte a script that contains a line similiar to
if %MODE% = "Full"
omniobjcopy -copylist [name] -postbackup -session %SESSIONID%
OK, now, lets talk about alternatives. You could have your Full Backup and Incremental Backup running on different backup specifications, which is something is normally do NOT recommend, too much chance of an Incremental running as Full, and do the Object Copy of the Full Backup
I think that this is a good candidate for an Enhancement Request. I don't see this as a major coding issue, since the Backup type and mode are output anyway in the 'omnidb' command. You can submit Enhancement requests at this site
https://support.openview.hp.com/enhancement/do/main