Creation password prompt at runtime

John Esak john at valar.com
Mon Aug 2 15:30:16 PDT 2004


This is an ongoing problem. Ken is aware of it. I assume it will be
addressed somehow in an upcoming release. In the meantime, just do a "dummy"
lookup to that file with the actual filename in the lookup line, somewhere
on the table. Even at the  end "after" the END statement so it never really
gets done. The only reason it is there is so you can answer the password
question at "creatine time" instead of at "runtime". I agree that this is a
pain, but there is no way I can think of for filePro to parse out that the
variable holds a particular filename... what if it is changed over and over
in the processing. Obviously, if it is used just once in the processing,
that is fine, and could probably be done easily... but what if it is used 5
times with different names and what if some of them are expressions...
dependent on a runtime situation... ?  It all gets pretty sticky. So the
easy solution until Ken figures out the hard stuff is to just put a dummy
lookup with the real name of the file somewhere at the end of the table...
and all will be well.

John Esak


> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Robert
> Sent: Monday, August 02, 2004 4:59 PM
> To: filepro-list at lists.celestial.com
> Subject: Creation password prompt at runtime
>
>
> hello,
> I am sure this has come up before but I could not find it in any of my
> saved list digests.
>
> lookup pps_look=(lf)  k=ke   i=A -Nx
>
> where lf="AGENT" or whatever file I need to lookup into.
> This line prompts for the creation password of the AGENT file when the
> code is run.
> Is there a way that I can prevent the prompt without removing the
> password?
> I have tried specifying the password for a dummy lookup in the prc table
> but that does not work and PFSP seems to only work for the site password.
> Any suggestions?
> TIA.
> Robert
> p.s. the creation password is the same for all of the files I need to
> use, if that helps.
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list