1823209 Members
3789 Online
109648 Solutions
New Discussion юеВ

Re: HPUX scripting to NT

 
Jessie Jackson
Occasional Contributor

HPUX scripting to NT

I have been tasked with finding a solution to the following: We have an application (BAAN) that will be running differnt jobs and creating reports. These reports need to be moved to an NT server where upon receipt of the files, a series of applications will be kicked off to queue theses files for movement to palm devices out in the field.I don't have a problem creating the script to get the info from BAAN, and then moving it to NT Server, my problem lies with automatically kicking off the applications on the NT side. Is there a way to script on the HP side, so that it is transparent to everyone concerned
6 REPLIES 6
Ron Cornwell
Trusted Contributor

Re: HPUX scripting to NT

Microsoft has a add-on for NT called Unix Services for Windows. I believe it comes with cron, rcp, rsh, and rexec. This would allow you to launch something from the Unix side or set it up in cron to kick off at a certian time.
A. Clay Stephenson
Acclaimed Contributor

Re: HPUX scripting to NT

Hi Jessie,

If you are more comfortable in the UNIX world, one solution would be the MKS Toolkit. You get essentially all the unix commands including the shell and the rexecd and rshd. You essentially could drive everything from the unix side by calling remsh to execute commands on the NT box.

Regards, Clay
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: HPUX scripting to NT

Oops, I suppose I should tell you that you can check MKS out at http://www.mkssoftware.com.

Clay
If it ain't broke, I can fix that.
Vincent Stedema
Esteemed Contributor

Re: HPUX scripting to NT

Perl for Win32 is an option, but to keep it simple you would have to trigger all actions from the NT box.

More info on http://aspn.activestate.com/ASPN/Perl/

Vincent
Shannon Petry
Honored Contributor

Re: HPUX scripting to NT

All I have to say is that there is no such thing as scripting in NT! While it is slightly better than DOS 6, there is very limited abilities from a .bat file!

If you really need work done, you can try perl for NT, and just write both sets of scripts in perl for ease in porting. (funny how everyone is wanting NT, but you can't do much with it unless you pay out of pocket for code to be written, or have to make due with prebuilt binaries that only do half what ya need!)

For faster work, I'd say do everything you can on the UNIX side. Remember that if your using the standard NT at commands, if a batch file hangs, it can not be run untill you go into DOS and kill the process. Maybe in 2000 it's fixed, but in NT4 you can not kill a batch command from the task manager GUI.....

Regards and best of luck!
Shannon
Microsoft. When do you want a virus today?
f. halili
Trusted Contributor

Re: HPUX scripting to NT

Try using uwin.

The UWIN package provides a mechanism for building and running UNIX applications on Windows NT, Windows 98, and Windows 95 with few, if any, changes
necessary.

Check out their website below:

http://www.research.att.com/sw/tools/uwin/

- fnhalili
derekh