DRM Batch Client; Combing all executables?

Hello team,

Currently my windows batch scripts works perfectly. I have no numbers of nay by saying, but I want to pass along a question.

Currently, I use a lot of exports, BackupToFiles, RestoreFromFiles etc.  They are all on different schedules.  Where I can combine scripts, I do it.

However, ss there a way to put all the executables in a scripts and only perform the operation, I feel like at any given time?  Now it seems that if I put all my executable in a script, all operations are started at the same time.

For example, my "Account_Export.cmd" call my script "drm_batch_export.cmd" 3 times a day

My 'CurrentVersion_Backup.cmd' call my script "Version_BTF.cmd" once a week

etc.

etc.

(Of course, executable scripts are scripts that holds all of the syntax of the requested operation)

Finally, is there a way to combine all my executables in a script, but only the kickoff of the operation when it is supposed to get the shot?


Thank you!

Hello

My views could also separate them and just create a folder called CMD or executable and put all the batch files in this folder. Like putting a time check the various processes to run would only increase code complexity.

However, if you still want to do this-

Create a variable varTime in your batch file as shown below, don't forget not when hours are 1-9 there is extra space prefixed to the hours to explain the missing numbers and that's why we have the second line, which removes all space if there is.

SET varTime = % time: ~ 0, 2% time: ~ 3, 2%

The VALUE "varTime = % varTime: = %.

so if the time is 09:59 the variable after the second line contains 959

If the time is 13:30 then the variable after the second line will have 1330


You can use this to write an If condition in the script of commands, so if the value of the variable is not equal to the time you want to run it in, it's going to go to the other party or to any specifier goto will quote you.

You can use this for your desire to conditionally check the time.

Thank you

Denzz

Tags: Business Intelligence

