I think, I was not clear in putting forth the problem.

I already have the stocks in my db. I need to reorganise it, and classify it as 
per the industry. 

The code and the industry list I have in a text file. 

Soham 



--- In [email protected], "sanjiv" <sumanga...@...> wrote:
>
> Hello,
> 
> You may not need to loop through the the file and not use an AFL for it. 
> Please read the help file for ASCII Import. There you may find the solution 
> to do what you are looking for.
> 
> With regards
> 
> Sanjiv Bansal
> 
> --- In [email protected], "sohamdas" <sohamdas@> wrote:
> >
> > Can somebody give me a suggestion how to proceed. 
> > 
> > Would be grateful!
> > --- In [email protected], "sohamdas" <sohamdas@> wrote:
> > >
> > > Hi Folks,
> > > 
> > > I have got a text file, which contains the exchange code of a particular 
> > > scrip and its industry seperated by a comma.
> > > 
> > > I want to implement the following logic inside my afl:
> > > 
> > > 1. Read the file.
> > > LOOP EACH LINE
> > >   2. Read the exchange code 
> > >   3. Read the industry
> > >   4. If this industry exists in the industry list, move the stock(present 
> > > in the db) to this industry group
> > >   5. If no, create this and move the stock
> > > END LOOP
> > > 
> > > I am at loss, because I dont know how to implement this logic in AFL.Any 
> > > help/pointers will be helpful
> > >
> >
>


Reply via email to