Posted: Tue Feb 06, 2007 2:47 am
If you still want to abort the Job sequence, you can externalize the Abort functionality in a routine outside the job. Which check if the reject table is greater than 0 records for the current run, and calls the Abort signal accordingly.
As mentioned to you several times in the post and in the mail, you can use LinkRowcount to check the number of records that been passed to a link or if you maintain a table, you can count the number of records. Based that, you can use 'ABORT' or DsLogFatal().
Hope you are using BASIC routine for this purpose.
As mentioned to you several times in the post and in the mail, you can use LinkRowcount to check the number of records that been passed to a link or if you maintain a table, you can count the number of records. Based that, you can use 'ABORT' or DsLogFatal().
Hope you are using BASIC routine for this purpose.