Search Results

Search: Posts Made By: pinky
33,874
Posted By pinky
Thanks a lot for the solution it partially worked...
Thanks a lot for the solution it partially worked for me
I appreciate all the help

My script has is
nohup execute receiptLoaderStart > nohup_sumarylogfile 2>&1 &

that means I have ...
33,874
Posted By pinky
One more doubt on this one How can I make...
One more doubt on this one
How can I make datewise backup of log files on nohup_summarylogfile

I wanted everyday to be a new log file appended by the date like

nohup_summarylogfile20080313
...
33,874
Posted By pinky
Thanks It worked for me Thanks Pinky
Thanks

It worked for me

Thanks
Pinky
33,874
Posted By pinky
Route the logs to different file other than nohup.out
Hi guys

Right now the standard out and standard err are going to nohup.out file
I wanted to route to some other name specific files so that it will be easy to research the logs

Example

I...
4,736
Posted By pinky
How to declare an array to take more than 10,000 characters
Hi Guys
Need some help

I am reading the string values from the text files into the shell script and had them feed into array
I have declared an associative array as
TYPE t_user_id_tab IS...
1,478
Posted By pinky
records manupulation
I am sending the data in userfile and colfile from ksh script to pl/sql script
linto an array with this command

grep '[a-zA-Z]' $userfile |awk '{print "my_user_id("FNR") :=...
6
2,362
Posted By pinky
Hi I tried to assign the array as you suggested ...
Hi I tried to assign the array as you suggested
could able to assign but could not read them out of the loop

I was trying to do this instead

myfile has this data

molly
mic

typeset -i...
1,773
Posted By pinky
Grep Info
What is NR this statement

grep '^[0-9]\{1,10\}$' $colfile | awk '{print "my_col_id("NR") := "$2";"}' >> $SQL_TEMP_FIL

Thanks
Pinky
7,067
Posted By pinky
How to pass two or more parameters to the main in shell script
Hey Guys


from the below script what I understood is we are sending the the first parameter as input to the main (){} file
main > $LOGFILE 2>&1
but can we send two or three parameter as input...
6
2,362
Posted By pinky
Hi Klashxx How u doing thanks for the answer ...
Hi Klashxx
How u doing thanks for the answer

My script is this

#!/usr/bin/ksh
DIRNAME=`dirname $0`
export columnIdFile="colids.txt"
LOGFILE=$DIRNAME/cvs_users_defaults.log
TIME=`date`...
6
2,362
Posted By pinky
Hey I am also trying to get this How can...
Hey

I am also trying to get this
How can we read the values from array after storing the text file into an array

Thanks
8,290
Posted By pinky
Hey fpmurphy if I want to build my .sql file...
Hey fpmurphy

if I want to build my .sql file on the fly do I have to save the head and tail and orders as head.sql , tail.sql , and orders.sql
can u plz elaborate

I am just wondering whether...
8,290
Posted By pinky
hey Guys I wanted to ask my question in...
hey Guys

I wanted to ask my question in detail what I wanted to achieve is

I have txt file
which looks like this

x.txt
5
8
10
15
17
19

I have abc.ksh and xyz.sql scripts

I want...
8,290
Posted By pinky
I appreciate your help but I totally got confused...
I appreciate your help but I totally got confused and posted a new thread related to this
Thanks for answering
8,290
Posted By pinky
How to read from txt file and use that as an array
Hi Guys

How u all doing?

I am having tough time to achieve this I have a unix .ksh script which calls
sql script

Right now I harcoded column id's in sql script but I want to read them...
7,008
Posted By pinky
Thanks it worked You guys are very helpful. ...
Thanks it worked You guys are very helpful.


Regards
Pinky
7,008
Posted By pinky
Hi Thanks for hte answer it worked But the...
Hi Thanks for hte answer it worked
But the problrm is I am able to see the error in log file but I am also seeing
as std output at the place where I ran the script
I want to route the error to...
7,008
Posted By pinky
How to route error to log file in unix
Hey Every one

I have a find statement which find the files and deletes them

find /web/local/orderlink/batchmanaged01/scripts/SMOappLogs/log -name 'orderlink.log.*' -type f -mtime +$10-exec rm...
23,567
Posted By pinky
Thanks a lot awk It worked u made my life easy...
Thanks a lot awk
It worked u made my life easy thanks again
23,567
Posted By pinky
I just simplified the script and question is same...
I just simplified the script and question is same but I felt it's huge script

So modified it to three if statement

I deseparately needed help
Thanks in Advance


#!/bin/ksh
pid=$$...
23,567
Posted By pinky
I am trying to delete the log files by giving...
I am trying to delete the log files by giving thae following command from the command prompt

./PurgeOneParameter.ksh wtdata=4

to delete the log file wtdata.log.*
38,429
Posted By pinky
try the command view
try the command view
23,567
Posted By pinky
Error : no closing quote in unix
Hey
I was stuck in middle of writing this script Can any one help me out of this

I am writing this script to delete the log files certain days old
and everything fine but when I run the script...
3,234
Posted By pinky
Thanks That's really useful info I appreciate...
Thanks
That's really useful info I appreciate it

Pinky
3,234
Posted By pinky
Thanks for the solution It worked I am just...
Thanks for the solution
It worked
I am just wondering whether the ; at the end of if (if [ ];then ) is necessary or notthe reason why I was asking is it worked with out ; and with ; so just...
Showing results 1 to 25 of 33

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