DaveBarber
Active Member
I am wrting a UBE that is importing JDE.logs from the server to a workfile using the custom READ TEXT LINE bsfn posted and discussed previously on the list.
The business function is functioning well and i am able to bring the text file line into the UBE with no problems.
However, I am encountering a problem when attempting to write the text line to the workfile. If the text line has no tab characters in it then the full line is written to the file.
However, if the text line has tab characters or spaces then the text line gets truncated at the point after the first tab character.
This is a big problem as the JDE.LOG contains many tab chars.
Does anyone know of a way of managing this either by a JDE/C business function or external process that could be run over the text file prior to importing it to the UBE?
i see there is a posting for the 23/10/01 from Christian Audet that mentions a test business function he has written that appears to address thus issue. Has anyone developed this further or has any more info on how to put this into practice (I have no C programming skills)
any help much appreciated.
Dave Barber
OW xe SP18.1 Oracle on NT.
The business function is functioning well and i am able to bring the text file line into the UBE with no problems.
However, I am encountering a problem when attempting to write the text line to the workfile. If the text line has no tab characters in it then the full line is written to the file.
However, if the text line has tab characters or spaces then the text line gets truncated at the point after the first tab character.
This is a big problem as the JDE.LOG contains many tab chars.
Does anyone know of a way of managing this either by a JDE/C business function or external process that could be run over the text file prior to importing it to the UBE?
i see there is a posting for the 23/10/01 from Christian Audet that mentions a test business function he has written that appears to address thus issue. Has anyone developed this further or has any more info on how to put this into practice (I have no C programming skills)
any help much appreciated.
Dave Barber
OW xe SP18.1 Oracle on NT.