Fri Dec 03, 2021 1:26 pm
Login Register Lost Password? Contact Us


Spraying flat text file

Comments or questions specific to the features of ECL Watch

Mon Jul 18, 2011 4:17 pm Change Time Zone

I am trying to impliment a quick wordcount program in ECl to get started with ECL.

I think I understand how I define a record for a text file but I am a little unclear on how do you spray a flat file ecl watch has fixed,CSV and html - but how does one say spray one or more varaible length text files?

rgds Maurice
mjwalshe
 
Posts: 6
Joined: Wed Jun 22, 2011 11:02 am

Mon Jul 18, 2011 4:26 pm Change Time Zone

Hi Maurice,

To spray a variable length flat file, simply use the CSV option, and clear out the seperator and quote values. We actually use this techniques in one of our ECL training classes to spray a flat file that also contains nested child datasets, which make it variable length.

Regards,

Bob Foreman
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1005
Joined: Wed Jun 29, 2011 7:13 pm

Mon Jul 18, 2011 4:29 pm Change Time Zone

bforeman wrote:Hi Maurice,

To spray a variable length flat file, simply use the CSV option, and clear out the seperator and quote values. We actually use this techniques in one of our ECL training classes to spray a flat file that also contains nested child datasets, which make it variable length.

Regards,

Bob Foreman

chears ill try that when I get a chance tomorow
mjwalshe
 
Posts: 6
Joined: Wed Jun 22, 2011 11:02 am


Return to ECL Watch

Who is online

Users browsing this forum: No registered users and 1 guest