Ok then, let's see what your .profile does:
1. Paragraph
does setting for interactive session probably not needed for your batch task.
2. Para
does settings for SID ISWLIVE wich is default for interctive sessions.
3. Para
for interactive sessions. Maybe TWO_TASK should be exported too as this is ORA related.
Next 3 Para
these aliases can be used after execution of .profile to set environment (temporarily) to a different DB-SID.
Conclusion
call in a row .profile (and one of the aliases if you don't need the default SID). This should set up a environment you can use as a base for your batch actions.