Batch Processing when Integration script is used

Can we set up batch processing when we are using integration scripts to connect to source tables? If yes, then what are the settings required ?
Thanks

You need to create an empty flat file in the Openbatch folder (assuming you are using the single period load). the format for the file name is in the admin guide. I generally add this to the batch script before the batch process section.

Similar Messages

  • Batch Process Export Layers Script

    I know how to break down a layered file using the Export Layers Script, and it works pretty well for me.  What I want to know is if there is a way to create an action using this script, that I can apply to multiple files and batch process in Bridge?  I have created an action that in theory should work, but I keep getting stop errors when I actually run it.  Has anyone successfully created an action that can export out multiple layers of multiple files?

    Joyce,
    Thank you.  Your suggestion helped clear my mental log jam.
    Fireworks batch scripting seems to work in reverse.
    Using "Batch Process..." scripting interface 'Export' (as JPEG) option first, 'Rename' (add Prefix) option second, and then follow these by using the history panel's 2 previously saved steps (Numeric Transform, Fit Canvas), batch process now works.  PNG file (list) is saved in targeted folder as a reduced scale JPEG with a prefixed file name.
    Batch Process allows the entire newly defined command sequence to be saved (script.js).  Placing this (renamed) file into Firework's batch look-up directory for scripts (C:\Documents and Settings\account_name\Application Data\Adobe\Fireworks CS4\Commands) does not work.  The file name does not display in "Batch Process" window "Batch options:" Commands drop-down list.
    Batch Process only works by recreating the above steps each use.
    The new (JavaScript) file is 26 KB.  Is script file size limited in Fireworks "Batch options:" feature?

  • Records aren't updated in batch processing when an error occurs

    Hi folks,
    We are facing a problem using batch processing with oracle. Our app is implemented without any framework (Struts, Hibernate, Spring, etc), using basic statements and the "auto commit" option is turned off.
    When there's no errors into statements, everything goes fine! But, when one of commands doesn't execute succesfully, we can't commit others statements. Although specs say all of the previous statements should be committed when we explicit commit the transaction.
    Does anyone have any idea about the source of this problem?
    Thanks,
    Auler.

    Well, last time I checked, this was NOT a database forum, it's a "SQL and PL/SQL" forum, isn't it? Yes, SQL and PL/SQL run on the database, but they also run at the application level as well when you're working with Oracle Forms and Reports, which both have a built in PL/SQL engine.
    And yes, I AM using RUN_PRODUCT...*before* I use the win_api_session call. I run the report, and THEN attempt to open the finished report once it has been written to file. But I can't do that if the report is still being generated, right? My RUN_PRODUCT call passes a parameter to tell it to close the Reports Background Engine once the report has been generated. So, what I do is test (using win_api_session) to see if the Reports Background Engine is open or not. WHILE (my loop here...see my last post) it's open, I loop, so that when it is no longer open, I know that my report has been generated, and I can make the call to attempt to open the report from file.
    Again, what I need to do, is figure out how I can put some sort of error handling inside my loop to handle situations where there may be some sort of error in generating the report, and the Reports Background Engine doesn't get closed, which would leave me stuck in the loop.

  • How to speed up PDF batch processing when creating searchable image PDF's?

    When using the batch processing tool in adobe to create multiple searchable image files into PDF, the process is considerably slower compared to scanning straight from the adobe window and importing scan back into adobe. Is there a way to get around this?

    The flaw is here:
    This is a Windows Server 2012 box
    Adobe desktop programs are generally not officially supported on server operating systems. Whatever issues you have are probably due to things like local users vs. network users, disk quota, specific group policies or plain and simple another process occupying or blocking the same port that the QT server is using. In any case, this is nothing we can figure out for you. You have to sit down and work your way through the server's administration tools, turn off stuff, change user permissions. Check the event logs for conflicting processes or use tools like Sysinternals' Process Monitor or Wireshark to track down port collisions and otehr problems.
    Mylenium

  • How to execute a batch processing thought a script

    Hi all,
    I have created a batch processing with Executing a javascript. B'coz i have to open multiple files, so that i m using batch processing.
    Now i m want to execute the particular batch process through the javascript.
    Is it possible to run through javascript?
    Please let me know your ideas or suggesions.
    Thanks and regards,
    Christy.

    Hi George,
    Actually my process is need to open multiple Forms in Acrobat 9, Clear the form fields, and enable the submenu "Extend Featurs in Adobe Reader " which is in "Advance" menu.
    I m trying to do this process using Acrobat javascript.
    Thanks and Regards,
    Christy

  • How best to *BATCH* process MP3s for sound improvement using X-Fi extreme Music.

    I have a shiny new X-Fi extreme music.
    Does anyone have ideas on the best way to *batch* process a large selection of (16 bit 44.1) MP3 files?
    A lot is made, in the X-Fi advertising, on the varied abilities to improve the sound of MP3 files. I have a large selection of play-a-long MP3s generated from old sources, and additionally converted to single channel mono. (i.e. I have extracted the LEFT channel and created a mono MP3 from that).
    I would like to improve the sound of these file. I use them for play-a-long, so tonal closeness to the original is *not* important. I just want to be sure I can hear the basist (and drummer) OK - i.e. I want to emphasize their sound and disregard the frequencies in the human-voice range.
    Sometime, I play these files using the PC equipped with the X-Fi extreme, but sometimes on my MP3 player.
    Does creative supply SW to achieve this batch processing, or does anybody know of third party SW that can help. Their seems to be a lot of sound improvement SW out there, but it is targeted towards dealing with LP vinyl problems, and usually doesn't do batch very well.
    Thanks for your consideration,
    Matt

    Hi?I have got some problems with my X-fi Xtreme music on Vista 32bit too. I use speaker Inspire T6060 5. chanel but there is no sound from center speak and sub woofer.Although I had change sound setting in window and creative console to 5. sound chanel but it still no sound from them.
    ?And I want to know about how?do I?use THX in VISTA?. Where can I download? Because I cannot use the driver that came with the CD (Xp version). I would like to say 'sorry' to all who read this, because my?English is not good. :manhappy:

  • How to reterive payload of a process when instance is created using soa....

    Hi gurus,
    I've raised couple of SRs with Oracle and did not got appropriate response. So I think there are a lot of g8 minds also working here.
    Requirement:
    I need to reterive the payload in the xml format and store in a db table for certain process.
    Steps followed:
    Created a soa process which accepts the InstanceId and ECID as input and provides them to a java class using Java embed activity. The class that accepts that input and connect to getCompositeInstances() using a locator class. In this process it will make use of another two classes to convert the instance payload to dom and then to display. The mainclass uses the XMLUtil and XPathUtils classes for this requirement.
    When I ran the three classes then I'm able to get the payload, but when called using the Javaembed I'm running into trouble. I'm getting a null value, not even any exception. I tried removing the catch in all the classes but no luck. Please find the below code in the Java embed and the java classes also.
    Code in Java Embed:
    try
    setCompositeInstanceTitle("Composite HelloWorld123");
    String ecid =(String) getVariableData("Input_java_ecid");
    String compInstanceId =(String) getVariableData("Input_Java_instanceid");
    addAuditTrailEntry("Payload_ecid is: " + ecid);
    addAuditTrailEntry("Payload_insta is: " + compInstanceId);
    Blob2String.MainClass mc = new Blob2String.MainClass();
    String inputPayload = mc.getCompositeInstancePayload(compInstanceId, ecid);
    if(inputPayload == null)
    addAuditTrailEntry("inputPayload is*********"inputPayload".........");
    InsertIntoDB ir = new InsertIntoDB();
    ir.InsertMethod1(inputPayload,compInstanceId,ecid) ;
    /*//addAuditTrailEntry("Payload is: " + inputPayload);
    String StringPayload =(String)inputPayload;
    addAuditTrailEntry("StringPayload is: " + StringPayload);
    setVariableData("Java_Payload", StringPayload); */
    catch(Exception e)
    addAuditTrailEntry("Exception is: " + e);
    e.printStackTrace();
    Code in MainClass:
    package Blob2String;
    import java.util.*;
    import javax.naming.Context;
    import oracle.soa.management.facade.ComponentInstance;
    import oracle.soa.management.facade.CompositeInstance;
    import oracle.soa.management.facade.Locator;
    import oracle.soa.management.facade.LocatorFactory;
    import org.w3c.dom.*;
    import oracle.soa.management.util.*;
    import oracle.fabric.common.*;
    import oracle.fabric.logging.*;
    import oracle.fabric.logging.BaseMessageBundle;
    public class MainClass {
    /* public MainClass() {
    super();
    public String getCompositeInstancePayload(String compInstanceId,String ecid)
    String compositeName="GetOpenCompositeInstances";
    Hashtable jndiProps = new Hashtable();
    String inputPayload="";
    try
    jndiProps.put(Context.PROVIDER_URL,"t3://abc.xyz.com:9102/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL,"weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS,"welcome123");
    jndiProps.put("dedicated.connection","true");
    Locator locator = LocatorFactory.createLocator(jndiProps);
    CompositeInstanceFilter filter = new CompositeInstanceFilter();
    filter.setECID(ecid);//Set the composite ECID
    filter.setId(compInstanceId);//Set the composite instance id
    List<CompositeInstance> compositeInstance = locator.getCompositeInstances(filter);
    ComponentInstanceFilter instanceFilter = new ComponentInstanceFilter();
    instanceFilter.setCompositeInstanceId (compInstanceId); //Set the composite instance id
    List<ComponentInstance> componentInstance = compositeInstance.get(0).getChildComponentInstances(instanceFilter);
    if (compositeInstance.size() > 0) {
    Document docAudit = XMLUtil.convertToDOM(componentInstance.get(0).getAuditTrail().toString());
    String payloadAudit = XPathUtils.executeXPath(docAudit, "//details").toString();
    Document docPayload = XMLUtil.convertToDOM(payloadAudit);
    Node payloadNode = XPathUtils.executeXPath(docPayload, "//part//*", "NODE");
    inputPayload = XMLUtil.nodeToString(payloadNode);
    //System.out.println(inputPayload);
    catch(Exception e){
    // e.printStackTrace();
    System.out.println(e);
    return inputPayload;
    public static void main(String[] args){
    MainClass Obj = new MainClass();
    String result=Obj.getCompositeInstancePayload("60004" , "d90df5a0fd2bc5c7:4d37316b:13da0ebcf67:-8000-00000000000003ca") ;
    //String result=Obj.getCompositeInstancePayload("16952862" , "ef14bd96767c0e08:-152cfeeb:13d2379cff3:-8000-000000000008c968") ;
    // System.out.println(result);
    Code in XMLUtil:
    package Blob2String;
    import org.xml.sax.InputSource;
    import java.io.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.*;
    import org.xml.sax.InputSource;
    import oracle.fabric.logging.*;
    public class XMLUtil {
    * @param inputXML
    * @return
    * @throws Exception
    public static Document convertToDOM(String inputXML) throws Exception {
    Document dom = null;
    try {
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    //DocumentBuilder builder = new org.apache.xerces.jaxp.DocumentBuilderFactoryImpl().newDocumentBuilder();
    InputSource is = new InputSource(new StringReader(inputXML));
    dom = builder.parse(is);
    } catch (Exception ex) {
    throw ex;
    return dom;
    public static String nodeToString(Node node) throws Exception{
    StringWriter sw = new StringWriter();
    try {
    Transformer t = new org.apache.xalan.processor.TransformerFactoryImpl().newTransformer();
    t.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
    t.setOutputProperty(OutputKeys.INDENT, "yes");
    t.transform(new DOMSource(node), new StreamResult(sw));
    } catch (TransformerException te) {
    System.out.println("nodeToString Transformer Exception");
    throw te;
    return sw.toString();
    Code in XPathUtils :
    package Blob2String;
    import javax.xml.xpath.*;
    import org.w3c.dom.*;
    import oracle.fabric.logging.*;
    public class XPathUtils {
    public static Object executeXPath(Document doc, String xpathStr) throws Exception{
    XPath xpath = null;
    String value = null;
    try {
    XPathFactory factory = XPathFactory.newInstance();
    XPath xpath1= factory.newXPath();
    //xpath = new org.apache.xpath.jaxp.XPathFactoryImpl().newXPath();
    XPathExpression expr = xpath1.compile(xpathStr);
    value = (String)expr.evaluate(doc, XPathConstants.STRING);
    return value;
    } catch (Exception e) {
    throw e;
    public static Node executeXPath(Document doc, String xpathStr,String type) throws Exception{
    XPath xpath = null;
    Node value = null;
    try {
    xpath = new org.apache.xpath.jaxp.XPathFactoryImpl().newXPath();
    XPathExpression expr = xpath.compile(xpathStr);
    value = (Node)expr.evaluate(doc, XPathConstants.NODE);
    return value;
    } catch (Exception e) {
    throw e;
    Its an urgent issue and I have the deadline to get on with. I've raised SR with oracle but there was no use. Kindly help me. Help will be greatly appreciated.
    Thanks,
    Venkatesh.

    Hi Venkatesh,
    Just a way to debug.....can you use soa logger to debug your java MainClass() flow..
    You can view log messages in
    $ORACLE_HOME\user_projects\domains\soa_domain\servers\$soa_server\logs\$soa_server-diagnostic.log
    Update your MainClass(to include log messages) as below..i believe it's going to exception block.
    package Blob2String;
    import java.util.*;
    import javax.naming.Context;
    import oracle.soa.management.facade.ComponentInstance;
    import oracle.soa.management.facade.CompositeInstance;
    import oracle.soa.management.facade.Locator;
    import oracle.soa.management.facade.LocatorFactory;
    import org.w3c.dom.*;
    import oracle.soa.management.util.*;
    import oracle.fabric.common.*;
    import oracle.fabric.logging.*;
    import oracle.fabric.logging.BaseMessageBundle;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import oracle.fabric.logging.LogFormatter;
    public class MainClass {
    /* public MainClass() {
    super();
    public String getCompositeInstancePayload(String compInstanceId,String ecid)
    Logger logger = Logger.getLogger("oracle.soa.Logger");
    LogFormatter.configFormatter(logger);
    logger.log(Level.INFO, "Testing... getComposite log message");
    String compositeName="GetOpenCompositeInstances";
    Hashtable jndiProps = new Hashtable();
    String inputPayload="";
    try
    logger.log(Level.INFO,"Inside Try block");
    jndiProps.put(Context.PROVIDER_URL,"t3://abc.xyz.com:9102/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL,"weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS,"welcome123");
    jndiProps.put("dedicated.connection","true");
    logger.log(Level.INFO,"Initializing locator");
    Locator locator = LocatorFactory.createLocator(jndiProps);
    logger.log(Level.INFO,"Locator Initailized");
    CompositeInstanceFilter filter = new CompositeInstanceFilter();
    filter.setECID(ecid);//Set the composite ECID
    filter.setId(compInstanceId);//Set the composite instance id
    logger.log(Level.INFO,"CompositeInstanceFilter initialized");
    List<CompositeInstance> compositeInstance = locator.getCompositeInstances(filter);
    ComponentInstanceFilter instanceFilter = new ComponentInstanceFilter();
    instanceFilter.setCompositeInstanceId (compInstanceId); //Set the composite instance id
    List<ComponentInstance> componentInstance = compositeInstance.get(0).getChildComponentInstances(instanceFilter);
    logger.log(Level.INFO,"compositeInstance.size");
    logger.log(Level.INFO,Integer.toString(compositeInstance.size()) );
    if (compositeInstance.size() > 0) {
    Document docAudit = XMLUtil.convertToDOM(componentInstance.get(0).getAuditTrail().toString());
    String payloadAudit = XPathUtils.executeXPath(docAudit, "//details").toString();
    Document docPayload = XMLUtil.convertToDOM(payloadAudit);
    Node payloadNode = XPathUtils.executeXPath(docPayload, "//part//*", "NODE");
    inputPayload = XMLUtil.nodeToString(payloadNode);
    //System.out.println(inputPayload);
    logger.log(Level.INFO,"Displaying payload");
    logger.log(Level.INFO,inputPayload);
    catch(Exception e){
    // e.printStackTrace();
    System.out.println(e);
    logger.log(Level.INFO,"Inside Exception");
    logger.log(Level.INFO,e.toString());
    logger.log(Level.INFO,"Returniing payload");
    logger.log(Level.INFO,inputPayload);
    return inputPayload;
    Thanks,
    Faiz

  • The CPU utilization is 0% for the other remaining processes when multi threading is used

    I am new to AE ,so I am trying to render a project enabling multi threading process the additional processes are present but their utilization is 0% .
    I want to juice out every single CPU utiliaztion .
    ANy help is greatly appriciated,.
    My system specs:
    AMD 9690 4.7 Ghz 8 core
    32 GB DDR3
    C:\256 GB Solid Satte Raid 0
    GeForce 780 Ti DDR5 3GB

    It is very tempting to try and use all of your system resources and multiprocessing for all your projects, but this is not the way After Effects works. Many third-party plug-ins, many codecs, and many operations do not respond well to multiprocessing. All it takes is one process in your entire thread that is not MP aware to foul the whole thing and give you longer render times.
    You are also leaving zero processors for the rest of your computer. Not a wise idea.
    After effects renders one frame at a time. One HD frame even with multiple layers of pixel processing just isn't that much data. It does take a while to do the calculations, but expecting to have every one of your CPUs jacked up at 100% to render a single frame of video is expecting an awful lot.
    I would suggest that you read up on optimizing After Effects for your computer. Do not expect to be able to utilize 100% of your system resources at all times. That's just not the way processing video on a pixel by pixel basis works.
    Just a little FYI,  for 99% of my projects in After Effects I have render multiple frames simultaneously turned off. It just doesn't work with most of the things I do. Sorry for the disappointment.

  • Using batch processing in PS CC 2014 shuts it down but is fine in PS CC.

    When I updated to Photoshop CC 2014 last year, everytime I batch processed a group of images using actions it would eventually just close down PS (if not during the process).  So I moved back to Photoshop CC where this was not an issue.  I thought giving it some time there may have been some bugs fixed etc so thought I would try it again now but I am still having the same issues so have again reverted back to Photoshop CC.  Anybody else have these issues or know if I am doing something wrong? Many thanks in advance.

    I believe I have figured it out - I need to flatten the image, even though there are no layers except for layer 0, first.

  • Acrobat 9 Batch Processing - Get PDF filenames from folder?

    Hello,
    Can anyone provide me with an example with how to use Batch Processing (when set to a specific folder/files) to get a list of filenames in that folder? I haven't been able to find any examples online. There doesn't seem to be any built in batch sequences that automatically do this so I assume it will need to be done with javascript?
    Ultimately, I need to automate a process (I was hoping to create a batch sequence to accomplish this) that will allow me to prompt a user to pick a source folder of PDFs and then based on that selection, run a Javascript that I create which will merge all PDFs in that folder into a new PDF, apply some crop setttings to each page, and then prompt the user where to save the merged PDF?
    Has anyone ever done anything like this? I would love to see an example of how this might be able to be achieved.
    Many thanks in advance.

    Have you tried to create a test batch process (now called Actions)?  Actions in Acrobat 10 has the "merge all files in folder" option, and batch processing in previous versions has always included a page crop commad as well as an option for asking the user where to save the file.
    There are lots of examples and articles on this topic at http://www.acrobatusers.com
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • Credit card file upload(Tcode: PRCC) in a batch process

    Hi all,
    Is it possible to make credit card file upload(Tcode: PRCC) in a batch process.
    when i tried doing so got message "frontend function cannot be created in batch mode" .
    I am aware that it is because this program is using "GUI_UPLOAD" function module which is for front end only and not for background processing.
    But as this is standard program I cannot change method of uploading flat file.
    Please suggest me any method to solve my requirement. I need to make credit card file upload in a batch process.
    Thanks ,
    Snehal

    Check mark parameter 'File is not local' for SAP to read file from application server (file is read using open dataset instead of gui_upload). This would allow you to run this tcode in background.

  • Command line / batch processing

    To be honest, I've only ever used acrobat to read pdfs. That's it. But now I'm trying to put together a packet for work from a bunch of pdfs. Basically, I'll end up with 10+ pdf files with multiple pages each, but I only want my packet to have usually just one page out of each of the original pdfs.
    That doesn't seem so clear... I start with a bunch of multi page pdfs. Find the page I want, rename the file to "pageIWantNumber OriginalTitle.pdf" (ie "4 ee_5401_33428").
    Then, later on, I want to print out only the selected pages, like in my ie only page 4 from that pdf. Now if I have to just print these to printer that's ok but not ideal.
    Ideally I'd like to end up with either multiple pdf files with only one page (so the multiple page pdfs get cut down to only one page, but there are still a bunch of them). And/or then concat them all together to get a multipage single pdf that has each single page from the original multiple page pdfs.
    It's not as complicated as it is to explain I don't think.. Hopefully you guys understand. My goal is to automate this, using the space in the filename as a delimiter or something so I can just get all of these done really quickly.

    I found this in another post:
    Geo Kaiser - 2:25pm Jan 25, 08 PST (#1 of 3)
    Have you looked at the "Print 1st Page" batch process?
    The script for that command is:
    /* Print 1st Page */
    /* This sequence prints the first page of
    each document selected to the default printer.
    / this.print
    bUI: false,
    nStart: 0,
    bSilent: true
    So you can ceate a new batch process and copy the 1st page script and then add the "nEnd" parameter:
    /* Print Pages 1-5 */
    /* This sequence prints the first six pages of
    each document selected to the default printer.
    / this.print
    bUI: false,
    nStart: 0,
    nEnd: 5,
    bSilent: true
    Which is very similar to what I want to do, but I need to pull off the nStart value from the file name somehow. So "6 4 2 ee-325" would produce something like:
    "nStart:2, nStart:4, nStart:6" or something.
    Doing this through a .bat file of some sort would be ideal, so maybe I could do the file name parsing through the .bat file and then use a command line interface to adobe to get this done?
    ie:
    acrobat.exe filename.pdf -print 2
    acrobat.exe filename.pdf -print 4
    acrobat.exe filename.pdf -print 6

  • Batch Processing Video Problem

    Hi
    I am using CS4
    I have a number of small AVI files I would like to batch process. I need to use 'load video frames as layers' and then I have an action set up that lays each layer out to form a grid of small images.
    The problem I have is that when I run the batch process and point it at the folder it loads the videos as a single image (first frame visible) rather than as layers.
    If I include the instruction to load video as layers in the action its forces me to select a file and when I run the batch process it acts repeatedly on this file only rather than all the files in the folder.
    Any ideas?
    Thanks in Advance

    Figured it out myself - discovered the animation panel (doh) and used 'flatten video frames to layers' in the action

  • Batch Processing only working on open image

    I am trying to run a Batch process on several folders of photos.  In order to use the Batch process I need to have an image open, so I open a random image and run the batch process.  I'm not using any custom made actions, only the defaults.  Instead of taking the photos in a given folder, running the batch process, and creating a new folder for these images, Photoshop keeps running the batch process on the open image.  Not sure what I am doing wrong? Any help would be appreciated.

    Try using File - Scripts - Image Processor

  • Killing Batch Processes

    I've created a script that runs a ML batch process (up-to-load) for several periods via one location. However, I'm getting an error message on completion of the first period that it's failed to load due to a member not being avaialble in Essbase. This error will apply to all periods but as each period takes about 2 hours to complete I want to kill the batch process when the first error is known. I don't want the remaining periods to run through FDM (would take a further 6+ hours) as it would be a waste of time and delay any re-runs. Is there a way of killing a batch process safely?

    Thanks for your continued help. Just so I fully understand, are you saying that the following steps occur when running any batch process e.g. Parallel ML Export/Load only for 2 periods:
    1/ When the batch is submitted, a upsappsv.exe kicks off on the app server and TBATCH table creates a relevant BatchID and associated _P1 etc details.
    In the event of a successful load upsappsv.exe completes and there are no error messages outputted. The TBATCH table throughout this would have shown a 50% PERCENTCOMPLETE status for period 1 and 100% for period 2.
    In the event of the first part failing, the upsappsv.exe continues running the remaining periods and an error message is outputted accordingly. If you look at the TBATCH table it'll show 50% PERCENTAGECOMPLETE. The TBATCH table continues to show other periods and increases the associated percentage. We also continue to get output files created and error messages for later periods.
    Apologies on my part as I wasn't looking at all Users in Task Manager and couldn't therefore see the upsappsv.exe tasks running originally. In the event of a failure, I can just end all these tasks and that'll kill the processing. I'm assuming the database table TBATCH won't get updated and will always show the % position at the time of killing. Also, any Temp tables would need to be dropped.
    Once again, may I thank you for your continued help in this matter.
    Edited by: malcolmbake on 08-Sep-2010 09:00

Maybe you are looking for