Hell list

I have a command file that was working correctly yesterday but today when 
I run the same command file I get an error message "ERROR- invalid cursor 
state (2645)"


Following is the command line that creates the error. 

GATEWAY EXPORT XLSW bank_inv.xlsx +
SELECT itemcs,locout,itmout,desout,venout,ivalot,balout,excost,orgcst4 
FROM invp01 +
WHERE excost > 0 ORDER BY itemcs,locout,desout +
OPTION COL_NAMES ON +
|TAB_NAME Full_Inventory +
|STYLE ZEBRA +
|SHOW_PROGRESS ON +
|SPECIFICATION_FILE_NAME  Bank_Inv.rgw

The table invp01 is an Non Rbase table accessed using a ODBC connection. 

However if I use the gateway wizard I have no problem exporting the data. 
Any idea what is happening?

Thanks for you help.

Ajay


P
Please consider the environment before printing this e-mail. Thank you. 


Reply via email to