The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
run script in autosys at a specified time. gram77 UNIX for Advanced & Expert Users 1 03-06-2008 05:24 PM
Documentation and books on Autosys Job Control Tool from Autosys gram77 UNIX for Advanced & Expert Users 0 11-10-2007 06:24 AM
Infinite Loop in Autosys while running a shell script, Manual run is fine sharmagaurav_2k Shell Programming and Scripting 2 09-04-2007 09:20 AM
Running a script. vcardo10 UNIX for Dummies Questions & Answers 2 12-29-2003 07:31 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-17-2006
ramsi_ece ramsi_ece is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 3
Script not running in AutoSys

Hi,

I am having problems running a script from AutoSys. The script runs fine when I run it manually, but errors out when run from AutoSys.

Error:
db2: not found

In the script, we are directing a query to db2.

Query1.sql 01/01/2004 | db2 +p >> sql.out 2>&1

where Query1.sql is an executable file that has such commands:
print "connect to database"
print "delete from table1"
print "commit"

Would it not be possible to submit a query to db2, when running a job from AutoSys?

Any pointers would be helpful!

Thanks,
Ramya
 

Bookmarks

Tags
autosys

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0