Quote:
Originally posted by canada1
however my select statement is far to long.
|
How long is too long? Obviously, it does not exceed the DB2 sql statement size limit since you are able to execute it from a file...
Therefore, I assume you're hitting the OS command line length limit. There's nothing that prevents you from putting the entire EXPORT command into a script file and executing it the same way you do it with your SELECT statement...