Search Results

Search: Posts Made By: rajesh_tns
3,105
Posted By rajesh_tns
extract .csv file
Hi all I am new to unix . I need to write a script that extracts some data from oracle into a .csv file with heading of the columns in the file

SO i created the following two scripts but they...
1,771
Posted By rajesh_tns
hi tony thanks for your response.... but am...
hi tony thanks for your response....

but am not having a ready made file with me.. i have a view in oracle database..

i have to query that view create a file containing the data that came out...
1,771
Posted By rajesh_tns
file sending scenario
hi all

i have a view in the database with columns

prod_no,prod_nm, prod_code

using a shell script i should query this view and dump the data in a delimited flat file and send to...
4,753
Posted By rajesh_tns
hi johnson thank you.. very much one more...
hi johnson thank you.. very much

one more question

in side the loop

i want to create the file and write some content into it...

how to do it

regards
raj
4,753
Posted By rajesh_tns
loop through files in directory
hi all

i have some files present in a directory
i want to loop through all the files in the directory

each time i loop
i should change the in_file parameter in the control file and...
15,176
Posted By rajesh_tns
hi tony sorry i missed that am using oracle...
hi tony sorry i missed that

am using oracle 11g

i get max of 35 files.....daily
some days i can get 10, 11, 2 , 35 files etc

but max 35 files

i need to write a single unix shell...
15,176
Posted By rajesh_tns
sql loader script
hi all

i am new to shell scripting.

i have 35 flat files delimited files that i have to load in to a table.

i was asked to create a shell script that loads the data into the table...
...
1,109
Posted By rajesh_tns
checking thorough files and renamingit
hi all

am very new to unix scripting.....

i have a work right now that i should complete by End of Day :(

scenario is

i get some x number of files with .csv extension on a...
7,466
Posted By rajesh_tns
Hi all with your help I think we got the solution...
Hi all with your help I think we got the solution

1. Create a file First.dat with the following code mentioned by avronius and methyl's

while true
do
if [ -f A.txt ] -- checks if...
7,466
Posted By rajesh_tns
H avronius i think we are getting close.....
H avronius

i think we are getting close.. but my doubt is

say we did not get the file it goes executes sleep10 .. wat next after 10 seconds?

and should i write this< if code i>n another...
7,466
Posted By rajesh_tns
My source system sends a dummy file on to my...
My source system sends a dummy file on to my server on a specified path.
My work is to .. wait for the file
delete it once i find it
and start b.sh script.

am deleting the file so that i...
7,466
Posted By rajesh_tns
Yes the file is a touch file
Yes the file is a touch file
7,466
Posted By rajesh_tns
event wait throu unix
hi

thanks for your response.. i have gone through your link but i would like to explain my case once again

I have a script called B.sh
Its not scheduled to run at any specific time.
...
2,292
Posted By rajesh_tns
Sending a mail from unix script doubt
HI

i usually send an a file attachment in a mail from unix like following.

mailx -s 'Job Success' someoner@gmail.com < attachment.log

But I have observed in several threads that we can...
7,466
Posted By rajesh_tns
hi
hi

A.txt is just an indicator /dummy file... am waiting for this file just to make sure that this is the time ... that i should run b.sh script
7,466
Posted By rajesh_tns
event or file wait scenario
i want to do 2 things

1) i should wait for a file called A.txt to fall on a specific path on the server
2) once the file arrives immediately another script called B.sh should be executed.
...
Showing results 1 to 16 of 16

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