From that error message I would first look at your tnsnames.ora file before getting into trial and error with the connect string on the script. Here follow a few thoughts:
- Does the machine where you run the script know that skirlie host?
- Do you have success when you issue the command tnsping ihrlive? You shouldn't beat your head against the wall changing your script until you get this working.
- Is IHRLIVE the instance identifier or the database name? If the later then you should use SERVICE_NAME=IHRLIVE instead of the SID.