Is there anyway for Flexible input file path for TC in One world Xe..

kgkrishnan

Member
Hi All,
I have to update Z files from Flat files in one world Xe, but Flat file path and name is not constant always. When you write TC for converstion, you have to hardcode Flat file path. Is there any method to pass flat file path during run time in One world Xe?..

I really appreciate your help.

Thanks
KrisH
 
KrisH,

Wrap your TC in a UBE that moves the flat files to the appropriate path from a path specified in a processing option. There are business functions for copying flat files - a search on JDEList should locate posts that give details.
 
If you just type in a file name (and no path) the TC will automatically go to the server or client on which the TC is running and find the specified file name within the pathcode\import folder.

We have had to set up these import folders ourselves, but JDE do recommend this method in the Table Conversion section within Data Access Tools guide (page 81).

We have used this rather than creating another UBE, but you still do need to hard code the file name.

Hope this helps.
 
Back
Top