thanks again for giving me the time to find out what to correct...I now run
...and it matches just fine. How do I make it case insensitive? Can you please explain how it works?
I think the first line skips over the tnsnames.ora until it finds a pattern 'variable ='. So this will give us the left hand side in $1?
The second line searches for the SERVICE_NAME entry, where the value matches s, which is set on the command line to be 'pri'.
You store this in $1 ....but didn't we keep the left hand side there?
Hi everyone,
when i run ;
sqlplus -s username/password@TTTEST @umt.sql
i take "ORA-12154: TNS:could not resolve service name"
i want to run "umt.sql" query and also see result.
thanx for your helping. (6 Replies)
Hi all,
Am intermittently getting the following errors on one of my databases.
Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302:... (1 Reply)
All:
Can sombodoy help me out with a sed command? Assume I have the following:
PRI =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.3.7)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pri)
... (3 Replies)
Hi - I am trying to grep all "ORA" errors in a log files.I have to grep all ORA errors except one error for example ORA-01653.How can exclude that error in "grep" command?
In following "grep" command I want to exclude "ORA-01653" error
grep -i ORA alert.log >>/tmp/ora_errors.txt
... (7 Replies)
Hi,
I would like to modify, in script schell, the line right above (DESCRIPTION and check three cases :
if line contain ".world" then line=line-".world" concat "," concat line
if line dont contain ".world" then line=line concat "," concat line concat".world"
else line=line
Keep in... (10 Replies)
Hi,
I am trying to write a script or command to remove a section from tnsnames.ora file
in the following example I would like to remove tns_alias2 section
$ cat tnsnames.ora
tns_alias1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1 )(PORT = 1521))
... (3 Replies)
Hi,
User claim that job is running slow from their end.
I DBA found in database the below errors in alert log file.
ORA-27603: Cell storage I/O error, I/O failed on disk o/192.168.10.3/RECO_DM01_CD_01_drm01 at offset 13335789568 for data length 1048576
ORA-27626: Exadata error: 2201 (IO... (2 Replies)
Discussion started by: Maddy123
2 Replies
LEARN ABOUT HPUX
answer
answer(1) General Commands Manual answer(1)NAME
answer - phone message transcription system
SYNOPSIS DESCRIPTION
The interactive program helps you to transcribe telephone (and other) messages into electronic mail.
The program uses your personal alias database and the system alias database, allowing you to use aliases to address the messages.
Options
supports the following options:
Prompt for phone-slip-type message fields.
Allow addresses that are not aliases.
Operation
begins with the prompt. Enter a one-word alias or a two-word user name ("Words" are separated by spaces.) The user name is converted to
an alias in the form where f is the first character of the first word, lastword is the second word, and all letters are shifted to lower-
case. For example, is converted to the alias
Without the option, the specified or converted alias must exist in the alias databases. With the option, if the processed "alias" is not
in the alias databases, it is used for the address as is.
The fully expanded address is displayed.
With the option, you are asked for typical message slip data:
Enter the appropriate data. You can put just an or nothing after the pertinent dash prompts, or you can type longer comments. Whatever
you enter becomes part of the message. Lines with no added text are omitted from the message.
Finally, you are prompted for a message. Enter a message, if any, ending with a blank line. The message is sent and the prompt is
repeated.
To end the program, enter any one of or at the prompt.
EXAMPLES
User input is in normal type.
With No Options
This example shows a valid alias, an invalid user name, and a valid user name. In the invalid case, the converted alias is displayed in
square brackets.
With the -u Option
If you enter the previous error is treated differently.
With the -p Option
If you enter the phone-slip prompts are added. The three lines with no added text are deleted from the message.
FILES
User alias database data table
User alias database directory table
User alias database hash table
User alias source text
System alias database data table
System alias database directory table
System alias database hash table
System alias source text
Outbound mail message edit buffer
AUTHOR
was developed by HP.
SEE ALSO elm(1), newalias(1).
answer(1)