Search Results

Search: Posts Made By: jisc
11,600
Posted By jisc
thanks ranj, your script works, i appreciate your...
thanks ranj, your script works, i appreciate your help :D
11,600
Posted By jisc
thanks for the link ranj #! /bin/ksh ...
thanks for the link ranj

#! /bin/ksh
curr_date = `date "+%m.%d"`
file=/datamart/logs/LOG.`date "+%m.%d"`

tail -f $file |&
while read -p err_line;
do [[ $err_line = "*** PROCESS IS DEAD: RW...
11,600
Posted By jisc
Help on scripting using tail
Hi, just need help here, i have this command that i need to run all through out the day, basically this will just monitor a logfile and print a line if theres an error.

tail -f L*|grep "PROCESS IS...
Forum: Programming 03-21-2006
4,343
Posted By jisc
yeah i thought that also, but inside the...
yeah i thought that also, but inside the get_bpdvalue function
just before returning the output, i tried printing it and the value is printing properly, always 10 characters only.

my friend, an...
Forum: Programming 03-21-2006
4,343
Posted By jisc
char gen_awb[100]; strcpy(gen_awb,...
char gen_awb[100];

strcpy(gen_awb, get_bpdvalue("gen_awb")); \\will work

sprintf(gen_awb, "%s", get_bpdvalue("gen_awb")); \\will not work, the value of gen_awb will be null if initialized to...
Forum: Programming 03-21-2006
4,343
Posted By jisc
string returning function
I have two string returning function in ESQL/C

char *segment_name(lbuffer)
char *lbuffer;
{.....

and

char *get_bpdvalue(f_name)
char *f_name;
{......

both declared above main()
char...
Showing results 1 to 6 of 6

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