Search Results

Search: Posts Made By: apple2685
2,730
Posted By apple2685
Hi, Thanks for the replty thats working...
Hi,

Thanks for the replty thats working fine now..

:)
2,730
Posted By apple2685
PROBLEM WITH ORACLE QUERY IN UNIX SCRIPT
hi Guys,

i have a problem with oracle query in my unix script..

I'm getting the following error while executing..

./logtab.sh: sqlplus -s "pmutv/pmutv1" << EOFSQL^Jset head off^Jinsert...
8,061
Posted By apple2685
Hi it is giving the error... ...
Hi

it is giving the error...

./text.sh: syntax error at line 134: `end of file' unexpected

There are total of 133 lines...
8,061
Posted By apple2685
Hi, That fi closes the used in this way ...
Hi,

That fi closes the used in this way

if [ "$i" -eq 39 ]; then
if [ "$fstatus" = "complete" ]; then
-----------
-----------
--------
fi
else
----------
fi
8,061
Posted By apple2685
Hi, sorry for the previous mail.. ...
Hi,

sorry for the previous mail..



1 #! /bin/sh -x
2
3 load() {
4
5 find /stage_area/loadfiles/telsims/test/ -type f -name "*$1" -print > /tmp/testfile.txt
6
7 fc=`cat...
8,061
Posted By apple2685
Hi, The entire code and error message as...
Hi,

The entire code and error message as follows.

#! /bin/sh -x
load() {
find /stage_area/loadfiles/telsims/test/ -type f -name "*$1" -print > /tmp/testfile.txt
fc=`cat /tmp/testfile.txt |...
8,061
Posted By apple2685
i'm getting error as follows while running this...
i'm getting error as follows while running this script.
:(


line 158: unexpected EOF while looking for matching `"'
line 222: syntax error: unexpected end of file
8,061
Posted By apple2685
Stuck with Unexpected EOF
Hi,

i have a script as below.

i'm using sun solaris 10.

Script :


#! /bin/sh
load() {
find /stage_area/loadfiles/telsims/test/ -type f -name "*$1" -print > /tmp/testfile.txt...
2,097
Posted By apple2685
Hi, I got a problem here.. month =...
Hi,

I got a problem here..

month = index(Months, substr(Date, 1, 3)) this lcommand is giving the value as 13

so the output in the script is vary...


i found the following solution...
2,097
Posted By apple2685
Hi, Thanks for your reply.. The...
Hi,

Thanks for your reply..

The script u have gine is not working..
i'm not familiar with AWk can u please explain the script..

i'm using solaris 10..

:)
2,097
Posted By apple2685
Change Date Format
Hi Guys,

I had a scenario like this..
It seems very silly...dont think it as a home work question.....:)

i tried it many ways but i didn't achieve this...

start_date=May122011

here i...
2,066
Posted By apple2685
Hi Robin, Thanks for your reply... ...
Hi Robin,

Thanks for your reply...

the above script is ok but it will just says when 39 files are avaliable.

My question is if the file is still on process how to idetify it and wait...
2,676
Posted By apple2685
rename a file with new extension
Hi guys,

i had many files like filename.20110520_20110519_050030

i have to rename the file by removint the last numerics ..

i.e filename.dat

i tried with cut command and removed the...
2,066
Posted By apple2685
waiting for the files untill they loads
Hi guys,

I want to know how to wait for the files untill they are loaded through ftp

here the scenario is

i'm searching for the files in unix directory ...
3,458
Posted By apple2685
creating a file with time stamp
Hi guys,

Here my scenario is to find the files of previous days if the previous day load had not done. for that i created a file with time stamp and this file is created after the load completes....
10,943
Posted By apple2685
finding the previous day date and creating a file with date
Hi guys,

I had a scenario...

1. I had to get the previous days date in yyyymmdd format
2. i had to create a file with Date inthe format yyyymmdd.txt format


both are different
...
1,021
Posted By apple2685
Hi kumaran, thanks for your advice.. ...
Hi kumaran,

thanks for your advice..

i want to exit based on the return code..

can i use directky exit or exit $returncode
1,021
Posted By apple2685
Check This Script very Urgent PLZZZZZ
Hi guys,

I am sending the script i created..plzzz check it correct if any mistakes...:).

Plz reply early by today..

here i want to find the files based on date , if files are avaliable i...
Forum: Programming 05-16-2011
953
Posted By apple2685
Check This Script
Hi guys,

I am sending the script i created..plzzz check it correct if any mistakes...:).

Plz reply early by today..

here i want to find the files based on date , if files are avaliable i...
1,663
Posted By apple2685
Hi, Here in the above scenario there are 43...
Hi,

Here in the above scenario there are 43 files with different names.

every day these 43 files are added the files no is constant for each day.

these files were suffixed by that days...
1,508
Posted By apple2685
thanks for ur replies guys..
thanks for ur replies guys..
1,508
Posted By apple2685
unix on windows
Hi guys,

did any can tell me whether there are any tools that can run unix commands on windows..
thanks in advance..
venkat.
1,663
Posted By apple2685
finding the files based on date..
Hi to every one ,

i had ascenario like this..

i had path like

export/home/pmutv/test/

in this i will recive 43 files daily with each file having that days date
i.e like...
Showing results 1 to 23 of 23

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