System Parameters at runtime...

Hi Dear,
Well I am here to ask you another thing. I am trying to send my reports to different departments of my organizations through emails; I am calling this report from a form through RUN_PRODUCT options available.
I am facing one problem and that is how to change SYSTEM PARAMETER of report at runtime by getting input from user through a form.
Like I have a report, I have change its SYSTEM PARAMETER as:
DESFORMAT : pdf
DESTYPE : MAIL
DESNAME : [email protected]
This thing is working OK when I call this report through form by using this code:
RUN_PRODUCT(REPORTS,'C:\WINDOWS\Desktop\TEST_MAIL',SYNCHRONOUS,batch,FILESYSTEM,SCREEN);
It run fines, but it only e-mail on the given address [email protected]
I want to take this e-mail input from user and then I want to change the system parameter DESNAME through this value.
How can I do that, please reply this mail as soon as possible. I have to develop this report very urgent. I am using Developer 6i.
with lot of thanks,
Imran

Add a non database item in your form to hold the values of the mail a user inputs. Then in the code to run the report add :
add_parameter(parameter_list_id,'DESNAME',text_parameter,:block_name.item_name);
Also change the execution mode of your reports in the object navigator of your forms to runtime .
When you execute the RUN_PRODUCT built-in change also the batch parameter to runtime ; example :
run_product(REPORTS,'un_doc_journalier',SYNCHRONOUS,RUNTIME,FILESYSTEM,fact_id,null);

