Re: No suitable driver (JAVA program using DB2)
OK, but the Java itself or the package you are executing may depend on environment variables.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Your script probably relies on some environment variables. These maybe set from startup script that is not executed for non-interactive sessions (WinSCP).