Notification Activity


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Notification Activity
# 1  
Old 11-01-2012
Notification Activity

Actually i am working on datastage and my operating system is Unix

So I want a script in UNIX env for intimating the datastage log at the time of job abort.

Can you please help me out ..

Thanks in advance...

Last edited by victory; 11-01-2012 at 10:18 AM..
# 2  
Old 11-01-2012
Well, usually after an abort the exit is not 0, which you can catch and immediately store right after, "ret_code=$?", then 'if [ "$ret_code" != 0 ];then do_your_thing done'.
# 3  
Old 11-01-2012
Check out the info on this link:
Unix Script to run DataStage jobs
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. AIX

System activity

Hi, I want to find program's file read,write for a particular time.For example i am executing an application called test1, this will get input from some parameter files(file1,file2,file3) and it will write to some files(file4,file5), so i want to execute one program which will capture these... (3 Replies)
Discussion started by: gnanadurai_it
3 Replies

2. UNIX for Dummies Questions & Answers

CPU Activity

One of my user always complains about the load on the server, he works in a different location & time zone. Is it possible to check the CPU activity during specific time/days? let us say for example, i want to check the load on the server at 9 pm to 10 PM on August 22th ? Not the current load.... (2 Replies)
Discussion started by: sydney2008
2 Replies

3. Shell Programming and Scripting

activity on a file

is there anyway to tell when an activity is happening on a file. i'm talking about something deeper than what ls -l can give. when i say activity, i want to know exactly when any commands was run on a specific file. i.e, did anyone run the mail command on this file. did anyone cat this... (2 Replies)
Discussion started by: Terrible
2 Replies

4. AIX

Disk activity

I'm new on UNIX and i want to display the LV NAME, LPs, PPs, DISTRIBUTION, MOUNT POINT but i don't know what is the command. Thanks, Regards (3 Replies)
Discussion started by: tovohery
3 Replies
Login or Register to Ask a Question