Delete folder in a particular scenario using batch file

How to achieve this using a batch file?
The batch file should check if inside this folder "c:\test\", a directory named "temp1" only is present. If so then delete the folder test, but if the folder test contains more directories and files other than "temp1" directory, then just remove the "temp1" directory alone.
Regards,
Mathan

First, why are you asking about this in a LabVIEW forum? I would suggest starting with Google.
Second, you could simplify your algorithm by deleting temp1 and then checking if the test dir is empty or not. The Windows command is rd, if memory serves, but I believe that doesn't work on non-empty directories, so you might need to add switches to it or use another command. You could probably even simplify it by trying to delete test and letting it fail, so something like this:
del c:\test\temp1\*.* (add switch for quiet mode).
rd c:\test\temp1 (and check if there is a recursive switch)
rd c:\test (should fail if not empty).
Try to take over the world!

Similar Messages

  • Rman backup fails on windows when using batch file

    Hello Gurus ..
    I am trying to setup incremental backup on my windows OS based server using RMAN command in batch file. When I use batch file in OS scheduler it is working fine, when I am calling same batch file from my LOCAL desktop PC it throws errors as below.
    D:\> \\3.193.211.19\sgdba\rman\bkp_acressit.bat
    D:\>rman catalog rman/******@acressit target / cmd
    file=E:\sgdba\rman\bkp_arch.rcv log E:\sgdba\rman\sit_arch_rman_backup.log
    RMAN-00557: could not open MSGLOG "E:\sgdba\rman\sit_arch_rman_backup.log"
    Argument Value Description
    target quoted-string connect-string for target database
    catalog quoted-string connect-string for recovery catalog
    nocatalog none if specified, then no recovery catalog
    cmdfile quoted-string name of input command file
    log quoted-string name of output message log file
    trace quoted-string name of output debugging message log file
    append none if specified, log is opened in append mode
    debug optional-args activate debugging
    msgno none show RMAN-nnnn prefix for all messages
    send quoted-string send a command to the media manager
    pipe string building block for pipe names
    timeout integer number of seconds to wait for pipe input
    checksyntax none check the command file for syntax errors
    Both single and double quotes (' or ") are accepted for a quoted-string.
    Quotes are not required unless the string contains embedded white-space.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00556: could not open CMDFILE "E:\sgdba\rman\bkp_arch.rcv"
    Contents of the batch file and RCV file as below:
    Batch File:
    rman catalog rman/*******@acressit target / cmdfile=E:\sgdba\rman\bkp_arch.rcv log E:\sgdba\rman\sit_arch_rman_backup.log
    RCV File:
    RUN {
    ALLOCATE CHANNEL ch1 TYPE
    DISK FORMAT 'E:\ORA_RMAN_BACKUP\ARCH_%d_%u_%s_%p';
    BACKUP ARCHIVELOG delete input;
    RELEASE CHANNEL ch1;
    EXIT;
    --------------------------xxxxxxxxxxxxxx------------------------
    * on my DB server I am login using my administrator account, on my PC I dont have admin account.
    * I have checked remote execution using local user as well as admin user.
    * I have checked the permission and my local ID & EVERYONE has all permission in that folder.
    Any help will be appriciated.
    Thanks & Regards
    Ashish

    Ashish wrote:
    hi Atil,
    u have guessed it correctly, I came to know that issue later I copy file on local PC and it works fine.
    Now I am working on netbackup server. I want to use the same script to initiate backup from netbackup server. Do you have any idea or any guidelines from you will appriciate.
    Thanks
    AshishAshish,
    Is it "symantec's netbackup"? I do not know that product and if it has an option to enter your own RMAN scripts. On the other hand, it should be able to create irman scripts according to your backup job definition.
    Regards
    Gokhan

  • How to use batch files to send the load from ODC to UCM?

    Hello all.
    We're trying to do this along this week and, until now, we couldn't figure out how to use batch files containing metada on ODC and commit the output files to UCM.
    So these are our specs:
    VM 1
    ODC - 10gR3
    OS - Windows XP 32 bits SP3
    DB - Oracle DB 11.2
    VM 2
    No ODC
    UCM 11.1.1.6
    OS - Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
    We've opened a ticket with Oracle Support to know how we should do this. The number is SR 3-6108348211.
    Let me try to explain what we want to do:
    1 - we have a batch file with all metadata of many files from UCM
    2 - we want to use this file in ODC, so the application will convert the images and commit them to UCM
    3 - we should see all these files, their metadata, thumbnails and related content in UCM
    4 - this is a batch file example we want to send to ODC:
    @Properties LocalData
    IdcService=CHECKIN_UNIVERSAL
    dRevLabel = 1
    primaryFile=/tra/Relatorio_UHPF-03-04-2008-M-RL-EA.pdf
    dDocName=TRA_33
    dDocTitle=UHPF-03-04-2008-M-RL-EA
    dSecurityGroup=MAM_TRA
    dDocType=Document
    dDocAuthor=luis.neotropical
    dInDate=14/05/08
    xC_CLASSIFICACAO=EA - Educação Ambiental
    xC_DATA=01/04/08
    xC_DATAVALIDADE=30/04/08
    xC_LOCALIZACAOFISICA=N/D
    xC_USUARIO_DEP=LUIS FERNANDO DA CAMARA
    xC_TIPO=RL - Relatório
    xC_USINA=UHPF - USINA HIDRELÉTRICA PASSO FUNDO
    xC_FICHA=MAM - Relatorios Ambientais
    xC_IDDOCMAN=TRADocID=157
    xC_IDANEXODOCMAN=TRAFileID=33
    xC_DESTINOINICIAL=Tractebel
    xC_ORIGEM=Neotropical
    xC_FORMATODOCUMENTO=Digital
    xC_GENERODOCUMENTO=
    xC_DOCPRINCIPAL=Sim
    @end
    <<EOD>>
    5 - So, when we use this batch file on ODC, the file (or image) will be converted, all metadata attached and then sent to UCM.
    But we don't know how to do the link between ODC and UCM. The Oracle Support says it is necessary to do some customization. In the books I could not find any info about how to do, just generic information or how to use ODC.
    Is there a way (without customization) to do that? Can anyone give us a step-by-step guide?
    Thanks for all help and guidance.
    Fernando

    What is the one-sentence requirement or issue you're trying to solve?
    If you only want content to be converted to pdf, then you should already have that with your items checked into UCM (if you have IBR enabled).
    if you really want to feed content into ODC using a batchfile, my first thought would be to create a transformation utility/app that will convert your batchfiles to the expected ODC import server folder job format. then you'll have to move or map the content to match.
    Again, without knowing the exact issue/business requirement you're trying to work through, I'd say a redesign of your ingestion process may be in order.
    If you feed content directly into ODC through any supported ODC method (watch folder, email, scanner, fax, etc), then you'll be able to use everything ootb as you'll be able to auto-commit directly into UCM or add an indexing step and manual commit to UCM.
    ODC is basically a front end for indexing and extra ingestion options to your content repo.
    IPM is basically the same, but it includes some extra process-related details (process metadata, process integrations/bpel/bpm, other system integrations/ebs/crm, etc). I don't feel that IPM would help with the transformation-specific question you've put out there.
    -ryan

  • Problem on using batch file

    Hi,
    I have an application which reads data from a text and writes them to a database. I should use batch files in my project to work classes with double clicking on them. Java application reads path of the text file from a properties file. I used relative paths like that " ..\\data\\records.txt" for text file path . But my problem is that; when I run application normally it executes. But when I tried to run it from batch file placed build folder(under project folder) it does not work. Because it tries to find the data folder under the build folder. But data folder is under parent folder of build folder. My batch file code is like that :
    SET PATH=%JAVA_HOME%\bin;%PATH%
    SET LIB_PATH=..\lib
    SET CLASSPATH=%LIB_PATH%\mysql-connector-java-3.0.17-ga-bin.jar;..\bin;..\
    java.exe yega.timesheet.MainApplication ..\\configuration\\properties.props
    pause
    Which statements should I add(and where) to make this batch file search for data folder under its parent folder... Please help me.
    Thank you.

    Thanks Paul, but I tried to use cd before running program. I added "cd .." or "cd ..\" lines to batch file but they didn't work. I decided to use absolute path instead of using relative paths. I also found one more solution. I can put a properties file in build too. And define text path as " ..\\data\\records.txt " in this properties file.
    Also I need to use "\\" because "..\\configuration\\properties.props" is the input for args...

  • Call ggsci using batch file from windows- get error

    i create a script to use ggsci, start manager, extract and replicat.
    i have success doing this in my linux.
    here is one of my script : start_ext1.sh
    cd /u01/app/oracle/ggs
    ./ggsci <<EOF
    start manager
    start ext_s
    exit
    EOF
    clear
    i have an error when i do this using batch file from windows.
    here is the batch file :
    @echo off
    cd C:\putty
    plink.exe -ssh -2 -P 22 [email protected] -pw oracle "./start_ext1.sh"
    every time i try to enter ggsci when i run that batch file, i get this error :
    ./ggsci: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory
    i didn't get this error when i run the script in linux.
    is there anybody can help me?
    thanks a lot!

    problem solved!
    add : . ./.bash_profile before enter ggsci.
    it's worked! :)

  • Run Form using Batch file

    Hiii
    how can run a form using batch file (.bat) .. .
    ???

    i forget to say that am using Developer 10g R2 ...
    another question is what should i start when using the batch file other than the
    OC4J instance .....

  • How to delete a file by using batch file

    hi
    i tried for deleting a file from batch filr in Linux environment.
    it is working when i run batch file thruogh command line.
    but its not woking through program.
    i am sending tha code that i used in tha program.
    First i have to create the file and send the information to that file
    and the content from taht file after that i have to delete the file.
    For that i wrote code but the batch is not woking.
    Batch file
    @echo off
    rm filename
    Actual Program Code
    I used RunServer
    public class RunServer extends Object
    RunServer();
    String cmdServer = "test.bat";
    Runtime run = Runtime.getRuntime();
    Process p = null;
    try
    p = run.exec(cmdServer);
    catch(IOException e)
    System.out.println("Error:"+e);
    By using RandomAccessFile i am creating a file
    please help me
    Thankyou

    1) You can't execute a batch without having a shell.
    2) It's totally stupid to run a one-line batch file from system.exec.
    3) It's also totally stupid to delete a file using Runtime altogether.
    But there you go...

  • Error running ODI scenario from batch file

    Hello, everyone!
    I am loading data into Essbase 11.1.2 from MS SQL Server views using ODI 11.1.1.5.0 and Local agent. I created an interface which runs ok if launched manually from ODI.
    Then I created the scenario named MyScenario for this interface and updated odiparams.bat file in *...\agent\bin* folder as follows:
    set SECU_DRIVER=weblogic.jdbc.sqlserver.SQLServerDriver
    set SECU_URL=jdbc:weblogic:sqlserver://<ServerName>:1433;databaseName=<DatabaseName>
    set SECU_USER=<UserName for Master Repository>
    set SECU_PASS=<encoded password for MasterRepository UserName>
    set ODI_USER=SUPERVISOR
    set ODI_PASS=<encoded password for SUPERVISOR>
    set WORK_REPOSITORY=<Work Repository name>
    Then I created the batch file in which I wrote: *...\agent\bin>startscen MyScenario 001 GLOBAL 5*
    However the scenario is not executed with the following error message:
    ERROR ODI-1132 Agent Internal encountered a warning: ODI-1414: Error connecting to agent Internal: a JDBC error occurs while connecting to the master repository. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
    I will be very grateful for any hints!

    A fundamental clarification : where is your master repository database located ? Is it on SQL Server as well ?
    The MS SQL Server connection that you mentioned in the SECU_DRIVER, SECU_URL should point to the MR database.
    Is the server name in SECU_URL a Fully Qualified domain name or just an IP Address reachable from localhost ?
    startscen will spawn a new instance of local agent.
    startcmd will reuse an existing agent (not local).
    Not sure why your local agent is getting a Network Connection Error.

  • Remove odbc system dsn using batch file and odbcconf

    I create user system dsn entries by using a batch file and odbcconf call.  I've found references here on how to do that, yet cannot seem to find any results on how to remove them using that same call.  The library information (http://msdn.microsoft.com/en-us/library/ee388579(VS.85).aspx) states add and modify a system dsn for configdsn and configsysdsn and references equivalent to SQLConfgDataSource function. (http://msdn.microsoft.com/en-us/library/ms716476(VS.85).aspx) but the config data source function has a a removal and this doesn't seem too. 
    Apologies for being obtuse, but I can't seem to locate it.  Any links to how this is done from a batch file are much appreciated.
    Regards,
    NR.

    John C is basically correct, you can remove a System ODBC data source via the registry, but there is apparently no way via odbcconf.exe.  That is of course really stupid and poor programming!
    John, however, forgot another important registry entry.  That key deletion he mentioned will disable the odbc connection, but not remove it entirely.  If you just do that and then open the "ODBC Data Source Administrator", you will find the
    connection is still listed, but you can't remove it or modify it.  It becomes completely screwed up! There is a value to delete as well which dictates if the connection is listed.  Consider it the "header" to the data source.
    Also, in Windows 2003 and 2008 at least, the registry key John C listed is not quite the location to modify either.  This is where to find them in those OSs:
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\%DSN%
    or
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\%DSN%
    The "header" I reffered to is a string value in inside a key (not the whole key!)
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources
    or
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ODBC Data Sources
    The string value is the data source name.  This entry must be removed to remove the data source listing entirely.
    Here are some batch snipets for creating and then removing an odbc data source.  I'm leaving out some premiliary chunks, but you can figure it out from here. If you can't, you probably shouldn't be messing with this stuff in the first place!
    In these scripts, I create and remove a 32-bit data source in either a 32-bit or 64-bit version of windows.  The windows folder variable gets set to either "C:\Windows\System32" or "C:\Windows\SysWOW64" depending on the os.  In case you didn't
    know, on a 64-bit machine there is are also 2 differrent versions of the "ODBC Data Source Administrator" gui tool and the data source lists differ (32-bit vs 64-bit lists).  The 32-bit version on a 64 bit OS is found at "C:\Windows\SysWOW64\odbcad32.exe". 
    The one in the start menu will load the 64-bit version so you will never find your 32-bit connections there.
    Note - for simplicity I use the database name as the user name and and the data source name as well (in case there was any confusion). 
    Create the connection like so:
    echo Creating 32-Bit System ODBC Connection "%DatabaseName%"...
    "!WindowsFolder!\ODBCCONF.EXE" CONFIGSYSDSN "!ODBCDriver!" "DSN=%DatabaseName%;Server=localhost;Port=3306;Database=%DatabaseName%;UID=%DatabaseName%;PWD=%DatabasePassword%"
    And then remove it like this:
    echo Removing 32-Bit System ODBC Connection "%DatabaseName%"...
    if "%WindowsBits%"=="32" (
    If Exist "!TempRegFile!" Del "!TempRegFile!"
    echo Windows Registry Editor Version 5.00>>"!TempRegFile!"
    echo.>>"!TempRegFile!"
    echo [-HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\%DatabaseName%]>>"!TempRegFile!"
    echo [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]>>"!TempRegFile!"
    echo "%DatabaseName%"=->>"!TempRegFile!"
    regedit /s "!TempRegFile!"
    ) else (
    If Exist "!TempRegFile!" Del "!TempRegFile!"
    echo Windows Registry Editor Version 5.00>>"!TempRegFile!"
    echo.>>"!TempRegFile!"
    echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\%DatabaseName%]>>"!TempRegFile!"
    echo [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\ODBC Data Sources]>>"!TempRegFile!"
    echo "%DatabaseName%"=->>"!TempRegFile!"
    regedit /s "!TempRegFile!"
    If Exist "!TempRegFile!" Del "!TempRegFile!"

  • Error Executing Interface using batch file

    Hi All,
    I am currently using a batch file to execute particular interface from remote location.
    The steps I used before executing are
    1. I have created the scenario for the interface.
    2. I have used this in the batch file to run the interface.
    3. I have mapped the network drive to get the startscen.bat file.
    The error which was generated was (Z - mapped server name)
    Z:\ODI\oracledi\agent\bin>startscen.bat Sample_interface 001 Sample_context -NAME=Sample_AGENT
    OracleDI: Starting scenario SAMPLE_INTERFACE 001 in context SAMPLE_CONTEXT .
    2011-10-11 10:06:45.404 ERROR ODI-1132 Agent SAMPLE_AGENT encountered an warning: O
    DI-1419: Warning connecting to Agent SAMPLE_AGENT: JDBC connection error occurs whi
    le connecting to the work repository WORKREP.
    ODI-1419: Warning connecting to Agent SAMPLE_AGENT: JDBC connection error occurs wh
    ile connecting to the work repository WORKREP.
    Caused By: oracle.odi.core.config.WorkRepositoryResourceFailureException: org.sp
    ringframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connecti
    on; nested exception is java.sql.SQLException: Exception occurred while getting
    connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection f
    rom Datasource
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.ja
    va:150)
    at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:512
    at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:565)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:529)
    at oracle.odi.StartScen.main(StartScen.java:163)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
    get JDBC Connection; nested exception is java.sql.SQLException: Exception occurr
    ed while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot
    get Connection from Datasource
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
    aSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:
    524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:58
    8)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:61
    3)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:64
    5)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSour
    ce.loadRepositoryInfo(RepositoryUtils.java:179)
    at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepository
    Info(RepositoryUtils.java:379)
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.ja
    va:148)
    ... 4 more
    Caused by: java.sql.SQLException: Exception occurred while getting connection: o
    racle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasourc
    e
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnect
    ion(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnectio
    n(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(D
    ataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
    aSourceUtils.java:79)
    ... 14 more
    Caused by: java.sql.SQLException: Exception occurred while getting connection: o
    racle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasourc
    e
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:
    541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException(PoolDataSourceIm
    pl.java:587)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:668)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:613)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:607)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionPr
    ocessor.run(LoginTimeoutDatasourceAdapter.java:217)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
    1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection fr
    om Datasource
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:389)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:133)
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1570
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.access$600(UniversalConnectionPoolImpl.java:1378)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnecti
    on(UniversalConnectionPoolImpl.java:445)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithout
    CountingRequests(UniversalConnectionPoolImpl.java:302)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(Univer
    salConnectionPoolImpl.java:129)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPoo
    l.java:119)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:655)
    ... 9 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon de
    nied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
    va:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
    33)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
    at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthentica
    te.java:799)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:129)
    ... 16 more
    Thank you,
    Regards
    Rav

    Hi All,
    Please update if any encountered a similar error.
    Thank you,
    Regards
    Rav

  • SFTP to File Scenario using multiple files

    Hi All,
    I have a scenario wherein 2 separate CSV files ex a.csv and b.csv has to be picked up from the SFTP folder and the same has to be mapped and send to one single file ex c.csv.
    Say a.csv contains fields Name,Address and b.csv contains Phone,Mobile and I need to map them as per FSD into c.csv which will then have Name,Address,Phone,Mobile
    I am bit confused on how to do it.
    Shall I use Additional File name option in SFTP sender channel configuration? In that case how will I use the FCC as we have 2 separate csv files and both the files are CSV files and needs to be converted to XML.
    Any related threads will help.
    Regards,
    Shaibayan

    Hi Inaki,
    Thanks for your reply.
    BPM is not an option in our case as we are told not to use BPM.
    However as per the thread from Michael
    "pick both files in one run (one as file, the other one as attachment - so one communication channel )
    inside the mapping you can get the values from the attachment and do the mapping"
    This part is fine and we can do the mapping by creating N:1 mapping but since our files are .csv files so a content conversion is required for both the a.csv and b.csv. How to go through with this.
    The structure will be something like below in the message mapping after we add both the source structures in Signature Tab:
    Message
         Message1
              MT_FILE_A
                   RecordSet1
                        Name
                        Address
                        Field3
         Message2
              MT_FILE_B
                   RecordSet2
                        Phone
                        Mobile
    Can I use the below values for Content Conversion?
    Document Name:MT_FILE_A,MT_FILE_B
    Recordset Structure:RecordSet1,*,RecordSet2,* or we have to use MT_FILE_A.RecordSet1,*,MT_FILE_B.RecordSet2.*
    And in the Name Value for Name do we need to use dot for each Document Name i.e.
    MY_FILE_A.RecordSet1.fieldSeparator?
    Regards,
    Shaibayan

  • ESET Antivirus Uninstillation using batch file~~~SCCM 2012

    Hi Guys,
    I have 1000+ systems which having ESET antivirus with different ver. (5.0.22,5.0.21,4.2.64) and i want to uninstall using SCCM.
    I have created batch file, when i clicked manually it's run but  while deploying with SCCM it's not happen.
    Please let me know where i miss.

    please find the execmgr.log.
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="13:00:00.218-180"
    date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="event.cpp:396">
    <![LOG[Checking content location C:\Windows\ccmcache\g8 for use]LOG]!><time="13:00:00.640-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="executioncontext.cpp:1533">
    <![LOG[Successfully selected content location C:\Windows\ccmcache\g8]LOG]!><time="13:00:00.640-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="executioncontext.cpp:1589">
    <![LOG[Executing program as a script]LOG]!><time="13:00:00.640-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="executionengine.cpp:82">
    <![LOG[Successfully prepared command line "C:\Windows\ccmcache\g8\ESET5.0.2214.4.bat"]LOG]!><time="13:00:00.655-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512"
    file="scriptexecution.cpp:635">
    <![LOG[Command line = "C:\Windows\ccmcache\g8\ESET5.0.2214.4.bat", Working Directory = C:\Windows\ccmcache\g8\]LOG]!><time="13:00:00.655-180" date="01-14-2015" component="execmgr" context="" type="1"
    thread="5512" file="scriptexecution.cpp:346">
    <![LOG[Created Process for the passed command line]LOG]!><time="13:00:00.671-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="scriptexecution.cpp:501">
    <![LOG[Raising event:
    [SMS_CodePage(720), SMS_LocaleID(16385)]
    instance of SoftDistProgramStartedEvent
    AdvertisementId = "PS120172";
    ClientID = "GUID:90F1B5A3-AC49-4C9E-97FD-0F2D0F11926A";
    CommandLine = "\"C:\\Windows\\ccmcache\\g8\\ESET5.0.2214.4.bat\"";
    DateTime = "20150114100000.687000+000";
    MachineName = "TESTCCMCONSO31";
    PackageName = "PS1000AC";
    ProcessID = 3628;
    ProgramName = "ESET5.0.2214.4";
    SiteCode = "PS1";
    ThreadID = 5512;
    UserContext = "NT AUTHORITY\\SYSTEM";
    WorkingDirectory = "C:\\Windows\\ccmcache\\g8\\";
    ]LOG]!><time="13:00:00.702-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="event.cpp:706">
    <![LOG[Raised Program Started Event for Ad:PS120172, Package:PS1000AC, Program: ESET5.0.2214.4]LOG]!><time="13:00:00.702-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512"
    file="executioncontext.cpp:457">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="13:00:00.702-180"
    date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="13:00:00.702-180"
    date="01-14-2015" component="execmgr" context="" type="1" thread="5512" file="event.cpp:396">
    <![LOG[MTC task with id {CA5C6AC3-171F-43F0-A7CD-D6A4532B0E10}, changed state from 4 to 5]LOG]!><time="13:00:00.718-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5512"
    file="execreqmgr.cpp:6289">
    <![LOG[Program exit code 1605]LOG]!><time="13:00:32.234-180" date="01-14-2015" component="execmgr" context="" type="1" thread="3468" file="scriptexecution.cpp:661">
    <![LOG[Looking for MIF file to get program status]LOG]!><time="13:00:32.234-180" date="01-14-2015" component="execmgr" context="" type="1" thread="3468" file="executionstatus.cpp:282">
    <![LOG[Script for Package:PS1000AC, Program: ESET5.0.2214.4 failed with exit code 1605]LOG]!><time="13:00:32.234-180" date="01-14-2015" component="execmgr" context="" type="3" thread="3468"
    file="executionstatus.cpp:252">
    <![LOG[Raising event:
    [SMS_CodePage(720), SMS_LocaleID(16385)]
    instance of SoftDistProgramErrorEvent
    AdvertisementId = "PS120172";
    ClientID = "GUID:90F1B5A3-AC49-4C9E-97FD-0F2D0F11926A";
    DateTime = "20150114100032.234000+000";
    ExitCode = "1605";
    MachineName = "TESTCCMCONSO31";
    PackageName = "PS1000AC";
    ProcessID = 3628;
    ProgramName = "ESET5.0.2214.4";
    SiteCode = "PS1";
    ThreadID = 3468;
    UserContext = "NT AUTHORITY\\SYSTEM";
    ]LOG]!><time="13:00:32.249-180" date="01-14-2015" component="execmgr" context="" type="1" thread="3468" file="event.cpp:706">
    <![LOG[Raised Program Error Event for Ad:PS120172, Package:PS1000AC, Program: ESET5.0.2214.4]LOG]!><time="13:00:32.249-180" date="01-14-2015" component="execmgr" context="" type="1" thread="3468"
    file="executioncontext.cpp:570">
    <![LOG[Execution is complete for program ESET5.0.2214.4. The exit code is 1605, the execution status is FailureNonRetry]LOG]!><time="13:00:32.296-180" date="01-14-2015" component="execmgr" context="" type="1"
    thread="5904" file="execreqmgr.cpp:4166">
    <![LOG[Requesting MTC to delete task with id: {CA5C6AC3-171F-43F0-A7CD-D6A4532B0E10}]LOG]!><time="13:00:32.359-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5904"
    file="executionrequest.cpp:9025">
    <![LOG[MTC task with id: {CA5C6AC3-171F-43F0-A7CD-D6A4532B0E10} deleted successfully.]LOG]!><time="13:00:32.374-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5904"
    file="executionrequest.cpp:9054">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="13:00:32.390-180"
    date="01-14-2015" component="execmgr" context="" type="1" thread="5904" file="event.cpp:396">
    <![LOG[Requesting MTC to delete task with id: {CA5C6AC3-171F-43F0-A7CD-D6A4532B0E10}]LOG]!><time="13:00:32.390-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5904"
    file="executionrequest.cpp:9025">
    <![LOG[This execution request does not have a corresponding task in MTC.]LOG]!><time="13:00:32.390-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5904" file="executionrequest.cpp:9043">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="13:00:32.406-180"
    date="01-14-2015" component="execmgr" context="" type="1" thread="5904" file="event.cpp:396">
    <![LOG[CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Event]LOG]!><time="14:30:00.015-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5740"
    file="cservicewindowhandler.cpp:37">
    <![LOG[CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : START Event]LOG]!><time="22:00:00.004-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5016"
    file="cservicewindowhandler.cpp:37">
    <![LOG[CExecutionRequestManager::OnServiceWindowEvent for START]LOG]!><time="22:00:00.004-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5016" file="execreqmgr.cpp:8748">
    <![LOG[Auto Install is set to false. Do Nothing.]LOG]!><time="22:00:00.051-180" date="01-14-2015" component="execmgr" context="" type="1" thread="5016" file="execreqmgr.cpp:8760">
    <![LOG[CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Event]LOG]!><time="05:00:00.008-180" date="01-15-2015" component="execmgr" context="" type="1" thread="5632"
    file="cservicewindowhandler.cpp:37">
    <![LOG[A user has logged on.]LOG]!><time="09:57:42.994-180" date="01-15-2015" component="execmgr" context="" type="1" thread="2528" file="execreqmgr.cpp:4912">
    <![LOG[The logged on user is QSEC\p.kumar-admin]LOG]!><time="09:57:42.994-180" date="01-15-2015" component="execmgr" context="" type="1" thread="2528" file="execreqmgr.cpp:4931">
    <![LOG[The user has logged off.]LOG]!><time="10:07:54.209-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="execreqmgr.cpp:5139">
    <![LOG[Policy deleted for advertisement PS120172 package PS1000AC program ESET5.0.2214.4]LOG]!><time="10:11:00.542-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3328"
    file="execreqmgr.cpp:6963">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 45l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:11:00.557-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="3328" file="event.cpp:396">
    <![LOG[A user has logged on.]LOG]!><time="10:19:05.540-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3876" file="execreqmgr.cpp:4912">
    <![LOG[The logged on user is QSEC\p.kumar-admin]LOG]!><time="10:19:05.540-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3876" file="execreqmgr.cpp:4931">
    <![LOG[Requesting content from CAS for package PS1000AC version 1]LOG]!><time="10:40:13.263-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="contentaccesshelper.cpp:246">
    <![LOG[Policy arrived for parent package PS1000AC program ESET5.0.2214.4]LOG]!><time="10:40:13.279-180" date="01-15-2015" component="execmgr" context="" type="1" thread="5260" file="execreqmgr.cpp:6894">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.279-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="5260" file="event.cpp:396">
    <![LOG[Successfully created a content request handle {843CF0A7-A095-4818-967F-D91521EE6469} for the package PS1000AC version 1]LOG]!><time="10:40:13.279-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="4604" file="contentaccesshelper.cpp:331">
    <![LOG[Raising event:
    [SMS_CodePage(720), SMS_LocaleID(16385)]
    instance of SoftDistProgramOfferReceivedEvent
    AdvertisementId = "PS120175";
    ClientID = "GUID:90F1B5A3-AC49-4C9E-97FD-0F2D0F11926A";
    DateTime = "20150115074013.326000+000";
    MachineName = "TESTCCMCONSO31";
    ProcessID = 3300;
    SiteCode = "PS1";
    ThreadID = 5260;
    ]LOG]!><time="10:40:13.326-180" date="01-15-2015" component="execmgr" context="" type="1" thread="5260" file="event.cpp:706">
    <![LOG[RequestContentFromCAS GetContentRequest failed 0x87d01107]LOG]!><time="10:40:13.373-180" date="01-15-2015" component="execmgr" context="" type="2" thread="4604" file="contentaccesshelper.cpp:344">
    <![LOG[EnterAdvancedDownloadState RequestContentFromCASEx failed 0x87d01107]LOG]!><time="10:40:13.373-180" date="01-15-2015" component="execmgr" context="" type="2" thread="4604" file="executionrequest.cpp:3646">
    <![LOG[Requesting MTC to delete task with id: ]LOG]!><time="10:40:13.373-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="executionrequest.cpp:9025">
    <![LOG[This execution request does not own the corresponding task in MTC, returning without deleting it from MTC.]LOG]!><time="10:40:13.373-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="4604" file="executionrequest.cpp:9036">
    <![LOG[CExecutionRequestManager::OnPolicyActivation - advanced download failed.]LOG]!><time="10:40:13.388-180" date="01-15-2015" component="execmgr" context="" type="2" thread="4604" file="execreqmgr.cpp:7538">
    <![LOG[Mandatory execution requested for program ESET5.0.2214.4 and advertisement PS120175]LOG]!><time="10:40:13.388-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604"
    file="execreqmgr.cpp:3528">
    <![LOG[Creating mandatory request for advert PS120175, program ESET5.0.2214.4, package PS1000AC]LOG]!><time="10:40:13.388-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604"
    file="execreqmgr.cpp:3654">
    <![LOG[Requesting content from CAS for package PS1000AC version 1]LOG]!><time="10:40:13.466-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="contentaccesshelper.cpp:246">
    <![LOG[Successfully created a content request handle {7DDF5367-EE11-4B8D-B62E-27C4D9C9A980} for the package PS1000AC version 1]LOG]!><time="10:40:13.591-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="4604" file="contentaccesshelper.cpp:331">
    <![LOG[Raising event:
    [SMS_CodePage(720), SMS_LocaleID(16385)]
    instance of SoftDistWaitingContentEvent
    AdvertisementId = "PS120175";
    ClientID = "GUID:90F1B5A3-AC49-4C9E-97FD-0F2D0F11926A";
    DateTime = "20150115074013.669000+000";
    MachineName = "TESTCCMCONSO31";
    PackageName = "PS1000AC";
    PackageVersion = "1";
    ProcessID = 3300;
    ProgramName = "ESET5.0.2214.4";
    SiteCode = "PS1";
    ThreadID = 4604;
    ]LOG]!><time="10:40:13.669-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="event.cpp:706">
    <![LOG[Successfully raised SoftDistWaitingContentEvent event for program ESET5.0.2214.4]LOG]!><time="10:40:13.669-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4604"
    file="executionrequest.cpp:2766">
    <![LOG[Execution Request for advert PS120175 package PS1000AC program ESET5.0.2214.4 state change from NotExist to WaitingContent]LOG]!><time="10:40:13.669-180" date="01-15-2015" component="execmgr" context=""
    type="1" thread="4604" file="executionrequest.cpp:502">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.669-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.701-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="2988" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.841-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4368" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.857-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.888-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4368" file="event.cpp:396">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:13.919-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4604" file="event.cpp:396">
    <![LOG[  Processing [{7DDF5367-EE11-4B8D-B62E-27C4D9C9A980}, 0]: OnContentAvailable ]LOG]!><time="10:40:14.951-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4052"
    file="contentavailablehandletask.cpp:156">
    <![LOG[[{7DDF5367-EE11-4B8D-B62E-27C4D9C9A980}]: Content Version 1 is available for advert PS120175, pkg: PS1000AC, program ESET5.0.2214.4.]LOG]!><time="10:40:14.998-180" date="01-15-2015" component="execmgr" context=""
    type="1" thread="4052" file="executionrequest.cpp:4910">
    <![LOG[An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task.]LOG]!><time="10:40:14.998-180" date="01-15-2015" component="execmgr"
    context="" type="1" thread="4052" file="executionrequest.cpp:8931">
    <![LOG[Request a MTC task for execution request of package PS1000AC, program ESET5.0.2214.4 with request id: {C066F7A3-804C-437F-807E-08D1133E6952}]LOG]!><time="10:40:14.998-180" date="01-15-2015" component="execmgr" context=""
    type="1" thread="4052" file="executionrequest.cpp:8955">
    <![LOG[Execution Request for advert PS120175 package PS1000AC program ESET5.0.2214.4 state change from WaitingContent to Ready]LOG]!><time="10:40:14.998-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="4052" file="executionrequest.cpp:502">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:14.998-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="4052" file="event.cpp:396">
    <![LOG[MTC task with id {C066F7A3-804C-437F-807E-08D1133E6952}, changed state from 0 to 2]LOG]!><time="10:40:14.998-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3180"
    file="execreqmgr.cpp:6289">
    <![LOG[  Processing [{7DDF5367-EE11-4B8D-B62E-27C4D9C9A980}, 0]: RemoveNotification]LOG]!><time="10:40:15.029-180" date="01-15-2015" component="execmgr" context="" type="1" thread="4052"
    file="contentavailablehandletask.cpp:164">
    <![LOG[MTC task for SWD execution request with program id: ESET5.0.2214.4, package id: PS1000AC is waiting for service window.]LOG]!><time="10:40:15.076-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="3180" file="execreqmgr.cpp:6529">
    <![LOG[CExecutionRequest::The Program will run at some point in the future, when a Service Window becomes available.]LOG]!><time="10:40:15.076-180" date="01-15-2015" component="execmgr" context="" type="1"
    thread="3180" file="executionrequest.cpp:9272">
    <![LOG[Raising event:
    [SMS_CodePage(720), SMS_LocaleID(16385)]
    instance of SoftDistWaitingForServiceWindowEvent
    AdvertisementId = "PS120175";
    ClientID = "GUID:90F1B5A3-AC49-4C9E-97FD-0F2D0F11926A";
    DateTime = "20150115074015.107000+000";
    MachineName = "TESTCCMCONSO31";
    PackageName = "PS1000AC";
    ProcessID = 3300;
    ProgramName = "ESET5.0.2214.4";
    SiteCode = "PS1";
    ThreadID = 3180;
    ]LOG]!><time="10:40:15.107-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3180" file="event.cpp:706">
    <![LOG[Succesfully raised SoftDistWaitingForServiceWindowEvent event for program ESET5.0.2214.4]LOG]!><time="10:40:15.123-180" date="01-15-2015" component="execmgr" context="" type="1" thread="3180"
    file="executionrequest.cpp:9291">
    <![LOG[Execution Request for advert PS120175 package PS1000AC program ESET5.0.2214.4 state change from Ready to WaitingServiceWindow]LOG]!><time="10:40:15.123-180" date="01-15-2015" component="execmgr" context=""
    type="1" thread="3180" file="executionrequest.cpp:502">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PS1000AC",ProgramID="ESET5.0.2214.4", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="10:40:15.123-180"
    date="01-15-2015" component="execmgr" context="" type="1" thread="3180" file="event.cpp:396">

  • How to delete a single data from table using control file

    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PM

    977940 wrote:
    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PMWhy?
    And how do you imagine this happening with sqlloader?
    The entire purpose of sqlloader is to load data (hence, the name sql*loader*) into a table from an external source. If you want to delete rows from a table, you use the sql DELETE statement.
    What is the business problem you are trying to solve?

  • CREATE MULTIPLE TABLES USING BATCH FILE OR ANYOTHER MODE

    Dear Legends,
    I want to create Multiple table at a single stroke in oracle sql developer or sql*plus using any mode like batch file or sql files...
    I dont know the exact mode and how to create it please guide me..I want to learn more about this since am a DBA Beginner..
    Any kind of help would be appreciated more...Thanks in Advance
    Regards,
    Karthik..

    Hi Everyone,
    According to your suggestion I did everything and all works fine yesterday... But today the same script.bat file is not opening sqlplus...
    as soon as I double click the bat file it opens the prompt and it shows upto the copyright ..oracle all rights reserved. sql> prompt is not visible or upto that it strucks... please help me..
    My SCRIPT.BAT
    @echo off
    set ORACLE_SID=VESS
    set PATH=%oracle_home%\bin\
    sqlplus scott/tiger@VESS @test.sql
    echo "Disconnected"
    My test.sql
    select * from tab;
    Please help me...
    Regards,
    Karthik..

  • Pass tablespace(s) as a parameter to RMAN using batch file (windows2000)

    I want to make a backup of one or more than one tablespaces.
    For Example:
    Backup tablespace USERS,TOOLS;
    Backup tablespace USERS;
    In this regards I am using windows batch file. Below you find the code of batch file which I am using to perform this operation (windows 2000)
    Batch file (c:\rman.cmd)
    set tbs1=%1
    set tbs2=,%2
    if exist tbs1 == goto usage
    if exist tbs2 == goto usage
    echo BACKUP tablespace %tbs1% %tbs2% ; > c:\temp\tbs.rman
    rman TARGET / @ c:\temp\tbs.rman
    Problem
    I run this batch file on command line .
    When I issue this command its ok and backed up both the tablespaces.
    Host @c:\rman.cmd USERS,TOOLS
    But when I want to backup only one tablespace and issue the command like that:
    Host @c:\rman.cmd USERS
    It gave the following error
    BACKUP tablespace users , ;
    Found comma after first tablespace.
    Point of focus
    How to get rid of the comma after first tablespace on run time, when I want to backup only one tablespace.
    BACKUP tablespace users , ;
    How to avoid that comma on run time when I only want to make a backup of single tablespace.
    Please check this matter it is only the batch file side problem.
    With Best Regards
    Fawad Ahmed

    I am not expert is DOS but I think you can fix this with
    a simple programming logic elements in the script.
    You have 2 cases:
    1 case ) When you have only one parameter
    2 case ) When you have more or equal than two parameters
    if exist tbs1 == goto mark1
    if exist tbs2 == goto mark2
    mark2:
    echo BACKUP tablespace %tbs1% %tbs2% ; > c:\temp\tbs.rman
    goto end
    mark1:
    echo BACKUP tablespace %tbs1% ; > c:\temp\tbs.rman
    goto end
    end:
    rman TARGET / @ c:\temp\tbs.rman
    This can be one the case for 1 or 2 parameters . If
    you think to pass more parameters you have to use
    another logic.
    I hope this can help you!
    Joel P�rez

Maybe you are looking for

  • Quicktime won't work in 64Bit mode

    Hi, i have following problem: The Quicktime-plugin does not show any Quicktime movies when i start Safari in 64Bit. It only does when i switch to 32Bit. I'm using Safari 5 - SnowLeopard 10.6.3 - latest Quicktimeplayer - Intel Core 2 Duo/MacBook Any i

  • WL5.1sp8-NSAPI-IE-Status bar shows page is loading for minutes

    I'm using WL5.1sp8, NES4.1sp6 on a Solaris 7 to deliver JSP pages over https. I notice that the status bar on the bottom line of IE5 (windows NT) indicates that the page is still loading for minutes, even though the page appears to be complete. What

  • Struts html:form vs form

    Hi, I'm trying to get form validation working in struts but am running into a bit of difficulty. I have a couple of questions: 1) When an ActionError is returned - does the input form have to have used <html:form> tags for the errors to be shown. The

  • How to recover Adobe Creative Suite 5 Design Premium after Apple wiped computer

    We installed the education edition with a new Macbook Pro.  Three years later Apple wiped the computer (twice) and, while we have the CDs, we don't have the paperwork with the serial number that the Apple Store used to load the software.

  • EHP4 for SAP ERP 6.0

    Hello, I am installing Enhancement Package 4 for SAP ERP 6.0 (Windows Server 2003 x64/Oracle) using EHPinstaller tool. SAP ERP 6.0 is an existing system. When I started the EHPi tool, I got to know that there are 8 stages in the installation roadmap.