How to compile 600 d2k reports at a time.

I have done import oracle database 8i in new server, how I can recompile reports developed in oracle d2k at a sigle go.
as it is very tedious to compile one by one and time consuming everytime i import database. without recomile the reports does not work.

Hello,
Is this what you are looking for? You can create procedure from this and call it from application side
DECLARE
CURSOR mycur
IS
SELECT object_type, object_name FROM user_objects
where status='INALID';
v_sql VARCHAR2 (100);
BEGIN
FOR cur IN mycur
LOOP
v_sql :=
' ALTER ' || cir.object_type || ' ' || cur.object_name || ' COMPILE';
EXECUTE IMMEDIATE v_sql;
END LOOP;
END;
Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to compile forms and reports 6i in Application server 1.0.2.2.2.

    Hi all,
    i used oracle forms and reports 6i with oracle database 10g in client server architecture.
    now i want to make 3 tier, client-application server version 1.0.2.2.2-origin database serversystem on 3 separate machines.
    i have installed application server version 1.0.2.2.2.
    now i have my forms and reports 6i in application server computer.
    can any one please tell me how to compile forms and reports 6i in application server computer i.e do i have to write some extra code in forms and reports 6i in order to compile in application server computer successfully.
    waiting for an early reply.
    best regards
    fahad ejaz
    email:[email protected]

    ... another question would be why not upgrade those old Forms & Reports to the newest release 10.1.2.0.2 and use the latest Application Server to run them with?
    Release 6i and 1.0.2.2 is as you know desupported.
    Regards,
    Martin

  • How to configure oracle 6i report server run time component with application server

    we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).

    You can run multiple instances of Reports Server in 6i.
    In tnsnames.ora, for each server, have a different name and each listening to different port.
    For example,
    server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
    server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
    Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
    http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf

  • How to compile forms and reports in linux command line ?

    Hi,
    I'm working on a migration from forms 6i to 11g R2. The development/migration is being made on a Windows 7 64 bits, however, those forms and reports will run on a Linux RHEL 5. Thus, I have to compile them inside that linux box.
    How can I do it? Is there a tool to compile the forms and reports in command line withn a linux box?
    Thanks a lot.

    Thanks for the answer, Carlos.
    I run the command but this error message is displayed "FRM-91500: Unable to start/complete the build".
    Edited by: _blackjack on Dec 18, 2012 5:18 AM                                                                                                                                                                                                                                                                                                                                                                           

  • How to modify a default report in ByDesign / Time series?

    Hello everybody,
    I am currently working with the HR Dashboard - Employee Time (HCMTLMU01_Q0010) and I am facing a problem with the time series <Year to date>. Actually, this is a problem for all reports with Time Series.
    I would like to know if it is possible to delete the Time Series from a default report? Because I cannot find how to do it.
    I could also do what I want in another way, by modifying the format of the Time Series. Is it possible or not?
    Like changing it from an interval to a fixed date, but keeping the behavior of the criteria from start of the year to current date. But I cannot find how to it neither.
    Are these actions possible or I have to go back to the original data sources used by this reports and create my own?
    Even if I doubt creating the same report "just" without the time series is not as easy as it sounds.
    Thank you all,
    Best regards,
    Jacques-Antoine

    thanks. it seemed like it worked. once. but when i tried to modify the default trans
    ition time, it would not accept the new value.
    also can you explain what is the difference between the unit that are used.
    the entry screen asks for frames, but if you look at the duration in the effects
    edit window the units appear to be min.sec.micros.
    thanks,
    rob

  • Compile forms and reports in linux os

    hi,
    i like to know how to compile forms and reports in linux os?
    please provide me the commands for compiling of forms and reports.
    Regards
    Ravikumar.A

    hi
    i do not know u r form version but the following command is for Forms [32 Bit] Version 10.1.2.0.2 (Production)
    try this.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completefor linux i think its frmcmp.sh just make changes here.
    sarah

  • I want run multiple report in d2k report 6i

    hi
    when i run a report then i tried to run another report. but i could not run it. cause two report dont run at a time. how can i run both report at a time. pls help me.
    thanks
    Mostafiz

    hi thanx
    may be drilldown reports is not my solution.
    my problem is i have two report when i run one
    then i need to close sale and run another report .
    but i want to run two report one after another.
    how can i solved
    pls help me
    thanx
    mostafiz

  • How to compile a report in windows

    Dear Memebers,
    Generally standard reports contain a lot of user exits as a results of which we cannot compile the reports using reports builder. How can we compile a standard report in windows. I know the syntax which is shown below but how should i proceed.
    REM WINDOWS COMPILE REPORT
    ::compile_report.bat
    cls
    Echo compiling Report .....
    for %%f IN (FAS400.rdf) do RWCON60 userid=apps/apps@test batch=yes source=%%f
    stype=rdffile DTYPE=REPFILE OVERWRITE=yes logfile=log.txt
    ECHO FINISHED COMPILING
    What if i have a report in some directory in windows. Can i mention the path and how do i run the above mentioned commands as a script in windows command prompt.
    I would really appreciate your help. Correct me if i am wrong.
    Thanks
    Sandeep

    for forms:
    REM WINDOWS COMPILE FORMS
    ::compile_forms.bat
    @echo off
    cls
    SET DBConnectString =
    SET /P DBConnectString= Please enter DB connect string (user/password@sid):
    SET workingDirectory =
    SET /P workingDirectory= Enter the directory where FMBs are located (i.e. c:\dev\forms\):
    cd %workingDirectory%
    @echo on
    echo Compiling Forms....
    for /f %%a IN ('dir /b *.fmb') do ifcmp90 module=%%a userid=%DBConnectString% batch=yes
    echo Finished Compiling for reports:
    REM WINDOWS COMPILE FORMS
    ::compile_reports.bat
    @echo off
    cls
    SET DBConnectString =
    SET /P DBConnectString= Please enter DB connect string (user/password@sid):
    SET workingDirectory =
    SET /P workingDirectory= Enter the directory where RDFs are located (i.e. c:\dev\reports\):
    cd %workingDirectory%
    @echo on
    echo Compiling Reports....
    for /f %%a IN ('dir /b *.rdf') do rwconverter userid=%DBConnectString% batch=yes source=%%a stype=rdffile dtype=repfile overwrite=yes logfile=log.txt
    echo Finished Compiling

  • How To Compile Several Reports 10g At Once

    Hi all,
    I want to know how to compile several reports (rdf) 10g at once, not one by one.
    Thanks in adwance
    Vismantas

    Hi Inolau
    I am asking its working fine but where these rep files are generating i have put the batch file in my folder E:\Reports and from command prompt i am running this batch files its k but when i go to E:\Reprots folder there is not even a single rep file for these two reports.However if these rep generating some other directory but its not cause i have searched too for allz directory for exploc.REP and cldpln.REP.
    E:\Reports>my.bat
    E:\Reports>for %f IN (*.rdf) do RWCON60 userid=ics/ics@ics batch=yes source=%f s type=rdffile dtype=repfile overwrite=yes logfile=log.txt echo FINISHED COMPILING
    E:\Reports>RWCON60 userid=ics/ics@ics batch=yes source=exploc.RDF stype=rdffile dtype=repfile overwrite=yes logfile=log.txt echo FINISHED COMPILING
    E:\Reports>RWCON60 userid=ics/ics@ics batch=yes source=cldpln.RDF stype=rdffile dtype=repfile overwrite=yes logfile=log.txt echo FINISHED COMPILING
    Thanks for yours prompt response.

  • How to compile Reports sample OCI program in Sun solaris ?

    TO All:
    Here is reports OCI sample program.
    #include <stdio.h>
    long ret,rwcrun(),rwcsql();
    main()
    char options[132];
    long len;
    strcpy(options,"userid=ps51/ps51 report=emp batch=yes paramform=no destype=file desname=l.ps");
    printf("/options are: %s",options);
    len=strlen(options);
    ret=rw2run(options);
    printf("/n Value of return code is %d",ret);
    exit();
    Pls guide me , how to compile this program in Sun Solaris platform .
    1. Which library file I need to include.
    2. How to create make (.mk) file.
    If I compile this program using below command.
    $>cc ociprg.c r30dll.o
    then "rw2run" not found error.
    Also I need to use RW2RRB oci function, for this which library I need to use.
    Thanks in Advance
    Siva
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by R.Siva Kumar [[email protected]]:
    TO All:
    Here is reports OCI sample program.
    <HR></BLOCKQUOTE>
    null

  • How to create a rhel 4 user to compile forms and reports from windows pc?

    Friends,
    We have Oracle Application Server 10gR2 on RHEL 4.8
    Developer's PC - Windows XP SP2
    Now my requirement is....
    i have to create a user so that they can able to login thru putty from their windows xp pc.
    they can able to copy/delete the file
    they can able to compile the forms,reports, menu
    how can i do that?
    thanks

    Hi!
    I suppose you will find at '$ORACLE_SERVER/.../bin' a script ended by ".sh" which has enviroment values defined since tour installation. This is useful to do your work. (I don't remember his name, but is the same that executable to compile).
    Chiao!

  • How to compile forms & Reports in 10g

    Hi Guys,
    We are migrating an application from Forms & Reports 6i to Oracle 10g. We have Windows based 10g IDS, Application Server is on HP-UX and Database also on HP-UX. We are migrating the forms & reports successfully on windows using 10g ids. while deploying forms & Reports in application Server on HP-UX, it will not work as platform is different.
    So my question is,
    How do I compile all forms & Reports under unix environment using Application Server?
    Can you people help me out at the earliest?
    Thanks

    Hello,
    Use rwconverter.sh for Reports and frmcmp.sh for Forms .
    Regards

  • JNI - How to use the error reporting mechanism?

    I've developed a C++ DLL which is loaded from a commercial Win32 application (not written by me) as a plug-in for external calculations. On its initialization the C++ DLL launches the Java VM via the JNI invocation interface. When the DLL functions are called by the application, they forward the calls to Java objects inside the Java VM, again via JNI invocation interface.
    This works well, but I have encountered a weird error.
    From Java I open a JFrame containing a JTextArea as small console for debug output messages. If I turn output to this debug console off (my printToConsole routine checks whether a boolean flag is set), the string concatenation operator may lead to a crash of the Java VM.
    For example, if in one of the Java functions called from the
    DLL via JNI invocation interface the following is the first statement,
    it leads to a crash of the Java VM and the application that loaded the C++ proxy DLL.
    String test=""+Math.random(); // String test not used later
    Interestingly, if I comment this statement out, the Java code works fine WITHOUT any crash. I've already thought about potential races and synchronization issues in my code, but I don't see where this is the case. And the string concatenation error fails as well, if I insert sleep() statements in front of it and at other places in the code. However, if I turn on log messages printed to my JFrame debug console (containing a JTextArea), the String concatenation works without problems.
    So maybe the JNI interface has a bug and affects the Java VM; I don't see where my JNI code is wrong.
    One problem is that I do not get any stdout output, as the C++ proxy DLL is loaded by the Windows application, even if I start the Windows application from the DOS command line (under Windows).
    Does anyone know how to use the error reporting mechanism?
    http://java.sun.com/j2se/1.4.2/docs/guide/vm/error-handling.html
    Is it possible that the JVM, when it crashes, writes debug information about the crash into a file instead of stdout/stderr?
    My C++ proxy DLL was compiled in debug mode, but the commercial application (which loaded the DLL) is very likely not.
    I do not know hot to find the reason why the String concatenation fails inside the Java function called from the C++ DLL via JNI.

    Yes, I've initially thought about errors in the C++ code too. But the C++ code is actually very simple and short. It doesn't allocate anything on the C++ side. It allocates a couple of ByteBuffers inside the Java VM however via JNI invocation interface calls of env->NewDirectByteBuffer(). The native memory regions accessed via the ByteBuffers are allocated not by my own C++ code, but by the program that calls my DLL (the program is Metastock).
    The interesting thing is that everything works fine if output to my debug console is enabled, which means that in the Java print routine getConsoleLoggingState() returns true and text is appended to the jTextArea.
    static synchronized void print(String str)
    { MetaStockMonitor mMon=getInstance();
    if ( mMon.getFileLoggingState() && mMon.logFileWriter!=null) {
    mMon.logFileWriter.print(str);
    mMon.logFileWriter.flush();
    if ( mMon.getConsoleLoggingState() ) {
    mMon.jTextArea1.append(str);
    Only if output to the JTextArea is turned off (ie. getConsoleLoggingState()==false), the crash happens when the FIRST statement in the Java routine called via JNI invocation interface is a (useless) String concatenation operation, as described above.
    String test=""+Math.random(); // String test not used later
    Moreover, the crash happens BEFORE the allocated ByteBuffer objects are accessed in the Java code. But again, if console output is turned on, it works stable. If console output is turned off, it works when the (useless) String concatenation operation is removed in the Java routine called from C++.
    I've already thought about potential races (regarding multiple threads), but this can be ruled out in my case. It almost appears as if the JVM can have problems when called by the invocation interface (I tested it with Java 1.4.2 b28).
    All the calls between C++ and Java go ALWAYS in the direction from C++ code to Java. Unfortunately, there is no special JRE version with extensive logging capabilities to facilitate debugging. And the problem is not easily reproducible either.
    JNIEnv* JNI_GetEnv()
    JNIEnv *env;
    cached_jvm->AttachCurrentThread((void**)&env,NULL);
    fprintf(logfile,"env=%i\n",env);
    fflush(logfile);
    return env;
    // function called by Metastock's MSX plug-in interface
    BOOL __stdcall createIndEngine (const MSXDataRec *a_psDataRec,
    const MSXDataInfoRecArgsArray *a_psDataInfoArgs,
    const MSXNumericArgsArray *a_psNumericArgs,
    const MSXStringArgsArray *a_psStringArgs,
    const MSXCustomArgsArray *a_psCustomArgs,
    MSXResultRec *a_psResultRec)
    a_psResultRec->psResultArray->iFirstValid=0;
    a_psResultRec->psResultArray->iLastValid=-1;
    jthrowable ex;
    jmethodID mid;
    JNIEnv* env=JNI_GetEnv();
    jobject chart=getChart(env, a_psDataRec);
    if ( chart==NULL) {
    return MSX_ERROR;
    jobject getChart (JNIEnv* env, const MSXDataRec *a_psDataRec)
    jthrowable ex;
    jmethodID mid;
    int closeFirstValid, closeLastValid;
    closeFirstValid=a_psDataRec->sClose.iFirstValid;
    closeLastValid=a_psDataRec->sClose.iLastValid;
    long firstDate, firstTime;
    if (closeFirstValid>=1 && closeFirstValid<=closeLastValid) {
    firstDate = a_psDataRec->psDate[closeFirstValid].lDate;
    firstTime = a_psDataRec->psDate[closeFirstValid].lTime;
    } else {
    firstDate=0;
    firstTime=0;
    jclass chartFactoryClass = env->FindClass("wschwendt/metastock/msx/ChartFactory");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find class ChartFactory\n");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetStaticMethodID(chartFactoryClass, "getInstance", "()Lwschwendt/metastock/msx/ChartFactory;");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getInstance()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject chartFactory=env->CallStaticObjectMethod(chartFactoryClass, mid);
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getInstance()");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetMethodID(chartFactoryClass, "getChartID", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIIIII)F");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getChartID()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject symbolBuf=env->NewDirectByteBuffer(a_psDataRec->pszSymbol, strlen(a_psDataRec->pszSymbol) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate symbolBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityNameBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityName, strlen(a_psDataRec->pszSecurityName) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityNameBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityPathBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityPath, strlen(a_psDataRec->pszSecurityPath) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityPathBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityOnlineSourceBuf=env->NewDirectByteBuffer(a_psDataRec->pszOnlineSource, strlen(a_psDataRec->pszOnlineSource) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate onlineSourceBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    // Java Function call leads to crash, if console output is turned off and
    // the first statement in the Java routine is a (useless) string concatenation.
    // Otherwise it works stable.
    jfloat chartID=env->CallFloatMethod(chartFactory, mid, securityNameBuf, symbolBuf,
    securityPathBuf, securityOnlineSourceBuf, (jint)(a_psDataRec->iPeriod),
    (jint)(a_psDataRec->iInterval), (jint)(a_psDataRec->iStartTime),
    (jint)(a_psDataRec->iEndTime), (jint)(a_psDataRec->iSymbolType),
    (jint)firstDate, (jint)firstTime );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getChartID()");
    printSBufViaJava(sbuf);
    return NULL;

  • How to get one crystal report to work with two different backends?

    We have a software that can work with either SQL2008 or Visual Fox Pro backend.  We are trying to compile One Crystal report that will work with either of the two backends.  How to you make sure that your Crystal Report is compiled so that it will work with both backends?
    Right now my reports were originally created using the SQL2008 backend and are retaining the DBO reference in the statement, which then will not allow the Crystal report to work with the VFP backend.

    You can write your data sets as a command using hand coded SQL. As long as "dbo" is the only schema used in your SQL Server database, you don't need to specify it in the SQL. SQL Server will automatically assume the dbo.
    The 2nd thing... The SQL needs to be 100% compatible with both SQL Server 2008 AND VFP.  This will limit the list available functions to those that are common to both platforms AND work exactly the same in both platforms.
    The other part is to make sure you are using an ODBC type connection instead of OLD/DB. That way all of the connection properties are set on the local machine and the report is simply looking for the System DSN name.
    HTH,
    Jason

  • NAV 2013 R2; How to run a customized report (206 sales invoice) in the classic client

    Hello, in preparing a newly installed NAV 2013 R2, I'm questioning the following:
    In the Development Environment I have customized report 206 Sales - Invoice in the Design menu View Layout with the space of the logo (by Microsoft SQL Server Report Builder) and
    finally saved and compiled.
    When I do run it connects to the server of what I call the classic client or the real NAV 2013 R2 and I can select a posted sales invoice to show the new layout and the result is
    fine as customized as I wanted.
    When I later ordinary print one of the posted sales invoices this customized logo layout doesn't appear on the print. I print in PDF and paper. When I make a next new sales invoice
    this new layout is not in use either.
    Another thing is run print started from the Development Environment is called Sales - Invoice in the header and not just Invoice that it the name when printing when invoicing and
    printing of posted documents.
    Additionally this form of Sales - Invoice shows our company details and good information as web, e-mail, bank account and bank name that is well demanded on a perfect invoice.
    How to get these informations out normally?
    Is the classic client having a wrong report as sales invoice?
    How to run a customized report (206 sales invoice) in the classic client NAV 2013 R2?
    It is like the customized report (206 sales invoice) is not in use yet in the classic client.
    All you wise people out there are welcomed to help me now
    Best regards
    Carsten

    Try on Dynamics Community forum: https://community.dynamics.com/nav/f/34.aspx

Maybe you are looking for

  • How do you get your passwords on itunes if your device is disabled?

    How do you get your password for your device on itunes?

  • Unable to Load Captivate files to Creative Cloud

    We have several captivate files that that for whatever reason we are unable to upload to creative cloud.  We have tried from both Macs and PCs and receive the same message.  "A virus was detected in Filename. This file will not be uploaded."   They f

  • Wait Step, Exception Handling, Alerts

    Hi Everybody,              I am implementing a BPM scenario. I have a few questions: 1) The wait step i am using in BPm, allows me the min wait time as 1 min, can't I have lesser wait time then that. Lets say 30 secs. 2) Under what conditions should

  • WebDynpro and J2EE Engine

    Hi If we develop a WebDynpro application, Is it possible to deploy it in any other web server. Or SAP Web App server 6.40 is the only J2EE engine under which it has to run . Regards Bhanu

  • Using Application Items. Declaring Variables

    Bug tracker sample application is a great example and has some great advanced functions. I am trying to better understand how this application works. One question that comes up is where are declaring :G_STATUS & :G_PRIORITY variables? See Page 2 > Ed