Disable resource_manager_plan parameter
Hi All,
We have a database server setup on RHEL4 and Oracle 10.2.0.1.0 SE. Getting the following error everyday (only once),
Unable to restore resource manager plan to '':
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00439: feature not enabled: Database resource manager.
I have seen many posts related to this issue and knew that it is ignorable.
Most frustrating part is there is script scheduled to monitor the alert log file and send mail if any errors found. So, everyday we get mail with this error. Can someone help me how to turn this off?so that we will not get these messages.
Please give me reply it is very important.
Thanks in advance,
Praveen.
Edited by: techfeud on Jan 19, 2010 12:40 AM
Well, it's not there for me.
SQL> conn / as sysdba
Connected.
SQL> select * from V$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> show parameter resource_manager
NAME TYPE VALUE
resource_manager_cpu_allocation integer 2
resource_manager_plan string
SQL>
What does [0x2843] mean? It looks like a hexadecimal value anyways.
Aman....
Similar Messages
-
How to enable / disable SSRS Parameter
Hi
I want to enable a parameter called "start date" (type is date) when another (value from dropdown) parameter is selected
Say for an example, i have below 3 parameters
1. drop down which 2 values called "vtextbox","vdate"
2. start (data type is date)
3. finish (data type is date)
when i select "vdate"value from the dropdown 2nd and 3rd parameters has to be enable
similarly when i select "vtextbox" value from the dropdown 2nd and 3rd parameter has to disable
I have searched many forums every one says this is not possible in report manager interface
But this is possible in custom code
please make a note all three parameters are independant
It would be great if any one provide the custom code for same
Regards
SantoshHi itsmesantosh1982,
According to your description, you want to use a parameter to control enable/disable other two parameters. Right?
In Reporting Services, when we create a parameter, this parameter has been enabled. The only way you want to disable the parameter is deleting it. In this scenario, disable the two parameter is same as selecting all values in these two parameters. So
we can just modify the default values in 2nd and 3rd parameter instead of using cascading parameter. We can create a dataset, put in the query below:
IF @Param='vtextbox'
select distinct startdate from [table]
else
select '[value]'
The [value] can be any value which is not existing in [table]. So when you select 'vtextbox', the default value will be all values in the table. If you select 'vdate', it will need you to select value automatically because the return value is not existing
in the table. This can be an effective workaround for your requirement.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to disable the parameter ??
hai..
my parameter is like this:-
PARAMETERS: S_ORG LIKE S706-VKORG default '1234'.
Now i want to disable this parameter such that the user should not change the default value.
plz help me.Hi HariKrishna,
As you want to disable the parameter with your default value and want to stop the user to enter value further,Pleae check the code below.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav
PARAMETERS: S_ORG LIKE S706-VKORG default '1234 MODIF ID SC1.
Initialization.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SC1'.
SCREEN-input = '0'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDLOOP. -
Disable selection parameter in Query
Hi,
I would like to disable selection parameter in query.
I add below coding in SQ02 "at selection-screen output" but it cannot work. Any solution besides use variant to disable it?
loop at screen.
if screen-name = 'pa_date'.
screen-input = '0'.
modify screen.
endif.
endloop.
Thanks.Hello Winnie,
Yes you can. Try this one:
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
Parameters: aram1 like mara-matnr.
AT SELECTION-SCREEN OUTPUT.
loop at screen.
if screen-name eq 'PARAM1'.
screen-input = 0.
modify screen.
endif.
endloop.
<><><><><><><><><><><><><><><><><><><><><><><><><><><>
Happy coding! -
How to disable selection parameter for a particular radio button
hi experts,
How to disable selection parameter(bukrs) for a particular radio button 'radio1'.hi,
Check This Code (copy paste and run it ).
U have to use MODIF ID along with the parameter.
*----------------Option
*---Background
*---Summary Report
PARAMETERS : p_backgd RADIOBUTTON GROUP rad1
USER-COMMAND radio DEFAULT 'X'.
PARAMETERS : p_sumrep RADIOBUTTON GROUP rad1 .
*----------------File
PARAMETERS : p_sumfl TYPE char255 modif id ABC .
PARAMETERS : p_detfl TYPE char255 modif id ABC.
*---------------Activate & Deactivate Screen Fields--------------------*
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sumrep = 'X'.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
<b>Please Reward Points & Mark Helpful Answers</b>
To mark Helpful Answers ;click radio Button next to the post.
RadioButtons
<b>o</b> Helpful Answer
<b>o</b> Very helpful Answer
<b>o</b> Problem Solved.
Click any of the above button next to the post; as per the anwers
<b>To close the thread; Click Probelm solved Radio Button next to the post ,
which u feel is best possible answers</b> -
How to enable or disable report parameter based on certain conditions
Hello ALl,
I have 3 parameters in my report. Fst parameter is having a LOV which is having all status value like 'Received,Refunded, Exempted etc).
second parameter is From date and third parameter is To Date which is having value set as "FND_STANDARD_DATE'
Now my requirement is If Status is selected as "Exempted" then From and To Date should be disabled.
if other than that then both should be enabled.....
Please help me out.
How it cna be done.
Thanks in advance
sheetalHi,
You can use a condition
<?xdoxslt:ifelse(Condition,'Paragraph','')?>
Condition is the condition that needs to be satisfied
Paragraph is the paragraph that needs to be displayed if the condition is satisfied
'' is what needs to get displayed if the condition is not satisfied.
Thanks,
Swarna -
Enable/disable report parameter control at runtime in SSRS
Hi,
I am using SSRS 2012. I want to enable/disable or hide/show parameters based on another parameter selection.
I have a 3 parameter, Parameter 1 says which parameter need to show either Parameter2 or parameter3 in the parameter panel. i don't find any expression to show/hide option.
Appreciate your help.
Paramesh GHowever if you want parameters to enable disable then that functionality can be obtained by using cascading parameters
ie make parameters 2 and 3 dependent on 1
So for that created two datasets which will provide values for parameters 2 and 3
Check allow null values for both the parameters
Set default value as NULL for both parameters
then for dataset use queries like
SELECT ...
FROM ..
WHERE @Parameter1 = 'Parameter2'
SELECT ...
FROM ..
WHERE @Parameter1 = 'Parameter3'
This will make sure parameter2 or 3 gets enabled with required values based on what you choose for parametr1
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Ho to disabled the parameter on the selection screen
Hi all,
I have a parameter (p_matnr) and two radiobutton b1 and b2 on the selection screen. Now what the requirement is if user selects radio button b2, the parameter should get disabled. I know it can be done by <b>loop at screen</b> and then modifying the screen but in this case start-of-seection is to be called. In my case as the user selects the radio button b2 the parameter should be appear disabled. the code which is given below will work in that case where user selects the b2 and then press F8. Bu i don't want the user to pres F8. He will only select the b2 and will find the parameter (p_matnr) disabled.
Please suggest something.
AT SELECTION-SCREEN outpu.
IF b2 = 'X'.
LOOP AT SCREEN.
IF screen-name cs 'p1' .
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks,
Annup.Hi,
Try this i have used this in my code
SELECTION-SCREEN BEGIN OF BLOCK b_0 WITH FRAME TITLE text-002.
SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-000.
PARAMETERS: rb_img RADIOBUTTON GROUP rad1 user-command rad.
PARAMETERS: rb_invo RADIOBUTTON GROUP rad1.
SELECTION-SCREEN BEGIN OF BLOCK b_2 WITH FRAME TITLE text-001.
*PARAMETERS: rb_img RADIOBUTTON GROUP rad1.
PARAMETERS: p_from like bkpf-bldat modif id gr2,
p_to like bkpf-bldat modif id gr2.
SELECT-OPTIONS: s_arobj FOR toa01-ar_object modif id gr2.
SELECTION-SCREEN END OF BLOCK b_2.
SELECTION-SCREEN BEGIN OF BLOCK b_3 WITH FRAME TITLE text-001.
*PARAMETERS: rb_invo RADIOBUTTON GROUP rad1.
SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs modif id gr1,
s_belnr FOR bkpf-belnr modif id gr1,
s_gjahr FOR bkpf-gjahr modif id gr1,
SELECTION-SCREEN END OF BLOCK b_3.
SELECTION-SCREEN END OF BLOCK b_0.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'GR1'. "Name field
IF rb_invo = space.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ELSEIF screen-group1 = 'GR2'.
IF rb_invo = c_x.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION.
Thanks & Regards,
Judith. -
How to disable slection parameter?
can any body tell how to disable a selection parameter.
I have parameter p_filename. I want to disable this.
Please let me know.
Thanks and Regards
HarishHi,
<b>Use this code with radio button it will work.
dont forget to add following Thinks
1) Modif ID
2) AT SELECTION-SCREEN OUTPUT
3) screen-input = '0'.
4) screen-group1.</b>
PARAMETERS : p_backgd RADIOBUTTON GROUP rad1
USER-COMMAND radio DEFAULT 'X'.
PARAMETERS : p_sumrep RADIOBUTTON GROUP rad1 .
File
SELECTION-SCREEN : BEGIN OF BLOCK file WITH FRAME TITLE text-052.
PARAMETERS : p_sumfl TYPE char255 modif id ABC .
PARAMETERS : p_detfl TYPE char255 modif id ABC.
SELECTION-SCREEN : END OF BLOCK file.
--Activate & Deactivate Screen Fields--
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sumrep = 'X'.
IF screen-group1 = 'ABC'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
<b>Mark Helpful Answers</b>
Message was edited by: Manoj Gupta -
Disable SSRS parameter using another parameter value
Hello, I'm developing using SQL Server 2008 R2 standard edition & I would like to disable 2 parameters (parRestraint and par RestrantPosition) by using another parameter, "Restraint Filters On Off".
When the user loads the report up, I want the On Off filter to be defaulted to off, and the former 2 params to be disabled, but the default value to be visible for them, which are NDX tuples.
parRestraint default value = [Incident].[Incident Restraint].[All] (from MDX dataset)
parRestraintPosition default value = [Incident].[Incident Restraint Position].[All] (from MDX dataset)
ANy advice appreciated !An additional pierce of information is that the data for the parameters comes from an Analysis Services cube (Restraint and Restraint Position are attributes of the Incident dimension).
I would like to be able to set a null value for default values of Restraint and Restraint Position parameters, but SSRS won't allow me to do this.
My code for Restraint default param value
=IIF(Parameters!IncidentYN.Value = -1,
"null","[Incident].[Incident
Restraint].&[UnAssigned]")
or
=IIF(Parameters!IncidentYN.Value = -1,
null,[Incident].[Incident
Restraint].&[UnAssigned])
Both example fail. I think that this could be achieved with a relational database as the data source for the parameters, but need someone to confirm this.
Thanks everyone.
Dave -
Enabeling/Disabling Report parameter
Hi,
I have to enable/disable the report parameter values depending on the other parameter.
For Eg. I have three report parameters
1. Range- Value set: Yes_No
2. From Date- Value Set:FND_STANDARD_DATE
3. TO date- Value Set:FND_STANDARD_DATE
I have to disable 'From Date' and 'To date' values if Range parameter value is 'No'
We can't modify FND_STANDARD_DATE parameter and can't use $FLEX$.YES_NO to enable/disable values. Can we do this using special value set? I'm ok with creating new custom value sets for 'From Date' and 'To Date' but final date format must be Standard Date
Regards,
RavindraHi,
To achieve this functionality, I have used the special value set.
I'm able to enable/disable the date parameters. However I'm getting following error while entering the date in the date fields.
app-fnd-00006: User Exit #FND PLSQL is not defined
Details:
1. Range- Value set: Yes_No
2. RANGE_DUMMY Value set:None
This will returen Y/N depending on range parameter value.
3. From Date- Value Set:CUSTOM_FND_STANDARD_DATE, Type:Special
This is the special value set. I've added the following quey in the VALIDATE section of the value set
FND PLSQL"BEGIN
IF :$FLEX$. RANGE_DUMMY= N THEN
NULL;
END IF;
END;
4. TO date- Value Set:CUSTOM_FND_STANDARD_DATE,Type:Special
Fromat Type:Standard Date
I'm able to enable/disable the date parameters using above function but its giving mentioned error while entering value for From Date parameter
Regards,
Ravindra
Edited by: user12228525 on Jan 23, 2013 4:01 PM
Edited by: user12228525 on Jan 23, 2013 4:08 PM
Edited by: user12228525 on Jan 23, 2013 4:09 PM
Edited by: user12228525 on Jan 23, 2013 4:11 PM
Edited by: user12228525 on Jan 23, 2013 4:12 PM -
How to disable "Enter Parameter Values" for optional paramters?
I'm having issues getting the Crystal Reports .NET Viewer to suppress the "Enter Parameter Values" dialog for optional parameters. I have templates created using Crystal Reports 2008 and am linking against the CR for VS 2010 runtime.
Within the report template the optional paramter has "Optional Prompt" set to "True". This particular parameter also allows multiple values and is used in record selection. Within the record selection it is using HasValue().
It seems the parameter is set up properly as I have other parameters that are set within the code that are not prompted for. If I pass in the optional parameter through the code the "Enter Paramater Values" dialog also does not appear and the report is generated correctly. All of the parameters are set using ParameterFields and they are set before the ReportSource is set.
Looking through the .NET API documentation it seems like the CrystalReportViewer should have an "EnableParameterPrompt" property that would do what I want however it doesn't seem to be a valid parameter as I get compile errors when I try to use it... Not sure if it matters or not but I am using managed C++ and our application is built using Visual Studio 2005. Could that maybe have something to do with it?
Thanks,
-BenOK, I'm going to answer my own question as with a little more digging I was able to find out that I needed to set some stuff on the report document to specify that there are no values. Still not sure why "EnableParameterPrompt" is not valid for me though as it seems like that would work as well. At any rate here is what I needed to do:
ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->Clear();
ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->IsNoValue = true;
-Ben -
Hi All,
I need to disable the parameter depends on the check box selected.
I cannot use select-options.
Please help me out.
Thank u,
Rohith
Don't ask basic questions, search the forum for the answers
Edited by: Vijay Babu Dudla on Jan 15, 2009 4:28 AMhI,
Before asking questions search our SCN for the similar kind of question.
Hope the following code will help u.
selection-screen begin of block input with frame title text-000.
parameters :desktop radiobutton group rg_f user-command rg_f,
in_file type ibipparms-path modif id ps,
menu radiobutton group rg_f,
sys_file type ibipparms-path modif id as default '/sapia/iface/in/comm/sapfin/' .
selection-screen end of block input.
loop at screen.
if screen-group1 = 'PS'.
if desktop = c_x.
screen-input = 1.
sys_file = c_server_path.
else.
screen-input = 0.
endif.
endif.
if screen-group1 = 'AS'.
if menu = c_x.
screen-input = 1.
clear: in_file.
else.
screen-input = 0.
endif.
endif.
modify screen.
endloop.
Thanks. -
Disabling and or hiding parameter controls depending on the value of a popup
How should I go about doing this? I've set the flags for the popup param to PF_ParamFlag_SUPERVISE like so
def.flags = PF_ParamFlag_SUPERVISE;
PF_ADD_POPUP(
"Mode",
6,
1,
"Option 1|Option 2|...",
POPUP_MODE_ID
And I'm capturing the PF_Cmd_USER_CHANGED_PARAM command like so
case PF_Cmd_USER_CHANGED_PARAM:
ERR(UserChangedParam(in_data, out_data, params, output, reinterpret_cast<PF_UserChangedParamExtra *>(extra));
break;
static PF_Err UserChangedParam(
PF_InData* in_data,
PF_OutData* out_data,
PF_ParamDef* params[],
PF_LayerDef* outputP,
PF_UserChangedParamExtra* extra)
PF_Err err = PF_Err_NONE;
if (extra->param_index == POPUP_MODE_ID)
if (params[POPUP_MODE_ID]->u.cd.value == 2)
//Code to enable and show the controls
else
//Cose to disable or hide the controls
return err;
Am I doing everything right so far? What code do I need to put in the "if (params[POPUP_MODE_ID]->u.cd.value == 2)" block to disable a parameter? How different would the code be to hide the parameter completely? Can I hid entire topics like I can hide parameters? I'd have a use for all three things, I just can't figure out how to do them.I took a look at the Supervisor sample project. I've managed to figure out how to disable controls, which I've done like so:
AEGP_SuiteHandler suites(in_data->pica_basicP);
params[CONTROL_ID]->ui_flags |= PF_PUI_DISABLED;
params[CONTROL_ID]->flags |= PF_ParamFlag_COLLAPSE_TWIRLY;
ERR(suites.ParamUtilsSuite3()->PF_UpdateParamUI(
in_data->effect_ref,
CONTROL_ID,
params[CONTROL_ID]
Enabling should be something this instead:
params[CONTROL_ID]->ui_flags &= ~PF_PUI_DISABLED;
What I can't figure out, still, is how to hide a control. I've tried to set the PF_PUI_INVISIBLE flag but that did not seem to change anything. It looks like the Supervisor plugin is setting the exact same flag to hide controls but it must have something else that I'm missing. -
I would like to generate report without Parameter form being displayed.How to do?
If you use Forms to pass parameters to Reports, use add_parameter('PARAMFORM',text_parameter,'NO'). This will "disable" the parameter form.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by keyurashu:
I would like to generate report without Parameter form being displayed.How to do?<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
i contact with at&t to unlock my i phone and they send me approved so would you tel me why not active yest <Edited by Host>
-
My iTunes is messing up.
'm trying to retore my iPhone 4s, why is my itunes updating my software when its already up to date
-
Hai Adobe users, I am using accordion container.Normally in accordion using selectedindex=0 then first tab willbe open...but i want initially,all accordion tab willbe open.. How is it possible..plz guide me... Thanks & Regards, Sivamurugan
-
Having Issues with after effects, advice needed
Hi I am having some unusual issues and a general question about after effects.The first question is how to remove all the thumb marks that i keep making ever time move the time line indicator down the time line, it auto creates thumb marks that I d
-
Hi all, Has any one of you implemented the effort reporting in SAP ? http://help.sap.com/saphelp_erp60_sp/helpdata/en/42/b729bdde741d64e10000000a1553f6/frameset.htm I see that there are web applications for this, Are there any R/3 applications which