Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id gBDMO0R04205
 for <oracle-l@orafaq.net>; Fri, 13 Dec 2002 16:24:00 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id gBDMNx304198
 for <oracle-l@orafaq.net>; Fri, 13 Dec 2002 16:23:59 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id KAA41627;
 Fri, 13 Dec 2002 10:58:18 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 00519382; Fri, 13 Dec 2002 08:37:56 -0800
Message-ID: <F001.00519382.20021213083756@fatcity.com>
Date: Fri, 13 Dec 2002 08:37:56 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Chris Stephens <ChrisStephens@affina.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Chris Stephens <ChrisStephens@affina.com>
Subject: RE: warehouse builder's dependance on oem job system.
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----_=_NextPart_001_01C2A2B4.D94A1880"
------_=_NextPart_001_01C2A2B4.D94A1880
Content-Type: text/plain;
 charset="iso-8859-1"

wow.  thank you.  i will be testing this in the afternoon but before i do, i
have one more question.  we have ~50 jobs we would like to cron instead of
submit to oem. so my question is, are these tcl arguments in the same order
and of the same # for every job?  or is there some way to determine the
order and position they should be when executing the package?

thank you so much for your help.

-----Original Message-----
Sent: Thursday, December 12, 2002 8:19 PM
To: Multiple recipients of list ORACLE-L


Chris,
 
the parameters 3,2,50,1000,50,wb,10 are used inside the oem-owb job tcl
script as
set p_oper_mode [lindex $parList [incr parList_i]]
set p_audit_level [lindex $parList [incr parList_i]]
set p_num_errors [lindex $parList [incr parList_i]]
set p_commit_frequency [lindex $parList [incr parList_i]]
set p_bulk_size [lindex $parList [incr parList_i]]
set p_purge_group [lindex $parList [incr parList_i]]
set p_percentage [lindex $parList [incr parList_i]]

and then the package.main is called
 
try the following. i would recommend testing this on the test server before
putting it on prod :-)
 
sql>exec C40_ADMIN_CUSTOMER_MAP.Main(p_operating_mode => 3, p_audit_level =>
2, p_max_errors => 50, p_commit_frequency => 1000,
     p_bulk_size => 50, p_job => 'wb');
 
-Mandar

----Original Message-----
Sent: Thursday, December 12, 2002 1:09 PM
To: Multiple recipients of list ORACLE-L


here is the tcl that was generated:
 
"-r" "3,2,50,1000,50,wb,10" "-c" "WE8MSWIN1252"
 
the package that is generated is quite long.
i have absolutely no idea how to read the tcl.  
if you could point me somewhere, i could try and figure it out myself.
any help is appreciated.
 
attached is the package code if you are willing to take a look...
 
(for some reason my computer associates .pls extensions with real audio)
 
 
 

-----Original Message-----
Sent: Tuesday, December 10, 2002 1:11 PM
To: Multiple recipients of list ORACLE-L


Chris,
 
All the owb etl jobs are packages and if you have configured it right, then
you could the execute the package_name.main procedure to run the etl
process. your best best would be to read the tcl script and the associated
parameters for the owb-oem job.
 
You could paste the tcl and the parameters here to help u more.
 
-Mandar

-----Original Message-----
Sent: Tuesday, December 10, 2002 9:31 AM
To: Multiple recipients of list ORACLE-L




ok, here's the situation:  we are loading our warehouse via etl processes
generated by warehouse builder (owb).  we went live with this a little over
a week ago.  up to this point we have been running the jobs manually through
owb.  for obvious reasons we need to be able to schedule these jobs.  the
only way (that i know of) to schedule the owb jobs is to deploy them to
entreprise manager.  the problem is that our oem is VERY unreliable and
seems to be related to bugs.  we are running oem v9.2 and oracle ee v9.2.
when jobs are scheduled through oem, they run sometimes and hang others.
this is unexceptable.  

so my question is:  does anyone know of a way to trap the commands that oem
sends to the database?  the obvious solution would be to just cron execution
of the packages owb generates inside the database.  this doesn't work though
because owb generates funky code that takes parameters, whose values i don't
know, for logging purposes.  

hopefully i explained the situation well enough. 

any ideas??....i'd like to get rid of the dependance on oem. 

oem sucks 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mandar A. Ghosalkar
  INET: mghosalk@byer.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01C2A2B4.D94A1880
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: warehouse builder's dependance on oem job system.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>wow.&nbsp; thank you.&nbsp; i will be testing this in =
the afternoon but before i do, i have one more question.&nbsp; we have =
~50 jobs we would like to cron instead of submit to oem. so my question =
is, are these tcl arguments in the same order and of the same # for =
every job?&nbsp; or is there some way to determine the order and =
position they should be when executing the package?</FONT></P>

