Need help on Oracle trade management Matrix environments
Hi all
I'm looking for details of supported environments for ATG v11.1 Matrix.
I googled and found this link: https://support.Oracle.com/epmos/faces/DocumentDisplay?ID=1345041.1
But it is asking for support IDs.
Any help is appreciated.
Thank you
Mamadou
To download this doc, you must indeed the identifier of customer support, but for your quick reference, here are the details for some of the environments supported for Oracle trade 11.1.0.0 that you may be looking for.
Application server:
Oracle WebLogic (WLS) - 12.1.2
IBM WebSphere (has BEEN) - 8.5.5.1
JBoss - 6.1.0 EAP
DB:
Oracle - Oracle Exadata
Oracle - 12 c (12.1.0.0)
Oracle - RAC (12.1.0.0) 12 c
Oracle - 11 GR 2 (11.2.0.2.0)
Oracle - 11 GR 2 CARS (11.2.0.2.0)
IBM DB2 - 10.5
MSSQL - 2012
MySQL8 (dev. Only) - 5.6.11
JDBC driver
Thin Oracle - 11.2.0.3, 12.1.0.1.0
MySQL connect (dev. only) - 5.1.24
Microsoft SQL Server JDBC - 4.0
iNet Merlia - version 8.0.2
DB2 Universal driver - 3.67.26
JDK
Oracle Java - 1.7.0_55 (64-bit)
IBM SDK - 1.7 SR1 (64-bit)
Thank you
Tags: Oracle Applications
Similar Questions
-
Need help with Oracle SQL merge records according to date and term dates
Hi all
I need help to find this little challenge.
I have groups and flags and effective dashboards and dates of term against these indicators according to the following example:
GroupName Flag_A Flag_B Eff_date Term_date Group_A THERE THERE 20110101 99991231 Group_A N N 20100101 20101231 Group_A N N 20090101 20091231 Group_A N N 20060101 20081231 Group_A N THERE 20040101 20051231 Group_A THERE THERE 20030101 20031231 Group_B N THERE 20040101 99991231 Group_B N THERE 20030101 20031231 As you can see, group_A had the same combination of (N, N) flag for three successive periods. I want to merge all the time periods with the same indicators in one. Where entry into force will be the most early (underlined) time period and end date will be later (underlined)
So the final result should look like this:
GroupName Flag_A Flag_B Eff_date Term_date Group_A THERE THERE 20110101 99991231 Group_A N N 20060101 20101231 Group_A N THERE 20040101 20051231 Group_A THERE THERE 20030101 20031231 Group_B N THERE 20030101 99991231 Thanks for your help
Here's the DDL script
drop table TMP_group_test;
create table TMP_group_test (groupname varchar2 (8))
, flag_a varchar2 (1)
, flag_b varchar2 (1)
, eff_date varchar2 (8)
, term_date varchar2 (8)
);
insert into TMP_group_test values ('Group_A', 'Y', 'Y', ' 20110101 ', ' 99991231');
insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20100101 ', ' 20101231');
insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20090101 ', ' 20091231');
insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20060101 ', ' 20081231');
insert into TMP_group_test values ('Group_A', 'n', 'Y', ' 20040101 ', ' 20051231');
insert into TMP_group_test values ('Group_A', 'Y', 'Y', ' 20030101 ', ' 20031231');
insert into TMP_group_test values ('Group_B', 'n', 'Y', ' 20040101 ', ' 99991231');
insert into TMP_group_test values ('Group_B', 'n', 'Y', ' 20030101 ', ' 20031231');
commit;
Post edited by: user13040446
It is the closest, I went to the solution
I create two rows;
Rnk1: partition by group name, order of eff_date / / desc: this grade will sort the records of the most recent and handed to zero for each group\
Rnk2: (dense) partition by group name, flag_A, flagb: this grade for each combination of group\flag gives a number so that they are classified as "families".
Then I use the function analytic min
Min (eff_date) more (partition of GroupName, rnk2): the idea is that, for each Member of the same family, the new date is the min of the family (and the max for the date of the term), at the end I just need separate so that the duplicates are gone
Now the problem. As you can see from the query below, records of 1 and 6 (as identified by rownum) are identified in the same family, because they have the same combination of flag, but they are not successive, so everyone must keep its own date of entry into force.
If only I can make the distinction between these two that would solve my problem
Query:
Select rowNum,GroupName, flag_a, flag_b, eff_date, term_date, rnk1, rnk2
, min (eff_date) more than (partition by GroupName rnk2( ) min_eff
Of
(
Select rowNum,
GroupName , flag_a , flag_b , eff_date , term_date
rank() more than (partition by GroupName stopped by eff_date desc) rnk1
DENSE_RANK() more than (partition by GroupName order by flag_A flag_B ( ) rnk2
de dsreports . tmp_group_test
) order by rowNum
Hello
user13040446 wrote:
Hi KSI.
Thanks for your comments, you were able to distinguish between these lines highlight, but lost lines 2,3,4 which are supposed to have the same date min = 20060101.
Please see the table wanted to see the final result I want to reach
Thanks again
This first answer is basically correct, but in the main query, you want to use the function MIN, not the analytical function aggregation and GROUP BY columns with common values, like this:
WITH got_output_group AS
(
SELECT GroupName, flag_a, flag_b, eff_date, term_date
ROW_NUMBER () OVER (PARTITION BY GroupName
ORDER BY eff_date
)
-ROW_NUMBER () OVER (PARTITION BY GroupName, flag_a, flag_b)
ORDER BY eff_date
) AS output_group
OF tmp_group_test
)
SELECT GroupName, flag_a, flag_b
MIN (eff_date) AS eff_date
MAX (term_date) AS term_date
OF got_output_group
GROUP BY GroupName, flag_a, flag_b
output_group
ORDER BY GroupName
eff_date DESC
;
The result I get is
GROUP_NA F F EFF_DATE TERM_DAT
-------- - - -------- --------
Group_A Y 20110101 99991231 Y
N Group_A 20101231 20060101 N
Group_A N 20051231 20040101 Y
Group_A Y Y 20031231-20030101
Group_B N Y 99991231 20030101
which is what you asked for.
-
Need help with Oracle Database Backup &; Restore Cold
Environment:
Oracle Version: 11.2.0.4
Platform: AIX
A few weeks ago, I had updated my Oracle 10.2.0.1 to 11.2.0.4 database. The customer changed his mind and now I downgrade to 10.2.0.1. Unfortunately, the compatibility setting is set to 11.2.0.4. So I can't use the lower upgrade scripts.
I had taken a cold backup of the database before the upgrade. Unfortunately, I missed save logs for recovery.
Is there a way I can always downgrade / recovery 10.2.0.1 with cold back? or is it simply not possible without the backup of redo logs.
Thanks in advance.
rogers42
I had taken a cold backup of the database before the upgrade. Unfortunately, I missed save logs for recovery.
And what do YOU mean by "had taken a cold backup"?
Because in addition to what John said, you also need the correct initialization file.
Do you have a return of this init file which was taken at the same time as the backup?
I had updated my Oracle 10.2.0.1 to 11.2.0.4 database.
I suggest that you first reinstall the 10.2.0.1 version or Oracle before recovering your cold backup.
You must use the EXACT name of the folder structure and file that have been used originally.
See my response in this thread a few years ago:
Re: Restore incompatible cold backup
You will be able to simplify this process, some given that your backup is consistent, but the steps should help you to understand what to do.
One of my answers in THIS thread has real details for each of the steps in the other thread
-
Need help - financial Oracle 11i vs (payable Oracle and Oracl pay) r12
Hi all
I am beginner in Oracle Application and request your help answering my questions.
Background:
Three years ago, my company intended to implement ERP Oracle Financials.
To facilitate the plan, an open call for tenders was created to find the best implementation of the company at an affordable price.
The tender was created when Oracle Financials 11i.
When the contract was signed 2 years ago by my company and the winning company, it is mentioned that the installed version must be the last.
The answer to the needs, the winning company said that payment activity will be facilitated by Oracle Payable.
Now, the project is going and the Oracle has the version of recommendation 12.
Problem:
To 11i, there was only a single module related to the activities of payment, that is Payable to Oracle.
Recommendation 12, Oracle has a new module, i.e. Oracle payment, which was the subdomain of Oracle Payable.
Question:
1. is my view on the relationship between Oracle and Oracle payment payable above correct?
2 - is my company has the right to ask for payment of the Oracle installation?
3. If the answer to the number 2 is Yes, what is the basis for this?
Thanks for the explanation.
Sorry if I ask a simple question.
Kind regards
Dodydh
Published by: 840286 on February 28, 2011 03:28Hi Dodydh,
I'm afraid, your statement "Oracle to recommendation 12, a new module, i.e. Oracle payment, which was the subdomain of Oracle to pay." is not correct.
Oracle payments is a version upgrade of Oracle 11i iPayments and this module is supposed to use Self service modules. But lots of payment which is part of the creditors of the Oracle was moved to Oracle payments.
You may very well ask to implement payment lots (process related to the disbursement of funds) but not all of the module.
Please let me know if you need more information.
Kind regards
Sridhar -
Need help installing QuickBooks Customer Manager v 2.5 on windows 8.
Trying to install QuickBooks Customer Manager v 2.5 on windows 8... help!
Hello
There is a notice on the certified QuickBooks Pro on Windows 8 to the QuickBooks
Pro Support site.Intuit - QuickBooks Pro - Support - contact us
http://support.QuickBooks.Intuit.com/support/ContactUsPhoneList.aspx---------------------------------------------------------
Check with QuickBooks support and their forums.
QuickBooks - Support
http://support.QuickBooks.Intuit.com/support/default.aspxQuickBooks - contact technical support
http://support.QuickBooks.Intuit.com/support/contactus.aspxIntuit community
http://community.Intuit.com/Intuit Community/Forums
http://community.intuit.com/quickbooks?lid=Community(SUB%2520HDR)I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
need help with the automatic management of the space segment
Hello
I use Oracle 10.2.0.4 on win 2008 Server SP2. I would like to know if we can set the Segment space management auto for RBS and temporary storage spaces. As the data are not permanent in these storage spaces, it will handle automatically?
Please adviceI would like to know if we can define the management function of space Segment car for RBS and temporary storage spaces.
Are you on 10g, use the UNDO tablespace.
If you try to create the undo tablespace with "auto segment space management", you get an error.
12:25:50 SQL> @ver FROM v$VERSION BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for 32-bit Windows: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production 12:26:49 SQL> create undo tablespace undo datafile 'D:\DB\UNDO_01.dbf' size 2M segment space management auto; create undo tablespace undo datafile 'D:\DB\UNDO_01.dbf' size 2M segment space management auto * ERROR at line 1: ORA-30024: Invalid specification for CREATE UNDO TABLESPACE 12:30:50 SQL> create temporary tablespace temp1 tempfile 'D:\DB\TEMP1.dbf' size 1M segment space management auto; create temporary tablespace temp1 tempfile 'D:\DB\TEMP1.dbf' size 1M segment space management auto * ERROR at line 1: ORA-30573: AUTO segment space management not valid for this type of tablespace
The management of cancellation setting must be on "AUTO" for automatic management of the undo tablespace. The temporary tablespace is automatically supported by oracle itself.
[http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref413]
Anand
-
Need help working Oracle/PHP to ASP/Oracle conversion
I don't know if it's the right place, but I was pulling my hair out trying to convert a PHP page in VBScript (ASP) without a bit of luck to all. Hours of research on Google and trial and error and grrrr... I hope someone can help.
I am new to Oracle and PHP, but old in ASP/VBScript
Windows Server 2003 R2
IIS
PHP
I have an Oracle procedure on a remote computer on which I can NOT change. Out of my control. There is a PHP page on a web server that calls it and works very well. My boss wants me to convert the PHP ASP script (I know, but I have to work within those parameters. Sorry). On the one hand, I can't find many examples of the use of ASP with Oracle procedures. And those that I find are not complete examples or are displayed as questions. Everything I've tried so far either causes an error message I don't understand or not errors, but no data either. So, here is what I got:
CREATE OR REPLACE PROCEDURE X_Doc_Num_Query)
p_doc_num in VARCHAR2
)
AS
-variables
v_curr_sos_ric Pkg.curr_sos_ric%TYPE: = NULL;
v_data VARCHAR2 (1000): = NULL;
v_depot_ric Pkg.depot_ric%TYPE: = NULL;
v_doc_num Rqn.Doc_Num%TYPE: = NULL;
v_dodaac Rqn.cnsgne_dodaac%TYPE: = NULL; v_found_pkg BOOLEAN: = FALSE;
v_found_rqn BOOLEAN: = FALSE;
v_ic_cl_of_supply_cd Item_Control.cl_of_supply_cd%TYPE: = NULL;
v_index directory: = 0;
v_itcn Pkg.itcn%TYPE: = NULL;
v_lca_inst Cddb_Force.lca_inst%TYPE: = NULL;
v_pkg_niin Pkg.niin%TYPE: = NULL;
v_proj_cd Rqn.proj_cd%TYPE: = NULL;
v_rqn_niin Rqn.niin%TYPE: = NULL;
-variables defined by the procedures define_status and package pkg_procsusl v_errcd VARCHAR2 (10): = NULL;
v_errmsg VARCHAR2 (600): = NULL;
v_errproc VARCHAR2 (30): = NULL;
v_syserr BOOLEAN: = FALSE;
-the variables defined by the procedure define_status
v_status_cd VARCHAR2 (2): = NULL;
v_status_dt DATE: = NULL;
-package pkg_procsusl-defined variables
v_citcn Ship_Unit.citcn%TYPE: = NULL;
v_dep_ship_su Ship_Unit.dt_dep_ship%TYPE: = NULL;
v_dt_ccps Ship_Unit.dt_ccps%TYPE: = NULL;
v_dt_crpr Ship_Unit.dt_crpr%TYPE: = NULL;
v_dt_hubr Ship_Unit.dt_hubr%TYPE: = NULL;
v_dt_hubs Ship_Unit.dt_hubs%TYPE: = NULL;
v_dt_lift SL.dt_lift%TYPE: = NULL;
v_dt_ssar Ship_Unit.dt_ssar%TYPE: = NULL;
v_dt_umfps Ship_Unit.dt_umfps%TYPE: = NULL;
v_hub_tcn Ship_Unit.hub_tcn%TYPE: = NULL;
v_mfst_ref SL.mfst_ref%TYPE: = NULL;
v_mfst_sta SL.mfst_sta%TYPE: = NULL;
v_mod_shp Ship_Unit.mod_shp%TYPE: = NULL;
v_mode VARCHAR2 (10): = NULL;
v_msn_num Flt.msn_num%TYPE: = NULL;
v_save_erl_poel SL.dt_poel%TYPE: = NULL;
v_save_erl_poel_pair SL.dt_poel%TYPE: = NULL;
v_save_erl_poer SL.dt_poer%TYPE: = NULL;
v_save_erl_poer_pair SL.dt_poer%TYPE: = NULL;
v_save_lat_podf Ship_Unit.dt_podf%TYPE: = NULL;
v_save_lat_podf_pair Ship_Unit.dt_podf%TYPE: = NULL;
v_save_lat_podr Ship_Unit.dt_podr%TYPE: = NULL;
v_save_lat_podr_pair Ship_Unit.dt_podr%TYPE: = NULL; v_pod Ship_Unit.pod%TYPE: = NULL;
v_poe SL.poe%TYPE: = NULL;
v_voyage_no SL.voyage_no%TYPE: = NULL;
v_tdi Ship_Unit.tdi%TYPE: = NULL;
-cursors
CURSOR c_rqn (doc_num_in VARCHAR2) IS
SELECT *.
OF tangible
WHERE doc_num = doc_num_in;
CURSOR c_pkg (doc_num_in VARCHAR2) IS
SELECT *.
PKG
WHERE doc_num = doc_num_in
AND sup_pipe_cat <>'OB '.
AND sup_pipe_cat <>"IA";
-documents
r_pkg Pkg % ROWTYPE;
r_rqn tangible % ROWTYPE;
-- functions ---------------------------------------------------------
FUNCTION Find_Lca_Inst (dodaac_in VARCHAR2)
RETURN VARCHAR2
IS
v_lca_cd Cddb_Force.lca_inst%TYPE;
BEGIN
SELECT lca_inst from v_lca_cd
OF Cddb_Force
WHERE dodaac = dodaac_in;
RETURN v_lca_cd;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURNS A NULL VALUE.
WHILE OTHERS THEN
LIFT;
END Find_Lca_Inst;
----------------------------------------------------------------------
FUNCTION Find_Supply_Cd (niin_in VARCHAR2)
RETURN VARCHAR2
IS
v_supply_cd Item_Control.cl_of_supply_cd%TYPE;
BEGIN
SELECT cl_of_supply_cd from v_supply_cd
OF Item_Control
WHERE only = niin_in;
RETURN v_supply_cd;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURNS A NULL VALUE.
WHILE OTHERS THEN
LIFT;
END Find_Supply_Cd;
----------------------------------------------------------------------
BEGIN
DBMS_OUTPUT. ENABLE (2000000);
v_doc_num: = upper (p_doc_num);
OPEN c_rqn (v_doc_num);
LOOP
SEEK c_rqn INTO r_rqn;
EXIT WHEN c_rqn % NOTFOUND;
v_found_rqn: = TRUE;
v_dodaac: = NVL (r_rqn.cnsgne_dodaac, r_rqn.s_cnsgne_dodaac);
v_rqn_niin: = NVL (r_rqn.niin, r_rqn.s_niin);
v_proj_cd: = NVL (r_rqn.proj_cd, r_rqn.s_proj_cd);
IF v_dodaac IS NOT NULL THEN
v_lca_inst: = FIND_LCA_INST (v_dodaac);
ON THE OTHER
v_lca_inst: = NULL;
END IF;
-output of tangible column values
DBMS_OUTPUT. Put_LINE ('Tangible database');
v_data: = r_rqn.doc_num | '|' || r_rqn.req_geo_flag | '|' ||
r_rqn.estb_dic | '|' || r_rqn.niin | '|' ||
r_rqn.asg_cd | '|' || r_rqn. Qty | '|' ||
r_rqn.unit_price | '|' || r_rqn.dmd_cd | '|' ||
v_proj_cd | '|' || r_rqn. Priority | '|' ||
r_rqn. RDD | '|' || r_rqn.cl_of_supply_cd | '|' ||
To_char(r_rqn.dt_rqn_estb,'MM/dd/yyyy'). '|' ||
To_char (r_rqn.dt_first_bo, "MM/DD/YYYY '") | ' |' |
To_char (r_rqn.dt_first_can_req, "MM/DD/YYYY '") | ' |' |
r_rqn.supadd | '|' || r_rqn. UI | '|' ||
v_lca_inst | '|' || r_rqn.sig_cd | '|' ||
r_rqn.fd_cd | '|' || r_rqn.med_stat_cd | '|' ||
r_rqn.ssf_flag | '|' || To_char (r_rqn.lst_updt, "MM/DD/YYYY");
DBMS_OUTPUT. Put_line (v_data);
DBMS_OUTPUT. Put_line ('PKG database');
OPEN c_pkg (v_doc_num);
LOOP
SEEK c_pkg INTO r_pkg;
EXIT WHEN c_pkg % NOTFOUND;
v_found_pkg: = TRUE;
v_curr_sos_ric: = NVL (r_pkg.curr_sos_ric, r_pkg.s_curr_sos_ric);
v_depot_ric: = NVL (r_pkg.depot_ric, r_pkg.s_depot_ric);
v_pkg_niin: = NVL (r_pkg.niin, r_pkg.s_niin);
IF v_pkg_niin IS NOT NULL THEN
v_ic_cl_of_supply_cd: = Find_Supply_Cd (v_pkg_niin);
ON THE OTHER
v_ic_cl_of_supply_cd: = NULL;
END IF;
Define_Status (r_pkg,
v_status_cd,
v_status_dt,
v_syserr,
v_errcd,
v_errmsg,
v_errproc
);
IF v_syserr THEN
DBMS_OUTPUT. Put_line (' ERROR in Define_Status: ' | v_errmsg);
EXIT;
END IF;
v_itcn: = NULL;
Pkg_Procsusl.Process_Susl ('XT',
r_rqn.req_geo_flag,
r_pkg. STCN,
v_itcn,
v_dodaac,
v_dt_crpr,
v_dt_ccps,
v_dt_hubr,
v_dt_hubs,
v_dt_ssar,
v_dt_lift,
v_dt_umfps,
v_save_erl_poel,
v_save_erl_poel_pair,
v_save_erl_poer,
v_save_erl_poer_pair,
v_save_lat_podf,
v_save_lat_podf_pair,
v_save_lat_podr,
v_save_lat_podr_pair,
v_dep_ship_su,
v_mode,
v_mod_shp,
v_mfst_ref,
v_mfst_sta,
v_msn_num,
v_pod,
v_poe,
v_voyage_no,
v_tdi,
v_citcn,
v_hub_tcn,
v_errcd,
v_errmsg,
v_errproc,
v_syserr
);
IF v_syserr THEN
DBMS_OUTPUT. Put_line (' ERROR in Pkg_Procsusl: ' | v_errmsg);
EXIT;
END IF;
v_data: = r_pkg.doc_num | '|' || r_pkg.pkg_id | '|' ||
Trim (r_pkg.input_stk_num) | '|' || v_status_cd | '|' ||
To_char (v_status_dt, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_est_ship, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_rel, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_dep_ship, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_rcpt, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_maint_ret_rcpt, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_idt_rcpt, "MM/DD/YYYY '") | ' |' |
To_char (r_pkg.dt_mrd, "MM/DD/YYYY '") | ' |' |
v_curr_sos_ric | '|' || v_pkg_niin | '|' ||
r_pkg. Qty | '|' || v_depot_ric | '|' ||
r_pkg.ssf_flag | '|' || r_pkg. UI | '|' ||
r_pkg.sfx_cd | '|' || r_pkg.direct_fill | '|' ||
r_pkg. STCN | '|' || v_ic_cl_of_supply_cd | '|' ||
To_char (v_dt_ssar, "MM/DD/YYYY '") | ' |' |
To_char (v_dt_crpr, "MM/DD/YYYY '") | ' |' |
To_char (v_save_lat_podr, "MM/DD/YYYY");
DBMS_OUTPUT. Put_line (v_data); END LOOP;
CLOSE C_pkg;
EXIT;
END LOOP;
CLOSE C_rqn;
IF this is v_found_rqn THEN
DBMS_OUTPUT. Put_line (' NO data available for doc_num = ' | v_doc_num);
END IF;
EXCEPTION
WHILE OTHERS THEN
IF c_rqn % ISOPEN THEN
CLOSE C_rqn;
END IF;
IF c_pkg % ISOPEN THEN
CLOSE C_pkg;
END IF;
DBMS_OUTPUT. PUT_LINE (' ERROR: ' |) SQLERRM);
END X_Doc_Num_Query;
/
===================================
===================================
Here is the PHP page:
<? PHP
error_reporting (0);
PutEnv("TNS_ADMIN=e:/oracle/ora92/network/ADMIN");
PutEnv("LD_LIBRARY_PATH=E:/Oracle/ora92");
PutEnv ("NLS_LANG = English_America.WE8ISO8859P1");
$don = isset($_REQUEST["don"])? $_REQUEST ['gift']: "asdf1234"; If no value passed, use the value of test
Enable or DISABLE dbms_output.
function SetServerOutput ($con, $p)
{
If ($p)
$s = "BEGIN DBMS_OUTPUT. ENABLE (1000000); END; « ;
on the other
$s = "BEGIN DBMS_OUTPUT. DISABLE(); END; « ;
$r = false;
$stid = doParse ($con, $s);
If {($stid)
$r = doExecute ($stid);
@OCIFreeStatement ($stid);
}
Return $r;
}
Retrieve and display any dbms_output
function DisplayDbmsOutput ($con)
{
$r = GetDbmsOutput ($con);
$cnt = sizeof ($r);
If (! $r)
print ' < p > no dbms_output < /p > \n ";
on the other
$orders = $r;
$number_of_orders = count ($orders);
If ($number_of_orders == 0)
{echo "< p > < strong > no orders pending."}
Please try again later. < facilities > < / p > ';
}
echo "< body leftmargin = 0 topmargin = 0 > ';
for ($i = 0; $i < 1; $i ++)
{
$line2 = explode ("|", $orders [$i]);
echo "< BR > < b > $line2 [0] < /b >."
}
for ($i = 1; $i < 2; $i ++)
{
$line2 = explode ("|", $orders [$i]);
echo "< table border = 1 bordercolor = #000000 cellpadding = 2 cellspacing = 0 > \n < TR > < th bgcolor = Color #FFFFFF = #000000 > DON < table >.
< th bgcolor = Color #FFFFFF = #000000 > GEO FLAG < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > DIC
< th bgcolor = Color #FFFFFF = #000000 > < table > ONLY
< th bgcolor = Color #FFFFFF = #000000 > ASG CD < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > QTY
< th bgcolor = Color #FFFFFF = #000000 > PRICE UNIT < table >
< th bgcolor = Color #FFFFFF = #000000 > DMD CD < table >
< th bgcolor = Color #FFFFFF = #000000 > PROJ CD < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > PRIORITY
< th bgcolor = Color #FFFFFF = #000000 > < table > RDD
< th bgcolor = Color #FFFFFF = #000000 > CLS OF < table > SUPPLY
< th bgcolor = Color #FFFFFF = #000000 > ESTAB DTE < table >
< th bgcolor = Color #FFFFFF = #000000 > FIRST BO DTE < table >
< th bgcolor = Color #FFFFFF = #000000 > FIRST DTE CAN < table >
< th bgcolor = Color #FFFFFF = #000000 > SUPADD < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > UI
< th bgcolor = Color #FFFFFF = #000000 > LCA INST < table >
< th bgcolor = Color #FFFFFF = #000000 > GIS CD < table >
< th bgcolor = Color #FFFFFF = #000000 > FD CD < table >
< th bgcolor = Color #FFFFFF = #000000 > MED STAT CD < table >
< th bgcolor = Color #FFFFFF = #000000 > SSF FLAG < table >
< th bgcolor = Color #FFFFFF = #000000 > DTE UPDT < table >
< b >
< td align = "center" > $line2 [0] < table >
< td align = "center" > $line2 [1] < table >
< td align = "center" > $line2 [2] < table >
< td align = "center" > $line2 [3] < table >
< td align = "center" > $line2 [4] < table >
< td align = "center" > $line2 [5] < table >
< td align = "center" > $line2 [6] < table >
< td align = "center" > $line2 [7] < table >
< td align = "center" > $line2 [8] < table >
< td align = "center" > $line2 [9] < table >
< td align = "center" > $line2 [10] < table >
< td align = "center" > $line2 [11] < table >
< td align = "center" > $line2 [12] < table >
< td align = "center" > $line2 [13] < table >
< td align = "center" > $line2 [14] < table >
< td align = "center" > $line2 [15] < table >
< td align = "center" > $line2 [16] < table >
< td align = "center" > $line2 [17] < table >
< td align = "center" > $line2 [18] < table >
< td align = "center" > $line2 [19] < table >
< td align = "center" > $line2 [20] < table >
< td align = "center" > $line2 [21] < table >
< td align = "center" > $line2 [22] < table >
< /tr >
< /table > ';
}
for ($i = 2; $i < 3; $i ++)
{
$line2 = explode ("|", $orders [$i]);
echo "< BR > < BR > < b > $line2 [0] < /b >."
}
echo "< table border = 1 bordercolor = #000000 cellpadding = 2 cellspacing = 0 >
< TR > < th bgcolor = Color #FFFFFF = #000000 > < table > DON
< th bgcolor = Color #FFFFFF = #000000 > PKG ID < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > ONLY
< th bgcolor = Color #FFFFFF = #000000 > STATUS CD < table >
< th bgcolor = Color #FFFFFF = #000000 > STATUS DT < table >
< th bgcolor = Color #FFFFFF = #000000 > SHIP DTE IS < table >
< th bgcolor = Color #FFFFFF = #000000 > REL DT < table >
< th bgcolor = Color #FFFFFF = #000000 > DT DEP SHIP < table >
< th bgcolor = Color #FFFFFF = #000000 > RCPT DT < table >
< th bgcolor = Color #FFFFFF = #000000 > DT MAINT RET RCPT < table >
< th bgcolor = Color #FFFFFF = #000000 > DT IDT RCPT < table >
< th bgcolor = Color #FFFFFF = #000000 > DT MRD < table >
< th bgcolor = Color #FFFFFF = #000000 > SOS RIC < table >
< th bgcolor = Color #FFFFFF = #000000 > PKG ONLY < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > QTY
< th bgcolor = Color #FFFFFF = #000000 > DEPOSIT CIR < table >
< th bgcolor = Color #FFFFFF = #000000 > SSF FLAG < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > UI
< th bgcolor = Color #FFFFFF = #000000 > SFX CD < table >
< th bgcolor = Color #FFFFFF = #000000 > DIRECT FILL < table >
< th bgcolor = Color #FFFFFF = #000000 > < table > STCN
< th bgcolor = Color #FFFFFF = #000000 > POWER CL < table >
< th bgcolor = Color #FFFFFF = #000000 > DT SSAR < table >
< th bgcolor = Color #FFFFFF = #000000 > DT MCEA < table >
< th bgcolor = Color #FFFFFF = #000000 > DT LAT ME < table >
";
for ($i = 3; $i < $number_of_orders; $i ++)
{
$line2 = explode ("|", $orders [$i]);
ECHO '.
< b >
< td align = "center" > $line2 [0] < table >
< td align = "center" > $line2 [1] < table >
< td align = "center" > $line2 [2] < table >
< td align = "center" > $line2 [3] < table >
< td align = "center" > $line2 [4] < table >
< td align = "center" > $line2 [5] < table >
< td align = "center" > $line2 [6] < table >
< td align = "center" > $line2 [7] < table >
< td align = "center" > $line2 [8] < table >
< td align = "center" > $line2 [9] < table >
< td align = "center" > $line2 [10] < table >
< td align = "center" > $line2 [11] < table >
< td align = "center" > $line2 [12] < table >
< td align = "center" > $line2 [13] < table >
< td align = "center" > $line2 [14] < table >
< td align = "center" > $line2 [15] < table >
< td align = "center" > $line2 [16] < table >
< td align = "center" > $line2 [17] < table >
< td align = "center" > $line2 [18] < table >
< td align = "center" > $line2 [19] < table >
< td align = "center" > $line2 [20] < table >
< td align = "center" > $line2 [21] < table >
< td align = "center" > $line2 [22] < table >
< td align = "center" > $line2 [23] < table >
< td align = "center" > $line2 [24] < table >
< /tr > ";
}
echo "< / table >";
}
Returns an array of rows dbms_output or false.
function GetDbmsOutput ($con)
{
$res = false;
$stid = doParse ($con, "BEGIN DBMS_OUTPUT. GET_LINE (: LN,: ST); END; ») ;
If {($stid)
If (doBind ($stid, ': LN ', $ln, 255 "") & &)
doBind ($stid, ": ST", $st, "")) {}
$res = array();
While ($succ = {doExecute ($stid))}
If ($st)
break;
[] $res = $ln;
}
If (! $succ)
$res = false;
}
@OCIFreeStatement ($stid);
}
return ($res);
}
Parse
function doParse ($con, $stmt)
{
$stid = @OCIParse ($con, $stmt);
If (! $stid)
PrintOCIError (@OCIError ($con));
return ($stid);
}
Link
function doBind ($stid, $bn, & $bv, $ln)
{
$s = @OCIBindByName ($stid, $bn, $bv, $ln);
If (! $s)
PrintOCIError (@OCIError ($stid));
return ($s);
}
Run
function doExecute ($stid)
{
$s = @OCIExecute ($stid);
If (! $s)
PrintOCIError (@OCIError ($stid));
return ($s);
}
OIC display error
function PrintOCIError ($err)
{
echo "< p > < b > error < /b >: < /p > < pre > \n"..htmlentities($err['message'])"< / pre > \n";
}
$con = @OCILogon ("username", "password", "Server");
If (! $con) {}
PrintOCIError (@OCIError ());
Die();
}
Turn on serveroutput
SetServerOutput ($con, true);
Create the dbms_output
$s = doParse ($con, "begin data_pull_views.x_doc_num_query('$don'); end; ») ;
If ($s)
doExecute ($s);
OCILogoff ($con);
The output display
OCILogoff ($con);
DisplayDbmsOutput ($con);
PEOPLE WITH DISABILITIES END * /.
? >
< / body >
< / html >
===========================
===========================
What I've learned so far PHP code somehow seizes the dbmd_output buffer and load it in a table before you display it on the screen. Fine. I can even take a stab at some ODBC in VBScript with ASP commands, but it almost seems like it is not yet possible. Just a stab here's to it in ASP which is not error, but also returns no data.
< %
Van Goethem = request ("don")
If van Goethem = "" then
Van Goethem = "asdf1234".
End If
Set gv_con = Server.CreateObject ("ADODB. Connection")
gv_con. ConnectionString = "Data Source = dsource; User = username ID; Password = password; »
gv_con. Open
the value of cmd = Server.CreateObject ("ADODB.Command")
cmd ActiveConnection in the Group gv_con
cmd.CommandText = "begin data_pull_views.x_doc_num_query ('" & van goethem & "');" end; »
cmd.CommandType = 1
Set the param = cmd.createparameter ("OutPut" 200,4, 50)
cmd. Parameters.Append param
cmd. run
Response.Write "strText =" & cmd ("OutPut") & "< BR BR > > <" "»
% >
So I obviously have no idea what I'm doing. Any help getting this race would be appreciated greately.Hello
I don't know anything about PHP either, but a quick look at the code, it seems that the procedure is pretty much just "all wrong", and unfortunately now it is your task to continue the tradition rather than fix the stored procedure.
The thing that makes me say that it is "all wrong", it's that he uses dbms_output to communicate data. DBMS_OUTPUT is not intended to be used to return the results of a procedure, or be used as a reporting tool; It's supposed to be used to add debugging for troubleshooting instructions. The right thing to do is to return the results of a procedure stored via a parameter, refcursors, etc.
Anyway, as you can not change the procedure, the problem boils down to the buffer that was completed by telephone dbms_output.put_line obtaining using calls to dbms_outout.get_line and here is a simple example that shows how you can go about this using ADO and ODBC.
It will be useful,
Gregprocedure
=======create or replace procedure populate_dbms_buffer as begin dbms_output.put_line('foo'); dbms_output.put_line('bar'); dbms_output.put_line('baz'); end; /
VBScript
========Const adLongVarChar = 201 Const adInteger = 3 Const adParamOutput = &H0002 set con = createobject("adodb.connection") con.open "dsn=orcl;uid=scott;pwd=tiger" set cmd = CreateObject("adodb.command") set cmd.ActiveConnection = con cmd.commandtext = "begin dbms_output.enable(32000);end;" cmd.execute cmd.CommandText = "begin populate_dbms_buffer(); end;" cmd.execute cmd.CommandText = "begin dbms_output.get_line(?,?);end;" Set prmv2 = cmd.CreateParameter("",adLongVarChar, adParamOutput, 32767,"") Set prmnum = cmd.CreateParameter("", adInteger,adParamOutput,,1) cmd.Parameters.Append prmv2 cmd.Parameters.Append prmnum stillmore=0 while (stillmore<>1) cmd.execute stillmore = prmnum.value if (stillmore<>1) then wscript.echo prmv2.value end if wend 'cleanup ommitted wscript.echo "done"
output
=======C:\>odbcparams_dbmsgetline.vbs Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved. foo bar baz done
-
Need help sql server 2008 management Studio.
I imported a sql database to use Expression Web 4 according to a tutorial I followed from C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA. Later, SQL Server 2008 Management Studio running on XP3 returns error that it is impossible to browse the database, which is still on display in the DATA folder that contains all the other databases, as well as in the Expression Web folder, in that it has been copied. How the database for me to work with Management Studio? Glaust
Glaust, did you eventually get this working or is this even a question? If you can provide a little more information about what you were doing to import you talk. Am I right in assuming that your instance of SQL Server has the database is available for you to access through SSMS. Then, you have completed the import and now you can see the DB in the SSMS DB tree but you get the error and are unable to access the DB?
Thank you
-
Hello Experts,
My name is Rohan and I work as an Oracle DBA now, I fell on the ASM and I want to learn it.
I have a knowledge base of Oracle ASM and I also configured/created an instance using DBCA.
Now for the best understanding I want to create the same with the command line.
Everyone please give me the great tutorial for the same?
I'm using oracle 11.2.0.3 on windows.
Thanks in advance.
CREATE DATA base should be with the ORACLE_SID set to the desired database SID, not the SID of the DSO. Also, if you have (as in 11 g) two separate ORACLE_HOMEs for the ASM and the database, the DATA CREATE database must be run ORACLE_HOME database.
Hemant K Collette
-
Not a dba and need help for Oracle 11 G
I have install an output db in space and I can't get the client that I work to install the spacewalk to connect to the db.
output in the configuration of the client space (research forward and reverse and can ping by short/longname and IP.)
# output extravehicular-installation - disconnected - external-db
* Setting the Oracle environment.
* Setting up database.
* Database: set up the connection of database for Oracle backend.
Name of the database service (SID)? spcwlk
Name of database to host [localhost]? spacedb.domain.com
Database (listener) port [1521]?
The database connection error: ORA-12543: TNS:destination host unreachable (DBD ERROR: OCIServerAttach)
DB server
listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = spacedb.domain.com) (PORT = 1521))
)
)
ADR_BASE_LISTENER = / u01/app/oracle
lsnrctl start $
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 18-SEP-2014 11:17:37
Copyright (c) 1991, 2009, Oracle. All rights reserved.
From /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System settings file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/db-obrien/listener/alert/log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=spacedb.domain.com) (PORT = 1521)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date 18 - SEP - 2014 11:17:39
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/spacedb/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=spacedb.domain.com) (PORT = 1521)))
The listener supports no services
The command completed successfully
Hello
Please add below lines to your listner.ora file and reload the listner.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME =
) (ORACLE_HOME =
) (GLOBAL_DBNAME =
) )
)
Thank you
Jihane Narain Sylca
-
Need help with LR color management
Hi, well having had about to master the basics of the LR (point 6.1.1) I am happy that I can now treat my image editing, using a combination of Photoshop/plug-ins LR and LR.
But I'm not about printing. I installed my new Asus monitor today and after a few hours, that it is fixed; If I take a picture of LR and select "Edit with PSE13" and print from PSE the printed output matches against what I see in LR just about perfectly.
But if I try to print the image live LR is a mess; black out as a blue greenish, or who are green, bluish, and the whole image seems, well just psychedelic.
I spent hours on it and as far as I can see the print settings in LR and PES look exactly the same. One thing to add; I print on HP Advanced glossy. In LR so I select that paper it will come out a mess, but if I select plain paper it out OK.
I installed a .icm for Asus monitor file and I put the sRGB mode.
In LR, I defined as «managed by the printer» color management
With the HP printer, well it's not quite like the old days, it seems more automated. Under color management, I chose "ColorSmart/sRGB" which is recommended in the manual.
Windows color management, I chose Asus PA248.icm for the color profile and sRGB Color Space Profile.icm (sRGB IEC 61966 - 2.1) for the printer.
Anyone has any ideas on what I might be missing / doing wrong?
Well, I seem to have gotten almost there now. In EPS, I had always managed by the printer color management. The answer in LR seems LR6 handle color management. I now have a good impression. The color match isn't quite right, with the colors on the impression of being a little more clear/more deep, but I'm sure that if I play with sliders to print setting I will get there. Although once I get the Epson printer with its profiles of specific documents, it may very well be right anyway.
-
Hello
I have a customer as requirement below
We have the table header and contains data such as
ID, custname, socket
101, raju, 514
102, ratna, 12
103, rakesh, 16
104, joseph, 129
and we mappingtable like below as
sampval, socket
244094,512
244095,2
244096,4
244097,8
244098,16
244102,128
244103,1
If header.mapvalue is 514 analysis then it out on the mappingtable basis to be exported for a value of 244094. 244095.
Header.mapvalue is 12 parsing it out based on mappingtable to be exported for a value of 244096. 244097 and so on...
Could you please help me how to get the functionality in a database query.
Thanks in advance
Try to query below and let me know
SELECT id,
custName,
HT.mapvalue,
req_val
From ht header_tbl,
(SELECT SAMPVAL,
socket,
CITY,
SUMVAL,
REQ_VAL
Of
(SELECT SAMPVAL,
socket,
CITY,
SUMVAL,
REQ_VAL,
ROW_NUMBER() over (ORDER BY lvl SUMVAL PARTITION) rn
Of
(SELECT sampval,
socket,
City,
LEVEL lvl,
CASE
WHEN ((= LEVEL 2)
AND (socket = socket connect_by_root))
THEN socket
ANOTHER socket + connect_by_root socket
END as sumval,
CASE
WHEN ((= LEVEL 2)
AND (socket = socket connect_by_root))
THEN TO_CHAR (sampval)
Of OTHER TO_CHAR (CONNECT_BY_ROOT sampval
||'|'
|| sampval)
END AS req_val
A mapping
CONNECT BY LEVEL<=>=>
)
WHERE the lvl = 2
)
WHERE rn = 1
) qry_rslt
WHERE ht.mapvalue = qry_rslt.sumval;
An alternative with xmlagg, you can use this query to achieve your requirement
SELECT id, custname, RTRIM (xmlagg (xmlelement(e,mp.sampval||'|')). Extract ('//Text ()'),'| ') req_val
From header_tbl, mapping mp ht
WHERE mp.mapvalue = BITAND (mp.mapvalue, ht.mapvalue)
GROUP BY id, custname;
-
Need help gems Oracle frm to answer 3 questions. your help w'l b enjoy.
Hello
I want to know the answer to three questions, Hope you help out me.
1. how to create pfile from spfile, when the database is down (no permission to use the command 'no strings' no newspaper alerts very convenient).
2. How can we check only backup controlfile (State and location) through RMAN. (AutoSave is disabled).
3. can we have local undotbs in the case of CARS
Thank you
FRDZ.Salvation;
1. how to create pfile from spfile, when the database is down (no permission to use the command 'no strings' no newspaper alerts very convenient).
Inactive db connection
sqlplus "virtue sysdba".
SQL > create pfile ='/ tmp/xx ' from spfile;2. How can we check only backup controlfile (State and location) through RMAN. (AutoSave is disabled).
Connect rman
RMAN > list backup of controlfile;3. can we have local undotbs in the case of CARS
http://oracleabc.com/b/archives/2523
Respect of
HELIOS -
Hello
I use Oracle Apex 4.01 in Oracle 10 g.
I am trying to create a page of Apex, sort of time table system. In this page I have 3 text items field and the other two are date fields. and two buttons.
You must submit (B1) and the other is to add any folder (B2).
My job is if I press the add another button to record (B2) then a new line with the same types of items (3 items) must be created in the page and if I press this button once again and then a new line with the same elements must be created on the page and so on.
Example of
The initial Page view: Point 1, Item2, Item3 B1, B2
When you press B2: point 1, Item2, Item3
Article 1, Item2, Item3 B1, B2
When B2 press again: point 1, Item2, Item3
Article 1, Item2, Item3
Article 1, Item2, Item3 B1, B2
so now...
Finally if I press send, but all the values I entered must be stored in the table.
Example, if I press the B2 3 times and press B1, then these 3 records are stored in the table.
Can someone tell me please how to do this in the Apex.
Thank you
RikRik,
It looks like the basic functionality of the tabular presentation.
-David
-
Need help with Dell Storage Manager is not not able to connect to the PS EQL group
I have recently updated our data collector and Enterprise Manager customer to Dell Storage Manager R2 2016 [Build: 16.2.1.228]. With this new version, Dell has added the ability to connect to Equallogic PS berries, as long as they are on the right firmware.
I have two paintings of PS I want to add to the Storage Manager. The first is a picture of PS4110 in our M1000E chassis. I was able to add this PS Group for Storage Manager. But when I try to add the PS6210X, I get an error that says: "cannot add the PS Group '. No other information is provided. The two paintings are on the same version of firmware 7.17. I ping the problem array of server that runs the data collector. If Java is installed, I could even access the web gui of this table using IE. Two of these paintings IP management are on the same subnet.
What Miss me?
I posted this on the forum Compellent and did not have all the answers, so I write it here as well.
Hello
When you say you "disabled", what exactly do you have? I suggest clearing on the banner.
I check to see if there are any other suggestions for this problem.
Kind regards
Don
Maybe you are looking for
-
How to choose an option when asked to hit a telephone number
I am new to iphone and ipad. Only, I called a phone number and was asked to choose a number in a list of choiced. Could not know how to do this on my iPnone or IPad. How do I do that? Thank you.
-
Hey, it's kind of silly, really. I tried to go to the history of purchases and get a refund, but he said that I could not get it, and I need to really, really a refund. We are bit a second home for two children, and their mother can rest, they come s
-
How do the windows xp registry?
-
Does anyone know how to turn off do not delay the hover for Window 7 function. There are many answers but no resolution. I tried all the... Windows has dropped the ball once again. This is my second time writing that this issues in the last 5 mi
-
SmartView - HypExecuteQuery with suppress ranks "No. Data / missing"
HelloI'm running an MDX query by running the command "HypExecuteQuery" and I put the options remove lines "No Data / Missing". "."But each time the query is working properly but without deleting the missing data.Does anyone know of it suppress lack o