[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Standard Error



Joe,

If you are running under Unix/Linux invoke SQR under the Bourne Shell and use 
something similar to this ...

        sqr {pgm} {connectivity} [flags] 1>&2

This will redirect all of the output that SQR writes to the Standard Output to 
Standard Error

Peter

-----Original Message-----
From: sqr-users-bounces+peter.burton=oracle.com@sqrug.org 
[mailto:sqr-users-bounces+peter.burton=oracle.com@sqrug.org] On Behalf Of Joe 
R. Jah
Sent: Thursday, August 09, 2007 1:37 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Standard Error

Hi All,
 
I have shell a script that runs by cron with output redirected to
/dev/null. The script runs multiple sqr programs. I need to have
sqr error messages to go to Standard Error.  For example the following
message does not go to standard error:

---8<---
Error on line 153:
   (SQR 3204) Length of variables exceeds record length.

SQR: Program Aborting.
---8<---

Please advise.

Regards,

Joe
--
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        jjah@cloud.ccsf.cc.ca.us


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users