![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
ids version: 11.5.uc7 redhat : as5 $ cat test.4gl database test main LOAD FROM '/tmp/temp.dat' DELIMITER "|" insert into tt display "status=",status end main $ fglpc test $ fglgo test SQL error number -846. Number of values in load file is not equal to number of columns But it run in ids version :ids9.40.uc5 4gl : 7.32.uc2 aix : 5 is OK ! Someone help me Please ! _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
|
Consider s terminsting "|" in your load file. j. Sep 29, 2010 03:05:17 AM, joeclhua (AT) gmail (DOT) com wrote: =========================================== 4gl version : 7.32.uc2 ids version: 11.5.uc7 redhat : as5 $ cat test.4gl database test main LOAD FROM '/tmp/temp.dat' DELIMITER "|" insert into tt display "status=",status end main $ fglpc test $ fglgo test SQL error number -846. Number of values in load file is not equal to number of columns But it run in ids version :ids9.40.uc5 4gl : 7.32.uc2 aix : 5 is OK ! Someone help me Please ! _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I doubt that it owing to ids vs 4gl version not matches. That program had running for years on ids 9.4 & 4gl 7.32.uc2 aix box. Recently migrate to linux, ids 11.5 ( newest version) & 4gl 7.32.uc2 ( old version ) Seems that It not allow UNLOAD statemnt in 4GL program . _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#6
| |||
| |||
|
|
But is it possible that something about the O.S. change made it such that the way the data (unload) file was transferred to the server might have screwed up the E.O.L. in the file ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |