Hey Brian
did the "The system cannot execute the specified program." thing ever get
resolved?
Have you tried using command as well as cmd?
From: [email protected]
To: [email protected]
Date: Wed, 25 Mar 2009 13:03:35 +1100
Subject: Re: [Dataperf] Hey Lew, Tim and all the DP gurus
Hi Chris,
>From the website http://dataperfect.nl/
Regards
Brian
From: [email protected] [mailto:[email protected]]
On Behalf Of Chris Pedersen
Sent: Wednesday, 25 March 2009 12:45 PM
To: [email protected]
Subject: Re: [Dataperf] Hey Lew, Tim and all the DP gurus
I was wondering how you would have the ability to pass data back and forth
without this capability. Excellent!
Would be nice to expand this but I can make this work.. Excellent thanks for
the tip.
Where can I get the latest version = )?
From: [email protected]
To: [email protected]
Date: Wed, 25 Mar 2009 05:54:17 +1100
Subject: Re: [Dataperf] Hey Lew, Tim and all the DP gurus
Hi Chris,
For the web enabling of DP it was essential to be able to pass an identifier
into DP from the commandline which could be used to partition out each user’s
set of parameters pumped in from the imported transaction log otherwise
multiple simultaneous users would not be possible. This was done with a new
switch that Lew added, /SID (a session id), its value can then be retrieved
with the usef.field[0] which was a modification to the function usually used
for controlling user access..
So for example my web script would start DP with say the commandline
DP myapp.str /W /SID-2q3w4e5r /EI-2q3w4e5r.log
Each of my transaction logs entries would be tagged with that SID and my report
would write the results back in a file 2Q3W4E5R.OUT, which my script would be
waiting for
But using the same facility you could start DP with say
DP myapp.str /SID-%USERNAME% and then retrieve the username with say RV1 =
user.field[0]
If you need to use multiple environment variables just concatenate them into
the /SID and use the DP subfield[ ] function to extract them, for example
DP myapp.str /SID-/SID-%USERNAME%:%COMPUTERNAME%
using say the : sign as a delimiter which would not be used in a COMPUTERNAME
or USERNAME environment variable and which doesn’t have special significance in
the commandline so the DP formula subfield[user.field[0];”:”;1] returns the
USERNAME
Alternatively if you want to support only validated users in DP you could use
the User ID Panel together with the /U-user:pwd switch to do something similar
to the above. As an example if you had the need you could ensure that a
specific user only used a specific machine you could use the commandline
DP myapp.str /U-%USERNAME%:%COMPUTERNAME%
And the USERNAME could be retrieved with user.field[1]
Regards
Brian
From: [email protected] [mailto:[email protected]]
On Behalf Of Chris Pedersen
Sent: Wednesday, 25 March 2009 2:32 AM
To: [email protected]
Subject: [Dataperf] Hey Lew, Tim and all the DP gurus
I'd like to be able to copy a value from the system environment, specifically
the machine name, into the userid field on startup, but more generally it would
be very useful if DP could recognize system variables %% etc. (Is there any
way to do this currently?)
Giving dataperfect the ability to modify external data values and/or files,
from the formula bar likewise.
It would also be useful if the transaction log included the machine name,
rather than just the login name. Login can be duplicated or hacked - but
system names (along with the time) give a pretty definitive idea of where an
entry came from.
When you define a panel, define whether the data will be stored in dp's native
format, or in an external format, such as CSV. This would REALLY tremendously
improve data exchange capability.
Express your personality in color! Preview and select themes for Hotmail®. See
how.
Hotmail® is up to 70% faster. Now good news travels really fast. Find out more.
_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf