NLS mode of DataStage engine from command line
NLS mode of DataStage engine from command line
This is a topic for an orphaned message.
It works, thank you.
Definitely MKS Toolkit makes life easier. Still using Windows affecting my ability to find solutions obvious in Unix
Regards
Vardan
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Monday, May 07, 2001 6:34 PM
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
You can supply as many as you like from /dev/null (UNIX) or .NUL (Windows NT). For example
analyze.shm -t0 < .NUL | grep NLSMODE
(Youre lucky - not many people have grep on their Windows NT systems! I take it you have MKS Toolkit or something similar.)
-----Original Message-----
From: AROUSTAMIAN,VARDAN (Non-HP-Cupertino,ex1) [mailto:vardan_aroustamian@non.hp.com]
Sent: Tuesday, 08 May 2001 11:20
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
Thank you, this is almost what I need! But...
even though Im running DataStage on Windows NT, I can use analyze.shm -t0 | grep NLSMODE
Now the problem is this paging part:
Press any key to continue...
I cant find in help for analyze.shm any option to avoid this. Is there any global option?
Thanks
Vardan
--
Vardan Aroustamian
vaar@geocities.com
vardan_aroustamian@non.hp.com
(408) 343-5485
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Monday, May 07, 2001 3:52 PM
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
If youre talking about simply whether NLS is enabled or not, and youre on UNIX (Im guessing this from your address ), and you mean the O/S command line rather than the UniVerse command line, try:
analyze.shm -t0 | grep NLSMODE
You may need UniVerse bin directory in your PATH, or use:
`cat /.uvhome`/bin/analyze.shm -t0 | grep NLSMODE
If NLSMODE is 1, NLS is enabled, if NLSMODE is 0 or absent, NLS is not enabled.
If you want it from the UniVerse command line, use the SH verb:
SH -c "analyze.shm -t0 | grep NLSMODE"
-----Original Message-----
From: AROUSTAMIAN,VARDAN (Non-HP-Cupertino,ex1) [mailto:vardan_aroustamian@non.hp.com]
Sent: Tuesday, 08 May 2001 06:41
To: informix-datastage@oliver.com
Subject: NLS mode of DataStage engine from command line
Hi,
Im trying to get NLS mode of DataStage engine (UniVerse) from command line. Anyone knows how to do this? I can create a job that will write output of system() function to file and then read that value, but looking for some other way to achieve this.
I tried to run "DS.CONFIGNLS CHECK" from uvsh but it enters interactive mode and I need to enter Q to quit. I dont know if there is a way to avoid this interactive phase and just get the output of command.
Any ideas and help appreciated
Regards
Vardan
P.S. We are running DataStage 3.6 on Windows NT 4.0
--
Vardan Aroustamian
vaar@geocities.com
vardan_aroustamian@non.hp.com
(408) 343-5485
Definitely MKS Toolkit makes life easier. Still using Windows affecting my ability to find solutions obvious in Unix
Regards
Vardan
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Monday, May 07, 2001 6:34 PM
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
You can supply as many as you like from /dev/null (UNIX) or .NUL (Windows NT). For example
analyze.shm -t0 < .NUL | grep NLSMODE
(Youre lucky - not many people have grep on their Windows NT systems! I take it you have MKS Toolkit or something similar.)
-----Original Message-----
From: AROUSTAMIAN,VARDAN (Non-HP-Cupertino,ex1) [mailto:vardan_aroustamian@non.hp.com]
Sent: Tuesday, 08 May 2001 11:20
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
Thank you, this is almost what I need! But...
even though Im running DataStage on Windows NT, I can use analyze.shm -t0 | grep NLSMODE
Now the problem is this paging part:
Press any key to continue...
I cant find in help for analyze.shm any option to avoid this. Is there any global option?
Thanks
Vardan
--
Vardan Aroustamian
vaar@geocities.com
vardan_aroustamian@non.hp.com
(408) 343-5485
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Monday, May 07, 2001 3:52 PM
To: informix-datastage@oliver.com
Subject: RE: NLS mode of DataStage engine from command line
If youre talking about simply whether NLS is enabled or not, and youre on UNIX (Im guessing this from your address ), and you mean the O/S command line rather than the UniVerse command line, try:
analyze.shm -t0 | grep NLSMODE
You may need UniVerse bin directory in your PATH, or use:
`cat /.uvhome`/bin/analyze.shm -t0 | grep NLSMODE
If NLSMODE is 1, NLS is enabled, if NLSMODE is 0 or absent, NLS is not enabled.
If you want it from the UniVerse command line, use the SH verb:
SH -c "analyze.shm -t0 | grep NLSMODE"
-----Original Message-----
From: AROUSTAMIAN,VARDAN (Non-HP-Cupertino,ex1) [mailto:vardan_aroustamian@non.hp.com]
Sent: Tuesday, 08 May 2001 06:41
To: informix-datastage@oliver.com
Subject: NLS mode of DataStage engine from command line
Hi,
Im trying to get NLS mode of DataStage engine (UniVerse) from command line. Anyone knows how to do this? I can create a job that will write output of system() function to file and then read that value, but looking for some other way to achieve this.
I tried to run "DS.CONFIGNLS CHECK" from uvsh but it enters interactive mode and I need to enter Q to quit. I dont know if there is a way to avoid this interactive phase and just get the output of command.
Any ideas and help appreciated
Regards
Vardan
P.S. We are running DataStage 3.6 on Windows NT 4.0
--
Vardan Aroustamian
vaar@geocities.com
vardan_aroustamian@non.hp.com
(408) 343-5485