I have a job with a tMSSqlConnection setup, and I need to share that connection with a joblet. I found instructions online saying to register it as a shared connection, and then add an option in dynamic settings of the joblet components with that connection name, so it can be selected from the component list of connections. However Java is complaining when I try to do this.
The job + joblet works fine if I do not try to share the connection.
I figured out that you need to put a pre-job in the joblet and then connect the tMSSQLconnection, and then use the share or register a connection, as UmeshR mentioned. But the thing I was missing was that you CAN put a pre-job in a joblet.