Similar Questions

  • Customer DRM batch throw no end point for listening error

    Hi Experts,

    I'm doing a DRM export to the file using batch processing utility. I use the following script:

    call C:\Oracle_OLD\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client\drm-batch-client.exe/op = export/u = username/PW = password/URL =net. "" TCP://localhost: 5211, Oracle, Drm, ProcessManager /log="D:\DRM_Batch\LogFile.log ' /xtype = Export /xname ="Export_Name"/outfile="D:\DRM_Batch\Test_Export.txt "/cver ="Version1"/pver ="Version1.

    When I run the above script, batch DRM client starts but I get the following error in the log file:

    06/08/2015-06:45:29 - * start Oracle DRM Batch Client *.

    06/08/2015 06:45:29 - = > error: initialization error: there is no end point for listening to net. TCP://localhost: 5211/Oracle/Drm/engine/SessionMgr that could accept the message. This is often caused by a wrong address or SOAP action. See InnerException, if any, for more details.

    06/08/2015-06:45:29 - * stop Oracle DRM Batch Client *.

    What I noticed, the url in the error message is different from the url that I use in the script. I think that due to this error that the export with the batch utility is a failure. Help, please.

    Thank you and best regards,

    Naveen.

    Hello

    Found the problem that caused this error. The active batch DRM client was somewhere else in the server. I tried to call the former client of lot.

    See you soon,.

    Naveen.

  • EPMA Batch Client: HFM InstanceName?

    How do you find the name of the instance for the InstanceName parameter when you write the script of commands EPMA?

    I get the following error.

    2016 01-24 08:15:15, INFO 671 run deploy

    2016-01-24 08:15:15, 672 parameters (ApplicationName, InstanceName, ApplicationServer, HubProject, ClearAll INFO,

    2016-01-24 08:15:15, 673 INFO CheckIntegrity, waitforcompletion, purgeTransactions, deployOption, note)

    2016-01-24 08:15:15, 675 INFO values ('SimpleDemo', 'epmsystem1', 'epm11123', 'Default application group', 'false',

    2016-01-24 08:15:15 677 INFO 'false', 'true', 'true', "AppView", "deploy comments example");

    2016-01-24 08:15:16, 397 ERROR [line 8] could not find the instance with the name epmsystem1.

    2016-01-24 08:15:16, 398 INFO dating back code 405 - execute deploy down

    2016-01-24 08:15:16, 399-thank you for the INFO using EPMA Batch Client!

    A way to find it is to go to the EPMA Library, then click on the application, you can see the name of the Cluster in the details below.

    Second method is to start the Configurator

    Here is the NOMCLUSTER - 'DC-RPTT01. Close the configurator.

    Thank you

    Anjum Ara

  • The /drm-web-client/Logon.aspx file was not precompiled and cannot be requested.

    Hi all

    We currently use DRM Version 11.1.2.2.302 patch.

    We are facing the error when we open the web console below.

    The /drm-web-client/Logon.aspx file was not precompiled and cannot be requested.

    It used to work very well and we see that this web configuration file has been updated. I assume that there is a problem with Internet Information services.

    Any help would be greatly appreciated.

    Thank you

    VINET

    Hi all

    The Web configuration file has been modified by windows service and after restarting the server, new web configuration file has been created and we have web access console.

    VINET

  • How to trigger the Validation of batch after Action Script executed?

    Hello

    I have several validations that I need to put in the batch. I note that postings are triggered after the script of my action. What Miss me? Validations are assigned to the node and the hierarchy of the types.

    Validations do not pull so who runs the scripts of action via the batch client or web client.

    Appreciate all the help I can get,

    Sonny

    Then validations in real time are your option, or simply make the existing both.

  • Combining three versions in a single backup file using the batch client/config file

    Hello again,

    Is there anyway to get three versions in a single backup file using a config file and the batch client, currently we have this Configuration file:

    [General]

    Operation = Multiple

    Username =

    Password =

    URL = net. TCP://localhost: 5210, Oracle, Drm, ProcessManager

    LogFileName=D:\DRM\VIPTBAU\LOG_FILES\logfile.log

    [Activities]

    OperationCount = 3

    Operation1 = VIP_DIMENSIONS

    Operation2 = ACCOUNT_RF

    Existence3 = ACCOUNT_BS

    [VIP_DIMENSIONS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_VIP_DIMENSIONS

    filename = VIP_DIMENSIONS

    [ACCOUNT_RF]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_RF_ACCOUNT

    filename = VIP_DIMENSIONS

    [ACCOUNT_BS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS


    which generates three separate files. We tried using a single operation and listing the 3 times of the VersionAbbrev, but that didn't work and also list the 3 versions in a VersionAbbrev.

    If anyone has any ideas they would be greatly appreciated

    See you soon

    Chris

    Hi Chris Harris-Oracle

    DRM client batch supports export several versions of a single file and restore it back. You must specify the defined version name and the delimiter.

    You can configure the cfg below the backup file

    [General]

    Operation = Multiple

    Username =

    Password =

    URL = net. TCP://localhost: 5210, Oracle, Drm, ProcessManager

    LogFileName=D:\DRM\VIPTBAU\LOG_FILES\logfile.log

    [Activities]

    OperationCount = 1

    OP1 = VIP_DIMENSIONS

    [VIP_DIMENSIONS]

    Operation = Backupversiontofile

    Connection = MONTH_END_BACKUP

    VersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS

    Delimiter = comma

    to restore

    [VIP_DIMENSIONS]

    Operation = RestoreVersionFromFile

    Connection = MONTH_END_BACKUP

    SourceVersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    TargetVersionAbbrev = TESTPROJ_VIP_DIMENSIONS, TESTPROJ_RF_ACCOUNT, TESTPROJ_BS_ACCOUNT

    filename = VIP_DIMENSIONS

    Delimiter = comma

    Try it tested and it works very well

  • EPMA Batch Client import failed

    Hi all

    We have a planning application which is EPMA and we have implemented of scripts to automate the loading of files of ADS using EPMA Batch client. WEA re do this as part of our 11.1.2.2 migration towards 11.1.2.3

    11.1.2.2, we have all the components of EPMA installed on a server but 11.1.2.3 we EPMA distributed on 2 servers services

    EPMA, planning installed in PRDPLN001 and we see lot-client installed in PRDFND001 where most of the Services of the Foundation is installed

    We have scripts in PRDFND001 server and we get the below error

    2015-04-20 04:52:57, INFO coming out with return code 407 - 420 run import Failed

    2015-04-20 04:52:57, 422-thank you for the INFO using EPMA Batch Client!

    This is the step where it fails

    Set bpmaserverurl ='http: /PRDPLN001/hyperion-bpma-server';

    set workspaceurl =' http:// PRDFND001 : 19091/awb /';

    Run the import Parameters (profilename, filename, importtype, waitforcompletion) Values ('flatfile', 'TEST_BU', 'E:\InboundFiles\HYP_BU_EXPORT.ads','true');

    quit smoking;

    However, we are able to succeed the 'Validation' and the 'deployment '.

    What could be the possible reasons for the error

    Concerning

    Amarnath

    Just for everyone. I solved the problem

    In fact, I forgot to mention the error I wanted to come earlier. Apologies for this

    2015-04-21 10:23:02, 829 ERROR java.io.IOException: the system cannot find the path specified

    We have a batch separately script that calls the script mentioned above (according to the original post) and it looks like below before (not working version) and after (after a change of work)

    Front - Batch file

    off @echo

    echo % date of BU_LOAD: ~ 10% date: ~ 4, 2% date: ~ 7, 2%

    Set resultfile=ResultFile_BU_%date:~10%%date:~4,2%%date:~7,2%.txt

    E:\QA\Oracle\Middleware\EPMSystem11R1\products\Foundation\BPMA\EPMABatchClient\epma-batch-client.bat-CE:\Scripts\DIM_LOAD\TEST\TEST_BU_LOAD_ADS.txt-R"E:\Scripts\DIM_LOAD\Log\%resultfile%' - STrue

    CD /.

    Front - EPMA Script file

    Set bpmaserverurl ='http: / PRDPLN001/hyperion-bpma-server ";

    "Set workspaceurl ='http://PRDFND001:19000 / working space."

    login username, password;

    Run the import Parameters (profilename, filename, importtype, waitforcompletion) Values ('flatfile', 'TEST_BU', 'E:\InboundFiles\HYP_BU_EXPORT.ads','true');

    quit smoking;

    After

    off @echo

    echo % date of BU_LOAD: ~ 10% date: ~ 4, 2% date: ~ 7, 2%

    Set resultfile=ResultFile_BU_%date:~10%%date:~4,2%%date:~7,2%.txt

    CD ' E:\InboundFiles

    E:\QA\Oracle\Middleware\EPMSystem11R1\products\Foundation\BPMA\EPMABatchClient\epma-batch-client.bat-CE:\Scripts\DIM_LOAD\TEST\TEST_BU_LOAD_ADS.txt-R"E:\Scripts\DIM_LOAD\Log\%resultfile%' - STrue

    CD /.

    After - EPMA Script file

    Set bpmaserverurl ='http: / PRDPLN001/hyperion-bpma-server ";

    Set workspaceurl = "http://PRDFND00119000/workspace";

    login username, password;

    Run the import Parameters (profilename, filename, importtype, waitforcompletion) Values ('flatfile', 'TEST_BU', 'HYP_BU_EXPORT.ads', 'true');

    quit smoking;

    I've done below to solve the problem

    As the EPMABatch was not able to identify the location/path of the file ADS. I gave a CD command to go to the inboundfiles directory and called the EPMABatch directly from there, giving the file name directly. This time the file got loaded without any problems

    Not sure why it is not able to identify / detect the full path of the file. It worked very well in 11.1.2.2 version though. He had to dig to find the reason for the question

    Concerning

    Amarnath

  • When I return in a recorded video on windows movie maker, all executives went black and have a yellow warning marker.

    When I return in a project recently recorded on windows movie maker, all executives went black and have a yellow warning marker, the sound also went but the name of the track is always above executives

    Hi steveXB,

    1. did you of recent changes on the computer?

    2. this happens with all registered projects?

    3. you have any program installed on the computer for photo editing?

    I suggest that you disable video filters windows make of film and change, if that can help.

    Change the video filter settings

    http://Windows.Microsoft.com/en-us/Windows-XP/help/MovieMaker/change-video-filter-settings

    Windows Movie Maker: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-XP/help/Movie-Maker/FAQ

  • EPMA Batch Client

    I'm on 11.1.2.3.00

    I use the login admin passwordl. the following message in my script and make.

    2016-01-17 04:43:47, 270 INFO login;

    2016-01-17 04:43:51, 442 ERROR java.net.ConnectException: connection refused: connect

    2016-01-17 04:43:51, 443 INFO out with 800 - login Failed return code

    2016-01-17 04:43:51, 444-thank you for the INFO using EPMA Batch Client!

    I was wondering the admin password SHOULD be "password"?

    There is currently something else (Password123) and I tried to use this password in the script, and it still does not work.

    That's why I wonder if I have to go back to just 'password '.

    Or y at - it a way to transmit the correct password in the Login admin script, Password123. who does not?



    Without the password was not to be the password that would be a security problem serious if it were, you have set the following variables properly:

    bpmaserverurl

    WorkspaceUrl

    For example

    You can also enter the username and password when calling a script.

    See you soon

    John

  • EPMA Batch Client full deployment Option

    I want to request a HFM "deploy full" of active EPMA, how can I pass this parameter to the EPMA batch client?

    According to the responses of oracle support, this option is not available from the command line.

  • Client server of executable activex LabVIEW project with excel vba

    Hi all

    I submitted a ticket to support nor on this problem, but my deadline for this project is very close, so I would like to ask the community to see if someone has encountered this problem before (I hope it's ok that I'm doing this!). I did a fair amount of forum-scouring, and I didn't know this even discussed problem.

    I built a labView project which is essentially in the material data and
    preforms various visualizations and transformations on the data. A bit of the
    Screws in this project are available by VBA Excel as a Server ActiveX with LabView and
    Excel as the customer - and it works! I recently discovered I would need to do a
    executable version of my project, so I'm now trying to figure out how to do the same thing
    with my executable file as the server instead of LabView. Here's a simplified version are
    My VBA code:

    Void Button1_Click()
    Dim lvapp As MyServer.Application
    Dim vi MyServer.VirtualInstrument

    Set lvapp = CreateObject ("MyServer.Application")
        
    VI the value is lvapp. GetVIReference ("Main.vi", "", True)
        
    Sheet1.cells (1, 1) = vi. GetControlValue ("Path")
        
    lvapp. Quit smoking
    End Sub

    I replaced LabView here with the name of my server. The code
    failure of the CreateObject method with the following error:

    Run-time error '13':
    Type mismatch

    Things, I'm pretty sure I'm doing it correctly:
    -L'application is configured as an ActiveX server in the build options
    -J' ran the VI once and close/re-open it just after each build before trying the
    worksheet
    -In excel, VBA method is configured to reference the type library of the server.
    -J' have LabView itself closed when I run the .exe

    Thank you

    Alex

    My versions and such:
    Software of NEITHER: LabVIEW version 2012
    OS: Windows 7

    It's interesting - I'll have to look into the issue. In the meantime, I found a solution.

    It's quite mysterious, but it seems that all I had to do was make sure you only the type library of the server executable has been referenced in VBA (no LabView or OLE type library) and declare the variable app as object, rather than MyServerName.Application. Honestly, I have no idea why this works, but it does. Also, I learned that you need to use the executable file paths, which are a little different than the paths of project files.

    Thank you

    Alex

  • How use Bridge to rename the batch to remove all characters after the 32nd character?

    I would like to batch rename to remove all characters after the 32nd character. Is this possible?

    Substitution string use with use of regular expressions is selected.

    In the use of the search field

    ^(.{32})(.*)
    

    In the field using replace

    $1
    
  • How to purge all executed queries in SGA?

    Hello everyone;

    I ran some queries. I want to hunt performed all queries of the LMS?
    I need to perform a few tests (how much time is needed to provide the query response).
    Already, I executed the same query several times.

    I want, all queries must be rinsed.

    Thanks in advance...

    969352 wrote:
    Hello paul...

    Oracle delete all sql statements?

    SQL > alter system flush shared_pool;

    Modified system.

    SQL > alter system flush buffer_cache;

    Modified system.

    Another doubt too... Please clarify this...

    I've run 10 different queries... However, oracle maintains executed queries...

    1. manually, can I check... how many queries are currently maintained?

    SQL query $ V

    >

    2. manually, can I check... carried out the details of the request?

    SQL query $ V

  • by selecting the most recent decisiondate for a client, not all dates...

    Hello

    Consider the following situation:
    I have 4 tables:


    PD_CLIENT
    CLIENT_ID
    RNR
    .. more data .the customer...

    PD_LINKCLIENTCOMPOSITION
    COMPOSITION_ID
    CLIENT_ID
    LEVEL_ID

    PD_COMPOSITIONLEVEL
    LEVEL_ID
    LEVEL
    S_TYPE

    PD_LINKCLIENTDECISION
    DECISION_ID
    DATE_DECISION
    CLIENT_ID


    Some info with these tables
    There are the customers
    Customers have a composition one or several compositions have levels and these compositionlevels have different types
    For customers, the decisions are made on a certain date. Sometimes it is possible to have more than one decision of a customer.

    (the actual database is much larger than that, but I left out that we don't need to my question)

    I need is:_
    ALL customers, who have a composition with the leveltype "IGO", as well as the date of their most recent decision between 2 dates given. (if they do not have a decision yet, I do not need them in the results)

    I wrote this query:
    SELECT PD_CLIENT.CLIENT_ID, TO_CHAR(PD_LINKCLIENTDECISION.DATE_DECISION, 'DD-MM-YYYY') DATE_DECISION 
    FROM PD_CLIENT , PD_LINKCLIENTCOMPOSITION , PD_COMPOSITIONLEVEL, PD_LINKCLIENTDECISION 
    WHERE PD_CLIENT.CLIENT_ID = PD_LINKCLIENTCOMPOSITION.CLIENT_ID 
    AND PD_LINKCLIENTCOMPOSITION.COMPOSITION_ID = PD_COMPOSITIONLEVEL.NIVEAU_ID 
    AND PD_CLIENT.CLIENT_ID = PD_LINKCLIENTDECISION.CLIENT_ID
    AND PD_COMPOSITIONLEVEL.S_TYPE = 'IGO' 
    AND PD_LINKCLIENTDECISION.DATE_DECISION >= TO_DATE('01-01-2011', 'DD-MM-YYYY') 
    AND PD_LINKCLIENTDECISION.DATE_DECISION <= TO_DATE('31-12-2011', 'DD-MM-YYYY') 
    ORDER BY PD_CLIENT.RNR ASC
    This ALMOST gives me what I need. now it gives me the client_id, gives with ALL dates of decision between 2 dates. I only need the newest one. Can someone help me change that? It is probably something small. I thought I knew how to solve, but I continue to not now, I have not any more close to the result with this query :)

    Published by: 901981 on 16-dec-2011 05:46

    How about some analytics?
    Try something like:

    not tested

    select client_id
    ,      date_decision
    from (
          SELECT PD_CLIENT.CLIENT_ID,
                 TO_CHAR(PD_LINKCLIENTDECISION.DATE_DECISION, 'DD-MM-YYYY') DATE_DECISION,
                 row_number() over (partition by PD_CLIENT.CLIENT_ID order by PD_LINKCLIENTDECISION.DATE_DECISION desc ) rn
            FROM PD_CLIENT,
                 PD_LINKCLIENTCOMPOSITION,
                 PD_COMPOSITIONLEVEL,
                 PD_LINKCLIENTDECISION
           WHERE PD_CLIENT.CLIENT_ID = PD_LINKCLIENTCOMPOSITION.CLIENT_ID
             AND PD_LINKCLIENTCOMPOSITION.COMPOSITION_ID =
                 PD_COMPOSITIONLEVEL.NIVEAU_ID
             AND PD_CLIENT.CLIENT_ID = PD_LINKCLIENTDECISION.CLIENT_ID
             AND PD_COMPOSITIONLEVEL.S_TYPE = 'IGO'
             AND PD_LINKCLIENTDECISION.DATE_DECISION >= TO_DATE('01-01-2011', 'DD-MM-YYYY')
             AND PD_LINKCLIENTDECISION.DATE_DECISION <= TO_DATE('31-12-2011', 'DD-MM-YYYY')
          )
    where rn=1;  
    
  • The client socket all close them when we're closed

    Hello
    I'm developing of SMTP mail server for my school project and basically everthing was fine until I encountered this problem. Here is my code:


    / public class SMTPKonekcija implements Runnable {}
    some variables

    public SMTPKonekcija (socket) {}
    This.Socket = socket;
    }

    public void run() {}
    try {}

    the flow inlet-outuput of Seting and some other stuff

    even if (quitFlag == false) {}
    Here I accept SMTP commands and generate and send responses
    }
    This.Socket.Close ();
    some flag settings
    } catch (Exception e) {}

    }
    }

    And my main class looks like this:

    public class MainKlasa {}
    Public Shared Sub main (String [] args) {}
    int port = 25;

    try {}
    ServerSocket mailSocket = new ServerSocket (port);

    While (true) {}
    SMTPsocket socket = mailSocket.accept ();

    SMTPKonekcija konekcija = new SMTPKonekcija (mailSocket.accept ());

    Nit thread = new Thread (konekcija);

    nit. Start();
    }
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }
    }



    When I run this server and you connect it via telnet at the same time my laptop and PC, it works just how it's supposed to. Both clients have their own sessions, server correctly becomes orders and give answers, so I think that part works well. But when a client ends it is session (for example, when you give the command "QUIT") and server accepts this command and closes this socket, another client socket is automatically closed too, and if I try to send a command after this point, I'm getting exception closed socket. I am yet to learn Java and this multi threading gives me headaches so, so any help would be greatly appreciated.

    / public class SMTPKonekcija implements Runnable {}
    some variables

    They are static? They should not be. More precisely the 'socket' and flow variables must be non-static.

