[Openroad-users] Getting the -g string

Bodo Bergmann Bodo.Bergmann at ingres.com
Thu Dec 13 18:36:37 EST 2007


Or just set a global variable pointing to the globals initialization
file within the file itself :)
 
Bodo.
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Paul White
Sent: Thursday, December 13, 2007 1:31 AM
To: International OpenROAD Users; Openroad-Users
Subject: Re: [Openroad-users] Getting the -g string


Hi Bill,
 
Can you set an environment variable in the calling script and retrieve
it inside your application?
 
set GLOBAL
... -g %GLOBALS%
 
 
...
GlobalFile = CurSession.GetEnv(name = 'GLOBALS');

 
Paul


________________________________

	From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Collins,
William - ES/EW
	Sent: Thursday, 13 December 2007 9:47 AM
	To: Openroad-Users
	Subject: [Openroad-users] Getting the -g string
	
	


	Anybody know a way to get the contents of the string that was
passed in via the -g parameter when an application is started? I want to
use 'call system' to start another OpenROAD application and have it
start with the same globals file.

	Bill Collins, 
	Software Engineering Consultant, 
	President, OpenROAD Users International 
	Phone: 973-284-3964 



________________________________

	This e-mail and any files transmitted with it may be proprietary
and are intended solely for the use of the individual or entity to whom
they are addressed. If you have received this e-mail in error please
notify the sender. Please note that any views or opinions presented in
this e-mail are solely those of the author and do not necessarily
represent those of ITT Corporation. The recipient should check this
e-mail and any attachments for the presence of viruses. ITT accepts no
liability for any damage caused by any virus transmitted by this e-mail.
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071213/6c763d94/attachment.html 


More information about the Openroad-users mailing list