A subshell refers to a shell invoked from within a parent shell.
I'm trying to get around a problem seems to me that you cannot pass open db2 connection to a subshell. …