Documaker batch run RAS

Hi all

Recently, I ran gen processes to generate PDFs from an XML file. The problem is that it has triggered an error. Instead of doing nothing, it generated PDFs of the previous run. I guess it's because gendata was unable to run properly and genprint still had the old values? Is there a way to avoid this scenario?

If you have files BCH and NAPO, remnants of a previous run that they will be used. To avoid this, in a scenario of batch ensure that clear you the data directory before the start of the treatment. Usually, you can do this by adding "echo Y | del data\ *. "on a Windows system or" rm data\. "" "*" on a Linux system. Remove the quotes.

~ Andy

Tags: Oracle Applications

Similar Questions

  • Format on batch Run error

    Hello

    We have recently migrated our workspace to a UNIX server, and we have a new batch for her program. When we call gendata however, it issues an error. The file error says:

    ------------------------------------------------------------------------------

    GenData

    Transaction error report - system timestamp: thu nov 06 10:30:48 2014

    DM12041: Error: error library FAP: Transaction: <>, area: file name: /project_workspace/deflib/master.dbf >

    Code1: <-20 >, code2: < 4294967276 >

    message: file creation >.

    DM12041: Error: error library FAP: Transaction: <>, area: < LBYInitializeLoaders() >

    Code1: < 0 >, code2: < 0 >

    message: < < /project_workspace/deflib/master.lby > the library is in an older format, please convert to the new format to aid tools. >.

    DM15066: Error RunGenData: could not LBYInitializeLoaders().   The system is configured to use the library, but the library could not be initialized.  Verify that the library is properly specified in the INI file and is accessible.

    == > Number of warning: 0

    == > Error number: 3

    End of Transaction error report - system timestamp: thu nov 06 10:30:48 2014

    Elapsed time: 0 seconds

    ------------------------------------------------------------------------------

    ------------------------------------------------------------------------------

    GenPrint

    Transaction error report - system timestamp: thu nov 06 10:30:49 2014

    DM12041: Error: error library FAP: Transaction: <>, area: file name: /project_workspace/deflib/master.dbf >

    Code1: <-20 >, code2: < 4294967276 >

    message: file creation >.

    DM12041: Error: error library FAP: Transaction: <>, area: < LBYInitializeLoaders() >

    Code1: < 0 >, code2: < 0 >

    message: < < /project_workspace/deflib/master.lby > the library is in an older format, please convert to the new format to aid tools. >.

    DM15066: Error InitPrintEnv: could not LBYInitializeLoaders().   The system is configured to use the library, but the library could not be initialized.  Verify that the library is properly specified in the INI file and is accessible.

    DM17029: Error RunGenPrint(): failed to InitPrintEnv ().


    == > Number of warning: 0

    == > Error count: 4


    End of Transaction error report - system timestamp: thu nov 06 10:30:49 2014

    Elapsed time: 0 seconds

    ------------------------------------------------------------------------------

    We run Documaker Studio V12.2.0.21451 Build 8 August 2013, but it was created through Documaker 11.5 x I tried to convert the shapes and sections through the Conversion tool without result. Any help on this would be welcome.

    Thank you!

    Try on Windows in DMStudio to simply open the workspace and open Library Manager. It is supposed to provide you with the conversion to the new format. Keep in mind of the things couple, xBase library management is removed and we don't expect you to switch to a SQL database instead. But I think that it is still work. Make a backup of your library before performing the conversion/upgrade. If you older MRLs is not a workspace from DMStudio I think it will import and create the workspace of your INI files. Commands such as gendata and genprint programs do not offer the conversion because they are not interactive, they just say you library format is old.

  • The batch running of a Java application

    Hello

    Based on a processing thread archived on the same question, I understand that is the main method of com.oracle.determinations.batch.CmdLine must be run, using an array of strings as a parameter.

    Brad Tuckett has provided the basis for the following syntax:

    public static void main(String[] args)

    args is an array of strings corresponding to the arguments of the command line described in the section of the Guide to the developer of the OPA "set up the Batch Processor".

    But I am still unable to find a working syntax (after trying many); I always get the error:

    FATAL main HAND - configuration option not supported: - config C:/OPA/technical integration demo/projects/ODS - batch Processor/batch/fraud_score_config.xml

    com.oracle.determinations.batch.exceptions.ConfigurationException: unsupported configuration option: - config C:/OPA/technical integration demo/projects/ODS - batch Processor/batch/fraud_score_config.xml

    at com.oracle.determinations.batch.config.CmdLineConfigurationParser.getConfigurationOptions(CmdLineConfigurationParser.java:38)

    at com.oracle.determinations.batch.CmdLine.main(CmdLine.java:70)

    at com.example.batchproject.MainClass.main(MainClass.java:8)

    The procedure to follow when you run the batch processing of the command line is the following:

    In Windows Explorer, place you in the folder containing the configuration xml file, open a command prompt (SHIFT + right click and select "Open the window order here"), writing and the launch:

    java-jar... /Engine/determinations-batch.jar--config fraud_score_config.xml

    ... What then should be the exact syntax to use in the Java application?

    The following does not work for example:

    public static void main(String[] args) {
      String[] argsBatch = new String[1];
      argsBatch[0] = "--config C:/OPA/technical integration/demo projects/ODS - Batch Processor/batch/fraud_score_config.xml";
      com.oracle.determinations.batch.CmdLine.main(argsBatch);
    }
    

    Thanks in advance.

    Sense of space is important in the command line.  That's what Java use to split the command line in the args array.

    public static void main(String[] args) {
      String[] argsBatch = new String[2];
      argsBatch[0] = "--config";
      argsBatch[1] = "C:/OPA/technical integration/demo projects/ODS - Batch Processor/batch/fraud_score_config.xml";
      com.oracle.determinations.batch.CmdLine.main(argsBatch);
    }
    
  • RMAN to manage the restoration of table for batch run

    Hi all

    11.2.0.1

    Our batch process sometimes must be rerun or reprocess because of wrong process/product.

    The replay process, we import back 1 table affected since the last backup of the night.

    RMAN is able to restore a single table in the PROD database without affecting other tables?

    Or this can be done only through expdp and this is why we also need to save this table every day using this tool?

    Thank you very much

    zxy

    yxes2013 wrote:

    I am therefore justified I should use expdp as a way to save single table? Contrary to what they say that expdp cannot be used as a backup tool?

    Thank you

    Fran and many, many, many others have pointed out on many, many, many other threads, export cannot be considered a backup of the database because it cannot be used to restore a database.  You must have a live, healthy, functioning of data base upward and running in order to have something in which to import.

    Which is to say not that export is not put in a normal backup plan. Most DBA will include a regular periodic export as well as their backups rman.  Exactly the type of scenario you describe.  If you know going in what a batch can be cancelled, so it is perfectly legitimate to start this batch with one-step expdp to export tables that are involved.  However, If there is no other treatment had place between start this batch and the time you discover that you need to 'reset' and run it again, a recovery of the PIT of rman backup database, or blowback of base of data might be a preferable solution.

    As in all things, the answer is 'it depends', and only your organization can decide...

  • How to get the output (!) during procedure-run / RAS dbms_output.put_line

    Hello again,

    during a migration script written in plsql, we print several status information on-screen using dbms_output.put_line.

    for your information:

    the script commits each lines x during a massive update. A commit is carried out whenever I want to have the output: Timestamp + number of lines committed themselves.

    Unfortunately the output by dbms_output.put_line is emptied to sqldeveloper once the procedure is complete.
    So I have all the time after the migration is complete, but if possible I need the information when it is put into the stack of the dbms_output.
    Is it possible to flush the output while the process is still ongoing? Are the alternatives to dbms_output.put_line who could help?

    Oracle is 10.2.0.4

    Thank you very much
    Andreas

    Published by: Andreas s. the 11.03.2011 01:38

    Note:
    Messages sent using the DBMS_OUTPUT are not actually sent until full subprogramme of the shipment or the relaxation. > There is no mechanism to flush the output during execution of a procedure.

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_output.htm

    you could just write your output to a table?

  • Access a view of Table with DAL | Documaker 12.2 - ODBC

    Hello

    We want to access a view using DAL during batch printing to access the information of the entity. This info would go on a separator Page in batch (paper) print.

    1 is this (a VIEW access) even possible?

    2 see. us DB functions in the documentation. I think that we need an ODBC connection, Manager of the DB for the view.

    Grateful if someone guide us to the required process.

    Thank you!

    Hello

    Yes it is possible, provided the machines where you run Documaker have access to the database, and the necessary drivers are configured correctly. You don't mention what version of Documaker you run or what platform it is being run. DAL documentation is available in different versions:

    The process is generally the same for the Standard of Documaker editions:

    (1) set an INI setting DBHandler

    (2) implement the DAL functions for the DB operations

    The doc for 11.5 begins on page 43 of the above link and describes creating a DBHandler for different types of files and databases. You are not limited to ODBC, so check the documentation for your version of Documaker - some options are DB2, ODBC, SQL Server, Excel files, etc. Once you create the entry of DBHandler, you must set the DBTable who described the DISPLAY you will access. The DBTable has, as one of its options, the name of the DBHandler which must be used to access. Then, you create a DFD that defines the display (or table) - structure columns, data types and lengths. Most of this is detailed in the same document, although information on the creation of a DFD are located in other documents. You probably already - examples of DFD files, otherwise they are available in the documentation according to the Documaker version you are using. To 11.5, check the Documaker Studio guide.

    After you have defined the DBHandler and DBTable with her partner DFD, you must then implement the code. You probably want to consider opening and closing the connection at the beginning and at the end of the race, or even at the level of the lot so you do not adversely affect performance. You will implement the query at the same level as the separator page (which means that if you build pages of separation in a PostTransactionDAL, you will do the same for the connection.

    Example Configuration

    < dbtable:myview="">

    DBHandler = MYHANDLER

    DFD is c:\deflib\view. DFD

    < dbhandler:myhandler="">

    Install = SQW32-> SQInstallHandler

    Server = myserver

    User = documaker

    Passwd = ~ ENCRYPTED xxxx

    Note: remember to create the appropriate DFD!

    Code example - open/close

    * Open the connection to the database - made a batch or run level before you process transactions.

    * Open the dbTable called BIRD with the DBHandler set in the DBTable for BIRD. Optionally, you can specify a particular Manager in the DBOpen below.

    RC = DBOPEN ("MYVIEW",,"c:\fap\mstrres\run\deflib\view.dfd","READ");

    * manage return codes...

    * Close the connection when we finished. This should be done at the end of all operations processing.

    RC = DBClose ("BIRD");

    Example of Code - query

    To prepare the query variables. Variables preceded "REC".

    RC = DBPrepVars ("" BIRD"," REC");

    * manage the return code...

    find value and use.

    * query parameters are the value of the column, [,...] shown as COL1 = value1, COL2 = value2. Replace these values and the actual column names.

    * Note that DBFind accesses the FIRST record that matches the specified criteria.

    RC = DBFind("MYVIEW","REC","COL1","Value1","COL2","Value2");

    * You can replace with variables DAL here, so if you have a variable DAL containing a name of entity or similar,

    * rc = DBFind("MYVIEW","REC","PERSON_NAME",entityName);

    * manage return codes...

    * data access

    * using the variable prefix created in DBPrepVars (in this case, we use "REC"). The column names are those defined in the DFD. Example:

    print_it (REC. SOMECOLUMNNAME);

    Other Options

    You can also loop through the records by using the DBFirstRec and DBNextRec functions and evaluate each record to determine if it meets your criteria for use. However, it is recommended to use DBFind and get the exact record you need (also let the database do the work of localization of the registration right for you.

    Example:

    RC = DBPrepVars ("BIRD", "REC");

    RC = DBFirstRec ("BIRD", "REC");

    While rc = 1

    evaluate the data using REC.columnname

    * for example IF (REC. Col1 = 'Value1')...

    * a code...

    * If we have located the folder that we need, drop out of the loop

    BREAK;

    * background loop.

    RC = DBNextRec ("BIRD", "REC");

    WEND

    * more than code...

    Hope this helps,

    Andy

  • Serial number of the lot in the model batch TestStand

    Hello, I want to have model lot, after entering in the SN and SN taken test batch, run the main sequence for the UUT, and then create a folder with the batch didn't and insert the SN taken test under this folder.

    The process should repeat to the DUT SN remaining one at a time by inserting folders under folder batch SN SN at each end.

    I have a LV vi routine that supports the creation of folders by searching global variables SN I assign in reminder settings pré-USE.

    Problem is lot SN does not spread to the main sequence and main sequence runs only once for the first USE SN, seems only first making test runs.

    How can I set this up properly?

    TIA

    You can use a Global Station for this.  Change the entry in the batch to a Global Station SN, then you can access it from any other order you want.

  • Utility command line to convert the PDF externally Documaker 11.4 Logo

    In 11.4, we want to automate the process of converting the external PDF file in Studio of Documaker that Logos of reference and the same will be considered as pointers to resource loading AFP.


    Conversion Manager in the workspace of documaker has available to convert the PDF in FAP with embedded Logos. The utility/Dll used for this conversion does not run the same in the command prompt. We would also like to know the utility to convert the Tiff in Logo images in the workspace of Documaker, to run the same in the command prompt.


    Utilities in the link below do not meet our requirement above.

    Utilities available


    Please let us know about these two services were used in documaker 11.4 for automation object.


    Thank you.

    One possibility would be to find a TIFF image to PNG utility (you can find some with a Google search), then use the PNG2LOG utility. There is no use for PDF to FAP. A similar (though more complicated) approach could work to convert PDF files. You must find a utility to convert PDF to TIFF and then convert TIFF PNG, then use the PNG2LOG utility. If the PDF file contains multiple pages, you will need to have a separate PNG for each page (so that PDF and TIFF files are supported on several pages, PNG and LOG files are not). Finally, you must write a tool to create an APF file that references the LOG file. FAP file format information can be found here.

  • Batch userid/passwd

    Hi guys. I'm currently learning ReSA. I need to run a jobs package to import RTLOG. To use the batch, he needs some parameters.
    For example (sastdycr userid/passwd [YYYYMMDD]). I get a login error (CODE of ERROR SQL:-12545).

    I tried to put the name of user/password for server and of RMS database, but it doesn't seem to work.

    Should what name of username/password I use?

    Thank you
    Israel

    Hi Israel

    Before running the batch,

    Try conencting database using sqlplus userid/password and see if you can succeed.

    If sqlplus is unable to connect to the database, batch run will fail anuway. Please ensure that you have ORACLE_SID, ORACLE_HOME, PATH, set correctly.

    You can also try setting up TWO_TASK and see if that helps with your problem.

    Thank you

    Amod

  • Batch processing

    JDeveloper 11.1.2.1

    All,

    I wrote an application in JDev using an Oracle database. Who works.

    It is necessary to have a batch run once a day in order to examine the State of things.

    I can write an in JDeveloper application that can be run in batch on the server Weblocic mode?

    Thank you, Steve

    Yes you can - http://biemond.blogspot.com/2009/09/job-scheduling-in-weblogic.html

  • Illustrator CS 2 batch export to PDF problem

    I try to get Illustrator to export batch a number of EPS files to PDF files, but I'm having a problem.  The first file will save - as thin and out in PDF format, but each successive file registers as an .ai file and not as a PDF file.

    The action is recorded as follows:

    Open

    Save as (I chose high printing quality as the PDF preset)

    Close.

    When I batch run the action, the first a spell as planned, but thereafter, they are .ai files.  Is there something that I am missing?

    AT

    It could have been my answer, indeed.

    Lot of Illustrator is sometimes quite unaffordable...

  • Scheduling FTP in foglight

    Hi all

    I want to send the reports of foglight to the FTP server. Is this possible?

    How to program if so?

    Kind regards

    Shiva

    A suggestion.

    I have posted in the past (and others) on sending files to the directories report. You may have a batch run periodically and perform ftp mput for each file in the directory before deleting the files.

    David Mendoza

  • Integration of DRM/ODI

    Hello


    We use the client batch DRM to do imports, etc.  Batch files are called by ODI which will automate the process.

    I used the utility of credentials to associate a Windows user with DRM users, and when the batch files are run manually, they are working as expected.

    However, when the kickoff through ODI we run into issues "the required parameter, that username has not been provided or its value is empty.

    Is it possible to use the ODI to run batch files and does not provide the name of user and password DRM in the file?  If so, how?


    Must some configurations on ODI be done?


    Thank you

    Ross

    You run into this error because the Windows user that is running the agent of ODI under has no credentials set up with the customer drm-batch - credentials.exe. If I start an ODI agent from a batch file under a Windows user account that has been configured with drm-batch-customer - credentials.exe, then the client batch runs without a problem when you run a batch file containing the following text where the credentials are not included:

    DRM - batch - client.exe - url = net .tcp://boxname: 5212/Oracle/Drm/ProcessManager - op = e - xtype = E - xname = HierExport - cver = LowerCaseImportTest - pver = LowerCaseImportTest

    If I create a second user Windows however, log in as this user via RDP, and then start an ODI agent under the new Windows user account without having the credentials of installation with customer drm-batch - credentials.exe then the batch client log shows this:

    10/11/2015 12:00:51 - * start Oracle DRM Batch Client *.

    10/11/2015 12:00:51 - => error: initialization error: the required parameter, user name was not provided, or its value is empty.

    10/11/2015 12:00:51 - * stop Oracle DRM Batch Client *.

    So the problem here is that the account Windows user running the Agent of ODI under has no stored credentials. You just need to understand which Windows the ODI Agent user account runs under and ensure that it ran the drm-batch-customer - credentials.exe under this account so that stored credentials are available for the client to batch.

  • ODI - individual lot of treatment in order records


    I am relatively new to ODI and built several interfaces to make mass loadings/transformation of data.  I must now make an integration of the batch of records that a batch header table will receive a report written and I need deal with all matching records in a table of lot details, now detail batch running totals for the reconciliation to the whole batch header record once associated.  Lots may get written to the tables at any time, and several lots could appear for the treatment of a few milliseconds of each other.

    Can anyone recommend a method to trigger the interface whenever a batch header record is written and defining an interface to run only one batch at a time if reconciliation is possible.

    Thank you
    Chris

    Hi ISS s/n.

    Could you give us an example of the batch header table and what you mean by the total reconciliation? A small example would be useful.

    I guess that you would have at least something like a batch_name, a unique instance_id for each execution, the date_of_insert and a column of the status of your batch header table.

    In a package, you can use the OdiWaitForData tool to check if there is new data in your batch header table.

    Here's an idea of package, that you could use. We will use 3 variables. Unfortunately it doesn't support parallelism.

    1. OdiWaitForData to see if there is a new line in your batch header table.
    2. Refresh an INSTANCE_ID variable to obtain the first instance_id which must always be run from the batch header table. The SQL query for this variable should be something like
      SELECT instance_id FROM (SELECT instance_id FROM batch_header_table WHERE status = 'W' ORDER BY date_of_insert) WHERE rownum = 1;
      

      'W' means that the batch is awaiting status. If we select only the first batch that have been added to the table and is not yet executed.

    3. Refresh a variable BATCH_NAME to get the name of the worksheet in this instance. The SQL query for this variable should be something like
      SELECT batch_name FROM batch_header_table WHERE instance_id = #PROJECT.INSTANCE_ID;
      
    4. That action runs the scenario in your batch, using the value of the variable BATCH_NAME refreshed in step 2. If it runs successfully, go to 5, otherwise go to 6.
    5. If it success run us a procedure to change the status of this instance for the of ' for success. Go to 8.
    6. In case of failure run us a procedure to change the status of this instance to "E" for error. Go to 7.
    7. Send us an email to the administrator, so it is notified that there is an error. Go to 8.
    8. Freshen up a BATCH_TO_EXECUTE variable that will verify the number of batches that are still in condition 'W' in the batch header table. The query should be something like
      SELECT COUNT(*) FROM batch_header_table WHERE status = 'W';
      
    9. We evaluate the variable BATCH_TO_EXECUTE. If the number is 0, go to 2 to get a new instance_id and start the process again.
      If the number is 0, go to 1 to wait for a new incoming line in the batch header table.

    It will be useful.

    Kind regards

    JeromeFr

  • How to import the list of virtual machines to complete a table in a workflow

    When you run the followingworkflow/library/vCenter/batch/run a workflow on a selection of objects

    How import you a list of virtual machines to complete the table of virtual machines?

    At this moment we are manually by selecting the virtual machines and adding them to the table individually which is very tedious. We would simply import a list.

    There is a certain ways that you can do what you're trying to do, but from your description, it looks like a wrapper will work best.  I enclose a simple workflow that loads the table from a csv file.  There is no error checking going on, but it should help you get started and you can expand on it from there.

Maybe you are looking for

  • No sound or release of the iPhone 4

    Lost all sound from my iPhone 4, has no ring others can not hear me I can't hear them, have tried resetting tried restoration have also updated to the latest update, nothing is on mute and sound turned up, also made the switch on the side is undefine

  • I get an error message that is related to "hpConnectionManager.exe".

    How can I remove this message so it will be neither appear whenever I turn on the laptop? original title: hpConnectionManager.exe

  • Solving problems with the installation of the Vista Premium updates: how updates to go?

    Update of security for Microsoft Office Excel 2007 (KB973593) I was not able to install one of the following dates.  The error message is 646.  I even talked to Dell technical support and they say that my Vista operating system is corrupted.  I do no

  • Undeliverable message send my Outlook to the sender

    I use Outlook Express and Window XP Professional for many years.  Recently some of my clients have told me that they have received the message as written "this Message was delivered for the following reason: the user account (s) is temporarily off-co

  • I have WLM without Hotmail?

    I just downloaded WLMail and it came with a Hotmail Accont I really do not need or want, I like WLM but e-mail page in the sidebar, I double games of "Inbox" "Sent items" ect, the top of the page set of boxes is all empty and this group is listed as