Here are scripts for getting OAS302 working on RedHat 6.0

People have said this doesn't work. It works. It's just the
owsctl that doesn't work. I'm not saying that oas302 on RedHat 6
is the best solution anyone could come up with, but it does work,
and if you want to do it, here are some scripts that you can feel
free to modify and use as you wish. Various variables should be
updated with however you system is configured. Remember to start
the wrb (i.e. the second script) before you start any listeners.
Linux has a tendency to crash if you don't kill -KILL all the wrb
processes at the same time (i.e. the kernel gets an uncaught
exception and dies).
Erik
<disclaimer>
I do not guarantee these will work. I do not guarantee that
they will not destroy something important. I assume no liability
for what these scripts may or may not do. Use them at your own
risk. There is no expressed or implied waranty.
</disclaimer>
#!/bin/ksh
# Script to start the oraweb http servers to listen for requests
# because owsctl is kind of unpredictable under RedHat 6.0
# set this variable to be the directory that the webserver
# configuration drivetoryies are under (i.e.
# /db/app/oracle/admin/ows/web/httpd_my.host.com)
WEB_HOME=/db/app/oracle/admin/ows/web/httpd_my.host.com
LISTENER="$2"
if [[ -z "$LISTENER" ]]
then
echo "No listener name to start."
echo "Usage: listen {start|stop} listener"
echo "e.g.:"
echo " listen start admin"
exit 1
fi
case "$1" in
start)
OMN_ADDR=UDP:worf.gcg.com:2649
OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
OWS_ORAWEB_FREEDOMX=1
export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FEEDOMX
CFG_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.cfg
if [[ -f "$CFG_FILE" ]]
then
oraweb -C $CFG_FILE
else
echo "Could not find config file for $LISTENER:"
echo " $CFG_FILE"
exit 1
fi
stop)
PID_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.pid
if [[ -f $PID_FILE ]]
then
kill `cat $PID_FILE`
if [[ $? -ne 0 ]]
then
echo "Could not stop oraweb $LISTENER process."
exit 1
fi
else
echo "Could not find oraweb $LISTENER PID file:"
echo " $PID_FILE"
exit 1
fi
echo "Usage: listen {start|stop} listener"
echo "e.g.:"
echo " listen start admin"
exit 1
esac
#!/bin/ksh
# Script to start up the Oracle Web Request Broker (wrb)
# processes manually because owsctl doesn't work on RedHat
# Linux 6.0
TMP_FILE=/tmp/wrb.pids
case "$1" in
start)
SLEEP=3
if [[ -f "$TMP_FILE" ]]
then
echo "$TMP_FILE exits. Make sure the wrb is not
already"
echo "running, remove $TMP_FILE, and run this script
again."
exit 1
fi
if [[ -z "$ORAWEB_HOME" ]]
then
echo "ORAWEB_HOME is not set. This environment variable"
echo "should be set to the directory where the oracle was"
echo "lives, i.e. /app/oracle/product/8.0.5/ows/3.0"
exit 1
fi
OMN_ADDR=UDP:my.host.com:2649
OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
OWS_ORAWEB_FEEDOMX=1 # I have no idea what this does; I read
# about it in a newsgroup. Supposedly
# it makes the oas run faster
export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FREEDOMX
PATH=$ORAWEB_HOME/bin:$PATH
mnaddrsrv -D &
echo -n "$! " > $TMP_FILE
sleep $SLEEP
mnrpcnmsrv &
echo -n "$! " >> $TMP_FILE
mnorbsrv &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbcfg &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrblog &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbasrv &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbahsrv &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbroker &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbvpm &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbfac &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
wrbdm &
echo -n "$! " >> $TMP_FILE
sleep $SLEEP
stop)
kill -KILL `cat $TMP_FILE`
if [[ $? -ne 0 ]]
then
echo "Could not stop wrb processes. The PIDs are in"
echo "$TMP_FILE. If these are running, please"
echo "stop them manually."
else
rm -rf $TMP_FILE
fi
echo "Usage: wrb {start|stop}"
exit 1
esac
null