<P><FONT SIZE=3D2>thank you so much for your help.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Mandar A. Ghosalkar [<A =
HREF=3D"mailto:mghosalk@byer.com">mailto:mghosalk@byer.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, December 12, 2002 8:19 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: RE: warehouse builder's dependance on oem =
job system.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Chris,</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>the parameters 3,2,50,1000,50,wb,10 are used inside =
the oem-owb job tcl script as</FONT>
<BR><FONT SIZE=3D2>set p_oper_mode [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_audit_level [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_num_errors [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_commit_frequency [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_bulk_size [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_purge_group [lindex $parList [incr =
parList_i]]</FONT>
<BR><FONT SIZE=3D2>set p_percentage [lindex $parList [incr =
parList_i]]</FONT>
</P>

<P><FONT SIZE=3D2>and then the package.main is called</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>try the following. i would recommend testing this on =
the test server before putting it on prod :-)</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>sql&gt;exec =
C40_ADMIN_CUSTOMER_MAP.Main(p_operating_mode =3D&gt; 3, p_audit_level =
=3D&gt; 2, p_max_errors =3D&gt; 50, p_commit_frequency =3D&gt; =
1000,</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp; p_bulk_size =3D&gt; 50, =
p_job =3D&gt; 'wb');</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>-Mandar</FONT>
</P>

<P><FONT SIZE=3D2>----Original Message-----</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, December 12, 2002 1:09 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>here is the tcl that was generated:</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&quot;-r&quot; &quot;3,2,50,1000,50,wb,10&quot; =
&quot;-c&quot; &quot;WE8MSWIN1252&quot;</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>the package that is generated is quite long.</FONT>
<BR><FONT SIZE=3D2>i have absolutely no idea how to read the tcl.&nbsp; =
</FONT>
<BR><FONT SIZE=3D2>if you could point me somewhere, i could try and =
figure it out myself.</FONT>
<BR><FONT SIZE=3D2>any help is appreciated.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>attached is the package code if you are willing to =
take a look...</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>(for some reason my computer associates .pls =
extensions with real audio)</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, December 10, 2002 1:11 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Chris,</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>All the owb etl jobs are packages and if you have =
configured it right, then you could the execute the package_name.main =
procedure to run the etl process. your best best would be to read the =
tcl script and the associated parameters for the owb-oem =
job.</FONT></P>

<P><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>You could paste the tcl and the parameters here to =
help u more.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>-Mandar</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, December 10, 2002 9:31 AM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>ok, here's the situation:&nbsp; we are loading our =
warehouse via etl processes generated by warehouse builder (owb).&nbsp; =
we went live with this a little over a week ago.&nbsp; up to this point =
we have been running the jobs manually through owb.&nbsp; for obvious =
reasons we need to be able to schedule these jobs.&nbsp; the only way =
(that i know of) to schedule the owb jobs is to deploy them to =
entreprise manager.&nbsp; the problem is that our oem is VERY =
unreliable and seems to be related to bugs.&nbsp; we are running oem =
v9.2 and oracle ee v9.2.&nbsp; when jobs are scheduled through oem, =
they run sometimes and hang others.&nbsp; this is unexceptable.&nbsp; =
</FONT></P>

<P><FONT SIZE=3D2>so my question is:&nbsp; does anyone know of a way to =
trap the commands that oem sends to the database?&nbsp; the obvious =
solution would be to just cron execution of the packages owb generates =
inside the database.&nbsp; this doesn't work though because owb =
generates funky code that takes parameters, whose values i don't know, =
for logging purposes.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>hopefully i explained the situation well enough. =
</FONT>
</P>

<P><FONT SIZE=3D2>any ideas??....i'd like to get rid of the dependance =
on oem. </FONT>
</P>

<P><FONT SIZE=3D2>oem sucks </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Please see the official ORACLE-L FAQ: <A =
HREF=3D"http://www.orafaq.com" =
TARGET=3D"_blank">http://www.orafaq.com</A></FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: Mandar A. Ghosalkar</FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: mghosalk@byer.com</FONT>
</P>

<P><FONT SIZE=3D2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- =
858-538-5051 <A HREF=3D"http://www.fatcity.com" =
TARGET=3D"_blank">http://www.fatcity.com</A></FONT>
<BR><FONT SIZE=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mailing list =
and web hosting services</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------=
------</FONT>
<BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an =
E-Mail message</FONT>
<BR><FONT SIZE=3D2>to: ListGuru@fatcity.com (note EXACT spelling of =
'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB =
ORACLE-L</FONT>
<BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed =
from).&nbsp; You may</FONT>
<BR><FONT SIZE=3D2>also send the HELP command for other information =
(like subscribing).</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2A2B4.D94A1880--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Chris Stephens
  INET: ChrisStephens@affina.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

