Sponsored Content
Top Forums Shell Programming and Scripting sh with Oracle utilities fails Post 302311860 by simonsimon on Wednesday 29th of April 2009 09:08:51 PM
Old 04-29-2009
Question sh with Oracle utilities fails

I log into HPUX as oracle user.

I use sh shell.

Oracle utilities imp ,exp sqlplus has rwxr-x--x privilege

From $ prompt If i type imp it works fine.

But the following fails

$sh imp

Gives :--

/usr/bin/sh imp:

execute permission denied.


If I do the following it works

$sh ( hit enter and go to next line )
imp ( it works )


Question :- How to make

$sh imp ......work
 

8 More Discussions You Might Find Interesting

1. HP-UX

version of the utilities

Hi, Can anyone tell me how i can know the version of the utilities (to be specific "make" and "ar") in HP-UX ver 11.00. thanks, abey. (3 Replies)
Discussion started by: abey
3 Replies

2. UNIX for Dummies Questions & Answers

bc and wc utilities???

Hi, Can anybody explain bc and wc system utilities in Unix? Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

3. UNIX for Advanced & Expert Users

non GNU utilities

Hi Chaps, Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Discussion started by: wempy
4 Replies

4. UNIX for Advanced & Expert Users

make test fails for DBD::Oracle installation

I've already installed the DBI Perl Module with no issues and now I'm attempting to install the DBD::Oracle driver on a Red Hat Enterprise 4 server and am having some trouble. I've checked through the forums and haven't seen anything helpful at this point. Everything goes fine during the perl... (1 Reply)
Discussion started by: pstrosnyder
1 Replies

5. UNIX for Advanced & Expert Users

utilities

hi experts, i have a file sample: ======= 000123 5 7 0008 00345 5 9 0004 how can i get an output as 123 5 7 8 345 5 9 4 thanks in an advance subhendu (5 Replies)
Discussion started by: subhendu81
5 Replies

6. UNIX for Dummies Questions & Answers

Oracle client install for AIX - WinSCP fails

I am trying to install the oracle client for AIX. I downloaded the client to my Windows machine from Oracle Database 10g Release 2 for AIX5L "Oracle Database 10g Client Release 2 (10.2.0.1.0)". 1. Is this right? (I need 9 or 10 client) It was .gz file that I am now trying to move from... (2 Replies)
Discussion started by: shoefiend
2 Replies

7. Shell Programming and Scripting

Crontab utilities

Hi gurus/lead, I have one doubt in crontab. I have shell script source code in one server. where I don't have priviliges acess R/W the shell script in that server. how can I setup the crontab to pick the code from the other unix server ? whether is there any possibility. in my... (1 Reply)
Discussion started by: ramkumar15
1 Replies

8. Linux

Ansible installation fails on standalone Oracle Linux

I have a standalone Oracle Linux server which has no connectivity to the internet. I was following a blog which directed me to download all ansible dependent setup files and install them using the below command. # yum localinstall -y python-crypto-2.6.1-1.el7.rf.x86_64.rpm... (7 Replies)
Discussion started by: mohtashims
7 Replies
RESOURCE_INT_VALUE(9)					   BSD Kernel Developer's Manual				     RESOURCE_INT_VALUE(9)

NAME
resource_int_value, resource_long_value, resource_string_value -- get a value from the hints mechanism SYNOPSIS
#include <sys/param.h> #include <sys/bus.h> int resource_int_value(const char *name, int unit, const char *resname, int *result); int resource_long_value(const char *name, int unit, const char *resname, long *result); int resource_string_value(const char *name, int unit, const char *resname, const char **result); DESCRIPTION
These functions fetch a value from the ``hints'' mechanism. The functions take the following arguments: name The name of the device to get the resource value from. unit The unit number of the device. -1 is special and is used for wildcard entries. resname The resource name. result A pointer to memory in which to store the resource value. RETURN VALUES
If successful, the functions return 0. Otherwise, a non-zero error code is returned. ERRORS
The functions will fail if: [ENOENT] The resource could not be found. [EFTYPE] Inappropriate resource type. SEE ALSO
device(9), driver(9) AUTHORS
This manual page was written by Warner Losh <imp@FreeBSD.org>. BSD
March 1, 2001 BSD
All times are GMT -4. The time now is 12:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy