Hello
#!bin/ksh
sqlplus -s system/manager < |grep '^ORA' |uniq
select * from kk;
set echo on
show spool on
end;
/
EOF
save test.sh
sh test.sh
results
ORA-00942: table or view does not exist (3 Replies)
Hi,
I am working on Solaris 8 and the "intro" man page says, "Upon termination, each command returns two bytes of status, one supplied by the system and given the cause for termination, and (in the case of 'normal' termination) one supplied by the program. The former byte is 0 for normal... (2 Replies)
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Hi,
Recently I install a package and try to do a make and make install.
However, in the make it gives me below error:-
make:Nothing to be done for 'install-exec-am'
make:Nothing to be done for 'install-data-am'
Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
This single line of code in a sh script file
top -b -n 1 -U $USER
causes the script to prematurely exit with an exit code of 1 (i.e. an error) if the script is run with the -e option (e.g. if
set -e
is executed near the top of the script file).
Alternatively, you can execute it like
top... (8 Replies)
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
#!/bin/csh -f
source .orapass
set user = $USER
set pass = $PASS
cd /opt/data/scripts
echo... (2 Replies)
Hi,
I am writing a menu driven program using shell script. THe script will be collecting data by logging into the other servers and bringing back the data to home server to process it and accordingly issue commands. TO automate commands execution , I am using expect script. However I am not able... (5 Replies)
Hi Guys,
I am calling a SQL script which runs under while loop, i need to exit the while loop if i get error in sql script which is called
while
do
sqlplus -s user/pass@db @test.sql id$i
done
test.sql
whenever sqlerror exit;
alter table t1 add &1 number;
I need to come out of... (2 Replies)
Hi All,
Good Day, seeking for your assistance on how to not perform my 2nd, 3rd,4th etc.. function if my 1st function is in else condition.
#Body
function1()
{
if
then
echo "exist"
else
echo "not exist"
}
#if not exist in function1 my all other function will not proceed.... (4 Replies)
Discussion started by: meister29
4 Replies
LEARN ABOUT DEBIAN
anyevent::xmpp::error::muc
AnyEvent::XMPP::Error::MUC(3pm) User Contributed Perl Documentation AnyEvent::XMPP::Error::MUC(3pm)NAME
AnyEvent::XMPP::Error::MUC - MUC error
Subclass of AnyEvent::XMPP::Error
METHODS
type
This method returns either:
join_timeout
If the joining of the room took too long.
no_config_form
If the room we requested the configuration from didn't provide a data form.
subject_change_forbidden
If changing the subject of a room is not allowed.
message_error
If this is an unidentified message error.
If we got a presence error the method "presence_error" returns a AnyEvent::XMPP::Error::Presence object with further details. However,
this class tries to provide a mapping for you (the developer) to ease the load of figuring out which error means what. To make
identification of the errors with XEP-0045 more clear I included the error codes and condition names.
Here are the more descriptive types:
password_required
Entering a room Inform user that a password is required.
(Condition: not-authorized, Code: 401)
banned
Entering a room Inform user that he or she is banned from the room
(Condition: forbidden, Code: 403)
room_locked
Entering a room Inform user that the room does not exist and someone is currently creating it.
(Condition: item-not-found, Code: 404)
room_not_creatable
Entering a room Inform user that room creation is restricted
(Condition: not-allowed, Code: 405)
use_reserved_nick
Entering a room Inform user that the reserved roomnick must be used
(Condition: not-acceptable, Code: 406)
not_on_memberlist
Entering a room Inform user that he or she is not on the member list
(Condition: registration-required, Code: 407)
nickname_in_use
Entering a room Inform user that his or her desired room nickname is in use or registered by another user
(Condition: conflict, Code: 409)
room_full
Entering a room Inform user that the maximum number of users has been reached
(Condition: service-unavailable, Code: 503)
The condition and code are also available through the AnyEvent::XMPP::Error::Presence object returned by "presence_error", see below.
text
This method returns a human readable text if one is available.
presence_error
Returns a AnyEvent::XMPP::Error::Presence object if this error origins to such an error and not some internal error.
message_error
Returns a AnyEvent::XMPP::Error::Message object if this error origins to such an error and not some internal error.
AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
COPYRIGHT & LICENSE
Copyright 2007, 2008 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 AnyEvent::XMPP::Error::MUC(3pm)