Hi Erick,
Your scripts for running the OAS302 on 6.0 linux had been very
helpful.
In fact, I dont know what would I have done without them.
Now I am able to run the listeners and even able to create the
packages and users in the database via the OAS 3.0.2 but the
problem starts when accessing a procedure in the database using
the pl/sql agent. By the way i am using Oracle 8.0.5.1 RDBMS and
its home is different than the webserver home.
The browser just does nothing and even does not log any error
message ,I have to stop it after a while but all my other
catridges are working.
any insight will be appreciated.
thanks,
Vikram ( Ironically enough I work for Oracle).
Erik Nielsen (guest) wrote:
: People have said this doesn't work. It works. It's just the
: owsctl that doesn't work. I'm not saying that oas302 on RedHat
6
: is the best solution anyone could come up with, but it does
work,
: and if you want to do it, here are some scripts that you can
feel
: free to modify and use as you wish. Various variables should
be
: updated with however you system is configured. Remember to
start
: the wrb (i.e. the second script) before you start any
listeners.
: Linux has a tendency to crash if you don't kill -KILL all the
wrb
: processes at the same time (i.e. the kernel gets an uncaught
: exception and dies).
: Erik
: <disclaimer>
: I do not guarantee these will work. I do not guarantee that
: they will not destroy something important. I assume no
liability
: for what these scripts may or may not do. Use them at your own
: risk. There is no expressed or implied waranty.
: </disclaimer>
: #!/bin/ksh
: # Script to start the oraweb http servers to listen for
requests
: # because owsctl is kind of unpredictable under RedHat 6.0
: # set this variable to be the directory that the webserver
: # configuration drivetoryies are under (i.e.
: # /db/app/oracle/admin/ows/web/httpd_my.host.com)
: WEB_HOME=/db/app/oracle/admin/ows/web/httpd_my.host.com
: LISTENER="$2"
: if [[ -z "$LISTENER" ]]
: then
: echo "No listener name to start."
: echo "Usage: listen {start|stop} listener"
: echo "e.g.:"
: echo " listen start admin"
: exit 1
: fi
: case "$1" in
: start)
: OMN_ADDR=UDP:worf.gcg.com:2649
: OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
: OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
: OWS_ORAWEB_FREEDOMX=1
: export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FEEDOMX
: CFG_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.cfg
: if [[ -f "$CFG_FILE" ]]
: then
: oraweb -C $CFG_FILE
: else
: echo "Could not find config file for $LISTENER:"
: echo " $CFG_FILE"
: exit 1
: fi
: stop)
: PID_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.pid
: if [[ -f $PID_FILE ]]
: then
: kill `cat $PID_FILE`
: if [[ $? -ne 0 ]]
: then
: echo "Could not stop oraweb $LISTENER process."
: exit 1
: fi
: else
: echo "Could not find oraweb $LISTENER PID file:"
: echo " $PID_FILE"
: exit 1
: fi
: echo "Usage: listen {start|stop} listener"
: echo "e.g.:"
: echo " listen start admin"
: exit 1
: esac
: #!/bin/ksh
: # Script to start up the Oracle Web Request Broker (wrb)
: # processes manually because owsctl doesn't work on RedHat
: # Linux 6.0
: TMP_FILE=/tmp/wrb.pids
: case "$1" in
: start)
: SLEEP=3
: if [[ -f "$TMP_FILE" ]]
: then
: echo "$TMP_FILE exits. Make sure the wrb is not
: already"
: echo "running, remove $TMP_FILE, and run this script
: again."
: exit 1
: fi
: if [[ -z "$ORAWEB_HOME" ]]
: then
: echo "ORAWEB_HOME is not set. This environment variable"
: echo "should be set to the directory where the oracle
was"
: echo "lives, i.e. /app/oracle/product/8.0.5/ows/3.0"
: exit 1
: fi
: OMN_ADDR=UDP:my.host.com:2649
: OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
: OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
: OWS_ORAWEB_FEEDOMX=1 # I have no idea what this does; I read
: # about it in a newsgroup. Supposedly
: # it makes the oas run faster
: export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FREEDOMX
: PATH=$ORAWEB_HOME/bin:$PATH
: mnaddrsrv -D &
: echo -n "$! " > $TMP_FILE
: sleep $SLEEP
: mnrpcnmsrv &
: echo -n "$! " >> $TMP_FILE
: mnorbsrv &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbcfg &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrblog &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbasrv &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbahsrv &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbroker &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbvpm &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbfac &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: wrbdm &
: echo -n "$! " >> $TMP_FILE
: sleep $SLEEP
: stop)
: kill -KILL `cat $TMP_FILE`
: if [[ $? -ne 0 ]]
: then
: echo "Could not stop wrb processes. The PIDs are in"
: echo "$TMP_FILE. If these are running, please"
: echo "stop them manually."
: else
: rm -rf $TMP_FILE
: fi
: echo "Usage: wrb {start|stop}"
: exit 1
: esac
null

