TEXT
PACKAGE tpp_internal
/**
 * Project:         Project (<a href="http://1sw.cz/projects/tpp/">PLDoc</a>)<br/>
 * Description:     Internal Package for Transactional Parallel Processing<br/>
 * Author:          Petr Jezek<br/>
 * Version:         2.0.1<br/>
 * Date:            2012-09-18<br/>
 * @headcom
 */
is
/**
 * The procedures is encapsulationg execution of the external procedure
 * @throws CHUNK_NOT_FOUND            29499       Specified chunk does not exist
 * @throws DUPLICATE_TASK_NAME        29497       Same task name has been used by an existing task
 * @throws INVALID_STATE_FOR_CHUNK    29492       Attempts to chunk a table that is not in CREATED or CHUNKING_FAILED state
 * @throws INVALID_STATE_FOR_REDSUME  29495       Attempts to resume execution, but the task is not in FINISHED_WITH_ERROR or CRASHED state
 * @throws INVALID_STATE_FOR_RUN      29494       Attempts to execute the task that is not in CHUNKED state
 * @throws INVALID_STATUS             29493       Attempts to set an invalid value to the chunk status
 * @throws INVALID_TABLE              29491       Attempts to chunk a table by rowid in cases in which the table is not a physical table, or the table is an IOT
 * @throws MISSING_ROLE               29490       User does not have the necessary ADM_PARALLEL_EXECUTE role
 * @throws TASK_NOT_FOUND             29498       Specified task_name does not exist
 * @throws INCONSIST_DATA             20001       When missing definition of any chunk. Value of p_parallel_level should be at least 1
*/

    procedure process_exe (
      p_task_name in varchar2
     ,p_start_id  in number
     ,p_end_id    in number
    );

end tpp_internal;