How to migrate UP-UX shell scripts to AIX 5.2


 
Thread Tools Search this Thread
Operating Systems AIX How to migrate UP-UX shell scripts to AIX 5.2
# 1  
Old 02-24-2005
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 08:54 PM..
# 2  
Old 02-25-2005
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Migrate AIX to new Hardware

Hello Friends/AIXgurus, When you have time, could you please look into below. We're planning to migrate AIX LPARs on to new Hardware. Requirement: Migrate AIX LPARs from POWER 6 to POWER 8 Hardware (*everything should run as is after the transition) Below is our thought process. Ours... (5 Replies)
Discussion started by: System Admin 77
5 Replies

2. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

3. AIX

AIX LVM migrate lp

Hi, I have questions about unix AIX's lvm. Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before? Is necessary to run reorgvg after I migrate lp ? thanks (1 Reply)
Discussion started by: alfastar
1 Replies

4. AIX

AIX Boot Scripts

Hi, can someone point me to the bootup file where I can add a samba start up script so I dont have to manually start samba everytime we reboot the server? Thanks. (8 Replies)
Discussion started by: NycUnxer
8 Replies

5. AIX

How to install/ migrate AIX through remote login

How to install/ migrate AIX through remote login (1 Reply)
Discussion started by: AIXlearner
1 Replies

6. AIX

Examples of writing shell scripts for AIX, it's urgent

Please help me 1. Please give me the few examples of shell scripts written for AIX 2.I have scripts written on Unix, does that work for AIX, if not what are the changes to be carried out to run the scripts on AIX.... Please help me (4 Replies)
Discussion started by: me_haroon
4 Replies

7. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies

8. UNIX for Dummies Questions & Answers

AIX scripts

Hi I need to schedule some tasks on AIX. At first I must copy files from folder on second AIX server to my primary server. This job schould be done in 1 hour intervals. I want to get only new files. Second script is needed for old files cleaning. It is necesary to delete files older than... (3 Replies)
Discussion started by: piooooter
3 Replies

9. UNIX for Advanced & Expert Users

Migration UP-UX scripts to AIX.2

Hello, We would to migrate some shell (korn shell) scripts from HP-UX to AIX 5.2 I would know: - If the HP-UX scripts work as well in AIX? - In no, is there a migration tool to detect incompatible lines in scripts? - How do proceed? Our scripts do: - Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies

10. UNIX for Dummies Questions & Answers

init scripts on AIX

Where are they located? (2 Replies)
Discussion started by: 98_1LE
2 Replies
Login or Register to Ask a Question