Similar Messages

  • DAC source system parameters not being generated

    HI all,
    We are implementing BI apps 7962 with Informatica 861 Hot FX11, OBIEE 101341 on Linux5. We have installed and set up the configuration completely. The Informatica services are created and the DAC was configured with the Source System Parameters. When I generated the execution plan parameters, the files are being generated in the SRC files folder. But it seems like the source system parameters I set in the DAC client are not being picked up.
    For example I have set the Initial Extract date as 1/1/2008. But when I ran the load and saw the log files it still seems like the Initial Extract date is 1/1/1970. We have set the custom property for Integration Service overrideMpltVarWithMapVar as Yes. Please help me if any one has seen this before.
    Thanks
    MN
    Edited by: MNRK on Apr 5, 2011 12:49 PM

    Hi,
    When you have configured all the tasks in DAC, while running the loads DAC will generate the parameter files at runtime.
    You need to make sure that parameterfileDW.txt and parameterfileOLTP.txt files are present in DAC Installation Directory\bifoundation\DAC\Informatica\Parameter\Input folder.
    If these files are not present in the above mentioned location then you need to copy them from Informatica Installation Directory\PowerCenter 8.6.1\server\Infa_Shared\SrcFiles folder.
    Hope this helps...................
    Thanks,
    Navin Kumar Bolla

  • Assigning into System parameters

    Dear All,
    Facing a tedious problem..
    In a form i hv taken two text fields,output_type and file_name which iam passing as a user parameter to a report to be generated in excel.
    In the report in the after parameter form trigger iam assigning the parameters to system parameters like this..
    if :destype = :p_output then
    :desformt := 'delimited';
    :desname := :p_filename;
    :destype := :p_output;
    return(true);
    end if;
    the process is executing fine but the system params
    :desformat etc..are not gettn assigned.,even if a show the desname etc by srw.mesage it shows ..screen. But the assignment is important. because
    i'll be changing the out_type and file_name from forms at runtime also
    i may choose output to be mail and execute the code accordingly.
    My question is can the system params be assigned like this or any other alt. method..
    The report is generic and should be generated depending on my form parameters
    pl let me know,
    regards,
    Shankar

    In the form before calling the report, can you try using SET_REPORT_OBJECT_PROPERTY?

  • ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
    I have following users and groups as
    [grid@orcl11g ~]$ id grid
       uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
    [grid@orcl11g ~]$ id oracle11g
       uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
    .bash_profile edited  for oracle11g user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=ora11g
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
    export ORACLE_SID=ora11g
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    .bash_profile edited  for grid user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=+ASM
    export ORACLE_BASE=/u01/app/grid
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid
    export GRID_HOME=$ORACLE_BASE/product/11.2.0/grid
    export ORACLE_SID=+ASM
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    When I log on as grid user. I check the followings:
    [grid@orcl11g ~]$ crsctl check has
    CRS-4638: Oracle High Availability Services is online
    [grid@orcl11g ~]$ srvctl status database -d ora11g
    Database is running.
    [grid@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> select status from v$instance;
    STATUS
    STARTED
    Till here everything seems to be OK!!!!
    When I log as  oracle user. I check the followings:
    [oracle11g@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to an idle instance.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'
    Also when I log on as a grid user again and use following commands to shutdown and start database again the STATUS of instance is again STARTED not OPEN.
    [grid@orcl11g ~]$ srvctl stop database -d ora11g -o normal
    [grid@orcl11g ~]$ srvctl start database -d ora11g
    And also when I edit /etc/oratab file. I change N to Y for +ASM. But when restart system it seems not changed value is N again.
        +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
         ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
    NOW QUESTIONS!!!!!
    1. Why I can't change the status of database to OPEN as grid user?
    2. The status is always STARTED when querying v$instance. İs it status of +ASM or database?
    3. When checking database as grid user it seems to be Database runnning...  If running why it is not in OPEN state? What is running means here?
    4. When I log on as oracle user and query v$instance, then error shown above occured. And also when startup  the database then another error occured as in above. WHY?
    5. When I edit /etc/oratab file manually why second row saved but the first one is changed after restart the system?
    6. Normally, which user have to start, stop or manage database? I think that oracle user is necessary for managing database and the grid user is only for managing ASM and Oracle Restart.
    PLEASE HELP ME TO SOLVE THIS CHAOTİC SİTUATİON!!!
    Thanks,
    DBA_84

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox)
    Pl identify exact version of 11gR2 to 4 decimal places. As noted in your other thread - Failed to start oracle-ohasd, error: Inappropriate ioctl for device ohasd failed to start at roothas.pl - you will need a minimum version of 11.2.0.3 for Linux 6.x - using a lower version may result in unexpected issues or problems.

  • Differences between System.gc() and Runtime.gc() ?

    differences between System.gc() and Runtime.gc() ?

    None!
    P.S. I have only found one reason to use System.gc(). For some obscure reason it seems that if one invokes System.gc() when a Swing application is about to be iconized it substantially reduces the delay experienced when de-iconizing the application!
    Several reasons for this have been suggested but I have found none that really explain why it works but it does work!
    Edited by: sabre150 on Sep 28, 2007 10:23 AM

  • Node and System Parameters

    Hi all,
    Thanks to an excellent article in last month's Sound on Sound and the purchase of my new Dual 2.7 G5 I just got my first Logic node configured and it works great. I'm actually using a dual 1.3 G4 (upgraded) Quicksilver via gigabit ethernet. I use VNC to control the node computer, which incidentally doubles as my iTunes server. . .
    The only hitch in the process is that every time I launch Logic 7.1 I get this message:
    "Some of your system parameters must be changed to maximize performance of Logic Node connections."
    Then it askes me for my admin password, and it runs just fine. The requested right is system.privelege.admin. Funny thing is that this happens also when I quit Logic.
    Is there a way to permanently give Logic this privilege? I tried fixing permissions on both my main machine (G5) and my node machine (G4).
    Thanks!
    Brett Strader
    Lush Music
    Napa, CA

    VNC is awesome. You will be so happy. . .
    You need a VNC server app on each of your node machines. The one I use is OSXVnc. You can get it (free) at:
    http://www.redstonesoftware.com/vnc.html
    It's really easy to set up, just make sure the firewall settings on your node machine allow Apple Remote Desktop (which is based on VNC), and Remote Login.
    On your main Logic Computer, you'll need a VNC client. A popular one is Chicken of the VNC, which is available at:
    http://sourceforge.net/projects/cotvnc/
    Make sure your port settings are correct (copy them down from the server). Login, and you will see your node machine's dektop appear in a window.
    Have fun!
    Brett

  • Deprecated system parameters with specified values:

    Hi ,
    I am getting below in alert log:
    Deprecated system parameters with specified values:
    remote_os_authent
    IS this parameter is suppotable in 11G and also how can i remove it from SP file with out bouncing the instance.
    thanks..

    1) It is deprecated in 11g as er your alert log message. http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams199.htm
    2) Set it in your spfile to FALSE which will reset this back to the default. This can't be changed dynamically and you will have to reboot your instance.
    alter system set remote_os_authent=false scope=spfile;

  • LOVSon System Parameters & Email from Forms?

    I have 2 questions:
    1) Can email be sent from forms as well as reports or just reports?
    2) Can a LOV be set up from the System parameters as well as user parameters?
    If the answer to either of these questions is yes could someone tell me where to look?
    Thank you for your help!

    Hey buddy,
    I was working on a similar issue today.
    1. Set the SMT_OUT_SERVER in init.ora and shutdown the server and started
    using this init.ora
    2. Checked by logging as sys whether utl_mail package is valid
    3 From the sys account I tried sending the email
         BEGIN
         utl_mail.send('[email protected]', '[email protected]', NULL,      NULL, NULL);
         END ;
    4 If step 3 works ur set up is good and then you need to have the privilege for
    the user account where you are running this or grant it to public
    grant execure on utl_mail to public
    Rajesh Alex

  • Copy Source System Parameters from 1 container to another DAC 10

    Hi ALL
    I want to copy the records in the tab source system parameters from 1 container to another, i only want the source system parameters, anybod have any idea, I was thinking of copying them directly in SQL, was not sure where though, Thanks

    Go to your custom container at Source system parameters tab
    right click->Reference->Select the container->add required one
    If helps pls mark as correct/helpful
    BTW: for DAC experts send me an email
    Edited by: Srini VEERAVALLI on Dec 19, 2012 4:40 PM

  • Passing Java system property at runtime

    How to set system property at runtime?
    Imaging the situation - application is already run. One of the threads polls system properties periodically. In debug purposes I need to set system during program is working. How can I do that?

    Not possible.
    Far as I know not possible for any app (not just java) and true for most popular desktop OSes as well.
    The environment is copied into the application (all applications) when it starts. So external changes will not impact it.

  • How DAC decodes its Source System Parameters into Informatica mappings??

    Hi All,
    I would like to know about "How DAC decodes its Source System Parameters into Informatica mappings??".
    Is it an informatica mapping? or through a file? or its internal to DAC server?
    Can we say the DAC server to decode it differently i.e. can we costomize the decode process? For example
    $$START_DATE - i gave "Custom Format(1950-05-21 01.23.56) @MM/DD/YYYY" at dac - and it decodes as '05/21/1950' but I want it to decode as TO_DATE('05/21/1950','MM/DD/YYYY') is this possible?
    Note that the informatica mapping takes the first decoding '05/21/1950' as number and through a sql error.....
    Thanks for your time......
    DK

    Please set the values of $$FILTER_BY_SET_OF_BOOKS_ID, $$SET_OF_BOOKS_ID_LIST in DAC and check if the values get reflected in the parameter files that DAC generates for informatica at run time.
    If this does'nt work, see if the BI services were restarted after doing change in the parameter file. The services need to be restarted in order to reflect the change.

  • Oracle cash management  (System parameters setup)

    hi all
    while making system parameters in oracle cash management responsibility .i cant find the set of books that i have defined.
    the LOV shows only one set of Books as Vision Operation(USA)
    surely i m missing some setups.
    does anybody knows the cure ..
    regards,
    naveen

    yes maverick
    i got that..but in General ledger while setting primary set of books name..
    again i cant find the same..
    though now GL set of books is set to my set of books.
    any idea??

  • Get method parameters at runtime?

    Hey guys,
    is there a way to get the parameters of a methods parameters at runtime? I have a reference to an object and would like to know which paranmeter does a method have.?
       thx

    Hello
    You can use class CL_OO_CLASS (instance attribute METHOD_PARAMETERS ).
    Regards
      Uwe

  • Startup ORA-01078: failure in processing system parameters

    Hi All ,
    Good Evening/Afternoon.
    I am oracle version 10.2.0 on LINUX.
    I have created a local database for my practice with the name ZION. The pfile for the same currently resides on the location : /u01/app/oracle/ZION.
    Whenever while doing a startup i mention this location it gets opened properly.
    As a default location , the pfile should be located in the $ORACLE_HOME/dbs path so i created a softlink from the above path(/u01/app/oracle/ZION) to the dbs directory.
    [oracle@srv1 dbs]$ pwd
    /u01/app/oracle/product/10.2.0/db_1/dbs
    [oracle@srv1 dbs]$ ls -lrt
    total 7032
    -rw-r-----  1 oracle oinstall    8385 Sep 11  1998 init.ora
    -rw-r-----  1 oracle oinstall      24 Feb 27  2011 lkORCL
    -rw-r-----  1 oracle oinstall    1536 Feb 27  2011 orapworcl
    -rw-rw----  1 oracle oinstall      24 Aug 27 10:31 lkZION
    -rw-rw----  1 oracle oinstall    1544 Aug 28 00:59 hc_ZION.dat
    lrwxrwxrwx  1 oracle oinstall      12 Aug 29 19:58 initZION.ora -> initZION.ora
    -rw-r-----  1 oracle oinstall 7159808 Aug 29 20:20 snapcf_ZION.fwhen i give a startup command without specifying the pfile ,I get this error :
    [oracle@srv1 dbs]$ echo $ORACLE_SID
    ZION
    [oracle@srv1 dbs]$ sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 6 23:20:52 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora'Is it because of the softlink being present and not the actual file in the dbs location ?
    Please suggest.
    PS: Meanwhile I am trying the otherway round. copying the initZION.ora in the dbs after removing the softlink from here and then create the softlink in /u01/app/oracle/ZION from dbs.
    Thanks and Regards
    Kk

    Hi Both,
    Your observations are correct,
    when i gave the command as suggested it showed thats its a self link :
    [oracle@srv1 oracle]$ ls -ltr
    total 7036
    drwxr-xr-x  3 oracle oinstall    4096 Oct  1  2010 product
    drwxrwx---  6 oracle oinstall    4096 Jun 19 10:13 oraInventory
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:18 oradata
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:19 admin
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:19 flash_recovery_area
    drwxr-xr-x  9 oracle oinstall    4096 Sep  6 23:09 ZION
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:14 initZION.ora:ORIGINAL
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:36 initZION.ora
    -rw-r-----  1 oracle oinstall 7159808 Sep  7 00:04 control05.ctl
    [oracle@srv1 oracle]$ ln -s initZION.ora $ORACLE_HOME/dbs/And then when i gave the command as suggested :
    [oracle@srv1 oracle]$ cd $ORACLE_HOME/dbs
    [oracle@srv1 dbs]$ ls -lrt
    total 7036
    -rw-r-----  1 oracle oinstall    8385 Sep 11  1998 init.ora
    -rw-r-----  1 oracle oinstall      24 Feb 27  2011 lkORCL
    -rw-r-----  1 oracle oinstall    1536 Feb 27  2011 orapworcl
    -rw-rw----  1 oracle oinstall      24 Aug 27 10:31 lkZION
    -rw-rw----  1 oracle oinstall    1544 Aug 28 00:59 hc_ZION.dat
    -rw-r-----  1 oracle oinstall 7159808 Aug 29 20:20 snapcf_ZION.f
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:38 initZION.ora:BKP
    lrwxrwxrwx  1 oracle oinstall      12 Sep  7 00:05 initZION.ora -> initZION.ora
    [oracle@srv1 dbs]$ ls -ll /u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora
    lrwxrwxrwx  1 oracle oinstall 12 Sep  7 00:05 /u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora -> initZION.ora
    [oracle@srv1 dbs]$You guys are correct , the link is a self link... though i created it in /u01/app/oracle/.
    I think i need to recheck the syntax for softlink.
    Thanks
    Kk
    Edited by: Kk on Sep 6, 2011 11:41 AM

  • How to measure system parameters using java?

    Hi All,
    I am having a client which is monitoring the system parameters as CPU,Memory, Disk using cscripts on windows and shell scripts on Linux.
    These scripts are executed using exec().
    Is it possible to possible using any java's built in classes?
    Please help me.
    Thanks in advance

    Is it possible to possible using any java's built in
    classes?There are no built-in Java classes to do low-level hardware/platform-specific things like inspecting the CPU, etc. Wrong tool for the job.

