on 07-28-2014 2:21 PM
PB 12.5.1 (build 4015)
The return code from an importfile command is -30953.
li_return = parent.dw_process.ImportFile (ls_pathname)
The file is a csv file that contains 34583 records.
Can somebody please confirm this is a maximum number of rows error.
Also, I assume my option is to split the file into two files to process.
Hi Da;
ImportFile only has 15 error codes. On a positive return number though the import lets you know how many rows were successfully imported. However, the return value is a long. Did you use an Integer by chance?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm assuming li_return is an integer. It looks like you have an overflow. If you put a value larger than an integer into an integer, you get a negative value. Change li_return to ll_return ( a long ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.