Maybe you are looking for

  • Qosmio x 870 - 13v - steam &amp; uplay late games when you only use the battery

    Today I used my Qosmio test only to initially battery my HDMI with my HDTV connection.With FAR CRY 4 on Uplay.But I've had shifts.Then I tested it without HDMI and Holy, same problem. My mothercard have been changed on November by Toshiba, I also cha

  • Pavilion 15 PC laptop: HP 3D DriveGuard not work

    After the windows update 10 3D DriveGuard does not work, it manifests itself everywhere wherever you look for it, but it does not work, after having lived with her working for the last 9 months, that I know, it doesn't now, I am novice and confussed

  • Qosmio G50 - 10I - no synchronization on TV between the picture and sound

    My problem is that there is no synchronization between the picture and sound (+ the sound is thin about 5 seconds +)When I watch TV on Windows Media Center on the Qosmio G50 - 10I I tried to change the settings in Windows Media Center, but some will

  • OfficeJet 6700 driver for mac os 10.9.4

    Hello... I'm looking for the driver Officejet 6700 work on a MacBook Pro with OS 10.9.4.

  • Resume the call

    Hi all. Is it possible to programmatically retrieve a call? I implement PhoneListener. The scenario is: (1) user calls A person. (2) the person answered (3) the user call person B (A call is automatically put on hold)(4) answers the person B (5) the