Search Results

Search: Posts Made By: WhoDatWhoDer
2,763
Posted By WhoDatWhoDer
Cannot get literal ampersand to display in SQL output
Gurus,

Thanks so much for your help, in advance.

I'm using ksh and outputting a literal string value to an output file, however, Unix isn't playing by SQL's rules. The ampersand character...
4,371
Posted By WhoDatWhoDer
Yes, I remember the "exit" being an issue with...
Yes, I remember the "exit" being an issue with this once before. I'll give it a try and let you know.
4,371
Posted By WhoDatWhoDer
Can't get shell parameters to pass properly to sqlplus
Gurus,

The issue I'm having is that my Shell won't accept SQL parameters properly......

Here's they way I'm running it....


applmgr@ga006hds [/home/users/applmgr/CW_Merge_Project]
=> ...
8,615
Posted By WhoDatWhoDer
Log sqlplus output from Shell
UNIX Gods,

I'll be running this script from CRON. I need to log the status of each of the six sqlplus calls into a file when this job is kicked off. Any suggestions?

Thanks in advance.

...
3,354
Posted By WhoDatWhoDer
GETMMG, Thanks for your help. I'll be...
GETMMG,

Thanks for your help. I'll be adding this Perl into my shell script to get my local time when running my scripts (GMT-4).

Thanks again.

Scott
3,354
Posted By WhoDatWhoDer
Getting warmer....but the following should echo...
Getting warmer....but the following should echo "Tuesday" when I change to +11.


#!/bin/ksh
# input format YYYY-MM-DD prints day name
dow()
{
perl -e '
use POSIX qw(strftime);...
3,354
Posted By WhoDatWhoDer
I just need the day of week based on GMT-4.
I just need the day of week based on GMT-4.
3,354
Posted By WhoDatWhoDer
It told me today was "Wednesday". Copied the...
It told me today was "Wednesday". Copied the exact code you wrote.


For Jim's code, I think the signs are reversed... the ( - negative) provides the ( + positive) value and visa versa.

=>...
3,354
Posted By WhoDatWhoDer
Yes, got the following error. Day '' out of...
Yes, got the following error.
Day '' out of range 1..31 at -e line 5
3,354
Posted By WhoDatWhoDer
Guys, Something doesn't appear to be...
Guys,

Something doesn't appear to be working... The following should echo "Tuesday" if I provide GMT+11.



#!/bin/ksh
dow()
{
export TZ=GMT+11
perl -e '
use POSIX qw(strftime);...
3,354
Posted By WhoDatWhoDer
GMT -4 to determine day of week
I pulled the following code from one of Jim's threads. Since my server time is GMT, I need to make sure the output is GMT-4. Does anyone know how to tweak Perl to reflect this?

Thanks
Scott

...
3,094
Posted By WhoDatWhoDer
VGersh, Thanks for replying. The whole...
VGersh,

Thanks for replying. The whole story is that we'll be executing each of the four scripts at different points during the day. We'll include each quarterly script as an entry in the cron....
3,094
Posted By WhoDatWhoDer
Thanks for the quick response
My OS is HP UX.

---------- Post updated at 11:21 AM ---------- Previous update was at 11:09 AM ----------

Gurus,

I sincerly apologize. I think I did not explain myself properly. Your...
3,094
Posted By WhoDatWhoDer
Coding for GMT, sqlplus and related parameters
Unix gurus,

I'm brand new here so go easy on me.

I'm trying to automate the following script to be added to crontab which will automate the deployment of five sql scripts based on day of...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy