can we force mload to check the Application error table
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


can we force mload to check the Application... Expand / Collapse
Author
Message
Posted 1/27/2006 9:38:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/29/2007 11:08:21 PM
Posts: 6, Visits: 2
Hi,

I have requirement - signal a pager if there is any "Aplication Error Table"(mload "Aplication Error Table" say E2 table) created by mload script. Can we force mload to check the E2 table that is created by it in case of any error occured during application phase,... please advice... I express my thanks in anticipation of your prompt reply.

Regards,

meet_as


Post #3452
Posted 2/1/2006 10:18:44 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 5/30/2008 6:49:12 AM
Posts: 57, Visits: 2
Hi,
If you are trying to perform a check on the Application Error table, then it is not possible to fire a BTEQ script from within a Multi Load script. Alternatively, you can schedule the BTEQ immediately after the Multi Load and check the application error table for error qualifiers and loop in the script for appropriate action items. You can use the UNIX environment to fire action items on request from within BTEQ.


Strive to success.

Arun.

Post #3464
Posted 2/2/2006 12:34:07 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: PAC and SFT Members
Last Login: Today @ 6:11:07 PM
Posts: 331, Visits: 533
Certainly. Use .IF statements testing built-in variables such as &SYSETCNT1 to check for rows in the error table, and use .SYSTEM to execute some external command to send the page. See the manual for details.
Post #3468
Posted 2/2/2006 12:38:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/29/2007 11:08:21 PM
Posts: 6, Visits: 2
yes, I have already completed this. I did it like this--

.IF &SYSUVCNT1 > 0 THEN;
.SYSTEM 'c:\Paging.pl any_argument';
.ENDIF;
Its better if we place the above statement after the .END MLOAD Command.

also, take care this 'c:\Paging.pl any_argument' is string. You can pass any argument.

Regards,
Ajit
Post #3476
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 11:02pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.219. 8 queries. Compression Disabled.