Finding spfile name from ASM

hi,
Here's my question:
I have just re-created the controlfile after restoring and recovering the database.
Opened the database with resetlogs.
I executed the command create spfile='+DATA_GRP' from pfile='$ORACLE_HOME/dbs/init$ORACLE_SID.ora'
No I want to find out whats the exact spfile name so that I can create a init$ORACLE_SID.ora file under $ORACLE_HOME/dbs with a "spfile='..........'" entry on the file system.
The problem here is I am doing all the above steps in a script so need the spfile name in the script (I know if I connect to asmcmd I can find the spfile name) and my oracle owner and ASM owner are different (which makes me difficult to execute any asmcmd commands thru the script which is run by the RDBMS owner)
Any help would be really appreciated.
Thanks

Hello;
Its as simple as
show parameter spfile;Assuming you start on this spfile. You would have to do a startup NOMOUNT on it at the very least to create a pfile form it.
Example
SQL> show parameter spfile;
NAME                                 TYPE        VALUE
spfile                               string      +DGROUP1/asm/parameterfileasm/registry.523.740659373Best Regards
mseberg

Similar Messages

  • How to find worksheet name from EUL5* tables.

    Hi
    I created workbook called employee report.
    under that 3 worksheets created.
    worksheet1 - By EMPNO
    worksheet2 - By DEPTNO
    worksheet3 - By JOB.
    how can i find the worksheet name from the EUL5* tables?

    Hi Marias,
    To find the worksheets run the below query
    select distinct qs_doc_name WBOOK_NAME,qs_doc_details WSHEET_NAME
    from eul5_qpp_stats where qs_doc_name in(select doc_name from EUL5_documents)
    Regards
    Sridhar

  • Finding RFC name from web service.

    Hi,
    I have web service URL (WSDL) but I dont have RFC name or ABAP object name from which this Webservice is created.  Since Web service is created long back..
    So is there any way out to find out Object name from Webservice ?
    Regards,

    Hi santosh,
    In the url , you will get the technical name of the webservice we can use this name to track the Fm.
    Consider this for get method : http://server.localhost/sap/opu/odata/sap/ZAPLX_FMAZ_VA_CRT_SO/zaplx_fmaz_va_crt_soCollection?$filter=i_createb_low eq '2014-03-24T10:56:39Z' .
    In the above webservice you can get the technical name ZAPLX_FMAZ_VA_CRT_SO. take this name and find the entry in activate and maintain service in /IWFND/MAINT_SERVICE tcode.
    then click on the entry and click add system alias button u will find the data model name there , use this name in se80 under data model . Double click on the technical name and click "open generator button" to get the RFC which is mapped.

  • Find item name from item id

    Hi!
    We have a library procedure that accepts block id as parameter.
    The procedure fetches some block realted information from the database. So, it needs to refer to the block name.
    Is there any way find the block name from block id?
    Rgds,
    SB

    This is pretty crude, but it will work. Maybe someone else can suggest a better way:
    Function Block_Name(B Block) return varchar2 is
      Blk_Nam varchar2(30);
    Begin
      Blk_Nam := Get_Block_Property(B,NextBlock);
      If Blk_Nam is not null then
        Blk_Nam := Get_Block_Property(blk_Nam,PreviousBlock);
      Else
        Blk_Nam := Get_Block_Property(B,PreviousBlock);
        If Blk_Nam is not null then
          Blk_Nam := Get_Block_Property(Blk_Nam,NextBlock);
        Else --only one block in Form
          Blk_Nam := Get_Form_Property(:System.Current_Form ,First_Block);
        End if;
      End if;
      Return(Blk_Nam);
    End;

  • Find column name from constraint name

    How to fetch the column name from a constraint name to which the constraint is applied?.
    I only know the name of the constraint and can get the table name from "dba_constraints". How can I know to which column in the table this constraint is applied.
    Thanks

    What about this?
    satyaki>
    satyaki>
    satyaki>desc user_cons_columns;
    Name                                      Null?    Type
    OWNER                                     NOT NULL VARCHAR2(30)
    CONSTRAINT_NAME                           NOT NULL VARCHAR2(30)
    TABLE_NAME                                NOT NULL VARCHAR2(30)
    COLUMN_NAME                                        VARCHAR2(4000)
    POSITION                                           NUMBER
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • Finding user name from sessionID

    Hi,
    I have two systems working together. I am passing session ID between these
    two systems. I have an session ID. And I want to find which personalization
    server user owns this session.
    How can I find username from the session ID?
    Thanks
    Ali Rýza

    Hi again,
    I am currently using this solution . I am sending WebLogicSession to a
    servlet which returns username that I set while this session starts. But I
    need to make an http request to get the user name.
    I am trying to find a different solution which I don't need to make a http
    request.
    Thanks
    Ali Riza
    Muhtar Akbulut <[email protected]> wrote in message
    news:[email protected]..
    WebLogic puts a cookie called "WebLogicSession", which contains thesession id.
    >
    >
    >
    "Ali Rýza Soðukpýnar" wrote:
    Hi,
    I have two systems working together. I am passing session ID between
    these
    two systems. I have an session ID. And I want to find whichpersonalization
    server user owns this session.
    How can I find username from the session ID?
    Thanks
    Ali Rýza

  • Find form name from filename

    Hi,
    Is it possible to find form module name with a given file name? I ve searched the forms own built-in packages but there is no such a function that will return form name.
    Any help will be appreciated

    Andreas unfortunately my form module and fmx file doesn't have the same name. Also there are a lot of file like that.
    Michael I've tried to use that function but it didn't work. Because it returns the calling form module name. I need the called one:( I call a form with open_form as no activated from main module. Open_form built-in opens form with using filename without any trouble. After that I write the called filename to a log table. Then activate the called form via go_form built-in. Go_form doesn't take filename as a parameter. That's the main problem. I cannot show my called form.
    Besides I have used next_form in place of go_form but it doesn't work if more than one form window opened. thank you all of you but my problem didn't solve yet

  • Finding Table name from structure

    Hi,
    I need to find the trans. table name for the field ATP Quntity, It's coming from the Structure MDEZ field name MNG04. Please Help me guys??????????/
    I tried where used list, it's giving 2 tables But both are not having any data. Please guide me is there is anyother way can i achieve this?????????

    Hi Hari,
    Thanks for ur help. Can i add Program manipulated field value into Search help display. B'cos in selection criteria we can only create view for tables. How i can display manipulated value that's not in table to display in Search help result screen?
    I need to add extra display result in material field's Search help result screen like Stock on hand plant details.
    thanks,
    Subha

  • Finding table-name from a DSN name

    i need to find the total number and names of tables from a DSN setup on an access DB. can u tell me how? I couldn't find it in JDBC tutorial ..
    Thanx

    Try this
    DatabaseMetaData meta=conn.getMetaData();
         ResultSet set=meta.getTables("Database_name",null,null,null);
         System.out.println("got meta data ");
         while(set.next()){
              System.out.println(set.getString(3));
    // 3 rd column is the name of table
    The resultant resultset has following columns (as strings)
    (as per javadoc)
    TABLE_CAT String => table catalog (may be null)
    TABLE_SCHEM String => table schema (may be null)
    TABLE_NAME String => table name
    TABLE_TYPE String => table type. Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
    REMARKS String => explanatory comment on the table
    TYPE_CAT String => the types catalog (may be null)
    TYPE_SCHEM String => the types schema (may be null)
    TYPE_NAME String => type name (may be null)
    SELF_REFERENCING_COL_NAME String => name of the designated "identifier" column of a typed table (may be null)
    REF_GENERATION String => specifies how values in SELF_REFERENCING_COL_NAME are created. Values are "SYSTEM", "USER", "DERIVED". (may be null)

  • Finding table name from field

    Hi,
    I have a field name. Now i want to find to which table this field belongs to.
    eg: I have field MATNR. Now in my program i want to find to which table this field belongs to.
    How can this be done?
    Points will be rewarded!!
    regards,
    Ashish Gupta

    Hi,
    Basically the same field is used in so many tables like mara,marc,mard,vbap...
    But for matnr , MARA is the master table.It means entry should be there in mara table .but no need of entry in other tables like mrac,mard,vbap..etc.
    But some times this value is picked from other tables also not only from mara to get other corresponding values like storage location or sales order number..etc.
    Program may access other tables also depending on requirement.
    so just check in the program from which database table this value is getting populated using SELECT stmt .
    you can put breakpoint at all the select stmt and debugg the program.you will get noticed from which database table its getting populated and from which table its value getting processed.
    Like suppose we use select stmt on vbap to get sales order number and then we goto MARD table to get corresponing storage location.
    so finally we will get the value from MARD table.
    just i will write simple code .
    data:it_mara like mara occurs 0 with header line.
    data:it_vbap  like vbap occurs 0 with header line.
    data:it_mard  like mard occurs 0 with header line.
    start-of-selection.
    select * from mara into table it_mara up to 100 rows.
    if not it_mara[] is initial.
    select * from mara into table it_vbap
    for all entries in it_mara
    where matnr = it_mara-matnr.
    endif.
    if not it_vbap[] is initial.
    select * from mard into table it_mard
    for all entries in it_vbap
    where matnr = it_vbap-matnr.
    endif.
    loop at it_mard.
    write: /  it_mard-matnr,it_mard-lgort.
    endloop.
    so finally we are printing matnr from mard table eventhough matnr exists in mara table also.
    Regds
    Sivaparvathi
    Please dont forget to reward points if helpful...

  • How to find Query Name from Report Name

    I am trying to find a the query name for program AQFKSYSTQV000045ZCHECKNUMBERLU I have looked in Standard Work Area under all of the user groups but no luck. It is currently only in our Production System. Please suggest any other places I can look.
    Thanks in advance for your help!

    I apologize for not seeming like I have a clue....I did search the Forum...and maybe I wasn't clear with my question....again I apologize.....I am somewhat familiar with query and I understand that the query name is probably ZCHECKNUMBERLU. My issue is that I cannot find the user group. I have broken It is not a user group under Global Area or Standard Area. For example....We have a query named ASETAQUISITION.  The program name is AQFKAM==========ASETAQUISITION...This query is located in the AM User Group....Easy Find. However, the program in question is AQFKSYSTQV000045ZCHECKNUMBERLU. I have broken this program name apart every way I can think of and I cannot find a user group in my global or standard Area. So I guess I should ask, by looking at that program name, how do you determine what the user group name is so I can find the actual query?

  • How to find Querry Name from report name?

    Hi.
    I run a custom transaction , but when i try to see it's program it give me dump. Then i used SE93 transaction to find out program but there was querry written as "AQCSSYSTQV000001ZPUBLICITY====' in program name.
    Now i have to find the Query Name by which the program name "AQCSSYSTQV000001ZPUBLICITY====" is generated?
    Thanks in advance.
    Tahir

    Hi!
    AQCSSYSTQV000001ZPUBLICITY====
    AQ means - ABAP Query
    CS - then 2 chars for the query area
    SYSTQV000001 - then 12 characters for the user group
    ZPUBLICITY - this is your query name
    You have to check you are in the correct workarea and user group, or you will not see your query.
    Regards
    Tamá

  • How to find Site Name from SCCM Console or Client

    I'm New to SCCM,
    01. How to get the Site Name information from either SCCM CLients or SCCM COnsole?
    Note: I got the Site Code from COnsole
    02. Any Basic/Fundamental Link or Documents about Software Update in SCCM (what are the diff type of Patches, what are all the ways to push the content to clients etc..)
    03. Any Basic/Fundamental Link or Documents about End Point Protection in SCCM (Is that More than a Antivirus tool, what are all the ways to push the defintions to clients etc..)
    04. How to create Boundary and Boundary Group when we have following VLAN segments (Eg: 10.0.1.1 to 10.0.1.254,10.0.2.1 to 10.0.2.254,10.0.10.1 to 10.0.10.254 and 10.0.39.1 to 10.0.39.254)

    Power shell: get-cmsite
    console:
    http://technet.microsoft.com/en-us/library/gg712312.aspx
    http://www.windows-noob.com/forums/index.php?/topic/6799-using-system-center-2012-configuration-manager-part-9-deploying-monthly-updates/
    http://technet.microsoft.com/en-us/library/hh508781.aspx
    http://www.windows-noob.com/forums/index.php?/topic/6106-using-system-center-2012-configuration-manager-part-6-adding-the-endpoint-protection-role-configure-alerts-and-custom-antimalware-policies/
    http://technet.microsoft.com/en-us/library/gg712679.aspx
    "When designing your boundary strategy, we recommend you use boundaries that are based on Active Directory sites before using other boundary types"
    Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks.

  • Finding Step Name from ProcessModelPostStep Callback

    I am trying to get the 'Step Name' of the current step in the client sequence file from inside the ProcessModelPostStep Callback.
    Does anybody know the property lookup string?
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Same trick, different lookup will also work :
    NameOf(Parameters.Step)
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • Finding Qyery name from Query elements (Table name)

    Hi All,
    We have a requirement read Tech name of the Query from Query element.Are there any tables or Function modules  defined for the same? i am trying to get the required info from RSZ* tables without success.pl help me out.
    Thanks

    Hi ,
    Could you pleae give me valuable suggetion for my question
    for exp:
    The ELTUID of one variable (query element)  is 00ERTJDKKRQQRM8URS3G7YLJQ.
    I would like to know in which query  and queries the above query element is used.
    Thanks,

Maybe you are looking for

  • Attachment in PR

    Hi All, How do i transfer the attached documents to a PR to anohter system? Is there any function module available which can help me mass uploading of these documents to the corresponding PR? Actually we are working on converting open PR from old sys

  • TRACING IN SQL*NET V2

    제품 : SQL*NET 작성날짜 : 1997-10-10 Introduction ~~~~~~~~~~~~ For most problems you need to identify the relevant parts of a connection to trace. To do this consider which scenario you are having problems with and where tracing needs to be enabled. Note t

  • How to use index when use analytic functions?

    Oracle 11gR2, I have a an indexed snapshot log table (sequence$$ and PK indexed), and I use a query to access it... query looks like: SELECT "M_ROW$$", "SNAPTIME$$", "DMLTYPE$$", "OLD_NEW$$", "CHANGE_VECTOR$$", "SEQUENCE$$", "ID", "SITEID", "WEBPAGEI

  • Mass Closing of QN

    Hello Team, When we make UD for 03 inspection lot, system doesn't close the QN associated with 03 inspection lot. Is there anyway we can close QN associated with 03 inspection lot when we make UD for this type of inspection lot? Other question, is th

  • ESTF Requisitions generated from Work Orders (IW31)

    I am generating purchase requisitions from work orders via IW31. I can edit field selection key ESTF to open certain fields for editing in transaction ME52N. However if I generate a service requisition the service line item fields are not available i