Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Bteq script - error handling not working, need help - response (6) by Raja_KT

$
0
0

Hi Ratnam,
Can you try with this:
select fields you want where tablename='target' and date='your date' and status='your status'
then check the activity count for the above.
.if activitycount <> 0 then .goto EXIT_FORGOOD;
.if activitycount = 0 then .goto label1

.label1

insert to target table;

.label EXIT_FORGOOD;

     .quit 99;

 

Cheers,

Raja


Viewing all articles
Browse latest Browse all 14773

Trending Articles