The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Scripts kwliew999 AIX 7 06-12-2007 05:06 PM
SQL and shell scripts Amruta Pitkar UNIX for Dummies Questions & Answers 3 08-24-2006 12:51 AM
Help With Shell Scripts ragha81 Shell Programming and Scripting 6 08-18-2006 05:57 PM
Difference between writing Unix Shell script and AIX Shell Scripts haroonec AIX 0 04-11-2006 11:27 PM
shell scripts help ccp Shell Programming and Scripting 2 11-10-2005 12:31 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2005
Registered User
 

Join Date: Feb 2005
Posts: 2
How to migrate UP-UX shell scripts to AIX 5.2

Hello,

We would to migrate some shell scripts (korn shell) from HP-UX to AIX 5.2
I would know:
- If the HP-UX scripts work as well in AIX?
- If no, is there a migration tool to detect incompatible lines in scripts?
- How do proceed?

Our scripts do:
- Loads data in Oracle via Sql-loader
- Extracts data from database
- Transfesr data using CFT

Thanks

Last edited by P026687; 02-24-2005 at 04:54 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 02-25-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Although I have no experience with moving shell scripts from HP-UX (which I believe is what you mean) to AIX, it probably matters more how the scripts were written. If HP-UX uses different paths and the script just uses commands that are not fully pathed in the script ( grep versus /usr/bin/grep ), then you may not have as many issues. Probably something you can 'fix' with setting the PATH variable for that particular user on AIX. If, on the other hand, the script does have complete pathing on commands (/usr/ucb/ vs /usr/bin ) then you would probably have to change some things - you could possibly add soft links for a quick fix (not recommended).

The best way to find out - try them! Change the scripts so you will get output into a log file so you can see if they are working properly.

And I could not find any information on a migration tool. Probably since UNIX is UNIX, it's assumed that these types of issues should work. Since I don't know what CFT is, I would imagine that CFT may be an issue.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0