Maybe you are looking for

  • Execute immediate on DDL command

    Below sample SQL is 1 of the many code that is running OK in our database. And this code has causes a lot of latch contention to our database and it's being called so many times that cause hard parse. /* test code */ CREATE OR REPLACE PROCEDURE dsal

  • URL Redirection Help Required

    Hi, I have a SharePoint 2013 site, which has been built with mostly Out of the Box functionality.  There is an Edit link on the Page which is a part of a web part, but it is being redirected to the wrong URL. I want to know how to modify the URL fo

  • Anyway to force patch install on a zone that's already installed in global?

    Global zone has 142909-17 installed: <pre>user@global:~$ showrev -p | grep "Patch: 142909-17" Patch: 142909-17 Obsoletes: 118814-01, 120038-01, 120816-01, 121128-01, 121394-03, 122085-01, 123194-01, 123271-01, 123332-02, 123334-05, 125022-01, 125108-

  • Static data graph

    I was wondering if it's possible to load data to an XY-Graph once in a vi so that the user can view it.  I'm making a vi that just loads data up into a graph, it's static data saved on the hard drive.  And the main purpose of the vi is to allow the u

  • SA38 access in production landscape

    In light of heightened focus on controls (i.e. Sarbanes-Oxley), is anyone aware whether SAP formally recommends fully restricting user access to SA38 in a production system.  Some programs delivered by SAP do not have transaction codes assigned to th