Similar Messages

  • Script for getting mail if database is down

    Hi Friends,
    OS Version : IBM AIX 5,2
    Oracle version : 9.2.0.7
    I am executing the following script for getting mail alert if database is down. some how the script is not working
    check_stat=`ps -ef|grep ${ORACLE_SID}|grep pmon|wc -l`;
    oracle_num=`expr $check_stat`
    if [ $oracle_num -lt 1 ]
    then
    exit 0
    fi
    # Test to see if Oracle is accepting connections
    $ORACLE_HOME/bin/sqlplus -s "/as sysdba" > /tmp/check_$ORACLE_SID.ora
    select name from v$database;
    exit
    # If not, exit and e-mail . . .
    check_stat=`cat /tmp/check_$ORACLE_SID.ora|grep -i error|wc -l`;
    oracle_num=`expr $check_stat`
    if [ $oracle_num -ne 0 ]
    then
    mailx -s "$ORACLE_SID is down!" [email protected] < /tmp/check_$ORACLE_SID.ora
    exit 16
    fi
    I am saving this as .sh file and executing at command prompt. It is just hanging, but not throwing any error.
    I would like to know if there is anything to be modified in the script or please provide me any such script. Thanks in advance

    HI there.
    I have a script I use that works really well. It sends out an email only if the database is down and also reads an ini file to process a blackout period and a priority level of the database... High priority databases are monitored every 5 minutes and Medium priority databases every hour.
    There are two scripts, the shell script and the .ini file and I have two cron entries...
    Check script:_
    #!/bin/ksh
    # check_oracle_status.sh
    # Script to check if Oracle db's are up and running.
    # Script is passed a priority field and reads check_oracle_status.ini
    # to determine which db's to check. If db is down an email is sent.
    # Priority Levels:
    # H - Checks db's with "H"igh Priority every 5 minutes (cron)
    # M - Checks db's with "M"edium Priority every hour (cron)
    # L - db's with "L"ow Priority currently not checked
    # Script Change History:
    # ======================
    # October 29th, 2009 - Initial Creation
    # Set environment
    export SCRIPTHOME=/opt/oracle/admin/scripts
    export INIFILE=$SCRIPTHOME/check_oracle_status.ini
    export PRIORITY=$1
    . $HOME/.profile
    db=`grep -i ":$PRIORITY" $INIFILE | cut -d":" -f1`
    check_database()
    sqlplus <<! > $SCRIPTHOME/check.out
    / as sysdba
    select * from dba_data_files;
    exit
    grep ORA- $SCRIPTHOME/check.out > $SCRIPTHOME/error.out
    if (( $? )); then
    echo ""
    else
    mailx -s "Oracle instance $i is currently UNAVAILABLE" +<email address>+ < $SCRIPTHOME/error.out
    fi
    for i in $db ; do
    fields=`grep $i $INIFILE | awk -F':' '{ total = total + NF }; END {print total}'`
    export ORACLE_SID=$i
    if [ $fields -gt 2 ]; then
    BLACKOUT_START=`grep -i "$ORACLE_SID" $INIFILE | cut -d":" -f3`
    BLACKOUT_END=`grep -i "$ORACLE_SID" $INIFILE | cut -d":" -f4`
    CURRENT_HOUR=`date +%H`
    CHECK_BASE=YES
    if [ $BLACKOUT_START -gt $BLACKOUT_END ]; then
    (( $CURRENT_HOUR >= $BLACKOUT_START || $CURRENT_HOUR <= $BLACKOUT_END )) && CHECK_BASE=
    else
    (( $CURRENT_HOUR >= $BLACKOUT_START && $CURRENT_HOUR <= $BLACKOUT_END )) && CHECK_BASE=
    fi
    if [ -n "$CHECK_BASE" ]; then
    check_database
    fi
    else
    check_database
    fi
    done
    rm $SCRIPTHOME/check.out $SCRIPTHOME/error.out
    INI File:_
    oracle1:L
    oracle2:M:17:08
    oracle3:M
    oracle5:M:17:08
    oracle6:H
    oracle7:M:17:08
    oracle8:M
    oracle9:M
    Where oracle1,2,3 etc is your sid
    L M and H your priority level
    17 is blackout start (5 PM)
    08 is blackout end (8 AM)
    Note: Blackout is just a start hour and an end hour and must contain both or none and my script can only process one blackout per database. I guess if you
    needed a second blackout you could add another line with different times for that sid
    Cron entries:_
    # Check Oracle Status
    # The check_oracle_status.sh script monitors "H"igh priority databases every 5 minutes
    # and "M"edium priority databases every hour
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /opt/oracle/admin/scripts/check_oracle_status.sh H > /dev/null 2>&1
    0 * * * * /opt/oracle/admin/scripts/check_oracle_status.sh M > /dev/null 2>&1
    Not sure if you require blackouts or priority levels but this setup works great at our site.
    Hope this helps.

  • Hi there - Every time I try to open an app, it seems to crash. Has anyone experience this problem? Suggestions are appreciated for getting this fixed. Thx!

    Hi there - Every time I try to open an app, it seems to crash. Has anyone experience this problem? Suggestions are appreciated for getting this fixed. Thx!

    - Reset the iPod. Nothng is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/.install any new app.
    - The remaining items here:
    iOS: Troubleshooting applications purchased from the App Store
    - Last, restore the iPod

  • Power shell script for get a content db for a particular web application

    Hi
    what  is the power shell script for get a content db for a particular web application
    Get-SPDatabase 
    adil

    try this one
    Get-SPContentDatabase -webapplication http://url
    this will return all the database for the web applications.
    Get-SPContentDatabase -site http://contoso.com
    this will return the database name in which the contose site collection is.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Power Shell Script for getting the list of members of a particular collection group

    Hi Group
    I am looking for a powershell script for the below  manual process in sccm2012. please help
    Obtain the list of “All Users Group1” collection that have been defined as a Primary User of a device, and what that Users ShortName and Device name is
    Obtain the list of user from Active Directory that have their “Title” attribute equal to “Non-Employee” (samAccountName)
    For each user that is returned from AD, determine if they are assigned as a Primary User of a Device and write the Device name to a file
    Continue to append all of the applicable Device names to the file
    End Result = List of all Devices that have Users that have their AD Attribute “Title” equal to “Non-Employee”
    thanks
    VAR

    Hi,
    The Cmdlets below should be helpful for you to write the script. You could have a look.
    Get-CMUser
    Get-CMUserDeviceAffinity
    Get-ADUser
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Script for getting the online/offline status

    Hi all,
    After enabling checkbox of "Enable assistive access device" is possible to get the online/ offline status.From Menu we will get the status.Without doing this i want to get the apple mail account online/offline status.hope some help scripts for this.

    [That script|http://discussions.apple.com/message.jspa?messageID=11012484#11012484] could change the Online Status of all mail accounts. The following one will just report their Online Status. Is this what you are (were) asking for?
    --BEGINNING OF SCRIPT
    tell application "Mail" to activate
    tell application "System Events" to tell process "Mail"
    set theMenu to menu "Mailbox" of menu bar 1
    if enabled of menu item "Take All Accounts Online" of theMenu then
    return "All accounts are currently offline"
    else
    return "All accounts are currently online"
    end if
    end tell
    --END OF SCRIPT

  • Need VB script for getting the IIS certification information

    Hi guys,
    I have totally 1000 IIS servers  2003 & 2008
    windows and some of the  servers configured
    IIS 3rd party Security certificates. I need a script to get the certification information like expiry date & certificate vendor name.
    Regards,
    SreeM

    Post here:http://forums.iis.net/
    Look in Gallery for IIS scripts:http://gallery.technet.microsoft.com/
    ¯\_(ツ)_/¯

  • Perl script for xchat doesnt work

    I like to start a perl script for xchat.
    Thats my problem:
    Can't locate Socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 3) line 31.
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    btw: sry for the bad english..

    bigh wrote:
    Thats my problem:
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    Hello  bigh,
    Socket and IO::Socket are standard perl modules:
    me@here:~/tmp]$ tar tvzf perl-5.8.4.tar.gz | grep Socket.pm
    -r--r--r-- nwc10/nwc10 11882 2003-08-13 21:55:04 perl-5.8.4/ext/IO/lib/IO/Socket.pm
    -r--r--r-- nwc10/nwc10 9801 2004-04-01 17:58:43 perl-5.8.4/ext/Socket/Socket.pm
    In Arch they should belong to the perl package (i don't have an Arch box at the moment to confirm it more explicitely). So it is strange that neither Socket.pm nor IO/Socket.pm can be found in your @INC on your host.
    Hope it helps anyway

  • Need script for getting Uptime for remote servers

    Hi Guys,
    I'm in need of a script to get the UP time for windows servers in number of days. i have more than 1000 servers.
    I dont want PowerShell script as i have many WIndows 2003 servers where PowerShell is not installed.
    Please help me with this.
    Thanks,
    Kiran Raj

    Hi,
    I'd look at the LastBootUpTime property that can be found by querying Win32_OperatingSystem.
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Script for getting all windows Drives freespace information

    Hi All,
    Any can post the batch script to get the disk drives freespace info for multiple servers.
    Cheers,
    Govind

    This is not an Oracle Database question, so it really does not belong in this forum. You can query the WMI database in each server to find the information. Try the following search on Google:
    hey scripting guy free disk spaceCharles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Scripts for Exporting Master/Work Rep

    Hi,
    I want to automate the export process and in turn was looking for any scripts for exporting the whole ODI Work/Master Rep. I checked the CLASS objects and we donot have any CLASS names for Repository exports.
    Thanks in advance for any answers..!

    Created for 10g [ http://odiexperts.com/automize-the-backup-using-odi-exports]
    but should work for 11g too :)

  • How come script for cursor doesnt work in jsp pg?

    it works in an html pg but it doesnt work in a jsp page when i put in a javascript for an animated cursor btw the body tags:
    <script>blah</script>
    WHY? thanks

    WHY?Because it doesn't like you.
    View source on the generated JSP page.
    Compare it to the html page.
    Save the source as a static html file.
    Find what is causing the problem - maybe a javascript error on the page that prevents your code running?
    If you have IE, Tools:options: advanced tab, and uncheck "disable script debugging" so you can see the error messages - or get a browzer with a decent javascript debugger.
    Good luck,
    evnafets

  • Apple script for 10.4 - works in OSX but not older

    Hi I have a script which I'm using on my current system 10.9 it runs in excel and it goes something like this:
    tell application "Microsoft Excel"
      -- put the complete set of data into a list of lists (i.e., 2 dimensions -> columns of rows)
      tell active sheet to set myData to value of used range
      -- recipient email
      set myRow1 to 1
      set myCol1 to 1
      set Address to item {myCol1} of item {myRow1} of myData
      -- recipient name
      set myCol4 to 4
      set rName to item {myCol4} of item {myRow1} of myData
    The above is just a small snippet from the script.  However I try running this on apple 10.4 apple script and it does not work.  I'm trying to save my computer time from have to this minimal task on an older mac I have but I'm experiencing some problems.  Does the active sheet not work in apple mac 10.4? What am I missing?  Any help would be greatly appreciated.

    Hi Ohms238,
    I found this Apple developer page that talks about changes made in each version of OSX. It will require some work, but you can go through and see what changes are relevant to your script.
    But I would actually recommend running pieces of your code separately to see exactly what parts don't work and then rewrite just those portions.

  • Script for: Getting the closest price within the group

    Hello
    I need some help for my script.I would like to add new field . Do you guys have an idea any OLAP functions .
    It was my simple script which doesn't give the answer I want.
    SELECT
    NO,
    SUM_QTY,
    QTY_QUOTED,
    CASE WHEN QTY_QUOTED < SUM_QTY
    THEN MAX(QTY_QUOTED)
    WHEN QTY_QUOTED = SUM_QTY
    THEN QTY_QUOTED
    WHEN QTY_QUOTED > SUM_QTY
    THEN MIN(QTY_QUOTED) END AS CLOSEST_Q
    from table1
    GROUP BY NO, SUM_QTY, QTY_QUOTED;
    output for the script below:
    No SUM_QTY QTY_QUOTED CLOSEST_Q
    567     3     2     2
    567     3     99     99
    130     140     156     156
    123     515     40     40
    911     120     600     600
    911     120     800     800
    567     3     3     3
    567     3     5     5
    911     120     700     700
    130     140     138     138
    130     140     12     12
    123     515     2     2
    I would like to see the last field below:
    No Sum_Qty Qty_Quoted The Field I want to have or  The other way I want to see
    ==== ======= ======== ================ ==================
    123 515 40 x 40
    123 515 2 40
    567 3 5 3
    567 3 2 3
    567 3 3 x 3
    567 3 99 3
    911 120 600 x 600
    911 120 700 600
    911 120 800 600
    130 140 12 138
    130 140 138 x 138
    130 140 256 138
    I willl appreciate if you can give any clue /solution or idea.
    Thanks a lot,
    Pinar

    [That script|http://discussions.apple.com/message.jspa?messageID=11012484#11012484] could change the Online Status of all mail accounts. The following one will just report their Online Status. Is this what you are (were) asking for?
    --BEGINNING OF SCRIPT
    tell application "Mail" to activate
    tell application "System Events" to tell process "Mail"
    set theMenu to menu "Mailbox" of menu bar 1
    if enabled of menu item "Take All Accounts Online" of theMenu then
    return "All accounts are currently offline"
    else
    return "All accounts are currently online"
    end if
    end tell
    --END OF SCRIPT

  • Are scripts for converting HTML unnecessary now?

    These scripts were needed before for applets made with
    a newer Java-version, when Internet Explorer had an
    old Java-version. Nowadays, when Windows XP and Internet Explorer
    has no Java, I suspect that this script causes trouble instead.
    Is it best to use no script at all?
    Go to
    http://www.virtualexp.net/indextest.htm
    compare the applets with and without script,
    and tell me the results and which operativesystems you've got!

    Hi there,
    To display any applet in any browser you need <applet> tag in your html file with at least 3 properties and their values; code, width and height.
    Since scripts are not interpreted same by every browser they might cause a problem. But if you just plug your applet to your html file as following:
    <applet code="MyApplet.class" width="100" height="100"></applet>
    you should have no problem at all.
    Berk Can Celebisoy

Maybe you are looking for

  • Installer encountered an error: 0x80096002 on windows 8.1

    hello, I am trying to install  Windows Installer 4.5 [windows6.0-KB942288-v2-x64] on windows 8.1 which is pre-requisite for installation of "Microsoft® SQL Server® 2008 Express with Advanced Services" I am getting below error while installing Windows

  • Busines partner trading partner in TRM

    Hello Where can I enter the trading partner id (vbund) in the business partner? We have a business partner that is our counterparty in financial transactions. For consolidation preparation (in BCS for example) the trading partner has to be entered in

  • Proxy to file : Multiple Receivers

    Hi, i am new to xi and I am trying a scenario in which i am passing employees data from sender (proxy) to receivers(ftp). I want 2 receivers.at runtime if an employee belongs to say group 1 then his data should be written to file1. if it is group 2 t

  • And my photo's have gone too...

    Help! Seem to have a similar issue to the last post but as a recent convert from PC I'm no mac expert and got lost in the thread. Any simple advice would be really useful... Using an 08 iMAC 20" / iPhoto 7.1.4 Library was set up and working fine. Upl

  • Installing Adobe Premiere Elements

    Hi, I bought the dual pack of Adobe Photoshop Elements and Premiere Elements. I have a Mac so I used disc 3, wasn't sure if I should use any of the other discs. Photoshop loaded just fine but when I try to install Premiere, it gets about 50% of the w