Sorry Annihilannic, my bad - I took liberty on what's a VOB - it's Clearcase's version controlled files (Versioned Object Base).
Also, let me clarify with respect to the effects of a VOB file. It's not where I excute script from, it's where I'm directing the 'RDFILE' file that's an issue - if I run the script like this:
cpsgw > RDFILE, and I'm excuting from a non-VOB directory, all is good when using the lsof utility (the RDFILE will be created in the current non-VOB working dir). But, if I run script like this:
cpsgw > /{VOB dir}/RDFILE, the lsof doesn't provide me with what I need.
Examples of excuting lsof -p -a -d 1 using:
a.) cpsgw > RDFILE:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cpsgw 25588 cpver 1w VREG 297,30 0 1610702705
/export/home/cpver/RDFILE
b.) cpsgw > /{VOB dir}/RDFILE
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cpsgw 25605 cpver 1w VREG 299,212 0
/opt/ctis/adapt/ZHU /opt/Ccase/Vobs2/Ctis/ZHU.vbs)
I did cd'd to this dir (/opt/Ccase/Vobs2/Ctis/ZHU.vbs) and it's nothing more than clearcase-related files [which I did grep for the redirected file RDFILE with no luck]
Also, the dir /opt/ctis/adapt/ZHU is not where I redirected the 'RDFILE' - it's actually two more dirs down from /ZHU, so I couldn't even attempt locate file by date if I wanted to because I would know the the redirected file's dir path.
... and this is where I'm stuck. I've asked our system admin people about this issue with no great leads. He did suggest to look into Perl's arsenal of commands, which I did, again with no success.