DB_FILE_NAME_CONVERT parameters.

Hi,
in Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04
it is said :
For example, you can specify the DB_FILE_NAME_CONVERT initialization parameter
as follows:
DB_FILE_NAME_CONVERT = '/dbs/t1/', '/dbs/t1/s_', '/dbs/t2/', '/dbs/t2/s_'
but usually I had :
DB_FILE_NAME_CONVERT=('C:\ORACLE\ORADATA\DB1','C:\ORACLE\ORADATA\DBTEST')
just with two parameters.
I can not understand.
Any help ?
Thank you.

but usually I had :
DB_FILE_NAME_CONVERT=('C:\ORACLE\ORADATA\DB1','C:\ORAC
LE\ORADATA\DBTEST')
just with two parameters.
I can not understand.Oracle processes pairs of values in this parameter, for instance if you have :
DB_FILE_NAME_CONVERT=('path1', 'path2',    'path3', 'path4')then Oracle will transform the path and filename from path1 to path2 and from path3 to path4 so on and so forth.
So you can have more than 2 file locations to be converted to other locations.
Tony

Similar Messages

  • Need help evaluating the stability/correctness of standby E-Business Suite

    Hello Experts,
    In September 2011, we moved 52 datafiles from one disk /u01 to another disk /u03 for performance reasons in our primary EBS environment using http://docs.oracle.com/cd/E11882_01/server.112/e25608/manage_ps.htm#i1034172. We only realized last week that we never replicated this on the standby, so we proceeded to move the 52 datafiles from /u01 to /u03 on the standby EBS environment. We are now concerned about whether or not the standby environment is stable and matches the primary exactly.
    We checked the standby alert log and did not find any ORA-00283, ORA-01157 or ORA-01110 errors, and v$archived_log shows that the standby database is in sync with the primary.
    Is it possible that the standby operated correctly during the past six months when filesystem path names to datafiles as well as datafile names in v$datafiles were different from the primary, and can we now continue as is after making the corresponding changes six months after updating the primary?
    I appreciate any help.
    EBS Version: R12.1.3
    DB Version: 11.2.0.1
    OS Version: RHEL 5.7
    Configuration: 2-node dataguard --> db/concurrent processing on one server; web/forms on separate server; two other servers host the standby application and database tiers
    Thanks,
    Ss

    I'm watching Your thread.
    Simple Logic,
    You perform any operations on primary those will be update as is in standby.
    In Many environments, Primary & Standby data files are in Different locations.
    Lets suppose, You have primary as /u01/prim/oradata/datafiles
    you have standby as /u04/stby/oradata/datafiles
    If you add any data file on primary, The new datafile added on standby only when you set standby_file_management to AUTO , based on db_file_name_convert parameters too.
    Of course you can change the data file locations in primary But those changes are not going to perform on standby. Even in my environment Data file locations are completely differnet, Believe it Primary is on ASM and standby is on non-ASM its normal file system.
    Again if you query v$datafile it points to each data file location. Even you can see trace file of controlfile.
    We checked the standby alert log and did not find any ORA-00283, ORA-01157 or ORA-01110 errors, and v$archived_log shows that the standby database is in sync with the primary.These errors you can find in case what above i mentioned link,
    here if you see your standby is working fine, Archive are in sync.
    But here is procedure to achieve that task.
    1) Stop MRP
    SQL> alter database recover managed standby database cancel;
    2) Rename/Move data files from */u01* to */u03*
    Check all the datafiles are online.
    3) Change value of DB_FILE_NAME_CONVERT in standby
    Its a static value, You have to bounce standby instance Change it to new location where datafiles exist.
    Ex:
    DB_FILE_NAME_CONVERT='/u03/prod/datafiles/...','Standby location';
    4) Then put in mount status and start MRP again
    SQL> alter database recover managed standby database disconnect from session;
    Hope this clears.
    Sorry
    I read your question Again And Again..
    dont worry of your standby datafile locations. its nothing to do.
    Even if you change in primary there is no rule that should changed on standby
    So Please ignore, Your standby is functioning well.
    Also i seen that your standby time is ahead. can you please confirm?
    Edited by: CKPT on Mar 23, 2012 5:45 PM

  • DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT

    hello guys,
    I am configuring a data guard with one physical standby on VMWARE.. with primary database on one system and physical standby on the other.. database 11g r2
    oracle document says that the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT has to mentioned if the directory structure is going to be different on both the sites.
    directory structure on the primary database will be
    /u01/app/oracle/oradata/oracle/
    and on standby will be
    /u01/app/oracle/oradata/oracles/
    now my question is do we have to set this parameter on the standby system (i use RMAN to create the standby using DUPLICATE command so it renames the filepath of all the datafiles on the standby system during duplication process.) or on the primary database tooo please tell me..
    i believe the log_file_name_convert parameter need not be set as the RMAN will automatically create the logfiles. please tell me if i am correct..

    Yes you need to set both the parameter..
    these parameters will update the controlfile regarding locations of datafiles & log files. it is mandatory.. if you specify these parameters then only RMAN knows where these need to restore.
    because we are using controlfile from primary database http://www.stanford.edu/dept/itss/docs/oracle/9i/server.920/a96536/ch144.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams112.htm
    Thanks
    Edited by: CKPT on Nov 1, 2010 1:13 PM

  • Data Guard: db_file_name_convert/log_file_name_convert when using ASM/OMF

    All,
    I have a call currently open with Oracle regarding the setting of the parameters db_file_name_convert and log_file_name_convert in a data guard environment. We use ASM / OMF for storage and file naming and my question is basically do these parameters have to be set. The documentation says they do where the file structure is different between PRIMARY and STANDBY.
    I have successfully tested failover and switchover without these parameters. I have also added a new tablespace on the PRIMARY and watched it create a new OMF datafile on standby when the logs are switched.
    I just can't see a reason for setting them when using ASM / OMF.
    I'm hoping someone can enlighten me here because I'm getting nowhere whith support. The following is our Data Guard setup:
    PRIMARY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSLIVE
    ASM Disk Groups:
    +PRODDATA (Data Files, Control Files, Redo Logs)
    +PRODFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +PRODLOGS (Multiplexed Control & Redo Logs)
    STANDBY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSDR
    ASM Disk Groups:
    +DRDATA (Data Files, Control Files, Redo Logs)
    +DRFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +DRREDO (Multiplexed Control & Redo Logs)
    Many Thanks,
    Ian.

    Ian,
    I'm having similar thoughts.
    I have created a new instance with files in asm under +datadisk/obosact (this is the smae name as primary)
    I then modify the db_unique_name from obosact to obosactdr as is required for standby to work
    When I recover (duplicate target database for standby; ) I find that the files are in datadisk/obosactdr not in the datadisk/obosact area
    I found this reference http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf
    4. Connect to the ASM instance on one standby host, and create a directory within the DATA disk group that has the same name as the DB_UNIQUE_NAME of the standby database. For example: SQL> ALTER DISKGROUP data ADD DIRECTORY '+DATA/BOSTON';
    This step seems to indicate that the location of the files is determined by the db_unique_name not the db_file_name_convert paramenter
    DId you ever resolve the issue?

  • RMAN duplicate - instance parameters

    Hello all.
    I want to refresh the test environment with new production backup in oracle database 10g.
    we have standby configured and its in sync with prod. So we took standby database latest backup and going to use to refresh the test environment.
    prod is a 2 node rac and test is also a two node rac.
    prod use different asm disk group and test uses different asm disk group.
    so after taking backup, moved the backups to test environment.
    Took backup of test spfile.
    shut down the test both rac nodes after editing the parameter "cluster_database=false" parameter in spfile.
    i am little confused about the the parameters to be removed and not to be removed in pfile to start the auxiliary instance.
    we can remove parameters related to rac and these parameters also
    cluster_database_instances=2
    *.cluster_database=TRUE
    kindly let me know
    what value i can give for the parameters since the location is different in prod and test and how the duplicate command handle these parameter to duplicate the database
    control_files
    db_create_file_dest=
    db_create_online_log_dest_1
    db_create_online_log_dest_2
    and i am going to use duplicate target database to <aux_db_name>
    Regards

    Pradeep,
      Refresh rac database is not like refresh standalone database. You need to follow below steps
    Step 1)  Take the full backup of production database
                * Backup of database , controlfile and pfile to backup location
                * Comment the all rac related parameters and add change the control_files,db_file_name_convert,log_file_name_convert parameters as per test environment
                * scp all backupfiles to any of the server in test environment
      Step 2)  
                * connect to database which you want to refresh in test env
                * change the cluster_database=false (so that we can start the database exclusively for this instance only)
                * shutdown immediate and startup restrict nomount
                * drop dtabase
      Step 3)
               * Remove the database information from ocr file
                  srvctl remove database -d <db_name>
    Step 4)
              *  startup nomount pfile=<location>
              *  connect to  rman
                   rman auxiliary /
              *  use duplicate command to create a database
    Step 5)
             * shutdown the database and make changes in pfile as remove all comments for all rac related parameters then create spfile from pfile
             * and startup database
             * use srvctl add database -d <db_name>
             * create second instance in second node also

  • Confusion in the DB_FILE_NAME_CONVERT parameter

    Hi all, for the parameter DB_FILE_NAME_CONVERT, do we put database SIDs ( primary first then standby ) or the file path for both in the same order
    thanks for help

    REDOLOG wrote:
    Hi, thanks
    exactly, that what get me confused, here is the link in the official documentation: http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ps.htm#i68626  please look at the
    Example 3-4 Primary Database: Standby Role Initialization Parameters paragraph, and here is another link witch says a different  thing, please search for string:
    alter system set db_file_name_convert='/oracle/oradata/standby','/oracle/oradata/primary' scope=spfile sid='*';
    What are you confused about.
    That doc shows you a COMPLETE example of the parameters, and their order, for both the primary and standby databases. See Example 3-5 for the standby settings.
    You should do yours the same way and in the same order.

  • Scope=spfile in DB_FILE_NAME_CONVERT

    Hello All,
    I am using Oracle 11g R2 and I am configuring Data guard between a primary database (RAC 2 nodes) and a physical standby database single instance.
    I want to create my standby database without shutting down the primary database, one of the requirement is to set the below 2 parameters :
    alter system set DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/DATAFILE' scope=spfile;
    alter system set LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/ONLINELOG' scope=spfile;These parameters cannot be set at the memory level, it can be set only if i mentioned "scope=spfile"
    Does that require to restart my primary database? or it will directly take affect even if scope=spfile?
    Regards,

    I tested and here's my results:
    SQL> alter system set DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/DATAFILE' scope=both;
    alter system set DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/DATAFILE' scope=both
    ERROR at line 1:
    ORA-02096: specified initialization parameter is not modifiable with this
    option
    SQL> alter system set LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/ONLINELOG' scope=both;   
    alter system set LOG_FILE_NAME_CONVERT='/u01/app/oracle/oradata/STANDBY','+DATA/ORCL/ONLINELOG' scope=both
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modifiedThe Oracle document says ALTER SESSION for both but my test results say above.
    If it works, its works.
    Best Regards
    mseberg

  • Using "log_file_name_convert" and "db_file_name_convert" in asm for standby

    Hi ,
    Oracle 11R2 enterprise edition asm
    We have cbsprod primary database on server and planning to create standby database .
    I want to use "log_file_name_convert" and "db_file_name_convert" .
    Plz let me know how the above parameters will be utilized by considering following info
    Details on PRIMARY :
    GROUP# STATUS MEMBER
    1 +DATA1/cbsprod/onlinelog/group_1.262.813692221
    1 +DATA1/cbsprod/onlinelog/group_1.263.813692221
    2 +DATA1/cbsprod/onlinelog/group_2.264.813692221
    2 +DATA1/cbsprod/onlinelog/group_2.265.813692221
    3 +DATA1/cbsprod/onlinelog/group_3.266.813692221
    3 +DATA1/cbsprod/onlinelog/group_3.267.813692221
    4 +REDOCONTROL01/cbsprod/onlinelog/group_4.256.813773233
    4 +REDOCONTROL02/cbsprod/onlinelog/group_4.256.813773235
    5 +REDOCONTROL03/cbsprod/onlinelog/group_5.256.813773335
    5 +REDOCONTROL01/cbsprod/onlinelog/group_5.257.813773335
    6 +REDOCONTROL02/cbsprod/onlinelog/group_6.257.813773375
    6 +REDOCONTROL03/cbsprod/onlinelog/group_6.257.813773375
    7 +REDOCONTROL01/cbsprod/onlinelog/group_7.258.813773443
    7 +REDOCONTROL02/cbsprod/onlinelog/group_7.258.813773443
    8 +REDOCONTROL03/cbsprod/onlinelog/group_8.258.813773461
    8 +REDOCONTROL01/cbsprod/onlinelog/group_8.259.813773461
    9 +REDOCONTROL01/cbsprod/onlinelog/group_9.260.813773465
    9 +REDOCONTROL02/cbsprod/onlinelog/group_9.259.813773465
    Details on Standby database :
    SQL> select GROUP#,STATUS,MEMBER from v$logfile order by GROUP#;
    GROUP# STATUS MEMBER
    1 +DATA1/cbsdr/onlinelog/group_1.262.813692221
    1 +DATA1/cbsdr/onlinelog/group_1.263.813692221
    2 +DATA1/cbsdr/onlinelog/group_2.264.813692221
    2 +DATA1/cbsdr/onlinelog/group_2.265.813692221
    3 +DATA1/cbsdr/onlinelog/group_3.266.813692221
    3 +DATA1/cbsdr/onlinelog/group_3.267.813692221
    4 +REDOCONTROL01/cbsdr/onlinelog/group_4.256.813773233
    4 +REDOCONTROL02/cbsdr/onlinelog/group_4.256.813773235
    5 +REDOCONTROL03/cbsdr/onlinelog/group_5.256.813773335
    5 +REDOCONTROL01/cbsdr/onlinelog/group_5.257.813773335
    6 +REDOCONTROL02/cbsdr/onlinelog/group_6.257.813773375
    6 +REDOCONTROL03/cbsdr/onlinelog/group_6.257.813773375
    7 +REDOCONTROL01/cbsdr/onlinelog/group_7.258.813773443
    7 +REDOCONTROL02/cbsdr/onlinelog/group_7.258.813773443
    8 +REDOCONTROL03/cbsdr/onlinelog/group_8.258.813773461
    8 +REDOCONTROL01/cbsdr/onlinelog/group_8.259.813773461
    9 +REDOCONTROL01/cbsdr/onlinelog/group_9.260.813773465
    9 +REDOCONTROL02/cbsdr/onlinelog/group_9.259.813773465
    18 rows selected.
    The same situation for datafiles :
    Datafiles on primary resides on +DATA1/cbsprod/datafiles/
    +DATA2/cbsprod/datafiles/
    +DATA3/cbsprod/datafiles/
    +DATA4/cbsprod/datafiles/
    +DATA5/cbsprod/datafiles/
    +DATA6/cbsprod/datafiles/
    +DATA7/cbsprod/datafiles/
    +DATA8/cbsprod/datafiles/
    +DATA9/cbsprod/datafiles/
    Datafiles on standby resides on +DATA1/cbsdr/datafiles/
    +DATA2/cbsdr/datafiles/
    +DATA3/cbsdr/datafiles/
    +DATA4/cbsdr/datafiles/
    +DATA5/cbsdr/datafiles/
    +DATA6/cbsdr/datafiles/
    +DATA7/cbsdr/datafiles/
    +DATA8/cbsdr/datafiles/
    +DATA9/cbsdr/datafiles/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Enter below parameters in INIT<SID>.ORA file.
    *.log_file_name_convert='<path of logfile in PR>','<path of logfile in DR>'
    *.db_file_name_convert='<path of dbfile in PR>','<path of dbfile in DR>'
    If there are multiple log and db destinations:
    *.log_file_name_convert='<1st path of logfile in PR>','<1st path of logfile in DR>','<2nd path of logfile in PR>','<2nd path of logfile in DR>',...
    *.db_file_name_convert='<1st path of dbfile in PR>','<2nd path of dbfile in DR>','<1st path of dbfile in PR>','<2nd path of dbfile in DR>',...
    In your case:
    *.log_file_name_convert='+DATA1/cbsprod/onlinelog/','+DATA1/cbsdr/onlinelog/','+REDOCONTROL01/cbsprod/onlinelog/','+REDOCONTROL01/cbsdr/onlinelog/','+REDOCONTROL02/cbsprod/onlinelog/','+REDOCONTROL02/cbsdr/onlinelog/',' REDOCONTROL03/cbsprod/onlinelog/','REDOCONTROL03/cbsdr/onlinelog/'
    *.db_file_name_convert='+DATA2/cbsprod/datafiles/','+DATA2/cbsdr/datafiles/','+DATA3/cbsprod/datafiles/','+DATA3/cbsdr/datafiles/','+DATA4/cbsprod/datafiles/','+DATA4/cbsdr/datafiles/','+DATA5/cbsprod/datafiles/','+DATA5/cbsdr/datafiles/','+DATA6/cbsprod/datafiles/','+DATA6/cbsdr/datafiles/','+DATA7/cbsprod/datafiles/','+DATA7/cbsdr/datafiles/','+DATA8/cbsprod/datafiles/','+DATA8/cbsdr/datafiles/','+DATA9/cbsprod/datafiles/','+DATA9/cbsdr/datafiles/'
    Note: Put "/" at the end of path.
    Edited by: 1009303 on Jun 2, 2013 12:47 AM

  • A handy query which lists all important DG related init parameters

    Version : 11.2/10.2
    Do you guys have a handy query which I could run at Primary and Standby sites which will lists all important
    Data Guard related init parameters.
    Something like below but a query that list important Dataguard related init.ora parameters
    col name format a35
    col display_value forma a20
    set pages 25
    SELECT name, display_value FROM v$parameter WHERE name IN ('db_name',
    'db_block_size','undo_retention',
    'shared_servers',
    'memory_target','sessions',
    'processes',
    'session_cached_cursors',
    'sga_target',
    'pga_aggregate_target',
    'compatible',
    'open_cursors',
    'nls_date_format',
    'db_file_multiblock_read_count',
    'cpu_count',
    'cursor_sharing')ORDER BY name;

    Yes more parameters from Mseberg..
    Adding one more important parameter LOCAL_LISTENER which plays a big role in dataguard with RAC too..
    sys@ORCL> SELECT name, display_value FROM v$parameter WHERE name IN ('db_name','db_unique_name','log_archive_config','log_archive_dest_2','log_archive_dest_state_2','fal_client','fal_server','standby_
    file_management','standby_archive_dest','db_file_name_convert','log_file_name_convert','remote_login_passwordfile','local_listener') order by name;
    NAME                           DISPLAY_VALUE
    db_file_name_convert
    db_name                        orcl
    db_unique_name                 orcl
    fal_client
    fal_server
    local_listener
    log_archive_config
    log_archive_dest_2
    log_archive_dest_state_2       enable
    log_file_name_convert
    remote_login_passwordfile      EXCLUSIVE
    standby_archive_dest           %ORACLE_HOME%\RDBMS
    standby_file_management        MANUAL
    13 rows selected.
    sys@ORCL>

  • The scenarios that use db_file_name_convert

    On what kind of circumstances does the setting of db_file_name_convert become effective?
    I am only sure about one that is standby database.
    What are the other scenarios?
    Thanks

    user10404735 wrote:
    I don`t think it covers all the scenarios!
    does it?Guess so! Quoting from the above link
    >
    DB_FILE_NAME_CONVERT is useful for creating a duplicate database for recovery purposes. It converts the filename of a new datafile on the primary database to a filename on the standby database. If you add a datafile to the primary database, you must add a corresponding file to the standby database. When the standby database is updated, this parameter converts the datafile name on the primary database to the datafile name on the standby database. The file on the standby database must exist and be writable, or the recovery process will halt with an error.
    If you specify an odd number of strings (the last string has no corresponding replacement string), an error is signalled during startup. If the filename being converted matches more than one pattern in the pattern/replace string list, the first matched pattern takes effect. There is no limit on the number of pairs that you can specify in this parameter (other than the hard limit of the maximum length of multivalue parameters).
    Set the value of this parameter to two strings. The first string is the pattern found in the datafile names on the primary database. The second string is the pattern found in the datafile names on the standby database.
    You can also use DB_FILE_NAME_CONVERT to rename the datafiles in the clone control file when setting up a clone database during tablespace point-in-time recovery.>
    You can see, there are couple of places where this parameter can be used.
    HTH
    Aman....

  • Retriving only hidden parameters from request.getParameter

    Hi,
    I want to retrive only the hidden parameters from previous JSP page into current JSP page. The problem here is that my hidden parameters in privious page are dynamically generated (parameter names are decided based on values retrived from the database) and I cannot retrive them using "request.getParameter(<parametername>)"
    Can I find the parameter type (i.e. text box, text area, checkbox, radio or hidden) from the request.getParameter() or request.getParameterNames() methods? or is there any other way to find it.
    Thanks in advance for any help

    You can use the getParameterNames() or getParameterMap() methods from javax.servlet.ServletRequest to get all the parameters in the request. Even if they're dynamically generated, and you don't know the names in advance, these methods will ferret them out.
    getParameterMap() returns name String, values String [] pairs, so you'll have to work with String arrays to get the input out. It's got to be that way to accomodate checkboxes and other HTML form elements that can send more than one value for a given name.
    I prefer getParameterMap, because I don't like using Enumerations as much. - MOD

  • [Interface] - Passing variety parameters/input to PL/SQL report

    Hi,
    I've the PL/SQL report which can allow passing in the parameter, i use '&'.
    the report is given to the end user who do not have the IDE for PL/SQL. the machanism of the report is generated into the spool file and import into excel format.
    now i am wondering how to create a tool using SQL or PL/SQL to allow the end user to choose the parameter(s) dynamically and passing into the PL/SQL to generate the report based on the input selected.
    the parameters like below:
    package code :
    week no :
    year :
    department :
    all the above parameters, the data would be selected from the existing lookup table. the user is allow to select more than 1 input for specified parameter for instance i want to spool report for week 1 until week 5.
    pls advise any solution on this topic. thanks

    hi scoot,
    thank for reply.
    yep, i'm using sql*plus and also sql navigator 4.0 .
    the user don't have the software to interact. i'm thinking of build an simple interface using VB and passing in the parameter then initiate the sql*plus to run the program in background mode.
    but if you have any other solution which not need to use other software to wirte such program , pls let me know immediately. thank

  • Report should prompt me for parameters, please help.

    Hi All,
    I am using Crystal version 10, So is there any way I can get the behaviour of my parameters as dynamic parameter? I have this requirement because when I am deploying the Report on BO server, and try to open the report from InfoView, it is not prompting me for parameters, rather it is giving me the copy which we had scheduled earlier. To get the fresh data with different parameters, we again need to schedule the report.
    What I want is simple, Whenever user clicks on the report link in infoview, I should be promted for the parameters my report is using.
    Please help..
    Thanks
    -Azhar

    Hi
    It would prompt whenever it's refreshed.
    You can refer to Business View manager guide from [here|http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bv_admin_en.pdf ] for detailed information.
    Hope this helps!!
    Regards
    Sourashree

  • How to avoid the parameters accepting screen generated by crystal report

    Hi ,
    I designed one rpt file which will take one parameter and trying to run that file from java servlets. But I am getting one problem. I am passing parameters from jsp and setting those to the crystal report but, instade of generating the report, it is generating one jsp page which is having text feild , after enter the parameter value onece I submit this page then only I am getting required output.
    anybody please help me in this. Below I am placing my code.     
                   ReportClientDocument reportClientDocument = new ReportClientDocument();
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   ServletContext cxt = req.getSession().getServletContext();
                   String fileName = "C:/Documents and Settings/Administrator/Desktop/lib-so/ix_sample2.rpt";
                   try
                        String realPath = fileName;
                        reportClientDocument.open(realPath, 0);
                        viewer.refresh();
                        viewer.setReportSource(reportClientDocument.getReportSource());
                   catch(Exception e)
                        System.out.println("inside catch block...");
                        e.printStackTrace();
                   IReportSource reportSource = reportClientDocument.getReportSource();
                   Fields oFields = new Fields();  
                   ParameterField portfolio = new ParameterField();
                   portfolio.setName("Portfolio");
                    Values oValues = new Values();
                      ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
                       oParameterFieldDiscreteValue.setValue(new Integer(16));
                       oValues.add(oParameterFieldDiscreteValue);
                       portfolio.setCurrentValues(oValues);
                       portfolio.setReportName(fileName);
                       oFields.add(portfolio);
                          viewer.setOwnPage(false);
                               viewer.setParameterFields(fi);
                       try {
                             viewer.processHttpRequest(req, res, cxt, res.getWriter());
                             viewer.dispose();
                       catch (ReportSDKExceptionBase e) {
                             e.printStackTrace();
    thanks,
    Mallikarjun
    Edited by: mallikarjuna.ch1 on May 17, 2009 9:58 AM

    Thanks a lot for worthful suggetion Neeraj.
    I got resolved my problem. I have one more issue, please give a clarification about that.
    my doublt is,
    For parameterized rpt file running purpose I need to set the database details . every jar file is placed in application lib only. And my CRConfig.xml file also placed bellow.
                  <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <timeout>1</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GCPT0-0JY1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>D:\inventex\crystal_report\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>$</Classpath>
         <IORFileLocation>$</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
         <JVMMaxHeap>64000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:sqlserver://10.0.0.65:1433;DatabaseName=reportmanager</JDBCURL>
         <JDBCClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</JDBCClassName>
         <JDBCUserName>malli</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    still it is showing "Error finding JNDI name (sql server) " error. I am solving this problem setting these paramers through program.

  • SSRS with DAX - parameters multivalue vs total element

    Hi all,
    I'm using SSRS on top of a SSAS tabular model to create intuitive dashboards for management department.
    One thing I'm struggling with is the lack of a "total" on parameters. What I'm doing is, based on the fact table, I create the datasets that will feed each parameter, so it only has the dimension members available on the fact table. That is fine
    performance wise, you only have 1 element and it renders very quickly.
    For a management perspective at a higher level it is important to view the totals to have the big picture of the information. In my project we are in a University, so I have the parameters Year, school (there are several schools in the university campus)
    and the course (computer sciences, math, statistics, etc).
    At first glance, if I'm a course coordinador I want to pick my course and have a global view, and I'm achiveing that, but imagine now, that I am the school coordinator, or the university coordenator.
    I want to see the aggregate values by all courses or by all schools.
    In my view I have 2 ways to do this and I come from a tradition cubes background:
    1 - I would use the all element the cubes hierarchy have on each attribute
    2 - I would use multivalue parameters with StrToSet (worse performance)
    Using DAX what is your approach?
    Best regards

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

Maybe you are looking for

  • Using more than one query to calculate a field

    Im trying to calculate a third field through 2 results of 2 queries without success. The problem simplified is the following. Suppose that query1 returns the value 10 per line and query2 return 20 per line. Then I have the lines: 10 20 10 20 10 20 To

  • Visual report error on master project

    Hi, I've created 2 distinct projects with custom fields, filled-in with a macro based on resource pool custom fields. Works fine. For these projects, I've created an Excel visual reports that uses the custom fields (as dropdown lists). Also OK on bot

  • Why is YouTube not showing?

    I have recently downloaded the brand new Mountain Lion software on to my iMac. I open safari today and typed in youtube.com, it loaded the page but the result was only a blank page. I tried this again several times and all failed. Please help!! Thank

  • Query Infoset t-code SQ02 with table KONV

    Hi All, I want to create a Query infoset using t-code SQ02, I want to join table VBAK and KONV for showing all condition types in the Sales order. However the program disapear error "Table KONV cannot be used in a join".... Is there other method I ca

  • Comment mettre la mise a jour ipod avec nouveau ordinateur, comment mettre la mise a jour ipod avec nouveau ordinateur

    comment mettre la mise a  jour avec un nouvelle ordinateur sur mon ipod