need help with dclerk

Fairlight fairlite at fairlite.com
Wed Sep 8 18:48:08 PDT 2010


I knew this about a year or two ago, but I really rarely use clerk in an
automated context, preferring report for my automated tasks, specifically
because it has the -sr flag to jump to a record and sit there.

Unfortunately, what we have is the need for processing to use FORM, which
doesn't work in report.  So clerk is a must-have on this one part.

We have processing that works.  It's in @ONCE processing.  It'll exit.
It's -getting- to the @ONCE that's being problematic.  

Currently we have:

     dclerk database -s0 -z processingtable -rx passedvalue

The problem is that clerk hangs at the "Record Number, Scan for Records,
Add Records, etc." menu.  I added -xig to use index G, which gets me a
little farther along, but prompts me for index data to search for.  Tried
adding -xe to drop to @ENTSEL, but that didn't actually work.

Honestly, I don't know how to drop straight to a record (ANY record will
do, seriously!) in clerk so that it executes the @ONCE processing.  I know
I'm missing something simple, but I can't remember it, and neither can the
actual fP programmer.  I figure I'll have the response here in under an
hour if I just ask, so I'm asking.

And no laughing!  :)

Thanks in advance!

mark->


More information about the Filepro-list mailing list