SPFILE and Undocumented Parameters
Hi all,
We would like to set an undocumented parameter, and we are using an spfile. We can't use the alter system command to set it, because it complains about the underscore. Is there a way to set an undocumented parameter while using an spfile? Or do we have to generate a pfile and set it that way?
Thanks,
Sam
Hi all,We would like to set an undocumented parameter, and we are using an spfile. We can't use the alter system command to set it, because it complains about the underscore. Is there a way to set an undocumented parameter while using an spfile? Or do we have to generate a pfile and set it that way?
>
What is the undocumented parameter that you are going to se, and more importantly why are you setting it???
Anand
Similar Messages
-
Increase the SGA_MAX_SIZE and SGA_TARGET parameters
HI ,
I am using oracle 10g R2 and windows server 2003 .
My server is having 8 GB RAM .
I want to increase the SGA_MAX_SIZE and SGA_TARGET parameters .
I am using the below command , but getting the error
SQL> alter system set sga_max_size=2000M scope=spfile ;
alter system set sga_max_size=2000M scope=spfile
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE specified at startup
Can someone please help ..hi
connect as sys user and then try...
first make folder as backup and then copy the old SPFILEorcl to the same folder(backup)
now you can easily modify the files otherwise you will get error..
you will find here..
C:\ORACLE_HOME\database
SQL> alter system set sga_max_size=2000M scope=spfile ;
System altered.OR.
connect as sys user.
and do the following...
1).SQL>create pfile from spfile;
2).modify the pfile and decrease\increase the size of pools.
3).shutdown database.
4). Startup database using created pfile.
if it start ok then.
5.) Recreate the Spfile with the created Pfile.
SQL>create spfile from pfile;sarah -
Hi
if i want to chnage any db parameter in 12 , i need to use Autoconfig?
can i just
alter system set .....
or i can do that only for the parmeters not in the context file?
thanksHi,
if i want to chnage any db parameter in 12 , i need to use Autoconfig?No.
can i just
alter system set .....Yes -- Provided that you use spfile and you are allowed to change the parameter using this command -- See (Note: 249664.1 - Pfile vs SPfile) for details.
Note: 216205.1 - Database Initialization Parameters for Oracle Applications Release 11i
Note: 396009.1 - Database Initialization Parameters for Oracle Applications Release 12
Thanks,
Hussein -
How to open a page from a Form and pass parameters to the form on that page
I found a similar example on this forum, but it did not work for me:
declare
l_names owa.vc_arr;
l_values owa.vc_arr;
i number;
begin
PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
FOR i in 1..l_names.count
LOOP
htp.p(l_names(i) || ' ' || l_values(i));
END LOOP;
end;
By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
Another method I tried:
To open a Form from a Form and pass parameters works fine like this:
--In the After processing page PL/SQL event.
declare
v_id number;
blk varchar2(10):='DEFAULT';
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
if v_id > 0 then
htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
htp.formSubmit(NULL,'Upload Files');
htp.formClose;
end if;
End;
But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
Best regards
HalvorHi,
You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
You can call this code in the success procedure of the calling form.
declare
v_id number;
blk varchar2(10):='DEFAULT';
v_url varchar2(2000);
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
v_url := <page_url>;
if v_id > 0 then
call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
end if;
End;
In the called form in "Before displaying form" plsql section write this code.
for i in 1..p_arg_names.count loop
if p_arg_names(i) = 'id' then
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_ID',
p_value => p_arg_values(i)
end if;
end loop;
This code picks up the value from p_arg_values and assigns it to the form field.
Hope that helps.
Thanks,
Sharmila -
Exporting and importing parameters
Hi,
Can any one explain how the exporting and imopting parameters work in case of function call.
for example in the folowing code:
CALL FUNCTION DOWNLOAD
EXPORTING
FILENAME = <default file name>
FILETYPE = <default file type>
MODE = <create new or extend>
IMPORTING
FILESIZE = <size of file in bytes>
TABLES
DATA_TAB = <internal table to transfer>
EXCEPTIONS. . . .
Do we have to specify the importin parameters also in the program, and if yes what is the use of specifying them.
Thanks,
DhirajYou need to fill only export parameter and tables parameter
CALL FUNCTION DOWNLOAD
EXPORTING
FILENAME = <default file name> -> specify local file name
FILETYPE = <default file type> 'ASC'
MODE = <create new or extend> comment mode
IMPORTING -> comment import parameters
FILESIZE = <size of file in bytes> comment
TABLES
DATA_TAB = <internal table to transfer> -> give internal table
EXCEPTIONS. . . . uncomment all exceptions
this FM will download the data from internal table data to local file as like.txt or .xls
Thanks
Seshu -
What are the names and the parameters of the SSIS reports
what are the names and the parameters of the SSIS reports
(delivered with and included in the SSMS)
to navigate from my reports to the build in reports
it's necessary to know the reportname and the parameters.
I want to "combine" respectively want to navigate
from custom reports (works excellent) to the 5 build in reports
please have a look at the attached picture and in particular
to the blue arrow.SSIS_ReportsNavigation
thank you for providing an answer or a hint.to navigate from my reports to the build in reports
Those integrated reports in SSMS are not hosted in SSRS, so there is no URL available where you can navigate to.
The reports run in client side rendering mode = RDLC.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
RMAN retention policy - backup spfile and then redundancy = 5 removes it.
I have a database that is Oracle Standard Edition and it is version 9.2.0.6.
The spfile has not changed since November, 2005. A list backup does not show an spfile backup with a tag of "hot_database_spfile_backup_full". I took a close look at the RMAN script log and was shocked to discover that the spfile backup from the current day is being deleted. Is that because of the redundancy = 5? I'm trying to figure out why a backup piece from the current day is being deleted?
Examples follow.
The script deletes obsolete with redundancy = 5, however, I believe the intent was to keep 25 days because one of the configure clauses is set to a recovery window of 25 days. I realize that the redundancy overrides the configure retention policy command. I can fix the script and remove the redundancy = 5.
In the RMAN run statement, I first resync the catalog, backup the spfile, a full backup of the database including current controlfile plus archive log (delete input), resync catalog, switch logfile, and backup any additional archive logs. The backup looks fine.
Then, I allocate a channel for maintenance type sbt. The script then has a "delete noprompt expired backup;" a "delete noprompt obsolete redundancy = 5;" and finally, a crosscheck;
example of backup piece that is later deleted:
Starting backup at 07/18/2006 20:00:14
channel t1: starting full datafile backupset
channel t1: specifying datafile(s) in backupset
including current SPFILE in backupset
channel t1: starting piece 1 at 07/18/2006 20:00:14
channel t1: finished piece 1 at 07/18/2006 20:00:15
piece handle=P*****_2338_1_596145614_FULL comment=API Version 2.0,MMS Version 5.2.0.0
channel t1: backup set complete, elapsed time: 00:00:01
Finished backup at 07/18/2006 20:00:15
deletion:
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
<other lines deleted>
Backup Set 27453 07/18/2006 20:00:14
Backup Piece 27454 07/18/2006 20:00:14
P*****_2338_1_596145614_FULL
deleted backup piece
backup piece handle=P*****_2338_1_596145614_FULL recid=2039 stamp=596145614
Deleted 12 objects
Why is a backup piece created on 7/18 being deleted in the maintenance step?
Thanks in advance!In the next step in the script, the controlfile and spfile are backed up:
backup
full
skip inaccessible
tag hot_database_backup_full
format '%d_%s_%p_%t_FULL'
(Database
include current controlfile)
Plus Archivelog delete input;
Even though my backup script is redundant by backing up the spfile twice, when I list the backup of the spfile, I would have expected to find 5 backups with a tag of hot_database_spfile_backup_full and 5 with a tag of hot_database_backup_full. That is not the case. I only find spfiles with a tag of hot_database_backup_full. i am still perplexed by RMAN.
I will modify my script - remove the backup of the spfile, and crosscheck before the delete commands. I will also remove the redundancy = 5. The intent is to keep 25 days of backups.
Thanks for your comments -
Mail Adapter - Dynamically maintaining To and From Parameters
Hi all,
I am using the mail adapter as receiver in my scenario where i need to set up the TO and FROM parameters dynamically in the adapter configuration. Can any body please suggest how to do that?
Thanks
-KulwantKulwant,
Did you gone thru this link?
http://help.sap.com/saphelp_nw70/helpdata/EN/6b/4493404f673028e10000000a1550b0/content.htm
use the below code
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail","THeaderTO");
String to_add = "[email protected]"
conf.set(key, to_add);
return "";
raj.
Edited by: Raj on Oct 29, 2008 3:55 PM -
Difference between Import and Export parameters in Function Module
Hi All,
I am unclear about the import and export parameters, when i create a function module. Can anyone explain abt this. However when i call the function module in any program the import parameters in Function module are displayed as exporting in program amd the export parameters as importing.
Any help on this would be appericiated.
Shejal.HI,
Import parameter in FM is the value u provide to FM for processing.
export is the value u get from FM after processing.
when u call a FM in a progam the import parameter will appear as Export bcos u r giving value to the FM.
and u r getting value from FM in import parameter(bcos u r importing).
rgds,
latheesh
Message was edited by: Latheesh Kaduthara -
Import and export parameters of an FM are passed by value---why?
Q] By default the import and export parameters of an FM are passed by value---what is the advantage of this system?
Hi,
Import and export parameters are, by default, passed by value. However, they can also be passed by reference. Tables parameters can only be passed by reference.
Pass by reference means, passing the address itself rather than passing the value.
I guess passing by value is easier and advantageous -
TO_NUMBER and NLS parameters......don't understand
I am trying to get my head around the use of format elements and NLS parameters with TO_NUMBER and TBH am at my wits end. So I'm going to start with something simple. I've never bothered or had to bother with the third parameter 'nls params' for NLS settings and now that I have I really regret it.
This works even though the '.' and ',' characters are not in their normal positions....
SQL> SELECT TO_NUMBER( '17.000,23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL;
TO_NUMBER('17.000,23','999G999D99','NLS_NUMERIC_CHARACTERS='',.''')
17000.2
So why is this version throwing up an error? (I should say all I've changed is the order of ',' and '.' in the string)
SQL> SELECT TO_NUMBER( '17,000.23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL;
SELECT TO_NUMBER( '17,000.23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL
ERROR at line 1:
ORA-01722: invalid number
Also does the order of characters matter here 'nls_numeric_characters='',.'' ') ?
I apologise but when marking code in my spl*plus CLI and trying to paste here as 'SQL insert' lines ended up missing or wrapping or line spacing changing seconds later. I ended up with one line written over the other and the missing lines only being visible when highlighted!!!Also does the order of characters matter here 'nls_numeric_characters='',.'' ') ?
Of course the order is important. How would you tell the meaning of each character if it wasn't?
First character is the decimal separator, and the second is the thousand separator.
Your first query is OK because the decimal separator used in the input string is '.' and the thousand separator is ',', which matches exactly the characters specified in the NLS parameter.
The second query failed for the opposite reason. -
Ozonic and control parameters ?
i need help setting up my ozonic and logic.
it read's the automation conrtols they comthey come into the enviroment. but it wont let me assig to controls on synths etc.
thanks in advanceHi, you need to open the synth you want to control, select the learn mode in the preferences of the command assign menu. Then select the control you want to assign, the parameter appears in the learn menu. Rotate the knob or pull the slider on the ozonic and the parameters will appear for that control.Will be saved on close. Do that for every controller and save the settings in the Ozonic with the Enigma Software as a new preset. I try to assign the transport controls of the ozonic to logic transport. Any ideas how that works ? Cheers,
Niels
PowerBook G4 1,67 Mac OS X (10.3.9) -
Hi, on a windows machine with jdk1.3 I start oracle's oc4j(standalone) from commandline. I specify Xms and Xmx parameters. Hence;
java -Xms512M -Xmx512M -jar oc4j.jar
is the command line command.
But after I start the app server, when I look at the Window's task manager the java. exe has about 50M memory usage. Is there something wrong???
Thanks all.The best option is to set it in setDomain.cmd/sh OR comEnv.cmd/sh depending on your WLS version, since even if you are starting your manage servers from commandline rather than using nodemanager, it will internally use this to set the environment.
However if you are using nodemanager, you might try "server start" tab for passing JVM arguments.
For windows service try the following link:
http://e-docs.bea.com/wls/docs103/server_start/winservice.html#wp1186212 ----> its for WLS10.3 -
Output control and outbound parameters
Can you please help me locate the output control and outbound parameters...
thank you in advance...Hi Pabito,
I am assuming that you need to send an outgoing EDI - Mail or fax to a specific partner. This process is possbile if you could set up the output control for sales documents.
spro->sales & distribution -> BF -> Output control-> output determination -> maintain output determination for sales documents -> Assign output types to partner function.
Make sure that an output determination procedure is assigned to the sales dco type.
Also Maintain condition records for the output type and the transmission medium(EDI) using the trx NACE.
I hope this is what you are looking for, i also have a faint notion that you might be lookin how to setup an edi connection with the partner.!!!
If my notion is right do ping back to know more abt that,If you find this piece of information do take some time to award points to mee
- Girish -
Hi,
Kindly let me know how to print the query and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection(qc, params, noUserParams); but could not succeed.
I need to log the query and the params passed to it. Kindly help.
Thanks in advance,
Kalpana.Here you go
Coding With Passion: Oracle ADF - Debug view object query with parameters
Maybe you are looking for
-
Problem with set/get attributes
Hello, i'm trying to assign and object i've got to the ServletContext by : getServletContext().setAttribute("theairwaybill",theairwaybill); and i''ve checked and it's there. now, trying to get the object back in my jsp page by: theairwaybill = (Shipm
-
on the black or white welcome page in iweb, I can't get the text below photo to publish. I tried to bring it forward and also push photo to back but nothing is working any ideas?
-
Where would I go to report a bud in DVDSPro 4?
Hi All, So I've gathered from some other posts that Layered menus don't work right, and that they probably wont be fixed. So I'd like to report a bug in the simulate feature. It incorrectly shows the hilight when you mouse over a button but in fact t
-
Hi, We have a system landscape having systems based on Java stack(EP,BI Java), Java+ABAP(XI,SRM) stack and ABAP(ECC) stack. We have Windows Active Directory as the LDAP server. We need to implement a security concept for the entire landscape. Require
-
Lightroom 5 crash on splash screen
I have a Adobe CC licence and run DW, Pr, Ps, Ai with no problems on a Macbook Pro 2013 16gbRam. Since last update Lr constantly crashes on splash screen. Tried uninstalling and re-installing but still same issue. Please Help. LOG 28/10/2014 12:04:29