Try looking in a running DB2 script for a line that sets functions.  It
will start with a dot (.).  Something like "  .
/home/db2inst1/sqllib/db2profile  "

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)                  Tom Shilson
~~~~~            Unix Team / IT Server Services
Aloha               Tel:  651-733-7591       tshilson at mmm dot com
                           Fax:  651-736-7689



"Macioce, Larry" <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
08/10/2006 10:08 AM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
question on DB2 and crontab






We are trying to schedule DB2 and CM maintenance using crontab. The
maintenance has to be done as root. I've set the commands in roots
crontab and al looked fine. It appeared the commands worked because they
created the log files (with correct date and time stamps) associated
with the maintenance. But on closer examination the files all had a zero
byte count. So it looks as if crontab is doing his job and maintenance
is starting but no output is coming out and it also looks as if the
backups aren't done.    I did a chmod on the scripts so I know they can
be executed. And I know the script work because when the scripts are
issued manually they work.

Ideas??



Thanks

Mace




-----------------------------------------
*******************************************************************
*
The information transmitted is intended solely for the individual
or entity to which it is addressed and may contain confidential
and/or
privileged material. Any review, retransmission, dissemination or
other use of or taking action in reliance upon this information by
persons or entities other than the intended recipient is
prohibited. If you have received this email in error please contact
the sender and delete the
material from any computer.
*******************************************************************
*


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to