Update on a stupid thing...
John Esak
john at valar.com
Mon Oct 25 20:11:36 PDT 2010
Yes, but Dennis, obviously I tried what I suggested before sending the note.
You can run it interactively and select ALL records.... Or
Dreport filename -fp prc_name -sr 1
Or a variety of other ways.
But agreed, it has always been easier for me to understand IMPORT when
running it from another file. That is, I know when I'm getting each free
record and have control over it. I can tightly tie it to the exact lines I
wish to import. Sometimes I read the IMPORT'ed line first and decide
whether to import it or not based on its content. All of which can be done
when running in the same file... It just seems less awkward for me to do it
from a different file to stand in.
John
> -----Original Message-----
> From: Dennis Malen [mailto:dmalen at malen.com]
> Sent: Monday, October 25, 2010 10:54 PM
> To: john at valar.com
> Subject: Re: Update on a stupid thing...
>
> You hit it on the head John.
>
> You can not use @once when importing a file when you are
> using processing
> resident in the subject file. No process will run until it
> can find a record
> to sit in. At least that's my experience with 5.0.14D4.
>
> I use import processing and @once while sitting in another
> file. Works fine.
>
> Dennis Malen
> 516.479.5912
> ----- Original Message -----
> From: "John Esak" <john at valar.com>
> To: <filepro-list at lists.celestial.com>
> Sent: Monday, October 25, 2010 7:13 PM
> Subject: Update on a stupid thing...
>
>
> > Well, that 10 second response thing hits again. I typed in
> my last note
> > without checking it... Then as I read it back as it arrived in my
> > mailbox...
> > I see something stupid in it.
> >
> > At the end of the @oncee, after you've done a lookup free
> and a WRITe to
> > the
> > newly retrieved free record. I have you do a lookup - to
> that record and
> > END. There is, of course no need to do this (in most
> cases, including
> > this
> > application)... Just let the @once end all on its own and
> you will be on
> > the
> > first record in the file. Again, I'm not clear why the
> asker wanted to
> > have
> > a record one in this file... Maybe to go sit on it and do
> his IMPORT
> > process
> > which itself gets free records? In which case some other
> bit of code
> > would
> > be necessary to ensure writing to record 1. Or maybe he is
> wr4iting to
> > another file with the IMPORT doing look up frees to it...
> In which case I
> > don't know why he wanted a record 1 in this file, you can
> stand anywwhere
> > to
> > do an IMPORT to *another* file.
> >
> > I dunno, the whole thing is kind of moot until more info
> were to come
> > along.
> > I really was just answering the "how to get a record 1 in
> the file you're
> > in... If you don't have one to start with..."
> >
> > Also, I may have mentioned using dreport with -xa... And of
> course I meant
> > -a. Sorry.
> >
> > John
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list