Please download the dossier by clicking on the dossier button x
×

Method and system for a batch parser

  • US 7,712,088 B2
  • Filed: 07/08/2004
  • Issued: 05/04/2010
  • Est. Priority Date: 07/08/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method of issuing commands to multiple database servers using a single script, the method comprising:

  • accessing the single script using a client software tool having access to multiple database servers, the script having parser-specific commands and a first set of database-specific commands;

    selecting an operating mode of a batch parser from a plurality of operating modes comprising a first selectable operating mode in which the batch parser recognizes variables, commands, and batch delimiters, a second selectable operating mode in which the batch parser recognizes batch delimiters but not variables or commands, a third selectable operating mode in which the batch parser recognizes variables but not batch delimiters or commands, and a fourth selectable operating mode in which the batch parser cleans up internal batch parser states;

    passing the script from the client software tool to the batch parser;

    splitting, at the batch parser, the script into batches comprising parser-specific commands and the first set of database-specific commands, wherein a user-defined batch separator token is used to delimit batches and wherein a value following the user-defined batch separator token indicates a number of times a batch preceding the user-defined batch separator token is to be executed;

    converting the parser-specific commands into a second set of database-specific commands;

    passing the first set and the second set of database-specific commands back to the client software tool; and

    sending the first set and second set of database-specific commands to the multiple database servers for execution.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×