![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |