Search Results

Search: Posts Made By: Prashantckc
1,686
Posted By Prashantckc
Hi Don Cragun The feed is same, only the...
Hi Don Cragun

The feed is same, only the date in the file is appended in the last column along with the date (Which is always 00:00:00).

Regarding Point 2
The lines which I commented was for...
1,686
Posted By Prashantckc
The strftime is available, However am Trying to...
The strftime is available, However am Trying to do the below, but not getting the needed result

awk -F, 'BEGIN{today=strftime("%b %e %Y")}
{ #print substr($NF,1,11)
#print today
...
1,686
Posted By Prashantckc
Thanks a lot Ahamed, appreciate your help.
Thanks a lot Ahamed, appreciate your help.
1,686
Posted By Prashantckc
Ahmed Could you please explain your code.
Ahmed

Could you please explain your code.
1,686
Posted By Prashantckc
Finding Data in the file
Hi All

I have a file having columns such as
AAA,BBB,CCC,Aug 13 2013
AAA,BBB,CCC,Aug 11 2013
AAA,BBB,CCC,Aug 12 2013
AAA,BBB,CCC,Aug 13 2013

Now I need to extract the records which are not...
1,190
Posted By Prashantckc
Extracting a substring from Line
Hi All

I have a line which is as below

1234567 Gagan Paswani zz23432 1000000000 1000000000 ASTHEYXX-RTUC zz23432

I need to extract the first occurence of zz23432 which...
2,361
Posted By Prashantckc
Please take only the second example, also its not...
Please take only the second example, also its not the character position as its a whole word. In fact these data are from two .xls file so you can say a TAB seperated or comma seperated (if the file...
2,361
Posted By Prashantckc
Ok... Actually the files are such that only a...
Ok...
Actually the files are such that only a specific column detail will be change (Say column 5) This has to be reported as modification.

If there are any addition/removal, the entire record...
2,361
Posted By Prashantckc
Sorry did not get your question. For...
Sorry did not get your question.

For records which are added, I am using
comm -13 file1 file2 ...and this will give me only lines in File2
2,361
Posted By Prashantckc
Comparing two files and generating the report
Hi All,

What am trying to do is generate the report by compating two files.

File A
-----------
111 22222 3333
222 55555 7777

File B
-----------
11A 22222 3333
333 55555 ...
9,509
Posted By Prashantckc
Many thanks for this help . I have done these...
Many thanks for this help .
I have done these changes and it worked.

Only thing which I have noticed that after I call papallel execution as

script.sh arg1 &
script.sh arg2 &
script.sh arg3...
2,523
Posted By Prashantckc
To Stop at error
Hi All,

I am running parallel process as they all run the same JOBS and only thing which changes is the argument which ia passed.
I am doing it as follows

script.sh $1 &
script.sh $2 &...
9,509
Posted By Prashantckc
Parallel Job Execution
Hi All,
At present I am using a UNIX Script which is running a set of JOBS. These JOBS are to be repeated for 20 times, means the same set of JOBS are repeated by just passing different arguments...
3,453
Posted By Prashantckc
Test if execution was successful
Hi
How can I test inside a shel script whether the last action was successful or not.

I have the following line which is executing inside a script

. ./runProcess.sh $i $var_num>> error.txt...
Forum: AIX 10-08-2008
2,879
Posted By Prashantckc
Many thanks for your inputs. The reason i...
Many thanks for your inputs.
The reason i posted here in AIX was because the server is IBM AIX and hence i posted here. Will take care of the point you mentioned as it makes easier to manage things...
Forum: AIX 10-07-2008
2,879
Posted By Prashantckc
Controling a statement to execute
Hi All
I have a script which runs a piece of JOB. The jobs are in sequence and if it fails at a particular job I wanted it to be started from the point where it failed.

What I did I prepared two...
7,309
Posted By Prashantckc
Many thanks for the reply Will try out that...
Many thanks for the reply
Will try out that option as well
However Just for my Knowledge.
How can I update a line in UNIX?
7,309
Posted By Prashantckc
Commenting a Line In a File
HI all
I am working on a script, few details are as follows. I have one properties File and one script. The property file contains the JOBID which are to be executed and the Script runs these jobs...
Forum: AIX 08-27-2008
5,033
Posted By Prashantckc
Hi Seba an Joeyg Many Thanks for your...
Hi Seba an Joeyg
Many Thanks for your responses.
But as I am a bit new to UNIX Programing, more desciption will really sort out my issue.
What I think is that my script will do the following.
I...
Forum: AIX 08-26-2008
5,033
Posted By Prashantckc
its looks fine.... But if you can explain the...
its looks fine....
But if you can explain the script a bit more?
I am a bit new to UNIX ...:-)
Forum: AIX 08-26-2008
5,033
Posted By Prashantckc
I will elaborate a bit on this. The original...
I will elaborate a bit on this. The original script is something like this::::

. ./runEod.sh 6000 $brn_num>> error.txt 2>&1
. ./runEod.sh 6001 $brn_num>> error.txt 2>&1
. ./runEod.sh 6002...
Forum: AIX 08-26-2008
5,033
Posted By Prashantckc
Script Keeping Track of Itself
Hi All
We have a WEB Based application running on the IBM AIX server. There is a EOD Job which runs a UNIX script containing EOD Jobs. Say If any job fails then we have to explicitly comment out...
Showing results 1 to 22 of 22

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