Search Results

Search: Posts Made By: kumar66
2,146
Posted By kumar66
Excel File to CSV
Hi All,

I have to convert the excel file which will be placed in the Unix box to a CSV file using a shell script.

Please Advise.

Thanks & Regards,
Kumar66
7,489
Posted By kumar66
Adding Sequence Number to file
Hi All,

I need to create a script which checks for a particular file for eg.kumar1.txt.

If kumar1.txt is already exist the script should increment the file name as kumar2.txt and so on.
...
2,379
Posted By kumar66
Hi Pludi, Thanks for your suggestion. Can...
Hi Pludi,

Thanks for your suggestion. Can you please provide me a sample script for that.

This will be really useful to me.

Thanks,
Kumar66
2,379
Posted By kumar66
That is a datastage job. Thanks, Kumar66
That is a datastage job.

Thanks,
Kumar66
2,379
Posted By kumar66
To run a job continous (24x7)
Hi All,

I have a job. I need to create a shell script which will execute that job continously i.e 24x7.

Please help me in writing this script.

Thanks,
Kumar66
15,900
Posted By kumar66
Hi Scripter, Thanks a lot for your kindly...
Hi Scripter,

Thanks a lot for your kindly help.

Thanks & Regards,
Kumar66
15,900
Posted By kumar66
Hi Vgersh99, Sorry for that. ...
Hi Vgersh99,

Sorry for that.

Thanks ,
Kumar66
15,900
Posted By kumar66
File Validation
Hi All,


I am new to UNIX scripting.
I need to validate a file. I need to check whether the file has a header , detail records and footer.

If all the file is good I need to create a...
47,572
Posted By kumar66
Hi All, Thanks a ton. #!/bin/ksh ...
Hi All,

Thanks a ton.

#!/bin/ksh
split -l 100 FilePO1.txt 'FilePO1.txt'
j=0
for i in `ls -1 File.txt??`;
do j=`expr $j + 1`;
mv $i File$j.txt;
done


I used this script and...
47,572
Posted By kumar66
hi , Thanks for your reply. Is there any...
hi ,

Thanks for your reply. Is there any way to split the files ? Or by writing a script?

As I am new to Unix , I am not familar with scripts .

Please Advise.

Thanks & Regrads,...
47,572
Posted By kumar66
split a file into multiple files
Hi All,

I have a file ABC.txt and I need to split this file on every 250 rows.

And the file name should be ABC1.txt , ABC2.txt and so on.

I tried with split command

split -l 250...
2,167
Posted By kumar66
Hi Danmero, I used this "sed...
Hi Danmero,

I used this "sed '/^[0-9]/p;d' salesxml.xml > sales.txt" and it works fine for me . It removes the header and the tralier.
Is this correct or I need to change anything.

Please...
2,167
Posted By kumar66
Hi Danmero, Thanks for your reply . But...
Hi Danmero,

Thanks for your reply . But when I used this command it gives the follwoing error:

sed -i '/^[0-9]/p;d' PurchaseOrderFullRfh.xml

sed: illegal option -- i


Please...
2,167
Posted By kumar66
Need to remove lines
Hi All,

I have a xml file . And I need to remove the header inofrmation and the tralier information from the xml file. I have pasted the sample xml below:

<?xml version="1.0"...
Showing results 1 to 14 of 14

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