on 07-20-2005 8:57 PM
i am setting an error message and ABORT = 1 in the start routine of the update rules... My logic is such that this error is always set during the first datapacket... If I do that, I want the process to be terminated immediatly whithout processing the remaining datapackets at all... right now, it sets the error message, turns the request red, but still all the datapackets gets processed unnecessarily.
if i have lets say 5 million records, and request is set to red in the first datapacket, there is no reason to process all the data, unless u have excess system resources....
any clue on how to terminate it immediatly after first datapacket?
Thanks
Gova
Hi Gova,
I think you need to set a global variable depending on the condition to set abort = 1 in the first package. Check the value of the global variable in all the other packages and set abort = 1 or maybe 2 for all the other packages.
regards
Siggi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Siggi,
Thats what exactly I am doing now...
I don't think u understood my problem. I don't want the remaining datapackets to be processed at all, when first datapacket aborts. i want the process to terminate immediatly after the first datapacket without even attempting to process remaining datapackets.
Thanks
Gova
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.