Open Text Corporation Press Room | Careers | Investors  
Enterprise Content Management
News | Company | Open Text | Hummingbird Connectivity  
Home > Exceedusers > Jul2004 >  Setting environment variables when using the REXEC start method Print View   Contact Me   
Site Tools
My Notes
My Menu Add this page to My Menu
Enterprise Content Management

 

From: Nigel Pain ( )
Date: Thu Jul 29 2004 - 05:52:00 EDT


************************************************************************
************************************************************************
*******
This email and any files transmitted with it are intended solely for the
use of the individual or entity to whom they are addressed.
************************************************************************
************************************************************************
*******

This may be more of a UNIX question than an Exceed one. We have people
using Exceed to run SAS software on a Solaris 8 machine, working in
various different areas and consequently using different Xstart files.
We have now installed an ODBC driver to enable SAS to connect to ODBC
compliant databases but this requires that certain environment variables
are set.

Because we are using REXEC as our start method, the /etc/profile and
$HOME/.profile scripts are not run and so it makes no difference
defining the environment variables in them. Equally, we could include
the definitions in the Xstart command line but, as there are so many
different Xstart files being used, we can't guarantee that we'll pick
them all up.

Is there any way of ensuring that environment variables are set by
default in an REXEC session?

***************************************************

Nigel Pain

Scottish Executive

Analytical Services Team

Victoria Quay

EDINBURGH

EH6 6QQ

UK

Tel +44 131 244 7237

Mob. +44 7795 618362

 <mailto: >
Mailto:

Website: <http://www.scotland.gov.uk/> http:\\www.scotland.gov.uk

The original of this email was scanned for viruses by the Government
Secure Intranet (GSi) virus scanning service supplied exclusively by
Energis in partnership with MessageLabs.

On leaving the GSi this email was certified virus-free



This archive was generated by hypermail 2b29 : Sat Jul 31 2004 - 23:54:01 EDT