Duplication of variable
Dear All,
I am trying to get 4 fields in browser report. Cleared items till date,Cleared items till last month,open items till date,open items till last month. I am getting Cleared items till date by using "0clear_date" clearing date infoobject and item status using variable op_keyd3.I am getting open items till date by using "0pstng_date" opening dateinfoobject and item status using variable op_keyd2.For overdue till date i use netduedate "op_keydt".I input only netduedate at selection screen. But now I have to get overdue of last month in same report . how do I do that?
Regards ,
Ratish
Hi,
I can have a look at your form, but can you host it somewhere like Acrobat.com or google docs and add a link to it here.
Regards
Bruce
Similar Messages
-
Probleme pour dupliquer des variables dans le projet
Bonjour à tous,
J' ai un soucis que je n'ai pas rencontré dans le passé concernant la duplication de variables dans mon projet Labview...
Avant je faisais un petit CTRL + clic , glisser déposé, mais dans mon projet actuel des fois ça marche et des fois ça ne marche pas , j' imagine qu'il y' a des restrictions ou autre.
Je peux bien entendu les créer manuellement mais là il s'agit de plusieurs dizaines de variables qui pour la plupart ne diffèrent que par le nom. Je gagnerai mon temps à les dupliquer et juste les renommer par la suite.
Avez vous des idées sur le problème ?
Merci d' avance.En fait c'est vraiment au niveau du projet
Voir le jpg : Je voudrais copier par exemple toutes les variables "KEPCO_BOP_WOOB1_ xxxxxx" et les renommer en "KEPCO_BOP_WOOB2_ xxxxxx" .
Si je selectionne tous et je fais ctrl + clic droit pour dupliquer à un autre endroit, j'ai la fleche de la souris avec le petit " + " à coté et je fais un glissé déposé mais rien ne se passe.
Pour l' instant je m 'en sors en créant à chaque fois une nouvelle variable mais c'est beaucoup plus long surtout si je dois répéter l' opération 100 fois.
Pièces jointes :
Capture.JPG 60 KB -
Multiple portlets using javascripts not working on the same page!!!
Does anyone know a work around for this problem????
I have two seperate dynamic pages. Each page has a drop down menu which is built from javascript and dhtml. Individually they both work fine. However they stop working when placed on a page together. Even when in seperate regions. I need to keep both of them as seperate portlets so i cannot solve the conflicts in the javascript as i would if they were coded together.
Any Ideas????
Anyone?????Daniel,
It could be a script conflict - "any duplication in variable declaration, function name, or event-handler access in two scripts can cause at least one, if not both scripts to become inoperative." Check this site to see if this applies to you:
http://www.javascriptkit.com/javatutors/multiplejava2.shtml
Good luck! -
Fetches more values into one variable
Hi, inside a cursor loop I'd like to assign, each fetch, a value to a variable, in order, at the end to have a collection of all the values fetched into the same variable.
The code is the following:
CREATE OR REPLACE procedure APPS.AAA as
v_pino varchar2(64);
CURSOR tks_opened_range IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_RANGE FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 1 AND 11111111111
AND incident_attribute_2 IN ('ΓΕΝΙΚΗ ΔΙΕΥΘΥΝΣΗ ΤΕΧΝΟΛΟΓΙΑΣ')
ORDER BY incident_number;
rec_tks_opened_range tks_opened_range%ROWTYPE;
begin
FOR rec_tks_opened_range IN tks_opened_range
LOOP
v_pino := rec_tks_opened_range.YP_TKS_OPENED_WITHIN_RANGE;
DBMS_OUTPUT.PUT_LINE('v_pino: ' || v_pino);
end loop;
end AAA;
This works with the variable v_pino!....but at the end, the value of the variable v_pino is ONLY the last fetched by the cursor.
Is there a way to declare a variable (or better a collection) or a new type in order to have all the data fetched into this variable and the end of the fetching ?
I need to know this trick because, after, I have to assign this variable to a pipelined table function.
Thanks in advance
Alex
/Great Devang !! Thanks a lot ! It works ! Now I am able to retrieve all the values I need and store them into my variable gino
I searched on the note you mentioned in your mail in order to pass an array as a variable to a table function (PIPE ROW call), but I didn't find nothing about it.
Now I explain to you my situation.
I already implemented a table function that works perfectly. I have 2 cursors declared and 2 PIPE ROW calls.
FUNCTION statistic_report_2_1 (p_resolv_time_ll varchar2, p_resolv_time_ul varchar2, p_ypiresia varchar2)
RETURN xxi_statistic_rep_2_1_tab PIPELINED
IS
-- CURSORS FOR THE FIRST SHEET - Tickets opened per group and per duration
-- Cursor for tickets opened within 1 hour --
CURSOR tks_opened_1_h IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_1_HOUR
FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) < 60
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_h tks_opened_1_h%ROWTYPE;
-- Cursor for tickets opened between 1 hour and 3 hours --
CURSOR tks_opened_1_3_h IS
SELECT incident_number AS YP_TKS_OPENED_BE_1_3_HOURS FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 60 AND 179
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_3_h tks_opened_1_3_h%ROWTYPE;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
-- FIRST SHEET OPEN CURSORS --
TICKETS NUMBER OPENED WITHIN 1 HOUR
FOR rec_tks_opened_1_h IN tks_opened_1_h
LOOP
PIPE ROW(stat_rep_2_1_type(
rec_tks_opened_1_h.YP_TKS_OPENED_WITHIN_1_HOUR
END LOOP;
-- TICKETS NUMBER OPENED BETWEEN 1 HOUR AND 3 HOURS --
FOR rec_tks_opened_1_3_h IN tks_opened_1_3_h
LOOP
PIPE ROW(stat_rep_2_1_type(
,rec_tks_opened_1_3_h.YP_TKS_OPENED_BE_1_3_HOURS));
END LOOP;
RETURN;
END statistic_report_2_1;
But, in this way and with this syntax, I obtain for each PIPE ROW call only one field filled each time, because I can’t call 2 cursors in a nested loop together (data duplication);
For example:
1st PIPE ROW call : only the first field is filled and into the second I have to put ‘’
2nd PIPE ROW call : only the second field is filled and into the first I have to put ‘’
….and I cant’ call with a single PIPE ROW call two cursor variables…..
Into a Discoverer report this data layout is really bad (you can imagine with thousand
of records).
For this reason I thought to use an array variable (gino) to pass to a single PIPE ROW call outside the cursor loop……but it doesn’t work !!!
Can you suggest me how to resolve this problem….if it possible ?
Did I have to declare other TYPE or collection ?
Thanks you so much
Alex -
Duplication of records after trasport to BI PRD
Hi all,
I am facing problem of duplication of the records after transporting to production environment. The same is running fine in Dev.
This development is based on function module. Please suggest if anyone has an idea. I have attached FM code for reference.
amit shetye.
FUNCTION zmmf_pacm.
""Local Interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZMMS_PACM OPTIONAL
Maximum number of lines for DB table
STATICS: s_s_if TYPE srsc_s_if_simple,
s_counter_datapakid LIKE sy-tabix,
s_cursor TYPE cursor.
RANGES: s_werks FOR t001w-werks,
s_ekorg FOR ekko-ekorg,
s_matnr FOR mara-matnr,
s_matkl FOR mara-matkl,
s_spmon FOR s031-spmon.
DATA: l_s_select TYPE srsc_s_select.
IF i_initflag = sbiwa_c_flag_on.
Check Data Source validity
CASE i_dsource.
WHEN 'ZMMF_PACM'.
WHEN OTHERS.
IF 1 = 2. MESSAGE e009(r3). ENDIF.
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
APPEND LINES OF i_t_select TO s_s_if-t_select.
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
CLEAR : sy-index.
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
ELSE. "Initialization mode or data extraction ?
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'WERKS'.
MOVE-CORRESPONDING l_s_select TO s_werks.
APPEND s_werks.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'EKORG'.
MOVE-CORRESPONDING l_s_select TO s_ekorg.
APPEND s_ekorg.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'MATNR'.
MOVE-CORRESPONDING l_s_select TO s_matnr.
APPEND s_matnr.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'MATKL'.
MOVE-CORRESPONDING l_s_select TO s_matkl.
APPEND s_matkl.
ENDLOOP.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'SPMON'.
MOVE-CORRESPONDING l_s_select TO s_spmon.
APPEND s_spmon.
ENDLOOP.
viswa
START-OF-SELECTION. *
*START-OF-SELECTION.
CONCATENATE s_spmon-low '01' INTO w_date.
CONCATENATE s_spmon-high '01' INTO w_date1.
CALL FUNCTION 'MM_LAST_DAY_OF_MONTHS'
EXPORTING
day_in = w_date1
IMPORTING
last_day_of_month = w_date2.
EXCEPTIONS
DAY_IN_NO_DATE = 1
OTHERS = 2 .
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
r_date-sign = 'I'.
r_date-option = 'BT'.
r_date-low = w_date.
r_date-high = w_date2.
APPEND r_date.
CLEAR r_date.
r_werks-sign = 'I'.
r_werks-option = 'BT'.
r_werks-low = s_werks.
r_werks-high = s_werks.
APPEND r_werks.
CLEAR r_werks.
***********mov types**************
r_bwart-sign = 'I'.
r_bwart-option = 'EQ'.
r_bwart-low = '101'.
APPEND r_bwart.
CLEAR r_bwart.
r_bwart-sign = 'I'.
r_bwart-option = 'EQ'.
r_bwart-low = '102'.
APPEND r_bwart.
CLEAR r_bwart.
r_bwart-sign = 'I'.
r_bwart-option = 'EQ'.
r_bwart-low = '122'.
APPEND r_bwart.
CLEAR r_bwart.
r_matnr-sign = 'I'.
r_matnr-option = 'BT'.
r_matnr-low = p_matnr.
r_matnr-high = p_matnr.
APPEND r_matnr.
CLEAR r_matnr.
CLEAR : list, list[].
FREE : list, list[].
SUBMIT zmmr_mdl WITH matnr IN s_matnr
WITH werks IN s_werks
WITH bwart IN r_bwart
WITH budat IN r_date
WITH ar_flag = 'X'
AND RETURN.
IMPORT list FROM MEMORY ID '%%LIST%%'.
FREE MEMORY ID '%%LIST%%'.
DELETE list WHERE bwart = '101'
AND shkzg = 'H'.
DELETE list WHERE bwart = '102'
AND shkzg = 'S'.
DELETE list WHERE bwart = '122'
AND shkzg = 'S'.
DELETE list WHERE ebeln = space.
SELECT ebeln
ekorg FROM ekko INTO TABLE t_ekko
FOR ALL ENTRIES IN list
WHERE ebeln = list-ebeln
AND ekorg IN s_ekorg.
SELECT ebeln
ebelp
matnr
werks
matkl FROM ekpo INTO TABLE t_ekpo
FOR ALL ENTRIES IN t_ekko
WHERE ebeln = t_ekko-ebeln
AND werks IN s_werks
AND matnr IN s_matnr
AND matkl IN s_matkl.
LOOP AT list.
LOOP AT t_ekpo WHERE werks = list-werks
AND ebeln = list-ebeln
AND matnr = list-matnr.
READ TABLE t_ekpo WITH KEY werks = list-werks
ebeln = list-ebeln
matnr = list-matnr.
READ TABLE t_ekko WITH KEY ebeln = t_ekpo-ebeln.
IF sy-subrc = 0.
MOVE:list-ebeln TO t_final-ebeln,
list-werks TO t_final-werks,
list-budat TO t_final-budat,
list-menge TO t_final-menge,
list-dmbtr TO t_final-dmbtr,
list-meins TO t_final-meins,
t_ekko-ekorg TO t_final-ekorg,
t_ekpo-matnr TO t_final-matnr,
t_ekpo-matkl TO t_final-matkl.
ENDIF.
ENDLOOP.
APPEND t_final.
CLEAR t_final.
ENDLOOP.
DATA : ind TYPE i.
DATA : ind1 TYPE i.
DATA : p_size LIKE s_s_if-maxsize.
t1 = t1 + 1.
IF t1 > 1.
ind1 = 1.
DO t1 TIMES.
IF ind1 NE 1.
DELETE t_final FROM 1 TO s_s_if-maxsize.
ENDIF.
ind1 = ind1 + 1.
ENDDO.
ENDIF.
DATA:w_wgbez LIKE t023t-wgbez,
w_mtart LIKE mara-mtart.
LOOP AT t_final.
ind = ind + 1.
IF s_s_if-maxsize GE ind.
e_t_data-werks = t_final-werks.
e_t_data-ekorg = t_final-ekorg.
e_t_data-matkl = t_final-matkl.
SELECT SINGLE wgbez FROM t023t INTO w_wgbez WHERE matkl = e_t_data-matkl.
e_t_data-wgbez = w_wgbez.
SELECT SINGLE mtart FROM mara INTO w_mtart WHERE matnr = t_final-matnr.
e_t_data-mtart = w_mtart.
IF t_final-budat+4(2) = '01'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-jan_qty = t_final-menge.
e_t_data-jan_val = t_final-dmbtr.
IF NOT e_t_data-jan_qty IS INITIAL.
e_t_data-jan_avg = e_t_data-jan_val / e_t_data-jan_qty.
ENDIF.
v_jan = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '02'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-feb_qty = t_final-menge.
e_t_data-feb_val = t_final-dmbtr.
IF NOT e_t_data-feb_qty IS INITIAL.
e_t_data-feb_avg = e_t_data-feb_val / e_t_data-feb_qty.
ENDIF.
v_feb = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '03'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-mar_qty = t_final-menge.
e_t_data-mar_val = t_final-dmbtr.
IF NOT e_t_data-mar_qty IS INITIAL.
e_t_data-mar_avg = e_t_data-mar_val / e_t_data-mar_qty.
ENDIF.
v_mar = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '04'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-apr_qty = t_final-menge.
e_t_data-apr_val = t_final-dmbtr.
IF NOT e_t_data-apr_qty IS INITIAL.
e_t_data-apr_avg = e_t_data-apr_val / e_t_data-apr_qty.
ENDIF.
v_apr = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '05'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-may_qty = t_final-menge.
e_t_data-may_val = t_final-dmbtr.
IF NOT e_t_data-may_qty IS INITIAL.
e_t_data-may_avg = e_t_data-may_val / e_t_data-may_qty.
ENDIF.
v_may = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '06'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-jun_qty = t_final-menge.
e_t_data-jun_val = t_final-dmbtr.
IF NOT e_t_data-jun_qty IS INITIAL.
e_t_data-jun_avg = e_t_data-jun_val / e_t_data-jun_qty.
ENDIF.
v_jun = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '07'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-jul_qty = t_final-menge.
e_t_data-jul_val = t_final-dmbtr.
IF NOT e_t_data-jul_qty IS INITIAL.
e_t_data-jul_avg = e_t_data-jul_val / e_t_data-jul_qty .
ENDIF.
v_jul = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '08'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-aug_qty = t_final-menge.
e_t_data-aug_val = t_final-dmbtr.
IF NOT e_t_data-aug_qty IS INITIAL.
e_t_data-aug_avg = e_t_data-aug_val / e_t_data-aug_qty.
ENDIF.
v_aug = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '09'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-sep_qty = t_final-menge.
e_t_data-sep_val = t_final-dmbtr.
IF NOT e_t_data-sep_qty IS INITIAL.
e_t_data-sep_avg = e_t_data-sep_val / e_t_data-sep_qty.
ENDIF.
v_sep = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '10'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-oct_qty = t_final-menge.
e_t_data-oct_val = t_final-dmbtr.
IF NOT e_t_data-oct_qty IS INITIAL.
e_t_data-oct_avg = e_t_data-oct_val / e_t_data-oct_qty.
ENDIF.
v_oct = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '11'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-nov_qty = t_final-menge.
e_t_data-nov_val = t_final-dmbtr.
IF NOT e_t_data-nov_qty IS INITIAL.
e_t_data-nov_avg = e_t_data-nov_val / e_t_data-nov_qty.
ENDIF.
v_nov = t_final-budat+2(2).
ELSEIF t_final-budat+4(2) = '12'.
e_t_data-meins = t_final-meins.
e_t_data-matnr = t_final-matnr.
e_t_data-spmon = t_final-budat+0(6).
e_t_data-dec_qty = t_final-menge.
e_t_data-dec_val = t_final-dmbtr.
IF NOT e_t_data-dec_qty IS INITIAL.
e_t_data-dec_avg = e_t_data-dec_val / e_t_data-dec_qty.
ENDIF.
ENDIF.
v_dec = t_final-budat+2(2).
e_t_data-till_qty = e_t_data-jan_qty + e_t_data-feb_qty + e_t_data-mar_qty + e_t_data-apr_qty +
e_t_data-may_qty + e_t_data-jun_qty + e_t_data-jul_qty + e_t_data-aug_qty + e_t_data-sep_qty
+ e_t_data-oct_qty + e_t_data-nov_qty + e_t_data-dec_qty.
e_t_data-till_val = e_t_data-jan_val + e_t_data-feb_val + e_t_data-mar_val + e_t_data-apr_val +
e_t_data-may_val + e_t_data-jun_val + e_t_data-jul_val + e_t_data-aug_val + e_t_data-sep_val
+ e_t_data-oct_val + e_t_data-nov_val + e_t_data-dec_val.
IF NOT e_t_data-till_qty IS INITIAL.
e_t_data-till_avg = e_t_data-till_val / e_t_data-till_qty.
ENDIF.
CLEAR w_maktx.
SELECT SINGLE maktx FROM makt INTO w_maktx WHERE matnr = t_final-matnr.
e_t_data-maktx = w_maktx.
APPEND e_t_data.
CLEAR :e_t_data,w_wgbez,w_mtart.
ENDIF.
ENDLOOP.
ENDIF.
ENDFUNCTION.thanks
-
Payment file duplication in target system in F110 Transaction
Hi All
Payment file duplication in target system. Wherein since the Print Job was scheduled twice by user, the duplication of payment had taken place.The payment medium program u201CRFFOAVIS_FPAYMu201D is use to control the generation of duplicate payment file at automatic payment run program(F110).User needs an warning message if print job is schedule twice on same date and same identification number.Has Any one implemented such a scenario.
Thanks!Hi Vikram,
Please set up the validation with the help of your abaper in T.Code OB28 with message type E along with message variables co.code and header level tables.
Regards,
Srinivas Muthyala -
Substitution variable in Load rule Header Essbase 11.1.1.3
Think its obvious you can use substitution variable as a Header definition on Load rules, does version 11.1.1.3 has any issues' with it, i am running into Unexpected Essbase error 1019026.
Error:
Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
Unexpected Essbase error 1019026
I want to copy Actual data into other scenario's in ASO cube so thought will use substitution variables to eliminate duplication on load rules.
Mgmt Actual is a scenario set thru Substitution variable at the DB level
i.e *&CurScen="Mgmt Actual" (set at DB level)*
Header Definition on load rule *&CurScen,"Base","No Vertical","No Customer"*
Data load work fine If i replace substitution variable with original member *"Mgmt Actual","Base","No Vertical","No Customer"*.
I did notice some users complaining erratic behavior when substitution variables are placed in load rule header at the End on multiple members, i have tried all places End, First and Middle.
tried using single Load rule with EAS and MAXl same results.
i want to keep altering scenarios on header definition and use same rule files.
alter database AppName.DbName set variable CurScen '"Mgmt Actual"';
Running out of ideas any help!Error:
Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
Unexpected Essbase error 1019026
*1019026 Unknown member memberName found while processing string string*
Possible Problems
Analytic Services does not recognize the listed string as a member of the outline.
Possible Solutions
Make sure that the member name is valid. The member name is in the rules file.
* Are you using the correct rules file?
* Is the rules file connected to the correct outline?
* Can you validate the rules file?
* Are member names or variable names enclosed in quotation marks where necessary?
* Does the member exist in the outline? If not, you can add the member by modifying the outline during the dimension build or add the member in the Outline Editor.
* Make sure that the member is not specified as a header in the rules file.
Regards,
Prabhas -
Duplication of Amounts in report based on One-many joins
Sorry for the long description but I think it's better to be explicit. This is a very generic problem though with the design of BO. We have BO /Webi 6.5. I support a reporting system delivered by a third party, and need to fix issues with the reports. I am free to customise the views, the Universe and the reports. The most frequent problem I am faced with, is that of duplication of figures in report columns derived from 'measure' objects. For eg:
A report needs to display Fixed Asset Capital Cost and Depreciation over period from-to. In a simplified form, the views and universe design are as following:
Two tables(views):
1. Fixed Asset:
Asset Number,
Asset Description,
Acquisition Date,
Retire Date,
Capital Cost ($)
The capital cost (acqusition cost) does not change
2. Fixed Asset Depreciation:
Asset Number,
Period Number,
Period Depreciation ($)
The Period Depreciation is a value that is deducted from the asset's capital value, month after month, until the asset is fully depreciated.
The two tables join on Asset Number. There is a 1 to N cardinality from table 1 to table 2, as well as outer join because not all Fixed Assets will have depreciation recorded.
As assets come and go, when the report is run for period from/to, not all assets have depreciation records for each period in range.
Report prompts are: Period Number From & Period Number To.
The report needs to display Grand Totals for:
Total Capital Costs from all assets that were on books in period from/to
Total depreciation period from/to
Simplified Report Format:
Reporting period From/To
Asset Number | Description | Capital Cost | Depreciation
nnnnnnnnnn | xxxxxxx | 99999999 | 99999999
========================================================
Grand Totals: Count Asset: 99999 | 99999999 | 99999999
Universe Objects for Capital Cost and Period Depreciation are defined as Measures.
I have defined a second object in the Universe for Capital Cost as a Dimension, [Capital Cost dim], which allows to report correct Capital Cost value against the fixed asset item in the detail row of the deport.
In the report Grand Total I need to display sum([Capital Cost dim]). The problem I have is that this Grand Total includes duplication of amounts for Capital Cost, when reported for Perid From <> Period To, and where more than one period depreciation is recorded for the asset.
I realise the reason for the problem is in the joining of the two tables as a 1-N and so the Capital Cost is duplicated. I was not able to find a work around. In other reporting tools I could solve the problem in the report design, by naming the break variable used to report Capital Cost against the asset, and then summing up from that variable to obtain the Grand Total. In BO & Webi this does not seem to be available, the variable definitions for sum([object]) are global and appear to work the same on all breaking levels up to grand total.
Your help is much appreciated.
Edited by: Calator on Jun 2, 2010 8:18 AMTwo ways to over come this situation,
1. Create two data providers. One for the Depreciation and the second on for Fixed cost.
In the report merge asset Number and have the measure objects do the magic for you.
2. Kind of complex, but worth trying. This works in the table column, Try and see if it works in the footer of the table
Create a varible for the table column.
Asset# count=Count([(Merged)Asset Number])
Actual value=Sum(If([Asset# count]>1; ([Fixed Cost]/[Asset# count]);[Fixed Cost]))-Sum([Depreciation]) -
FM Variables renamed and duplicated after save to XML
Hello again,
I am also encountering an issue where saving structured docs as XML results in duplication and renaming of variables. For example, in a particular document I have the name of the web service inserted as a variable 4 times throughout the piece. After I save to XML, the variable is renamed fmvar1, fmvar2, fmvar3, and fmvar4. So, when I open the doc again, instead of having 1 variable in 4 locations, I now have 4 variables in 4 locations.
Is this something I should expect, as there is no legitimate way to tell the XML doc (or for FM to pass that information on) that it is the same variable, used in 4 places?
Regards,
HannahHannah,
You don't mention the name of your FrameMaker variable. I suspect that it contains a space or other special character that is not permitted in an XML name.
FrameMaker writes variables to XML as general entity references. If a variable name is a valid MXL name, by default it uses the variable name as the entity name. Multiple references to such an entity can occur. If not, it names the variable fmvar# where # is an integer. In this case, you are correct that it generates a different entity for each occurrence of the variable. I also consider this proliferation of general entities to be a bug.
You can change the default behavior with a r/w rule in the form:
entity "twowords" is fm variable "two words";
In your case, thus, you have at least 3 choices:
1) Live with the multiple entities
2) Rename the variable to something that can be used as an entity name
3) Add a r/w rule for each variable in any document that causes this problem
--Lynne -
Rman duplication of database to the same server and same disk group
Hi,
We have multiple databases - rmsprd1 and oidprd1 on asm disk groups - ASMDG_DAT01 and ASMDG_FRA01 on a server.
Both these databases are single instance asm based databases.
I am trying to do a rman duplication from rmsprd1 to rmsprd2 in the same server. I intend to use the same asm disk groups - ASMDG_DAT01 and ASMDG_FRA01.
Is this possible ?
Currently I have the following structure
+ASMDG_DAT01/RMSPRD1/DATAFILE
+ASMDG_DAT01/RMSPRD1/CHANGETRACKING/
+ASMDG_DAT01/RMSPRD1/CONTROLFILE/
+ASMDG_DAT01/RMSPRD1/DATAFILE/
+ASMDG_DAT01/RMSPRD1/ONLINELOG/
+ASMDG_DAT01/RMSPRD1/PARAMETERFILE/
+ASMDG_DAT01/RMSPRD1/TEMPFILE/
+ASMDG_FRA01/RMSPRD1/AUTOBACKUP/
+ASMDG_FRA01/RMSPRD1/BACKUPSET/
+ASMDG_FRA01/RMSPRD1/CONTROLFILE/
+ASMDG_FRA01/RMSPRD1/DATAFILE/
+ASMDG_FRA01/RMSPRD1/ONLINELOG/
Will I be able to create something like
+ASMDG_DAT01/RMSPRD2/DATAFILE
+ASMDG_DAT01/RMSPRD2/CHANGETRACKING/
+ASMDG_DAT01/RMSPRD2/CONTROLFILE/
+ASMDG_DAT01/RMSPRD2/DATAFILE/
+ASMDG_DAT01/RMSPRD2/ONLINELOG/
+ASMDG_DAT01/RMSPRD2/PARAMETERFILE/
+ASMDG_DAT01/RMSPRD2/TEMPFILE/
+ASMDG_FRA01/RMSPRD2/AUTOBACKUP/
+ASMDG_FRA01/RMSPRD2/BACKUPSET/
+ASMDG_FRA01/RMSPRD2/CONTROLFILE/
+ASMDG_FRA01/RMSPRD2/DATAFILE/
+ASMDG_FRA01/RMSPRD2/ONLINELOG/
I know that I can create a different asm disk group for the rman duplication but this is proving to be a hassle.
Thanks
SandeepHi,
I have found the answer working with Oracle via a service request. Admittedly there was no direct oracle documentation for doing this and hence documenting the steps here.
No legalities, formalities involved please.
Here are the steps - rmsprd1 is the source, rmsprd2 is the target, +ASM is the asm instance supporting both rmsprd1 and rmsprd2. The intention is to put both the source and destination in the same server. The backupset backup in location /dbaadm/sandeep_rman_refresh will be used for the duplication.
1) Take rman backupset backup of the source database - rmsprd1
rman_take_backup.ksh ( Take backup of source - rmsprd1 using rman ). The contents of the rman_take_backup.sh script are given below :
rm /dbaadm/sandeep_rman_refresh/*
export NLS_DATE_FORMAT='YYYY-MM-DD:HH24:MI:SS'
rman target / <<EOF
run
allocate channel d1 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d2 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d3 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d4 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d5 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
allocate channel d6 device type disk format '/dbaadm/sandeep_rman_refresh/%U';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/dbaadm/sandeep_rman_refresh/%F';
backup as backupset database plus archivelog tag 'clonebackupset';
EOF
2) Make the directories for destination database ( rmsprd2 )
/opt/oracle/admin> mkdir -p rmsprd2/adump rmsprd2/dpdump rmsprd2/pfile rmsprd2/scripts
3) Create pfile from rmsprd1 spfile. copy/rename the pfile to make a pfile for rmsprd2.
4) Edit listener.ora in ASM ORACLE_HOME and edit tnsnames.ora in DB ORACLE_HOME
listener.ora
LISTENER_RMSPRD2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
SID_LIST_LISTENER_RMSPRD2 =
(SID_LIST =
(SID_DESC =
( ORACLE_HOME = /opt/oracle/product/11.2.0/db_1 )
( SID_NAME = rmsprd2 )
ADR_BASE_LISTENER_RMSPRD2 = /opt/oracle
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_RMSPRD2=ON # Section added by Sandeep
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_RMSPRD2=OFF
ADMIN_RESTRICTIONS_LISTENER_RMSPRD2=ON
tnsnames.ora ( http://francispaulraj.wordpress.com/ora-12528-tnslistener-all-appropriate-instances-are-blocking-new-connections/ )
RMSPRD2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = kirkjerpdb01.kirklands.com)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rmsprd2)
(UR = A)
5) Build a passwordfile ( I just copied and renamed it )
6) Edit /etc/oratab to add database entry for rmsprd2
7) Set the environment for rmsprd2
. oraenv
rmsprd2
8) Startup nomount of rmsprd2
sqlplus / as sysdba
startup nomount pfile=/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora
9) Create spfile from pfile='/opt/oracle/admin/rmsprd2/pfile/initrmsprd2.ora';
10) shutdown and startup rmsprd2 with spfile
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2213632 bytes
Variable Size 788531456 bytes
Database Buffers 268435456 bytes
Redo Buffers 9756672 bytes
11) We are now ready for duplication from rmsprd1 ( source ) to rmsprd2 ( destination ) both using +ASM standalone asm instance. set the environment to rmsprd1and fire away.
Please note that the duplicate script is only connecting to auxilary database ( rmsprd2 ) and using the backup location for the duplication.
I used a unix shell script -rman_duplicate_from_backup.ksh. The contents are given below :
$ORACLE_HOME/bin/rman auxiliary sys/prd123@rmsprd2 log=rman_duplicate_from_backup.log << EOF
run
allocate auxiliary channel d1 device type disk;
allocate auxiliary channel d2 device type disk;
allocate auxiliary channel d3 device type disk;
allocate auxiliary channel d4 device type disk;
allocate auxiliary channel d5 device type disk;
allocate auxiliary channel d6 device type disk;
DUPLICATE DATABASE TO rmsprd2
BACKUP LOCATION '/dbaadm/sandeep_rman_refresh';
EOF
12) Voila - the rmsprd1 to rmsprd2 is done.....
Hope this helps somebody else wanting to do the same excercize. Have Fun.....
regards
Sandeep -
Problems doing an active Database duplication through RMAN
Hi,
I'm trying to do active Database duplication through RMAN (http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#).
My OS is Sun Solaris 5
Oracle version: 11gR1 Database on a 11gR2 Grid.
I'm receiving the error
RMAN> connect auxiliary sys/sys@rac402
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I'm seeing the listeners are in blocked state as mt auxiliary Database is in nomount state.
Service "rac40" has 1 instance(s).
Instance "rac402", status BLOCKED, has 1 handler(s) for this service...
Service "rac40_XPT" has 1 instance(s).
Instance "rac402", status BLOCKED, has 1 handler(s) for this service...
If I connect directly, I'm able to connect ("connect auxiliary / " after setting ORACLE_SID)
But active RMAN is saying
RMAN-03002: failure of Duplicate Db command at 06/18/2012 01:37:14
RMAN-06217: not connected to auxiliary database with a net service name (I don't know why Oracle is so specific in connecting through net service name only!!!)
So, how could I move forward?? any help is greatly appreciated!!!
Thanks in advance.
Regards,
CSMHi ,
I have issue to active Database duplication issue and getting below error. Can someone suggest something on this error ?
RMAN> duplicate target database to 'ub305' from active database;
Starting Duplicate Db at 07-AUG-2012 13:33:22
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=2 device type=DISK
contents of Memory Script:
sql clone "create spfile from memory";
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
shutdown clone immediate;
startup clone nomount;
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
contents of Memory Script:
sql clone "alter system set control_files =
''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment=
''Set by RMAN'' scope=spfile";
sql clone "alter system set db_name =
''UA305'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''UB305'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '+DG_075_DATA01/ub305/controlfile/current.345.790692287';
restore clone controlfile to '+DG_075_FRA01/ub305/controlfile/current.292.790692289' from
'+DG_075_DATA01/ub305/controlfile/current.345.790692287';
sql clone "alter system set control_files =
''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment=
''Set by RMAN'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
alter clone database mount;
executing Memory Script
sql statement: alter system set control_files = ''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment= ''Set by RMAN'' scope=spfile
sql statement: alter system set db_name = ''UA305'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''UB305'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
Starting backup at 07-AUG-2012 13:34:11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1333 instance=ua3051 device type=DISK
channel ORA_DISK_1: starting datafile copy
copying current control file
output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_ua3051.f tag=TAG20120807T133412 RECID=17 STAMP=790695252
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 07-AUG-2012 13:34:15
Starting restore at 07-AUG-2012 13:34:15
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=2 device type=DISK
channel ORA_AUX_DISK_1: copied control file copy
Finished restore at 07-AUG-2012 13:34:16
sql statement: alter system set control_files = ''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment= ''Set by RMAN'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
database mounted
RMAN-05529: WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to disk group only.
contents of Memory Script:
set newname for datafile 1 to
"+dg_075_data01";
set newname for datafile 2 to
"+dg_075_data01";
set newname for datafile 3 to
"+dg_075_data01";
set newname for datafile 4 to
"+dg_075_data01";
set newname for datafile 5 to
"+dg_075_data01";
set newname for datafile 6 to
"+dg_075_data01";
set newname for datafile 7 to
"+dg_075_data01";
set newname for datafile 8 to
"+DG_075_DATA01/ub305/datafile/ts001_rsa.ora";
backup as copy reuse
datafile 1 auxiliary format
"+dg_075_data01" datafile
2 auxiliary format
"+dg_075_data01" datafile
3 auxiliary format
"+dg_075_data01" datafile
4 auxiliary format
"+dg_075_data01" datafile
5 auxiliary format
"+dg_075_data01" datafile
6 auxiliary format
"+dg_075_data01" datafile
7 auxiliary format
"+dg_075_data01" datafile
8 auxiliary format
"+DG_075_DATA01/ub305/datafile/ts001_rsa.ora" ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 07-AUG-2012 13:34:46
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00008 name=+DG_305_DATA01/ua305/datafile/ts001_rsa.ora
output file name=+DG_075_DATA01/ub305/datafile/ts001_rsa.ora tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:05
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=+DG_305_DATA01/ua305/datafile/system.256.788357663
output file name=+DG_075_DATA01/ub305/datafile/system.322.790695353 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=+DG_305_DATA01/ua305/datafile/sysaux.257.788357663
output file name=+DG_075_DATA01/ub305/datafile/sysaux.321.790695359 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00007 name=+DG_305_DATA01/ua305/datafile/ata_apm.271.788369355
output file name=+DG_075_DATA01/ub305/datafile/ata_apm.320.790695367 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=+DG_305_DATA01/ua305/datafile/undotbs1.258.788357663
output file name=+DG_075_DATA01/ub305/datafile/undotbs1.319.790695373 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=+DG_305_DATA01/ua305/datafile/users.259.788357663
output file name=+DG_075_DATA01/ub305/datafile/users.316.790695377 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=+DG_305_DATA01/ua305/datafile/undotbs2.264.788357815
output file name=+DG_075_DATA01/ub305/datafile/undotbs2.315.790695381 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00006 name=+DG_305_DATA01/ua305/datafile/ata_mds.270.788369353
output file name=+DG_075_DATA01/ub305/datafile/ata_mds.314.790695383 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 07-AUG-2012 13:36:24
sql statement: alter system archive log current
contents of Memory Script:
backup as copy reuse
archivelog like "+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_1_seq_223.572.790694523" auxiliary format
"+DG_075_FRA01" archivelog like
"+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_1_seq_224.573.790695385" auxiliary format
"+DG_075_FRA01" archivelog like
"+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_2_seq_91.574.790695387" auxiliary format
"+DG_075_FRA01" ;
catalog clone recovery area;
switch clone datafile all;
executing Memory Script
Starting backup at 07-AUG-2012 13:36:30
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=223 RECID=311 STAMP=790694522
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_223.299.790695391 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=224 RECID=312 STAMP=790695384
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=2 sequence=91 RECID=313 STAMP=790695386
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 07-AUG-2012 13:36:34
searching for all files in the recovery area
List of Files Unknown to the Database
=====================================
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_220.279.790692475
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_221.312.790692477
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_222.311.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.310.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.309.790694525
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_90.261.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.262.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.299.790695391
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_224.267.790695393
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_91.283.790695393
File Name: +dg_075_fra01/UB305/CONTROLFILE/Current.289.790692289
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_220.279.790692475
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_221.312.790692477
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_222.311.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.310.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.309.790694525
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_90.261.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.262.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.299.790695391
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_224.267.790695393
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_91.283.790695393
List of Files Which Where Not Cataloged
=======================================
File Name: +dg_075_fra01/UB305/CONTROLFILE/Current.289.790692289
RMAN-07517: Reason: The file header is corrupted
datafile 1 switched to datafile copy
input datafile copy RECID=17 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/system.322.790695353
datafile 2 switched to datafile copy
input datafile copy RECID=18 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/sysaux.321.790695359
datafile 3 switched to datafile copy
input datafile copy RECID=19 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/undotbs1.319.790695373
datafile 4 switched to datafile copy
input datafile copy RECID=20 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/users.316.790695377
datafile 5 switched to datafile copy
input datafile copy RECID=21 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/undotbs2.315.790695381
datafile 6 switched to datafile copy
input datafile copy RECID=22 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ata_mds.314.790695383
datafile 7 switched to datafile copy
input datafile copy RECID=23 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ata_apm.320.790695367
datafile 8 switched to datafile copy
input datafile copy RECID=24 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ts001_rsa.ora
contents of Memory Script:
set until scn 8950952;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 07-AUG-2012 13:36:35
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=191 device type=DISK
starting media recovery
archived log for thread 1 with sequence 224 is already on disk as file +DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393
archived log for thread 2 with sequence 91 is already on disk as file +DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393
archived log file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393 thread=1 sequence=224
archived log file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393 thread=2 sequence=91
media recovery complete, elapsed time: 00:00:01
Finished recover at 07-AUG-2012 13:36:38
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''UB305'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''UB305'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "UB305" RESETLOGS ARCHIVELOG
MAXLOGFILES 192
MAXLOGMEMBERS 3
MAXDATAFILES 1024
MAXINSTANCES 32
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '+dg_075_fra01', '+dg_305_data01' ) SIZE 100 M REUSE,
GROUP 2 ( '+dg_075_fra01', '+dg_305_data01' ) SIZE 100 M REUSE
DATAFILE
'+DG_075_DATA01/ub305/datafile/system.322.790695353'
CHARACTER SET AL32UTF8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/07/2012 13:37:18
RMAN-05501: aborting duplication of target database
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-00349: failure obtaining block size for '+dg_305_data01'
ORA-15001: diskgroup "DG_305_DATA01" does not exist or is not mounted -
Duplication of Notes from Sub-Process to Main Process
Hi all,
I have sub-process and a main process.
I create notes in the main process.
Then put them in the sub-process by re-creating them in the sub-process.
And then when I come out of the sub-process,I re-create the notes in the main process, so that the sub-process notes are added up with the main process notes.
The problem is that the main process notes are duplicated.
The reason being,
I have already transferred and re-created notes in the sub-process while entering it.
I also still have notes in my main process.
When I come out of the sub-process, I transfer and re-create notes in the main process too.
Now, this adds up to the notes already in the main process and so there is a duplication of notes in the main process.
So its
Notes created in Main Process --> Transferred to Sub-process and re-created them for sub-process --> Transferred to Main process and re-created them for merger of the main process notes with the sub-process notes.
(Notes in Main Process) ---> ( Notes in Main Process + Notes in Sub-Process) --> ( Notes in Main Process + Notes in Sub-Process + Previous Notes in Main Process)
Previous notes in Main Process = Notes in Main Process
Therefore the duplication.
notes ( in built) array has no option to clear it up.
How do I clean the notes then?
I need to re-create and transfer them everytime I move from main process to sub-process and back to main process for showing up in the notes section of the workspace?
Also the creator and the creation time of the notes is not reflected.
They seem to be constant variables.
How do I resolve these issues?Anybody on this?
-
Probleme avec la duplication d'image
Bonjour
J'ai une image 8 bit noir et blanc que je filtre a l'aide de plusieurs fonctions.
L'image de sortie est binaire (analyse de particule)
Avant meme de faire passer la source dans un filtre, je duplique l'image et la renvoi à la sortie du VI.
Seulement, le résultat est que j'obtiens pour mon image dupliquée, la même chose que l'image filtrée...
J'ai essayé plusieurs méthodes sans résultat...
CF fichier joint (zip)
Attachments:
Vi_image.zip 186 KBScreenshot du même problème dans un programme...
J'ai positionné 2 sondes : la sonde 50 en sortie de séquence et la sonde 49 sur le même fil mais encore dans la séquence...
Je n'obtiens pas la même image et c'est pourtant le même fil...
J'ai bien vérifié les conditions de la variable "vidéo?"
Attachments:
Clipboard01.jpg 110 KB -
Buffer allocation in functional variable is driving me crazy
Hello,
I have a functional variable that holds 16 waveforms. Theses waveforms will be growing in time. For more memory efficency, I'm trying to use preallocation of the data arrays (let's say 300000 doubles).
But it looks like there is a new buffer allocation at the shift register and this is slowing my application big time.
Since i'm pre-allocating and using inplace structure, I don't see why LabVIEW is doing a duplication of all the waveforms.
Any idea to acheive an efficient functional variable?
Here are the code of my functional variable.
Thanks in advance!
Vincent
Solved!
Go to Solution.I don't think that buffer allocation dot is your problem. That will appear on any uninitialized shift register, and is just LV's way of telling you it's going to store data there.
To improve performance I would add a new case called Get Data that outputs the waveform buffer, rather than having the shift register wired directly to an output indicator. That just forces LV to make a copy of the whole buffer every time this FG is called, even just to write or initialize data. The Get Data case would fork the shift register wire and send it to an output. Select the Use Default Value option for this output for this output terminal, so that the other cases (writing, initializing, etc.) just output an empty array of waveforms, which LV can do very efficiently.
Jarrod S.
National Instruments -
Managing variable sized items for planning and purchase
Dear All,
We have the following situation, kindly help in resolving the same:
Some of the raw materials are variable sized (for example plates). These items come in the Semi-finished/finished BOM as Raw Materials. Now whenver the requirement for SFG/FG is there MRP creates requirement for the variable sized items as well.
We have defined the unit of measure for variable sized items as M2 (meter square). Stock for these items display total area present in the Storage Location. Since these items are cut and used it might be possible that the requirement generated by MRP can be theoretically satisfied against the available stock but cant be practically satisfied against the actual physical stock.
For example in stock we have a sheet of 4m X 5m = 20 M2. The requirement from MRP comes to be 10 M2 but with dimensions 1mX10M. The stock shows available qtty as 20M2, required qtty as 10M2 and hence No PR is generated. But in actual we need to create a PR as dimensions are different.
So to manage this we are giving MRP type of raw materials as ND (No planning). Therefore the system is not creating any PR (even if requirements exceed available stock) it only creates DepReq for the RM. Now we create manual PRs after studying the DepReq. But it seems that it is easy to loose track and difficult to know that for which DepReq the PRs are already created.
Is there any way to relate the manual PRs to the DepReq created by MRP?
If yes, then whenever DepReq will be converted to OrdRes will the above relation still be valid?
Is there any other way of resolving/mapping the above scenario?
Thanks
VineetWe cant maintain separate material codes as the sheet required varies in size and shape. Right now I have come up with the following solution:
1. SAP: Materials which are variable sized will have MRP Type: ND (No Planning)
2. SAP: These items will be in the BOM of FG/SFG with their dimension details
3. SAP: The requirements for the Variable Sized items will be created by the MRP although no planning will be done, i.e. Dependent Requirement against sales order(through FG/SFG) will be created but no PRs/Planned Orders will be generated for these items
4. SAP: List of Requirements in the form of Dependent Requirements and Order reservations can be seen through T-Code MD04.
5. MANUAL: Manual PR is to be created against dependent requirements after checking the quantity and dimensions of the stocks available.
6. MANUAL: Maintain an excel sheet to record the materials and PR numbers created for them with quantity and dimensions. Also keep a record of sales order number from which the requirement has come. Sales order number for a requirement can be viewed through the MD04 T-Code itself. Also the dimensions required can be easily seen by navigating from MD04 to the corresponding production order component list. (Instead of Excel an SAP Table can be developed to maintain the data, the only advantage would be central maintenance of data)
7. For PRs created manually above dimensions will be manually entered in PR as "PO Text".
8. Whenver PRs are created manually the records maintained in point number 6 will have to be checked to avoid duplication of creation of PRs
9. A separate column in excel sheet (refer point 6) can be maintained for the POs created against each PR.
Dependent requirements will automatically be converted to Order Reservations in MD04 view once the Planned order of assembly is converted to a Production Order.
10. Order reservations will automatically be removed from MD04 view once the GI of variable sized material is done to Production Orders.
Do we have a better alternative to this?
Thanks
Geravine
Maybe you are looking for
-
One multiple day event won't show in month view
I have noticed that every time I launch iCal an event (checked for all day event) beginning 9/1 and ending 9/4 will not show up in the month view until I open that day (and it's there) click it and then it will show up as a banner event. If I close i
-
How to create a new domain in BPEL console
Hi Am new to BPEL can some one let me know how to create domain in BPEL console Thanks Baji
-
How can I turn off auto play of an swf/flv using actionscript?
Does anyone know how to turn off autoplay, using actionscript, of swf/flv? I'm trying to showcase four videos on the same page of a website. each video is a generic media player created in flash. when i test the movie, all the videos start playing at
-
"This entry already exists in the following table 'Vat Transactions' (OTAX)
Hi Experts, I have some trouble adding new invoices into SAP. Copying from the Sales order to an AR Invoice the following error occurs Firstly, I get a system message "The Customer ref. no of this type already exists" on processing it follows with a
-
How to include a shared photo by others into book
I am trying to make a book but can not include the photos that where shared by others. How can I do that?