Creating dynamic ENVIRONMENT VARIABLES

Joe Boyle atla38 at dsl.pipex.com
Tue Oct 4 05:21:13 CDT 2005


a chap named Chad said that you can use command 'setx' to create a system
env, but I believe this depends on the version of DOS you have ( V6
probably).

 

I'm still not sure why you want to be an administrator to run Axiant -
wouldn't this be risky at an unattended desktop - these are the usual
arguments against.

 

I'm pretty sure that sestsystemval on Windows platforms creates a variable
that is available to child processes only.

Regards, Joe. 

  _____  

From: Syed Shahul Hameed Mustaffa [mailto:sshahulgm at gmail.com] 
Sent: 04 October 2005 11:07
To: Joe Boyle
Cc: powerh-l at lists.sowder.com
Subject: Re: Creating dynamic ENVIRONMENT VARIABLES

 

Thanks joe.

 

The login dialog appears when I start the application.

Glenn in one of his mails says (if I am remembering correctly) it appears
and there is no way to suppress it. 

 

I tried logging into to the server using the application's network userid. I
tried to create environment variables. But the system doesn't let me create
system environment variables. However it permits me to create user
environment variables. but SETSSTEMVAL function creates a system env.
variable and not a user environment variable. 

 

Regards,

SYED.

 

On 10/4/05, Joe Boyle <atla38 at dsl.pipex.com> wrote: 

it might be worth typing the string below ( or a variation ) in the google
search window http://www.google.co.uk/ , I hav'nt tried the security options
in the netd config window personally, so am not sure if this is what you are
looking for,

 

site:lists.sowder.com <http://lists.sowder.com/>  powerh-l axiant security
netd

Regards, Joe. 

  _____  

From: Joe Boyle [mailto: atla38 at dsl.pipex.com] 
Sent: 03 October 2005 22:00
To: 'Syed Shahul Hameed Mustaffa'; 'powerh-l at lists.sowder.com'
Subject: RE: Creating dynamic ENVIRONMENT VARIABLES

 

personally I would use syntax 'set report device disc NOLIMIT name
$UEVD_REPNAME ; but that aside, why do you feel that the network user you
are using to connect to server has to be a member of the ADMINISTRATORS
group ?

 

Incidentally, I am always happy for the users to log in when they run the Ax
app, so I wonder if this is happening at other times, when exactly are your
users being prompted for login details  ? 

Regards, Joe. 

  _____  

From: powerh-l-bounces+atla38= dsl.pipex.com at lists.sowder.com [mailto:
powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
<mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com> ] On Behalf
Of Syed Shahul Hameed Mustaffa
Sent: 03 October 2005 21:17 
To: powerh-l at lists.sowder.com
Cc: Joe Boyle; Glenn
Subject: Creating dynamic ENVIRONMENT VARIABLES

 

Dear Gurus,

 

I'm using AXIANT 4GL/PH/WINDOWS (Thin Client).

 

To set the report path dynamically, I am storing the path in the database.

I'm creating a dynamic Windows environment variable to pass this path to the
report using the following command.

 
    SETSYSTEMVAL("UEVD_REPNAME", TRUNCATE(REPORTFILE))

 

I'm using the following command in the quiz file.

    set report device disc LIMIT 10000 name $UEVD_REPNAME

 

My issue is security.

The network user I'm using to connect to server has to be a member of the
ADMINISTRATORS group.

And I could not suppress the network user logon dialog box. 

How can I resolve this issue?

 

Can anyone helpme out of this issue? I'll appreciate.

 

Regards,

SYED.

 

 

  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20051004/a1e15a10/attachment-0001.htm


More information about the powerh-l mailing list