Running SQLs in background in batch mode via SQL developer ( windows 7)

Hi
Can anybody share any tips to run a set of SQLs in background in batch mode via SQL developer in Windows 7 environment
am trying something as below but not succeeding though
1) Create a .txt file name 'mysqlfile.txt' in desktop which contains the below statements
Create table A
Create table B
2) Create a .bat file name 'run.bat' and kept in desktop which contains the below statements ( syntax may not be correct though)
sqldeveloper -s <DBusername>/<pwd>@//<Hostname>:<port>/<SID>@<C:\Users\<username>\Desktop/mysqlfile.txt>
3) Double click 'run.bat'
Regards
-Learnsequel

SQL Developer doesn't have a command-line interface to support what you're looking for.
You could use SQL*Plus.
We have some requests on the Exchange in this area you could add your vote to. This is an area we are investigating for future releases.

Similar Messages

  • How to run a 10g report in batch mode.

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    For those of you interested in following this refer to the same thread in the Reports Forum:
    How to run a 10g report in quiet\batch mode

  • Running Reports 6 files in Batch mode in Portal 3.0

    Hai,
    I want to run reports 6 files from webdb. I want to give input parameter values to the reports and then shedul them to run in batch mode. I would be grateful if u explain me the steps in detail.
    Thanks,
    Mathan
    null

    Mathan,
    Actually the Reports forum may be able to help you a little more than this forum can at this point.
    Sue

  • .sql scripts running in batch mode

    Hi all. Is there any way to run .sql scripts in a batch mode where the job would be time scheduled and run automatically when the specified time arrived? I am using Oracle 10.
    Thank you for any assistance.
    Robert Smith

    Hi Dimitri. A coworker of mine uses dbms scheduler and he has submitted batch jobs. However, I would like to be able to spool to a file, then send the file as an attachment in email. My friend says that the "spool" command will not work when you are inside of pl / sql. He writes to a file using a cursor and loop but he hasn't been able to send the file as an attachment in an email yet. Maybe there is something we don't know about the dbms scheduler yet.
    Robert Smith

  • HR_INFOTYPE_OPERATION - Running in Batch Mode

    I have an ABAP which reads data from a flat file into an internal table and then loops through this internal table and updates HR Infotype 15 records via the HR_INFOTYPE_OPERATION function.  In my program I give the user the option of running it in a "Test/no comitt" mode so they can verify the data in their data file and then they can run it in an "Update/Commit" mode.
    The program itself works great as long as I run it on-line.  I catch any errors and report them back to the user before the run it in "Update" mode.  This way if their is a problem with any of the data in the data file then they are made aware of this.  HOWEVER, if I run this same program in Batch mode it abends if their are any problems at all with any of the records in the data file (ie., employee doesn't exist or whatever).  The program just stops and does not give any error message and just indicates that is has Finished by it really hasn't.  I can't find anything in OSS notes around this. The program runs fine in Batch as long as the data file is clean and o.k.
    Has anyone else had this problem or have any ideas?

    Hi Janice
    For what its worth, I know its already too late for a reply to this problem, but documenting it so others can see.
    We had a number of issues updating infotypes 14 & 15 using HR_INFOTYPE_OPERATION. It works great for 14 but works sporadically when used in conjunction with a BDC logic. Function does not work that well for IT15 together with BDC. The key here is that the BDC logic was used in conjunction to calling the function. We had such a requirement.
    Anyway, I debugged the standard code, found some internal buffer clearing modules and used them as well, but that didn't work either. Finally we ended up using just the BDC, without the FM for lack of time and that is working great.
    I wanted to put this for the benefit of others who use it. Depending on how you use it, this FM does have some strange problems such as - not returning any error when it failed, performance problems with huge data loads etc.
    Thanks,
    Anand

  • How to run a 10g report in quiet\batch mode

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    So the server (we will call it server1) you have "Redwood Cronacle 6.0.2" installed on has a C: drive and a D: drive. On the D: drive is installed Developer 6i (D:\ORADEV6I). You can install Developer Suite 10g also on the D: drive (D:\ORADEV10G for example). After that, setup Oracle iAS on server2. The good news is you have to change very little code. You can:
    Not use the iAS server at all and use the following command (similar to how you are doing it now) in Redwood:
    return 'D:\ORADEV10G\BIN\RWRUN.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' batch=yes paramform=no destype=file'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE';If you want to use the iAS server, you have to consider where the report will physicall exist. You can have it exist on the reports server or you can have it brought back to the client. If you bring it back to the client you will lose the ability to run this asynchronously (or in batch mode). You will have to play with some of these parameters to get it to work perfectly, but this should be a good start. These are examples of have the report results saved locally on server1...not server2:
    1. Use rwclient to submit a report request
    return 'D:\ORADEV10G\BIN\RWCLIENT.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';2. Use rwservlet to submit a report request
    return 'D:\ORADEV10G\BIN\RWSERVLET.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';I would think that Cronacle 6.0.2 can submit a url as a job and wait for the results to be streamed back, so you could look into doing that also, in which case the url you would submit for the job would be something like:
    return 'http://server2:7777/reports/rwservlet?'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=cache'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';

  • Forms 6i in Batch Mode - I need help..

    Hello ALL.
    Before I proceed migrating our 4.5 to 6i, I would like to know
    how to run forms/reports 6i in batch mode. I have RDBMS 8.1.6.
    running on HP-UX 11.0 and the plan is to deploy the
    forms/reports6i to browser or intranet via the OAS9i/NT Server -
    already installed. Currently, 60% of our applications are in
    batch mode and 70% of our reports are in character mode and I
    use a script to run them. Batch job example:
    echo 'Job Myjob"
    sqlplus -s @cretables
    f45run myform term=vt220
    r25run myreport paramform=NO batch=yes desttype=file
    desname=myrep.lis indate=10222001
    np -qhp2564 *lis <--- HP Line Printer
    How do I run the above batch job using the OAS9i/NT Server?
    Whar are my options? Can somebody show in me in detail/script
    how to run the "example" batch job with forms 6i and reports
    6i. Also, I need a detail instruction/script how to print the
    reports in character mode using a local printer such line
    printer.
    My enourmous thank you to all of you.
    Myrna Diaz
    [email protected]

    There is no other way.
    Sorry

  • Firefox running in the background

    I've noticed that Firefox often hangs and keeps running in the background even after I closed the browsing windows, which is quite annoying.
    I'd like to use a VPN but it's kind of pointless given such an error; I'd switch it off thinking Firefox is down but it's running.
    I've had problems with constant error messages and slow performance.
    I'm sure there are ways to work around this, such as shutting down the process in task manager each time or changing this and that setting, but can we expect a version that does not contain this error in the first place?
    That would be so much easier.

    I have noticed that sometimes I suspect, but it has been either explainable, or on other persons machines where I have not been able to troubleshoot
    Before starting any further troubleshooting I suggest you try updating to the current version of Firefox
    * [[Update Firefox to the latest version]]
    As a first troubleshooting step then try Firefox in its safe mode. That is a temporary and reversible troubleshooting stage with some features shut down
    * [[Troubleshoot Firefox issues using Safe Mode]]
    You mention error messages please paste them into your next reply, (or attach as a screenshot) and say what you were doing at that time.
    As an Aside
    I would also point out there is a reported but unfixed bug (or was last week) on what was the Aurora channel and is now called Developer Edition, that some times causes this, but even worse as it crashes and locks profiles.
    Unusual that, common bugs breaking through form Nightly to Aurora.

  • Module Pool in Batch Mode

    Hi
    Can I run module pool program in batch mode....
    If so how.... can anyone help me out.....
    Thanks
    Jay

    hI,
    Yes sure I need the help..... how to run in batch process this progra,/// can I go direct and define in sm36 or so....
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    Program
    PROGRAM ZASSET .
    tables: anla,zasset.
    constants :
                             C_O(1) TYPE C  VALUE 0,
    C_INSERT(10) TYPE C VALUE 'INSERT'.
    DATA: IT_ZASSET LIKE ZASSET.
    DATA:   V_emp_exist(1) type c,
                                    V_ANLN1 like zASSET-ANLN1.
    *--For Pf status
    data: begin of it_pf occurs 0,
           stat(8) type c,
          end of it_pf.
    DATA: SAVE TYPE C,
           DELETE TYPE C,
           CLEAR TYPE C,
           EXIT TYPE C,
           BACK TYPE C,
           CANCEL TYPE C,
           OK_CODE LIKE SY-UCOMM.
    *&      Module  EXIT  INPUT
          text
    MODULE EXIT INPUT.
    case sy-ucomm.
    when 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.                 " EXIT  INPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE. "OK_CODE.
    WHEN 'INSERT'.
    IF NOT ZASSET-ANLN1 IS INITIAL.
    MOVE ZASSET-ANLN1 TO IT_ZASSET-ANLN1.
    ENDIF.
    WHEN 'SAVE'.
    MOVE IT_ZASSET-ANLN1 TO ZASSET-ANLN1.
    INSERT INTO ZASSET VALUES IT_ZASSET .
    COMMIT WORK.
    CLEAR IT_ZASSET.
    *REFRESH IT_ZASSET.
    WHEN 'EXIT'.
    LEAVE TO SCREEN 0.
    *APPEND IT_ZASSET.
    *CLEAR ZASSET.
         leave to screen 200.
    *ENDIF.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    &      Module  STATUS_0100  OUTPUT
            text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'ASSET'.
      SET PF-STATUS 'POOL'.
      SET TITLEBAR 'UPDATING ZASSET TABLE'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  exitscreen  INPUT
          text
    MODULE exitscreen INPUT.
    Case OK_CODE. "_100.
        WHEN EXIT.
          Leave to screen 0.
        when BACK.
          Leave to screen 0.
        when CANCEL.
          Leave to screen 0.
      Endcase.
    ENDMODULE.                 " exitscreen  INPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    *OK_CODE = SY-UCOMM.
    *MODULE USER_COMMAND_0200 INPUT.
    *Case OK_CODE.
    When 'MODIFY'.
    Perform move_values.
    Perform lock_table.
    Perform change_dbase.
    Perform unlock_table.
    Message s999(z1) with text-001.
    Leave to screen 100.
    When SAVE.
    Perform move_values.
    Perform lock_table.
    Perform insert_dbase.
    Perform unlock_table.
    Message s999(z1) with text-002.
    Leave to screen 100.
    When c_delete.
    Perform move_values.
    Perform lock_table.
    Perform delete_dbase.
    Perform unlock_table.
    Message s999(z1) with text-003.
    Leave to screen 100.
    When EXIT.
    *Endcase.
    *ENDMODULE.                 " USER_COMMAND_0200  INPUT
    *&      Form  check_emp_exist
          text
    -->  p1        text
    <--  p2        text
    FORM check_emp_exist.
    Clear IT_ZASSET-ANLN1.
      Move zASSET-ANLN1 to IT_ZASSET-ANLN1.
      Clear zASSET.
    Select single * from zASSET where ANLN1 = IT_ZASSET-ANLN1.
    If sy-subrc ne 0.
        Clear v_emp_exist.
    Else.
        Clear zASSET.
        Select * up to 1 rows from ztrytxn where empno = v_empno.
        Endselect.
        Move : ztrytxn-valfr to v_date,
                   C_x to v_emp_exist.
    Endif.
    ENDFORM.                    " check_emp_exist
    *&      Form  move_values
          text
    -->  p1        text
    <--  p2        text
    *FORM move_values.
    **MOVE ZASSET-ANLN1 TO IT_ZASSET-ANLN1.
    **MOVE IT_ZASSET-ANLN1 TO ZASSET-ANLN1.
    **MOVE ZASSET-ANLN1 TO IT_ZASSET-ANLN1.
    *MOVE IT_ZASSET-ANLN1 TO ZASSET-ANLN1.
    *INSERT INTO ZASSET VALUES IT_ZASSET.
    *COMMIT WORK.
    **MODIFY ZASSET . "INDEX SY-TABIX. " FROM TABLE IT_ZASSET1 .
    **COMMIT WORK.
    **LEAVE TO SCREEN 100.
    *ENDFORM.                    " move_values
    ENDFORM.                    " change_dbase
    *&      Form  delete_dbase
          text
    -->  p1        text
    <--  p2        text
    FORM delete_dbase.
    Delete zASSET from IT_ZASSET-ANLN1.
      Commit work.
    ENDFORM.                    " delete_dbase
    *&      Module  check_BUKRS  INPUT
          validating bukrs
    MODULE check_BUKRS INPUT.
    if zasset-bukrs <> 0.
        Message e999(z1) with text-005.
      Endif.
    ENDMODULE.                 " check_BUKRS  INPUT

  • Running scripts in SQL developer in batch mode (windows 7)

    Hi
    Can anybody share the steps to run a set of SQLs in SQL developer in batch mode in Windows 7
    Regards
    -Learnsequel
    Edited by: 910874 on Jul 25, 2012 9:13 AM

    910874 wrote:
    was thinking of something like this
    1) Create a .txt file name 'mysqlfile.txt' in desktop which contains the below statements
    Create table A
    Create table B
    2) Create a .bat file name 'run.bat' and kept in desktop which contains the below statements ( syntax may not be correct though)
    sqlplus -s <DBusername>/<pwd>@//<Hostname>:<port>/<SID>@<C:\Users\<username>\Desktop/mysqlfile.txt>
    3) Double click 'run.bat'
    Any thought?
    Regards
    -Learnsequelit can be made to work;
    but it is a run ONCE file since errors get throw on second & subsequent runs

  • ODI Error: java.sql.SQLException: statement is not in batch mode

    Greetings Gurus!
    Would anybody know why changing a SQL view from
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    cause ODI to fail?
    This is the error message from ODI:
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)
    at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: statement is not in batch mode
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.error.Error.error(Unknown Source)
    ... 19 more
    Thank you!
    Ray

    Looks like the single quotes around Frozen are not ascii single quotes. They seem to be a copy paste job from MSWord.
    It should be 'Frozen' and then you shouldnt have that issue
    >
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    >
    Devil is in the details ;)

  • Run in batch mode and ping directory

    Hi all,
         i run the program in the backgroung mode.
       i have two parameters.one input file path name, second one output file name
    (where can i stored).
      i given input file path name like this: h:\list.txt
    and output file path : h:\jjj.txt.
    and then press F9.here pupup windoe is comeing (background job parameter) i click write tick button .the here i got popup and massage is like this "format set X_65_80".then i press enter.again popup is came start time,i click the immediate button and save it.then bachground job is schduled.
    then again i go to SM37. there i given prog name and execute.status is canceled.
    i click job log button its show the error.that error message :"error opening the server file. please help me how to solve the problem.
    i write code like this
    AT SELECTION-SCREEN.
    *.. Check if program run in batch mode and ping directory
      IF sy-batch = 'X'.
    *.. Move filename to file_name
        file_name = p_infile.
    *.. Check if path can be reached
        OPEN DATASET file_name FOR INPUT IN TEXT MODE.
        IF sy-subrc NE 0.
          MESSAGE e082(zsomerfield).
        ENDIF.
      ENDIF.
    *.. Batch check
    it urgetnt.
    Regards.
    kris.

    Krishna,
      You have to check 2 things
    1.whether you have autorization for that directory
    2.Check the file path currectly.Go to tcode AL11 try to copy the path and paste
          here.
    Pl.e reward if useful...

  • Error trying to run SSIS Package via SQL Server Agent: DTExec: Could not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object

    Situation:
    SSIS Package designed in SQL Server 2012 - SQL Server Data Tools
    Windows 7 - 64 bit.
    The package (32 bit) extracts data from a SQL Server db to an Excel Output file, via an OLE DB connection.
    It uses 3 package variables:
    *) SQLCommand (String) to specify the SQL Statement to be executed by the package
    Property path: \Package.Variables[User::ExcelOutputFile].Properties[Value]
    Value: f:\Output Data.xls
    *) EXCELOutputFIle (String) to specify path and filename of the Excel output file
    Property path: \Package.Variables[User::SQLCommand].Properties[Value]
    Value: select * from CartOrder
    *) VarObjectDataSet (Object) to hold the data returned by SQL Server)
    Property path: \Package.Variables[User::VarObjectDataSet].Properties[Value]
    Value: System.Object
    It consists out of 2 components:
    *) Execute SQL Task: executes the SQL Statement passed on via a package variable. The resultng rows are stored in the package variable VarObjectDataSet
    *) Script Task: creates the physical output file and iterates VarObjectDataSet to populate the Excel file.
    Outcome and issue:The package runs perfectly fine both in SQL Server Data Tools itself and in DTEXECUI.
    However, whenever I run it via SQL Server Agent (with 32 bit runtime option set), it returns the errror message below.
    This package contains 3 package variables but the error stating that a package variable can not be set, pops up for the VarObjectDataSet only.  This makes me wonder if it is uberhaupt possible to set the value of a package variable
    of type Object.
    Can anybody help me on this please ?
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  6:40:20 PM  DTExec: Could
    not set \Package.Variables[User::VarObjectDataSet].Properties[Value] value to System.Object.  Started:  6:40:20 PM  Finished: 6:40:21 PM  Elapsed:  0.281 seconds.  The package execution failed.  The step failed.
    Thank you very much in advance
    Jurgen

    Hi Visakh,
    thank you for your reply.
    So, judging by your reply, not all package variables used inside a package need to be set a value for when run in DTEXEC ?
    I already tried that but my package ended up in error (something to do with "... invocation ...." and that error is anything but clearly documented. Judging by the error message itself, it looks like it could be just about anything. that is why I asked my
    first question about the object type package variable.
    Now, I will remove it from the 'set values' list and try another go cracking the unclear error-message " ... invocation ...". Does an error message about " ... invocation ..." ring any bells, now that we are talking about it here ?
    Thx in advance
    Jurgen
    Yes exactly
    You need to set values only forthem which needs to be controlled from outside the package
    Any variable which gets its value through expression set inside package or through a query inside execute sql task/script task can be ignored from DTExec
    Ok I've seen the invocation error mostly inside script task. This may be because some error inside script written in script task. If it appeared after you removed the variable then it may because some reference of variable existing within script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • What are the permissions needed to run explain plans via sql develeper?

    Are the permissions the same in Sql Developer to run explain plans like they are when you run them via sql*plus?

    Yes same permission because the explain plan does not tie to the tools.

  • RE: Reporting after many forte tasks run in batch mode?

    Actually, if you're looking for MAKEAPPDISTRIB (I assume that's how you
    create distributable) you can see if the command was succesfull or not.
    <<deployrep.js>> This Jscript will look for this string and it will
    generate a report based on the next line in the log file.
    The script assumes you have an environment variable (DESCARTES_ROOT) that
    points to a folder (let's say "D:\TEST"). Under that folder you have a log
    folder ("d:\test\log") which holds the deploy.log log file. You can easily
    change the script to reflect your systems settings.
    The generated report looks like that : <<deployrep.txt>>
    Norocel Popa
    Forte SysEng
    (519)746-8110 x 2292
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: Tuesday, March 16, 1999 11:58 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Reporting after many forte tasks run in batch mode ?
    Hi,
    I would like to know if overnight builds went okay, and therefore need to
    parse the log(s).
    The issue is that I don't have a proper string to look for (i.e. for
    grep).
    If I consider 'ERROR", then the following message won't be understandable.
    There might a way to cheat with the indentation (i.e. the lines with only
    two first blank chars)..
    Has anyone experimented such a need ?
    J-Paul Gabrielli
    DTS
    SYSTEM ERROR: Service object MySuperApplicationServer.MySuperMgrSO has
    not been partitioned. Therefore, you cannot move it to an existing
    partition.
    Class: qqsp_UsageException
    Error #: [1602, 606]
    Detected at: qqcf_StandardConfig::MoveServiceObject at 3
    Error Time: Tue Mar 16 17:39:26
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1,
    taskId =
    [B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1.1]) in application
    "fscript", pid 22713 on node rambo in environment SuperEnv.

    Hi,
    To trap error message from Forte log, I usually do this
    egrep '(EXCEPTION|Exception|exception|ERROR|Error|error)' filename
    This takes a regular expression to 'egrep' all occurrences of "exception" or
    "error" not matter they are in upper case or lower case.
    Hope this help.
    Regards,
    Peter Sham.
    -----Original Message-----
    From: [email protected] [SMTP:[email protected]]
    Sent: Wednesday, March 17, 1999 12:58 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Reporting after many forte tasks run in
    batch mode ?
    Hi,
    I would like to know if overnight builds went okay, and
    therefore need to parse the log(s).
    The issue is that I don't have a proper string to look for
    (i.e. for grep).
    If I consider 'ERROR", then the following message won't be
    understandable.
    There might a way to cheat with the indentation (i.e. the
    lines with only two first blank chars)..
    Has anyone experimented such a need ?
    J-Paul Gabrielli
    DTS
    SYSTEM ERROR: Service object
    MySuperApplicationServer.MySuperMgrSO has
    not been partitioned. Therefore, you cannot move it to an
    existing partition.
    Class: qqsp_UsageException
    Error #: [1602, 606]
    Detected at: qqcf_StandardConfig::MoveServiceObject at 3
    Error Time: Tue Mar 16 17:39:26
    Exception occurred (locally) on partition
    "Fscript_cl9_Client",
    (partitionId =
    B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1, taskId =
    [B84E6180-D639-11D2-82F2-1863030AAA77:0x244:0x1.1]) in
    application
    "fscript", pid 22713 on node rambo in environment
    SuperEnv.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

Maybe you are looking for

  • Purchase Requisition attachments should not be modified when it is released

    Hi Gurus, I've requirement that i should restrict the Users not to modify, delete, and add any attachments when PR is released. pl help me in this -Rajiv.

  • Application server does not start

    Hi, in 8.48 on Win 2003 server, AS does not start with following : 84808\appserv\MYDB\CACHE\PSAPPSRV_2\ PSAPPSRV.4384 (0) [01/06/10 18:31:10](1) GenMessageBox(200, 0, M): SQL Access Ma nager: SQL error. Stmt #: 2  Error Position: 0  Return: 404 - [Mi

  • Timesheet approval process in pwa2010

    If a project manager rejects tasks in the timesheet ,can then functional manager approve  same timesheet? without tasks approval?

  • Black point compensation

    I have a problem with Black Point Compensation in the print dialog when printing my book pages. It almost seems that the on/off toggle is reversed. I usually have BPC on when printing in Photoshop and I can preview its effect there. I use Relative Co

  • Wrt54g will not play youtube videos

    wrt54g will not play videos. I have connected my modem directly to computer and it works fine if I connect thru the router it will not play... Please Help Bill